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

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

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

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

_ZN7glslang16HlslParseContextC2ERNS_12TSymbolTableERNS_13TIntermediateEbi8EProfileRKNS_10SpvVersionE11EShLanguageR9TInfoSinkNSt3__112basic_stringIcNSC_11char_traitsIcEENS_14pool_allocatorIcEEEEb11EShMessages:
   59|    595|    TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language, infoSink,
   60|    595|                      forwardCompatible, messages, &sourceEntryPointName),
   61|    595|    annotationNestingLevel(0),
   62|    595|    inputPatch(nullptr),
   63|    595|    nextInLocation(0), nextOutLocation(0),
   64|    595|    entryPointFunction(nullptr),
   65|    595|    entryPointFunctionBody(nullptr),
   66|    595|    gsStreamOutput(nullptr),
   67|    595|    clipDistanceOutput(nullptr),
   68|    595|    cullDistanceOutput(nullptr),
   69|    595|    clipDistanceInput(nullptr),
   70|    595|    cullDistanceInput(nullptr),
   71|    595|    parsingEntrypointParameters(false)
   72|    595|{
   73|    595|    globalUniformDefaults.clear();
   74|    595|    globalUniformDefaults.layoutMatrix = ElmRowMajor;
   75|    595|    globalUniformDefaults.layoutPacking = ElpStd140;
   76|       |
   77|    595|    globalBufferDefaults.clear();
   78|    595|    globalBufferDefaults.layoutMatrix = ElmRowMajor;
   79|    595|    globalBufferDefaults.layoutPacking = ElpStd430;
   80|       |
   81|    595|    globalInputDefaults.clear();
   82|    595|    globalOutputDefaults.clear();
   83|       |
   84|    595|    clipSemanticNSizeIn.fill(0);
   85|    595|    cullSemanticNSizeIn.fill(0);
   86|    595|    clipSemanticNSizeOut.fill(0);
   87|    595|    cullSemanticNSizeOut.fill(0);
   88|       |
   89|       |    // "Shaders in the transform
   90|       |    // feedback capturing mode have an initial global default of
   91|       |    //     layout(xfb_buffer = 0) out;"
   92|    595|    if (language == EShLangVertex ||
  ------------------
  |  Branch (92:9): [True: 140, False: 455]
  ------------------
   93|    455|        language == EShLangTessControl ||
  ------------------
  |  Branch (93:9): [True: 35, False: 420]
  ------------------
   94|    420|        language == EShLangTessEvaluation ||
  ------------------
  |  Branch (94:9): [True: 35, False: 385]
  ------------------
   95|    385|        language == EShLangGeometry)
  ------------------
  |  Branch (95:9): [True: 35, False: 350]
  ------------------
   96|    245|        globalOutputDefaults.layoutXfbBuffer = 0;
   97|       |
   98|    595|    if (language == EShLangGeometry)
  ------------------
  |  Branch (98:9): [True: 35, False: 560]
  ------------------
   99|     35|        globalOutputDefaults.layoutStream = 0;
  100|    595|}
_ZN7glslang16HlslParseContextD2Ev:
  103|    595|{
  104|    595|}
_ZN7glslang16HlslParseContext27initializeExtensionBehaviorEv:
  107|     35|{
  108|     35|    TParseContextBase::initializeExtensionBehavior();
  109|       |
  110|       |    // HLSL allows #line by default.
  111|     35|    extensionBehavior[E_GL_GOOGLE_cpp_style_line_directive] = EBhEnable;
  112|     35|}
_ZN7glslang16HlslParseContext9setLimitsERK16TBuiltInResource:
  115|     35|{
  116|     35|    resources = r;
  117|     35|    intermediate.setLimits(resources);
  118|     35|}
_ZN7glslang16HlslParseContext18parseShaderStringsERNS_10TPpContextERNS_13TInputScannerEb:
  126|     70|{
  127|     70|    currentScanner = &input;
  128|     70|    ppContext.setInput(input, versionWillBeError);
  129|       |
  130|     70|    HlslScanContext scanContext(*this, ppContext);
  131|     70|    HlslGrammar grammar(scanContext, *this);
  132|     70|    if (!grammar.parse()) {
  ------------------
  |  Branch (132:9): [True: 8, False: 62]
  ------------------
  133|       |        // Print a message formated such that if you click on the message it will take you right to
  134|       |        // the line through most UIs.
  135|      8|        const glslang::TSourceLoc& sourceLoc = input.getSourceLoc();
  136|      8|        infoSink.info << sourceLoc.getFilenameStr() << "(" << sourceLoc.line << "): error at column " << sourceLoc.column
  137|      8|                      << ", HLSL parsing failed.\n";
  138|      8|        ++numErrors;
  139|      8|        return false;
  140|      8|    }
  141|       |
  142|     62|    finish();
  143|       |
  144|     62|    return numErrors == 0;
  145|     70|}
_ZN7glslang16HlslParseContext19getLayoutFromTxTypeERKNS_10TSourceLocERKNS_5TTypeE:
  186|  1.99k|{
  187|  1.99k|    if (txType.isStruct()) {
  ------------------
  |  Branch (187:9): [True: 0, False: 1.99k]
  ------------------
  188|       |        // TODO: implement.
  189|      0|        error(loc, "unimplemented: structure type in image or buffer", "", "");
  190|      0|        return ElfNone;
  191|      0|    }
  192|       |
  193|  1.99k|    const int components = txType.getVectorSize();
  194|  1.99k|    const TBasicType txBasicType = txType.getBasicType();
  195|       |
  196|  1.99k|    const auto selectFormat = [this,&components](TLayoutFormat v1, TLayoutFormat v2, TLayoutFormat v4) -> TLayoutFormat {
  197|  1.99k|        if (intermediate.getNoStorageFormat())
  198|  1.99k|            return ElfNone;
  199|       |
  200|  1.99k|        return components == 1 ? v1 :
  201|  1.99k|               components == 2 ? v2 : v4;
  202|  1.99k|    };
  203|       |
  204|  1.99k|    switch (txBasicType) {
  205|    665|    case EbtFloat: return selectFormat(ElfR32f,  ElfRg32f,  ElfRgba32f);
  ------------------
  |  Branch (205:5): [True: 665, False: 1.33k]
  ------------------
  206|    665|    case EbtInt:   return selectFormat(ElfR32i,  ElfRg32i,  ElfRgba32i);
  ------------------
  |  Branch (206:5): [True: 665, False: 1.33k]
  ------------------
  207|    665|    case EbtUint:  return selectFormat(ElfR32ui, ElfRg32ui, ElfRgba32ui);
  ------------------
  |  Branch (207:5): [True: 665, False: 1.33k]
  ------------------
  208|      0|    default:
  ------------------
  |  Branch (208:5): [True: 0, False: 1.99k]
  ------------------
  209|      0|        error(loc, "unknown basic type in image format", "", "");
  210|      0|        return ElfNone;
  211|  1.99k|    }
  212|  1.99k|}
_ZN7glslang16HlslParseContext24handleFunctionDeclaratorERKNS_10TSourceLocERNS_9TFunctionEb:
 1595|   140k|{
 1596|       |    //
 1597|       |    // Multiple declarations of the same function name are allowed.
 1598|       |    //
 1599|       |    // If this is a definition, the definition production code will check for redefinitions
 1600|       |    // (we don't know at this point if it's a definition or not).
 1601|       |    //
 1602|   140k|    bool builtIn;
 1603|   140k|    TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn);
 1604|   140k|    const TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr;
  ------------------
  |  Branch (1604:32): [True: 840, False: 139k]
  ------------------
 1605|       |
 1606|   140k|    if (prototype) {
  ------------------
  |  Branch (1606:9): [True: 140k, False: 0]
  ------------------
 1607|       |        // All built-in functions are defined, even though they don't have a body.
 1608|       |        // Count their prototype as a definition instead.
 1609|   140k|        if (symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (1609:13): [True: 140k, False: 0]
  ------------------
 1610|   140k|            function.setDefined();
 1611|      0|        else {
 1612|      0|            if (prevDec && ! builtIn)
  ------------------
  |  Branch (1612:17): [True: 0, False: 0]
  |  Branch (1612:28): [True: 0, False: 0]
  ------------------
 1613|      0|                symbol->getAsFunction()->setPrototyped();  // need a writable one, but like having prevDec as a const
 1614|      0|            function.setPrototyped();
 1615|      0|        }
 1616|   140k|    }
 1617|       |
 1618|       |    // This insert won't actually insert it if it's a duplicate signature, but it will still check for
 1619|       |    // other forms of name collisions.
 1620|   140k|    if (! symbolTable.insert(function))
  ------------------
  |  Branch (1620:9): [True: 0, False: 140k]
  ------------------
 1621|      0|        error(loc, "function name is redeclaration of existing name", function.getName().c_str(), "");
 1622|   140k|}
_ZN7glslang16HlslParseContext22transferTypeAttributesERKNS_10TSourceLocERKNS_5TListINS_14TAttributeArgsEEERNS_5TTypeEb:
 1917|   454k|{
 1918|   454k|    if (attributes.size() == 0)
  ------------------
  |  Branch (1918:9): [True: 454k, False: 0]
  ------------------
 1919|   454k|        return;
 1920|       |
 1921|      0|    int value;
 1922|      0|    TString builtInString;
 1923|      0|    for (auto it = attributes.begin(); it != attributes.end(); ++it) {
  ------------------
  |  Branch (1923:40): [True: 0, False: 0]
  ------------------
 1924|      0|        switch (it->name) {
 1925|      0|        case EatLocation:
  ------------------
  |  Branch (1925:9): [True: 0, False: 0]
  ------------------
 1926|       |            // location
 1927|      0|            if (it->getInt(value))
  ------------------
  |  Branch (1927:17): [True: 0, False: 0]
  ------------------
 1928|      0|                type.getQualifier().layoutLocation = value;
 1929|      0|            else
 1930|      0|                error(loc, "needs a literal integer", "location", "");
 1931|      0|            break;
 1932|      0|        case EatBinding:
  ------------------
  |  Branch (1932:9): [True: 0, False: 0]
  ------------------
 1933|       |            // binding
 1934|      0|            if (it->getInt(value)) {
  ------------------
  |  Branch (1934:17): [True: 0, False: 0]
  ------------------
 1935|      0|                type.getQualifier().layoutBinding = value;
 1936|      0|                type.getQualifier().layoutSet = 0;
 1937|      0|            } else
 1938|      0|                error(loc, "needs a literal integer", "binding", "");
 1939|       |            // set
 1940|      0|            if (it->getInt(value, 1))
  ------------------
  |  Branch (1940:17): [True: 0, False: 0]
  ------------------
 1941|      0|                type.getQualifier().layoutSet = value;
 1942|      0|            break;
 1943|      0|        case EatGlobalBinding:
  ------------------
  |  Branch (1943:9): [True: 0, False: 0]
  ------------------
 1944|       |            // global cbuffer binding
 1945|      0|            if (it->getInt(value))
  ------------------
  |  Branch (1945:17): [True: 0, False: 0]
  ------------------
 1946|      0|                globalUniformBinding = value;
 1947|      0|            else
 1948|      0|                error(loc, "needs a literal integer", "global binding", "");
 1949|       |            // global cbuffer set
 1950|      0|            if (it->getInt(value, 1))
  ------------------
  |  Branch (1950:17): [True: 0, False: 0]
  ------------------
 1951|      0|                globalUniformSet = value;
 1952|      0|            break;
 1953|      0|        case EatInputAttachment:
  ------------------
  |  Branch (1953:9): [True: 0, False: 0]
  ------------------
 1954|       |            // input attachment
 1955|      0|            if (it->getInt(value))
  ------------------
  |  Branch (1955:17): [True: 0, False: 0]
  ------------------
 1956|      0|                type.getQualifier().layoutAttachment = value;
 1957|      0|            else
 1958|      0|                error(loc, "needs a literal integer", "input attachment", "");
 1959|      0|            break;
 1960|      0|        case EatBuiltIn:
  ------------------
  |  Branch (1960:9): [True: 0, False: 0]
  ------------------
 1961|       |            // PointSize built-in
 1962|      0|            if (it->getString(builtInString, 0, false)) {
  ------------------
  |  Branch (1962:17): [True: 0, False: 0]
  ------------------
 1963|      0|                if (builtInString == "PointSize")
  ------------------
  |  Branch (1963:21): [True: 0, False: 0]
  ------------------
 1964|      0|                    type.getQualifier().builtIn = EbvPointSize;
 1965|      0|            }
 1966|      0|            break;
 1967|      0|        case EatPushConstant:
  ------------------
  |  Branch (1967:9): [True: 0, False: 0]
  ------------------
 1968|       |            // push_constant
 1969|      0|            type.getQualifier().layoutPushConstant = true;
 1970|      0|            break;
 1971|      0|        case EatConstantId:
  ------------------
  |  Branch (1971:9): [True: 0, False: 0]
  ------------------
 1972|       |            // specialization constant
 1973|      0|            if (type.getQualifier().storage != EvqConst) {
  ------------------
  |  Branch (1973:17): [True: 0, False: 0]
  ------------------
 1974|      0|                error(loc, "needs a const type", "constant_id", "");
 1975|      0|                break;
 1976|      0|            }
 1977|      0|            if (it->getInt(value)) {
  ------------------
  |  Branch (1977:17): [True: 0, False: 0]
  ------------------
 1978|      0|                TSourceLoc loc;
 1979|      0|                loc.init();
 1980|      0|                setSpecConstantId(loc, type.getQualifier(), (unsigned)value);
 1981|      0|            }
 1982|      0|            break;
 1983|       |
 1984|       |        // image formats
 1985|      0|        case EatFormatRgba32f:      type.getQualifier().layoutFormat = ElfRgba32f;      break;
  ------------------
  |  Branch (1985:9): [True: 0, False: 0]
  ------------------
 1986|      0|        case EatFormatRgba16f:      type.getQualifier().layoutFormat = ElfRgba16f;      break;
  ------------------
  |  Branch (1986:9): [True: 0, False: 0]
  ------------------
 1987|      0|        case EatFormatR32f:         type.getQualifier().layoutFormat = ElfR32f;         break;
  ------------------
  |  Branch (1987:9): [True: 0, False: 0]
  ------------------
 1988|      0|        case EatFormatRgba8:        type.getQualifier().layoutFormat = ElfRgba8;        break;
  ------------------
  |  Branch (1988:9): [True: 0, False: 0]
  ------------------
 1989|      0|        case EatFormatRgba8Snorm:   type.getQualifier().layoutFormat = ElfRgba8Snorm;   break;
  ------------------
  |  Branch (1989:9): [True: 0, False: 0]
  ------------------
 1990|      0|        case EatFormatRg32f:        type.getQualifier().layoutFormat = ElfRg32f;        break;
  ------------------
  |  Branch (1990:9): [True: 0, False: 0]
  ------------------
 1991|      0|        case EatFormatRg16f:        type.getQualifier().layoutFormat = ElfRg16f;        break;
  ------------------
  |  Branch (1991:9): [True: 0, False: 0]
  ------------------
 1992|      0|        case EatFormatR11fG11fB10f: type.getQualifier().layoutFormat = ElfR11fG11fB10f; break;
  ------------------
  |  Branch (1992:9): [True: 0, False: 0]
  ------------------
 1993|      0|        case EatFormatR16f:         type.getQualifier().layoutFormat = ElfR16f;         break;
  ------------------
  |  Branch (1993:9): [True: 0, False: 0]
  ------------------
 1994|      0|        case EatFormatRgba16:       type.getQualifier().layoutFormat = ElfRgba16;       break;
  ------------------
  |  Branch (1994:9): [True: 0, False: 0]
  ------------------
 1995|      0|        case EatFormatRgb10A2:      type.getQualifier().layoutFormat = ElfRgb10A2;      break;
  ------------------
  |  Branch (1995:9): [True: 0, False: 0]
  ------------------
 1996|      0|        case EatFormatRg16:         type.getQualifier().layoutFormat = ElfRg16;         break;
  ------------------
  |  Branch (1996:9): [True: 0, False: 0]
  ------------------
 1997|      0|        case EatFormatRg8:          type.getQualifier().layoutFormat = ElfRg8;          break;
  ------------------
  |  Branch (1997:9): [True: 0, False: 0]
  ------------------
 1998|      0|        case EatFormatR16:          type.getQualifier().layoutFormat = ElfR16;          break;
  ------------------
  |  Branch (1998:9): [True: 0, False: 0]
  ------------------
 1999|      0|        case EatFormatR8:           type.getQualifier().layoutFormat = ElfR8;           break;
  ------------------
  |  Branch (1999:9): [True: 0, False: 0]
  ------------------
 2000|      0|        case EatFormatRgba16Snorm:  type.getQualifier().layoutFormat = ElfRgba16Snorm;  break;
  ------------------
  |  Branch (2000:9): [True: 0, False: 0]
  ------------------
 2001|      0|        case EatFormatRg16Snorm:    type.getQualifier().layoutFormat = ElfRg16Snorm;    break;
  ------------------
  |  Branch (2001:9): [True: 0, False: 0]
  ------------------
 2002|      0|        case EatFormatRg8Snorm:     type.getQualifier().layoutFormat = ElfRg8Snorm;     break;
  ------------------
  |  Branch (2002:9): [True: 0, False: 0]
  ------------------
 2003|      0|        case EatFormatR16Snorm:     type.getQualifier().layoutFormat = ElfR16Snorm;     break;
  ------------------
  |  Branch (2003:9): [True: 0, False: 0]
  ------------------
 2004|      0|        case EatFormatR8Snorm:      type.getQualifier().layoutFormat = ElfR8Snorm;      break;
  ------------------
  |  Branch (2004:9): [True: 0, False: 0]
  ------------------
 2005|      0|        case EatFormatRgba32i:      type.getQualifier().layoutFormat = ElfRgba32i;      break;
  ------------------
  |  Branch (2005:9): [True: 0, False: 0]
  ------------------
 2006|      0|        case EatFormatRgba16i:      type.getQualifier().layoutFormat = ElfRgba16i;      break;
  ------------------
  |  Branch (2006:9): [True: 0, False: 0]
  ------------------
 2007|      0|        case EatFormatRgba8i:       type.getQualifier().layoutFormat = ElfRgba8i;       break;
  ------------------
  |  Branch (2007:9): [True: 0, False: 0]
  ------------------
 2008|      0|        case EatFormatR32i:         type.getQualifier().layoutFormat = ElfR32i;         break;
  ------------------
  |  Branch (2008:9): [True: 0, False: 0]
  ------------------
 2009|      0|        case EatFormatRg32i:        type.getQualifier().layoutFormat = ElfRg32i;        break;
  ------------------
  |  Branch (2009:9): [True: 0, False: 0]
  ------------------
 2010|      0|        case EatFormatRg16i:        type.getQualifier().layoutFormat = ElfRg16i;        break;
  ------------------
  |  Branch (2010:9): [True: 0, False: 0]
  ------------------
 2011|      0|        case EatFormatRg8i:         type.getQualifier().layoutFormat = ElfRg8i;         break;
  ------------------
  |  Branch (2011:9): [True: 0, False: 0]
  ------------------
 2012|      0|        case EatFormatR16i:         type.getQualifier().layoutFormat = ElfR16i;         break;
  ------------------
  |  Branch (2012:9): [True: 0, False: 0]
  ------------------
 2013|      0|        case EatFormatR8i:          type.getQualifier().layoutFormat = ElfR8i;          break;
  ------------------
  |  Branch (2013:9): [True: 0, False: 0]
  ------------------
 2014|      0|        case EatFormatRgba32ui:     type.getQualifier().layoutFormat = ElfRgba32ui;     break;
  ------------------
  |  Branch (2014:9): [True: 0, False: 0]
  ------------------
 2015|      0|        case EatFormatRgba16ui:     type.getQualifier().layoutFormat = ElfRgba16ui;     break;
  ------------------
  |  Branch (2015:9): [True: 0, False: 0]
  ------------------
 2016|      0|        case EatFormatRgba8ui:      type.getQualifier().layoutFormat = ElfRgba8ui;      break;
  ------------------
  |  Branch (2016:9): [True: 0, False: 0]
  ------------------
 2017|      0|        case EatFormatR32ui:        type.getQualifier().layoutFormat = ElfR32ui;        break;
  ------------------
  |  Branch (2017:9): [True: 0, False: 0]
  ------------------
 2018|      0|        case EatFormatRgb10a2ui:    type.getQualifier().layoutFormat = ElfRgb10a2ui;    break;
  ------------------
  |  Branch (2018:9): [True: 0, False: 0]
  ------------------
 2019|      0|        case EatFormatRg32ui:       type.getQualifier().layoutFormat = ElfRg32ui;       break;
  ------------------
  |  Branch (2019:9): [True: 0, False: 0]
  ------------------
 2020|      0|        case EatFormatRg16ui:       type.getQualifier().layoutFormat = ElfRg16ui;       break;
  ------------------
  |  Branch (2020:9): [True: 0, False: 0]
  ------------------
 2021|      0|        case EatFormatRg8ui:        type.getQualifier().layoutFormat = ElfRg8ui;        break;
  ------------------
  |  Branch (2021:9): [True: 0, False: 0]
  ------------------
 2022|      0|        case EatFormatR16ui:        type.getQualifier().layoutFormat = ElfR16ui;        break;
  ------------------
  |  Branch (2022:9): [True: 0, False: 0]
  ------------------
 2023|      0|        case EatFormatR8ui:         type.getQualifier().layoutFormat = ElfR8ui;         break;
  ------------------
  |  Branch (2023:9): [True: 0, False: 0]
  ------------------
 2024|      0|        case EatFormatUnknown:      type.getQualifier().layoutFormat = ElfNone;         break;
  ------------------
  |  Branch (2024:9): [True: 0, False: 0]
  ------------------
 2025|       |
 2026|      0|        case EatNonWritable:  type.getQualifier().readonly = true;   break;
  ------------------
  |  Branch (2026:9): [True: 0, False: 0]
  ------------------
 2027|      0|        case EatNonReadable:  type.getQualifier().writeonly = true;  break;
  ------------------
  |  Branch (2027:9): [True: 0, False: 0]
  ------------------
 2028|       |
 2029|      0|        default:
  ------------------
  |  Branch (2029:9): [True: 0, False: 0]
  ------------------
 2030|      0|            if (! allowEntry)
  ------------------
  |  Branch (2030:17): [True: 0, False: 0]
  ------------------
 2031|      0|                warn(loc, "attribute does not apply to a type", "", "");
 2032|      0|            break;
 2033|      0|        }
 2034|      0|    }
 2035|      0|}
_ZN7glslang16HlslParseContext8paramFixERNS_5TTypeE:
 7093|   314k|{
 7094|   314k|    switch (type.getQualifier().storage) {
 7095|      0|    case EvqConst:
  ------------------
  |  Branch (7095:5): [True: 0, False: 314k]
  ------------------
 7096|      0|        type.getQualifier().storage = EvqConstReadOnly;
 7097|      0|        break;
 7098|      0|    case EvqGlobal:
  ------------------
  |  Branch (7098:5): [True: 0, False: 314k]
  ------------------
 7099|   284k|    case EvqTemporary:
  ------------------
  |  Branch (7099:5): [True: 284k, False: 30.4k]
  ------------------
 7100|   284k|        type.getQualifier().storage = EvqIn;
 7101|   284k|        break;
 7102|      0|    case EvqBuffer:
  ------------------
  |  Branch (7102:5): [True: 0, False: 314k]
  ------------------
 7103|      0|        {
 7104|       |            // SSBO parameter.  These do not go through the declareBlock path since they are fn parameters.
 7105|      0|            correctUniform(type.getQualifier());
 7106|      0|            TQualifier bufferQualifier = globalBufferDefaults;
 7107|      0|            mergeObjectLayoutQualifiers(bufferQualifier, type.getQualifier(), true);
 7108|      0|            bufferQualifier.storage = type.getQualifier().storage;
 7109|      0|            bufferQualifier.readonly = type.getQualifier().readonly;
 7110|      0|            bufferQualifier.coherent = type.getQualifier().coherent;
 7111|      0|            bufferQualifier.declaredBuiltIn = type.getQualifier().declaredBuiltIn;
 7112|      0|            type.getQualifier() = bufferQualifier;
 7113|      0|            break;
 7114|      0|        }
 7115|  30.4k|    default:
  ------------------
  |  Branch (7115:5): [True: 30.4k, False: 284k]
  ------------------
 7116|  30.4k|        break;
 7117|   314k|    }
 7118|   314k|}
_ZN7glslang16HlslParseContext14lookupUserTypeERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeE:
 7976|      6|{
 7977|      6|    TSymbol* symbol = symbolTable.find(typeName);
 7978|      6|    if (symbol && symbol->getAsVariable() && symbol->getAsVariable()->isUserType()) {
  ------------------
  |  Branch (7978:9): [True: 0, False: 6]
  |  Branch (7978:19): [True: 0, False: 0]
  |  Branch (7978:46): [True: 0, False: 0]
  ------------------
 7979|      0|        type.shallowCopy(symbol->getType());
 7980|      0|        return symbol;
 7981|      0|    } else
 7982|      6|        return nullptr;
 7983|      6|}
_ZNK7glslang16HlslParseContext20getFullNamespaceNameERPNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 9500|   140k|{
 9501|   140k|    if (currentTypePrefix.size() == 0)
  ------------------
  |  Branch (9501:9): [True: 140k, False: 0]
  ------------------
 9502|   140k|        return;
 9503|       |
 9504|      0|    TString* fullName = NewPoolTString(currentTypePrefix.back().c_str());
 9505|      0|    fullName->append(*name);
 9506|      0|    name = fullName;
 9507|      0|}
_ZN7glslang16HlslParseContext20setTextureReturnTypeERNS_8TSamplerERKNS_5TTypeERKNS_10TSourceLocE:
 9729|  28.4k|{
 9730|       |    // Seed the output with an invalid index.  We will set it to a valid one if we can.
 9731|  28.4k|    sampler.structReturnIndex = TSampler::noReturnStruct;
 9732|       |
 9733|       |    // Arrays aren't supported.
 9734|  28.4k|    if (retType.isArray()) {
  ------------------
  |  Branch (9734:9): [True: 0, False: 28.4k]
  ------------------
 9735|      0|        error(loc, "Arrays not supported in texture template types", "", "");
 9736|      0|        return false;
 9737|      0|    }
 9738|       |
 9739|       |    // If return type is a vector, remember the vector size in the sampler, and return.
 9740|  28.4k|    if (retType.isVector() || retType.isScalar()) {
  ------------------
  |  Branch (9740:9): [True: 28.4k, False: 0]
  |  Branch (9740:31): [True: 0, False: 0]
  ------------------
 9741|  28.4k|        sampler.vectorSize = retType.getVectorSize();
 9742|  28.4k|        return true;
 9743|  28.4k|    }
 9744|       |
 9745|       |    // If it wasn't a vector, it must be a struct meeting certain requirements.  The requirements
 9746|       |    // are checked below: just check for struct-ness here.
 9747|      0|    if (!retType.isStruct()) {
  ------------------
  |  Branch (9747:9): [True: 0, False: 0]
  ------------------
 9748|      0|        error(loc, "Invalid texture template type", "", "");
 9749|      0|        return false;
 9750|      0|    }
 9751|       |
 9752|       |    // TODO: Subpass doesn't handle struct returns, due to some oddities with fn overloading.
 9753|      0|    if (sampler.isSubpass()) {
  ------------------
  |  Branch (9753:9): [True: 0, False: 0]
  ------------------
 9754|      0|        error(loc, "Unimplemented: structure template type in subpass input", "", "");
 9755|      0|        return false;
 9756|      0|    }
 9757|       |
 9758|      0|    TTypeList* members = retType.getWritableStruct();
 9759|       |
 9760|       |    // Check for too many or not enough structure members.
 9761|      0|    if (members->size() > 4 || members->size() == 0) {
  ------------------
  |  Branch (9761:9): [True: 0, False: 0]
  |  Branch (9761:32): [True: 0, False: 0]
  ------------------
 9762|      0|        error(loc, "Invalid member count in texture template structure", "", "");
 9763|      0|        return false;
 9764|      0|    }
 9765|       |
 9766|       |    // Error checking: We must have <= 4 total components, all of the same basic type.
 9767|      0|    unsigned totalComponents = 0;
 9768|      0|    for (unsigned m = 0; m < members->size(); ++m) {
  ------------------
  |  Branch (9768:26): [True: 0, False: 0]
  ------------------
 9769|       |        // Check for bad member types
 9770|      0|        if (!(*members)[m].type->isScalar() && !(*members)[m].type->isVector()) {
  ------------------
  |  Branch (9770:13): [True: 0, False: 0]
  |  Branch (9770:48): [True: 0, False: 0]
  ------------------
 9771|      0|            error(loc, "Invalid texture template struct member type", "", "");
 9772|      0|            return false;
 9773|      0|        }
 9774|       |
 9775|      0|        const unsigned memberVectorSize = (*members)[m].type->getVectorSize();
 9776|      0|        totalComponents += memberVectorSize;
 9777|       |
 9778|       |        // too many total member components
 9779|      0|        if (totalComponents > 4) {
  ------------------
  |  Branch (9779:13): [True: 0, False: 0]
  ------------------
 9780|      0|            error(loc, "Too many components in texture template structure type", "", "");
 9781|      0|            return false;
 9782|      0|        }
 9783|       |
 9784|       |        // All members must be of a common basic type
 9785|      0|        if ((*members)[m].type->getBasicType() != (*members)[0].type->getBasicType()) {
  ------------------
  |  Branch (9785:13): [True: 0, False: 0]
  ------------------
 9786|      0|            error(loc, "Texture template structure members must same basic type", "", "");
 9787|      0|            return false;
 9788|      0|        }
 9789|      0|    }
 9790|       |
 9791|       |    // If the structure in the return type already exists in the table, we'll use it.  Otherwise, we'll make
 9792|       |    // a new entry.  This is a linear search, but it hardly ever happens, and the list cannot be very large.
 9793|      0|    for (unsigned int idx = 0; idx < textureReturnStruct.size(); ++idx) {
  ------------------
  |  Branch (9793:32): [True: 0, False: 0]
  ------------------
 9794|      0|        if (textureReturnStruct[idx] == members) {
  ------------------
  |  Branch (9794:13): [True: 0, False: 0]
  ------------------
 9795|      0|            sampler.structReturnIndex = idx;
 9796|      0|            return true;
 9797|      0|        }
 9798|      0|    }
 9799|       |
 9800|       |    // It wasn't found as an existing entry.  See if we have room for a new one.
 9801|      0|    if (textureReturnStruct.size() >= TSampler::structReturnSlots) {
  ------------------
  |  Branch (9801:9): [True: 0, False: 0]
  ------------------
 9802|      0|        error(loc, "Texture template struct return slots exceeded", "", "");
 9803|      0|        return false;
 9804|      0|    }
 9805|       |
 9806|       |    // Insert it in the vector that tracks struct return types.
 9807|      0|    sampler.structReturnIndex = unsigned(textureReturnStruct.size());
 9808|      0|    textureReturnStruct.push_back(members);
 9809|       |
 9810|       |    // Success!
 9811|      0|    return true;
 9812|      0|}
_ZN7glslang16HlslParseContext26addPatchConstantInvocationEv:
 9878|     62|{
 9879|     62|    TSourceLoc loc;
 9880|     62|    loc.init();
 9881|       |
 9882|       |    // If there's no patch constant function, or we're not a HS, do nothing.
 9883|     62|    if (patchConstantFunctionName.empty() || language != EShLangTessControl)
  ------------------
  |  Branch (9883:9): [True: 62, False: 0]
  |  Branch (9883:46): [True: 0, False: 0]
  ------------------
 9884|     62|        return;
 9885|       |
 9886|       |    // Look for built-in variables in a function's parameter list.
 9887|      0|    const auto findBuiltIns = [&](const TFunction& function, std::set<tInterstageIoData>& builtIns) {
 9888|      0|        for (int p=0; p<function.getParamCount(); ++p) {
 9889|      0|            TStorageQualifier storage = function[p].type->getQualifier().storage;
 9890|       |
 9891|      0|            if (storage == EvqConstReadOnly) // treated identically to input
 9892|      0|                storage = EvqIn;
 9893|       |
 9894|      0|            if (function[p].getDeclaredBuiltIn() != EbvNone)
 9895|      0|                builtIns.insert(HlslParseContext::tInterstageIoData(function[p].getDeclaredBuiltIn(), storage));
 9896|      0|            else
 9897|      0|                builtIns.insert(HlslParseContext::tInterstageIoData(function[p].type->getQualifier().builtIn, storage));
 9898|      0|        }
 9899|      0|    };
 9900|       |
 9901|       |    // If we synthesize a built-in interface variable, we must add it to the linkage.
 9902|      0|    const auto addToLinkage = [&](const TType& type, const TString* name, TIntermSymbol** symbolNode) {
 9903|      0|        if (name == nullptr) {
 9904|      0|            error(loc, "unable to locate patch function parameter name", "", "");
 9905|      0|            return;
 9906|      0|        } else {
 9907|      0|            TVariable& variable = *new TVariable(name, type);
 9908|      0|            if (! symbolTable.insert(variable)) {
 9909|      0|                error(loc, "unable to declare patch constant function interface variable", name->c_str(), "");
 9910|      0|                return;
 9911|      0|            }
 9912|       |
 9913|      0|            globalQualifierFix(loc, variable.getWritableType().getQualifier());
 9914|       |
 9915|      0|            if (symbolNode != nullptr)
 9916|      0|                *symbolNode = intermediate.addSymbol(variable);
 9917|       |
 9918|      0|            trackLinkage(variable);
 9919|      0|        }
 9920|      0|    };
 9921|       |
 9922|      0|    const auto isOutputPatch = [](TFunction& patchConstantFunction, int param) {
 9923|      0|        const TType& type = *patchConstantFunction[param].type;
 9924|      0|        const TBuiltInVariable biType = patchConstantFunction[param].getDeclaredBuiltIn();
 9925|       |
 9926|      0|        return type.isSizedArray() && biType == EbvOutputPatch;
 9927|      0|    };
 9928|       |
 9929|       |    // We will perform these steps.  Each is in a scoped block for separation: they could
 9930|       |    // become separate functions to make addPatchConstantInvocation shorter.
 9931|       |    //
 9932|       |    // 1. Union the interfaces, and create built-ins for anything present in the PCF and
 9933|       |    //    declared as a built-in variable that isn't present in the entry point's signature.
 9934|       |    //
 9935|       |    // 2. Synthesizes a call to the patchconstfunction using built-in variables from either main,
 9936|       |    //    or the ones we created.  Matching is based on built-in type.  We may use synthesized
 9937|       |    //    variables from (1) above.
 9938|       |    //
 9939|       |    // 2B: Synthesize per control point invocations of wrapped entry point if the PCF requires them.
 9940|       |    //
 9941|       |    // 3. Create a return sequence: copy the return value (if any) from the PCF to a
 9942|       |    //    (non-sanitized) output variable.  In case this may involve multiple copies, such as for
 9943|       |    //    an arrayed variable, a temporary copy of the PCF output is created to avoid multiple
 9944|       |    //    indirections into a complex R-value coming from the call to the PCF.
 9945|       |    //
 9946|       |    // 4. Create a barrier.
 9947|       |    //
 9948|       |    // 5/5B. Call the PCF inside an if test for (invocation id == 0).
 9949|       |
 9950|      0|    TFunction* patchConstantFunctionPtr = const_cast<TFunction*>(findPatchConstantFunction(loc));
 9951|       |
 9952|      0|    if (patchConstantFunctionPtr == nullptr)
  ------------------
  |  Branch (9952:9): [True: 0, False: 0]
  ------------------
 9953|      0|        return;
 9954|       |
 9955|      0|    TFunction& patchConstantFunction = *patchConstantFunctionPtr;
 9956|       |
 9957|      0|    const int pcfParamCount = patchConstantFunction.getParamCount();
 9958|      0|    TIntermSymbol* invocationIdSym = findTessLinkageSymbol(EbvInvocationId);
 9959|      0|    TIntermSequence& epBodySeq = entryPointFunctionBody->getAsAggregate()->getSequence();
 9960|       |
 9961|      0|    int outPatchParam = -1; // -1 means there isn't one.
 9962|       |
 9963|       |    // ================ Step 1A: Union Interfaces ================
 9964|       |    // Our patch constant function.
 9965|      0|    {
 9966|      0|        std::set<tInterstageIoData> pcfBuiltIns;  // patch constant function built-ins
 9967|      0|        std::set<tInterstageIoData> epfBuiltIns;  // entry point function built-ins
 9968|       |
 9969|      0|        assert(entryPointFunction);
 9970|      0|        assert(entryPointFunctionBody);
 9971|       |
 9972|      0|        findBuiltIns(patchConstantFunction, pcfBuiltIns);
 9973|      0|        findBuiltIns(*entryPointFunction,   epfBuiltIns);
 9974|       |
 9975|       |        // Find the set of built-ins in the PCF that are not present in the entry point.
 9976|      0|        std::set<tInterstageIoData> notInEntryPoint;
 9977|       |
 9978|      0|        notInEntryPoint = pcfBuiltIns;
 9979|       |
 9980|       |        // std::set_difference not usable on unordered containers
 9981|      0|        for (auto bi = epfBuiltIns.begin(); bi != epfBuiltIns.end(); ++bi)
  ------------------
  |  Branch (9981:45): [True: 0, False: 0]
  ------------------
 9982|      0|            notInEntryPoint.erase(*bi);
 9983|       |
 9984|       |        // Now we'll add those to the entry and to the linkage.
 9985|      0|        for (int p=0; p<pcfParamCount; ++p) {
  ------------------
  |  Branch (9985:23): [True: 0, False: 0]
  ------------------
 9986|      0|            const TBuiltInVariable biType   = patchConstantFunction[p].getDeclaredBuiltIn();
 9987|      0|            TStorageQualifier storage = patchConstantFunction[p].type->getQualifier().storage;
 9988|       |
 9989|       |            // Track whether there is an output patch param
 9990|      0|            if (isOutputPatch(patchConstantFunction, p)) {
  ------------------
  |  Branch (9990:17): [True: 0, False: 0]
  ------------------
 9991|      0|                if (outPatchParam >= 0) {
  ------------------
  |  Branch (9991:21): [True: 0, False: 0]
  ------------------
 9992|       |                    // Presently we only support one per ctrl pt input.
 9993|      0|                    error(loc, "unimplemented: multiple output patches in patch constant function", "", "");
 9994|      0|                    return;
 9995|      0|                }
 9996|      0|                outPatchParam = p;
 9997|      0|            }
 9998|       |
 9999|      0|            if (biType != EbvNone) {
  ------------------
  |  Branch (9999:17): [True: 0, False: 0]
  ------------------
10000|      0|                TType* paramType = patchConstantFunction[p].type->clone();
10001|       |
10002|      0|                if (storage == EvqConstReadOnly) // treated identically to input
  ------------------
  |  Branch (10002:21): [True: 0, False: 0]
  ------------------
10003|      0|                    storage = EvqIn;
10004|       |
10005|       |                // Presently, the only non-built-in we support is InputPatch, which is treated as
10006|       |                // a pseudo-built-in.
10007|      0|                if (biType == EbvInputPatch) {
  ------------------
  |  Branch (10007:21): [True: 0, False: 0]
  ------------------
10008|      0|                    builtInTessLinkageSymbols[biType] = inputPatch;
10009|      0|                } else if (biType == EbvOutputPatch) {
  ------------------
  |  Branch (10009:28): [True: 0, False: 0]
  ------------------
10010|       |                    // Nothing...
10011|      0|                } else {
10012|       |                    // Use the original declaration type for the linkage
10013|      0|                    paramType->getQualifier().builtIn = biType;
10014|      0|                    if (biType == EbvTessLevelInner || biType == EbvTessLevelOuter)
  ------------------
  |  Branch (10014:25): [True: 0, False: 0]
  |  Branch (10014:56): [True: 0, False: 0]
  ------------------
10015|      0|                        paramType->getQualifier().patch = true;
10016|       |
10017|      0|                    if (notInEntryPoint.count(tInterstageIoData(biType, storage)) == 1)
  ------------------
  |  Branch (10017:25): [True: 0, False: 0]
  ------------------
10018|      0|                        addToLinkage(*paramType, patchConstantFunction[p].name, nullptr);
10019|      0|                }
10020|      0|            }
10021|      0|        }
10022|       |
10023|       |        // If we didn't find it because the shader made one, add our own.
10024|      0|        if (invocationIdSym == nullptr) {
  ------------------
  |  Branch (10024:13): [True: 0, False: 0]
  ------------------
10025|      0|            TType invocationIdType(EbtUint, EvqIn, 1);
10026|      0|            TString* invocationIdName = NewPoolTString("InvocationId");
10027|      0|            invocationIdType.getQualifier().builtIn = EbvInvocationId;
10028|      0|            addToLinkage(invocationIdType, invocationIdName, &invocationIdSym);
10029|      0|        }
10030|       |
10031|      0|        assert(invocationIdSym);
10032|      0|    }
10033|       |
10034|      0|    TIntermTyped* pcfArguments = nullptr;
10035|      0|    TVariable* perCtrlPtVar = nullptr;
10036|       |
10037|       |    // ================ Step 1B: Argument synthesis ================
10038|       |    // Create pcfArguments for synthesis of patchconstantfunction invocation
10039|      0|    {
10040|      0|        for (int p=0; p<pcfParamCount; ++p) {
  ------------------
  |  Branch (10040:23): [True: 0, False: 0]
  ------------------
10041|      0|            TIntermTyped* inputArg = nullptr;
10042|       |
10043|      0|            if (p == outPatchParam) {
  ------------------
  |  Branch (10043:17): [True: 0, False: 0]
  ------------------
10044|      0|                if (perCtrlPtVar == nullptr) {
  ------------------
  |  Branch (10044:21): [True: 0, False: 0]
  ------------------
10045|      0|                    perCtrlPtVar = makeInternalVariable(*patchConstantFunction[outPatchParam].name,
10046|      0|                                                        *patchConstantFunction[outPatchParam].type);
10047|       |
10048|      0|                    perCtrlPtVar->getWritableType().getQualifier().makeTemporary();
10049|      0|                }
10050|      0|                inputArg = intermediate.addSymbol(*perCtrlPtVar, loc);
10051|      0|            } else {
10052|       |                // find which built-in it is
10053|      0|                const TBuiltInVariable biType = patchConstantFunction[p].getDeclaredBuiltIn();
10054|       |
10055|      0|                if (biType == EbvInputPatch && inputPatch == nullptr) {
  ------------------
  |  Branch (10055:21): [True: 0, False: 0]
  |  Branch (10055:48): [True: 0, False: 0]
  ------------------
10056|      0|                    error(loc, "unimplemented: PCF input patch without entry point input patch parameter", "", "");
10057|      0|                    return;
10058|      0|                }
10059|       |
10060|      0|                inputArg = findTessLinkageSymbol(biType);
10061|       |
10062|      0|                if (inputArg == nullptr) {
  ------------------
  |  Branch (10062:21): [True: 0, False: 0]
  ------------------
10063|      0|                    error(loc, "unable to find patch constant function built-in variable", "", "");
10064|      0|                    return;
10065|      0|                }
10066|      0|            }
10067|       |
10068|      0|            if (pcfParamCount == 1)
  ------------------
  |  Branch (10068:17): [True: 0, False: 0]
  ------------------
10069|      0|                pcfArguments = inputArg;
10070|      0|            else
10071|      0|                pcfArguments = intermediate.growAggregate(pcfArguments, inputArg);
10072|      0|        }
10073|      0|    }
10074|       |
10075|       |    // ================ Step 2: Synthesize call to PCF ================
10076|      0|    TIntermAggregate* pcfCallSequence = nullptr;
10077|      0|    TIntermTyped* pcfCall = nullptr;
10078|       |
10079|      0|    {
10080|       |        // Create a function call to the patchconstantfunction
10081|      0|        if (pcfArguments)
  ------------------
  |  Branch (10081:13): [True: 0, False: 0]
  ------------------
10082|      0|            addInputArgumentConversions(patchConstantFunction, pcfArguments);
10083|       |
10084|       |        // Synthetic call.
10085|      0|        pcfCall = intermediate.setAggregateOperator(pcfArguments, EOpFunctionCall, patchConstantFunction.getType(), loc);
10086|      0|        pcfCall->getAsAggregate()->setUserDefined();
10087|      0|        pcfCall->getAsAggregate()->setName(patchConstantFunction.getMangledName());
10088|      0|        intermediate.addToCallGraph(infoSink, intermediate.getEntryPointMangledName().c_str(),
10089|      0|                                    patchConstantFunction.getMangledName());
10090|       |
10091|      0|        if (pcfCall->getAsAggregate()) {
  ------------------
  |  Branch (10091:13): [True: 0, False: 0]
  ------------------
10092|      0|            TQualifierList& qualifierList = pcfCall->getAsAggregate()->getQualifierList();
10093|      0|            for (int i = 0; i < patchConstantFunction.getParamCount(); ++i) {
  ------------------
  |  Branch (10093:29): [True: 0, False: 0]
  ------------------
10094|      0|                TStorageQualifier qual = patchConstantFunction[i].type->getQualifier().storage;
10095|      0|                qualifierList.push_back(qual);
10096|      0|            }
10097|      0|            pcfCall = addOutputArgumentConversions(patchConstantFunction, *pcfCall->getAsOperator());
10098|      0|        }
10099|      0|    }
10100|       |
10101|       |    // ================ Step 2B: Per Control Point synthesis ================
10102|       |    // If there is per control point data, we must either emulate that with multiple
10103|       |    // invocations of the entry point to build up an array, or (TODO:) use a yet
10104|       |    // unavailable extension to look across the SIMD lanes.  This is the former
10105|       |    // as a placeholder for the latter.
10106|      0|    if (outPatchParam >= 0) {
  ------------------
  |  Branch (10106:9): [True: 0, False: 0]
  ------------------
10107|       |        // We must introduce a local temp variable of the type wanted by the PCF input.
10108|      0|        const int arraySize = patchConstantFunction[outPatchParam].type->getOuterArraySize();
10109|       |
10110|      0|        if (entryPointFunction->getType().getBasicType() == EbtVoid) {
  ------------------
  |  Branch (10110:13): [True: 0, False: 0]
  ------------------
10111|      0|            error(loc, "entry point must return a value for use with patch constant function", "", "");
10112|      0|            return;
10113|      0|        }
10114|       |
10115|       |        // Create calls to wrapped main to fill in the array.  We will substitute fixed values
10116|       |        // of invocation ID when calling the wrapped main.
10117|       |
10118|       |        // This is the type of the each member of the per ctrl point array.
10119|      0|        const TType derefType(perCtrlPtVar->getType(), 0);
10120|       |
10121|      0|        for (int cpt = 0; cpt < arraySize; ++cpt) {
  ------------------
  |  Branch (10121:27): [True: 0, False: 0]
  ------------------
10122|       |            // TODO: improve.  substr(1) here is to avoid the '@' that was grafted on but isn't in the symtab
10123|       |            // for this function.
10124|      0|            const TString origName = entryPointFunction->getName().substr(1);
10125|      0|            TFunction callee(&origName, TType(EbtVoid));
10126|      0|            TIntermTyped* callingArgs = nullptr;
10127|       |
10128|      0|            for (int i = 0; i < entryPointFunction->getParamCount(); i++) {
  ------------------
  |  Branch (10128:29): [True: 0, False: 0]
  ------------------
10129|      0|                TParameter& param = (*entryPointFunction)[i];
10130|      0|                TType& paramType = *param.type;
10131|       |
10132|      0|                if (paramType.getQualifier().isParamOutput()) {
  ------------------
  |  Branch (10132:21): [True: 0, False: 0]
  ------------------
10133|      0|                    error(loc, "unimplemented: entry point outputs in patch constant function invocation", "", "");
10134|      0|                    return;
10135|      0|                }
10136|       |
10137|      0|                if (paramType.getQualifier().isParamInput())  {
  ------------------
  |  Branch (10137:21): [True: 0, False: 0]
  ------------------
10138|      0|                    TIntermTyped* arg = nullptr;
10139|      0|                    if ((*entryPointFunction)[i].getDeclaredBuiltIn() == EbvInvocationId) {
  ------------------
  |  Branch (10139:25): [True: 0, False: 0]
  ------------------
10140|       |                        // substitute invocation ID with the array element ID
10141|      0|                        arg = intermediate.addConstantUnion(cpt, loc);
10142|      0|                    } else {
10143|      0|                        TVariable* argVar = makeInternalVariable(*param.name, *param.type);
10144|      0|                        argVar->getWritableType().getQualifier().makeTemporary();
10145|      0|                        arg = intermediate.addSymbol(*argVar);
10146|      0|                    }
10147|       |
10148|      0|                    handleFunctionArgument(&callee, callingArgs, arg);
10149|      0|                }
10150|      0|            }
10151|       |
10152|       |            // Call and assign to per ctrl point variable
10153|      0|            currentCaller = intermediate.getEntryPointMangledName().c_str();
10154|      0|            TIntermTyped* callReturn = handleFunctionCall(loc, &callee, callingArgs);
10155|      0|            TIntermTyped* index = intermediate.addConstantUnion(cpt, loc);
10156|      0|            TIntermSymbol* perCtrlPtSym = intermediate.addSymbol(*perCtrlPtVar, loc);
10157|      0|            TIntermTyped* element = intermediate.addIndex(EOpIndexDirect, perCtrlPtSym, index, loc);
10158|      0|            element->setType(derefType);
10159|      0|            element->setLoc(loc);
10160|       |
10161|      0|            pcfCallSequence = intermediate.growAggregate(pcfCallSequence,
10162|      0|                                                         handleAssign(loc, EOpAssign, element, callReturn));
10163|      0|        }
10164|      0|    }
10165|       |
10166|       |    // ================ Step 3: Create return Sequence ================
10167|       |    // Return sequence: copy PCF result to a temporary, then to shader output variable.
10168|      0|    if (pcfCall->getBasicType() != EbtVoid) {
  ------------------
  |  Branch (10168:9): [True: 0, False: 0]
  ------------------
10169|      0|        const TType* retType = &patchConstantFunction.getType();  // return type from the PCF
10170|      0|        TType outType; // output type that goes with the return type.
10171|      0|        outType.shallowCopy(*retType);
10172|       |
10173|       |        // substitute the output type
10174|      0|        const auto newLists = ioTypeMap.find(retType->getStruct());
10175|      0|        if (newLists != ioTypeMap.end())
  ------------------
  |  Branch (10175:13): [True: 0, False: 0]
  ------------------
10176|      0|            outType.setStruct(newLists->second.output);
10177|       |
10178|       |        // Substitute the top level type's built-in type
10179|      0|        if (patchConstantFunction.getDeclaredBuiltInType() != EbvNone)
  ------------------
  |  Branch (10179:13): [True: 0, False: 0]
  ------------------
10180|      0|            outType.getQualifier().builtIn = patchConstantFunction.getDeclaredBuiltInType();
10181|       |
10182|      0|        outType.getQualifier().patch = true; // make it a per-patch variable
10183|       |
10184|      0|        TVariable* pcfOutput = makeInternalVariable("@patchConstantOutput", outType);
10185|      0|        pcfOutput->getWritableType().getQualifier().storage = EvqVaryingOut;
10186|       |
10187|      0|        if (pcfOutput->getType().isStruct())
  ------------------
  |  Branch (10187:13): [True: 0, False: 0]
  ------------------
10188|      0|            flatten(*pcfOutput, false);
10189|       |
10190|      0|        assignToInterface(*pcfOutput);
10191|       |
10192|      0|        TIntermSymbol* pcfOutputSym = intermediate.addSymbol(*pcfOutput, loc);
10193|       |
10194|       |        // The call to the PCF is a complex R-value: we want to store it in a temp to avoid
10195|       |        // repeated calls to the PCF:
10196|      0|        TVariable* pcfCallResult = makeInternalVariable("@patchConstantResult", *retType);
10197|      0|        pcfCallResult->getWritableType().getQualifier().makeTemporary();
10198|       |
10199|      0|        TIntermSymbol* pcfResultVar = intermediate.addSymbol(*pcfCallResult, loc);
10200|      0|        TIntermNode* pcfResultAssign = handleAssign(loc, EOpAssign, pcfResultVar, pcfCall);
10201|      0|        TIntermNode* pcfResultToOut = handleAssign(loc, EOpAssign, pcfOutputSym,
10202|      0|                                                   intermediate.addSymbol(*pcfCallResult, loc));
10203|       |
10204|      0|        pcfCallSequence = intermediate.growAggregate(pcfCallSequence, pcfResultAssign);
10205|      0|        pcfCallSequence = intermediate.growAggregate(pcfCallSequence, pcfResultToOut);
10206|      0|    } else {
10207|      0|        pcfCallSequence = intermediate.growAggregate(pcfCallSequence, pcfCall);
10208|      0|    }
10209|       |
10210|       |    // ================ Step 4: Barrier ================
10211|      0|    TIntermTyped* barrier = new TIntermAggregate(EOpBarrier);
10212|      0|    barrier->setLoc(loc);
10213|      0|    barrier->setType(TType(EbtVoid));
10214|      0|    epBodySeq.insert(epBodySeq.end(), barrier);
10215|       |
10216|       |    // ================ Step 5: Test on invocation ID ================
10217|      0|    TIntermTyped* zero = intermediate.addConstantUnion(0, loc, true);
10218|      0|    TIntermTyped* cmp =  intermediate.addBinaryNode(EOpEqual, invocationIdSym, zero, loc, TType(EbtBool));
10219|       |
10220|       |
10221|       |    // ================ Step 5B: Create if statement on Invocation ID == 0 ================
10222|      0|    intermediate.setAggregateOperator(pcfCallSequence, EOpSequence, TType(EbtVoid), loc);
10223|      0|    TIntermTyped* invocationIdTest = new TIntermSelection(cmp, pcfCallSequence, nullptr);
10224|      0|    invocationIdTest->setLoc(loc);
10225|       |
10226|       |    // add our test sequence before the return.
10227|      0|    epBodySeq.insert(epBodySeq.end(), invocationIdTest);
10228|      0|}
_ZN7glslang16HlslParseContext32removeUnusedStructBufferCountersEv:
10234|     62|{
10235|     62|    const auto endIt = std::remove_if(linkageSymbols.begin(), linkageSymbols.end(),
10236|     62|                                      [this](const TSymbol* sym) {
10237|     62|                                          const auto sbcIt = structBufferCounter.find(sym->getName());
10238|     62|                                          return sbcIt != structBufferCounter.end() && !sbcIt->second;
10239|     62|                                      });
10240|       |
10241|     62|    linkageSymbols.erase(endIt, linkageSymbols.end());
10242|     62|}
_ZN7glslang16HlslParseContext21fixTextureShadowModesEv:
10246|     62|{
10247|     62|    for (auto symbol = linkageSymbols.begin(); symbol != linkageSymbols.end(); ++symbol) {
  ------------------
  |  Branch (10247:48): [True: 0, False: 62]
  ------------------
10248|      0|        TSampler& sampler = (*symbol)->getWritableType().getSampler();
10249|       |
10250|      0|        if (sampler.isTexture()) {
  ------------------
  |  Branch (10250:13): [True: 0, False: 0]
  ------------------
10251|      0|            const auto shadowMode = textureShadowVariant.find((*symbol)->getUniqueId());
10252|      0|            if (shadowMode != textureShadowVariant.end()) {
  ------------------
  |  Branch (10252:17): [True: 0, False: 0]
  ------------------
10253|       |
10254|      0|                if (shadowMode->second->overloaded())
  ------------------
  |  Branch (10254:21): [True: 0, False: 0]
  ------------------
10255|       |                    // Texture needs legalization if it's been seen with both shadow and non-shadow modes.
10256|      0|                    intermediate.setNeedsLegalization();
10257|       |
10258|      0|                sampler.shadow = shadowMode->second->isShadowId((*symbol)->getUniqueId());
10259|      0|            }
10260|      0|        }
10261|      0|    }
10262|     62|}
_ZN7glslang16HlslParseContext21finalizeAppendMethodsEv:
10267|     62|{
10268|     62|    TSourceLoc loc;
10269|     62|    loc.init();
10270|       |
10271|       |    // Nothing to do: bypass test for valid stream output.
10272|     62|    if (gsAppends.empty())
  ------------------
  |  Branch (10272:9): [True: 62, False: 0]
  ------------------
10273|     62|        return;
10274|       |
10275|      0|    if (gsStreamOutput == nullptr) {
  ------------------
  |  Branch (10275:9): [True: 0, False: 0]
  ------------------
10276|      0|        error(loc, "unable to find output symbol for Append()", "", "");
10277|      0|        return;
10278|      0|    }
10279|       |
10280|       |    // Patch append sequences, now that we know the stream output symbol.
10281|      0|    for (auto append = gsAppends.begin(); append != gsAppends.end(); ++append) {
  ------------------
  |  Branch (10281:43): [True: 0, False: 0]
  ------------------
10282|      0|        append->node->getSequence()[0] =
10283|      0|            handleAssign(append->loc, EOpAssign,
10284|      0|                         intermediate.addSymbol(*gsStreamOutput, append->loc),
10285|      0|                         append->node->getSequence()[0]->getAsTyped());
10286|      0|    }
10287|      0|}
_ZN7glslang16HlslParseContext6finishEv:
10291|     62|{
10292|       |    // Error check: There was a dangling .mips operator.  These are not nested constructs in the grammar, so
10293|       |    // cannot be detected there.  This is not strictly needed in a non-validating parser; it's just helpful.
10294|     62|    if (! mipsOperatorMipArg.empty()) {
  ------------------
  |  Branch (10294:9): [True: 0, False: 62]
  ------------------
10295|      0|        error(mipsOperatorMipArg.back().loc, "unterminated mips operator:", "", "");
10296|      0|    }
10297|       |
10298|     62|    removeUnusedStructBufferCounters();
10299|     62|    addPatchConstantInvocation();
10300|     62|    fixTextureShadowModes();
10301|     62|    finalizeAppendMethods();
10302|       |
10303|       |    // Communicate out (esp. for command line) that we formed AST that will make
10304|       |    // illegal AST SPIR-V and it needs transforms to legalize it.
10305|     62|    if (intermediate.needsLegalization() && (messages & EShMsgHlslLegalization))
  ------------------
  |  Branch (10305:9): [True: 0, False: 62]
  |  Branch (10305:45): [True: 0, False: 0]
  ------------------
10306|      0|        infoSink.info << "WARNING: AST will form illegal SPIR-V; need to transform to legalize";
10307|       |
10308|     62|    TParseContextBase::finish();
10309|     62|}
hlslParseHelper.cpp:_ZZN7glslang16HlslParseContext19getLayoutFromTxTypeERKNS_10TSourceLocERKNS_5TTypeEENK3$_0clENS_13TLayoutFormatES8_S8_:
  196|  1.99k|    const auto selectFormat = [this,&components](TLayoutFormat v1, TLayoutFormat v2, TLayoutFormat v4) -> TLayoutFormat {
  197|  1.99k|        if (intermediate.getNoStorageFormat())
  ------------------
  |  Branch (197:13): [True: 0, False: 1.99k]
  ------------------
  198|      0|            return ElfNone;
  199|       |
  200|  1.99k|        return components == 1 ? v1 :
  ------------------
  |  Branch (200:16): [True: 1.05k, False: 945]
  ------------------
  201|  1.99k|               components == 2 ? v2 : v4;
  ------------------
  |  Branch (201:16): [True: 630, False: 315]
  ------------------
  202|  1.99k|    };

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

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

_ZN7glslang15HlslScanContext8tokenizeERNS_9HlslTokenE:
  517|  1.30M|{
  518|  1.30M|    EHlslTokenClass tokenClass = tokenizeClass(token);
  519|  1.30M|    token.tokenClass = tokenClass;
  520|  1.30M|}
_ZN7glslang15HlslScanContext13tokenizeClassERNS_9HlslTokenE:
  537|  1.30M|{
  538|  2.35M|    do {
  539|  2.35M|        parserToken = &token;
  540|  2.35M|        TPpToken ppToken;
  541|  2.35M|        int token = ppContext.tokenize(ppToken);
  542|  2.35M|        if (token == EndOfInput)
  ------------------
  |  Branch (542:13): [True: 62, False: 2.35M]
  ------------------
  543|     62|            return EHTokNone;
  544|       |
  545|  2.35M|        tokenText = ppToken.name;
  546|  2.35M|        loc = ppToken.loc;
  547|  2.35M|        parserToken->loc = loc;
  548|  2.35M|        switch (token) {
  549|   140k|        case ';':                       return EHTokSemicolon;
  ------------------
  |  Branch (549:9): [True: 140k, False: 2.21M]
  ------------------
  550|   175k|        case ',':                       return EHTokComma;
  ------------------
  |  Branch (550:9): [True: 175k, False: 2.18M]
  ------------------
  551|      0|        case ':':                       return EHTokColon;
  ------------------
  |  Branch (551:9): [True: 0, False: 2.35M]
  ------------------
  552|      0|        case '=':                       return EHTokAssign;
  ------------------
  |  Branch (552:9): [True: 0, False: 2.35M]
  ------------------
  553|   140k|        case '(':                       return EHTokLeftParen;
  ------------------
  |  Branch (553:9): [True: 140k, False: 2.21M]
  ------------------
  554|   140k|        case ')':                       return EHTokRightParen;
  ------------------
  |  Branch (554:9): [True: 140k, False: 2.21M]
  ------------------
  555|      0|        case '.':                       return EHTokDot;
  ------------------
  |  Branch (555:9): [True: 0, False: 2.35M]
  ------------------
  556|      0|        case '!':                       return EHTokBang;
  ------------------
  |  Branch (556:9): [True: 0, False: 2.35M]
  ------------------
  557|      0|        case '-':                       return EHTokDash;
  ------------------
  |  Branch (557:9): [True: 0, False: 2.35M]
  ------------------
  558|      0|        case '~':                       return EHTokTilde;
  ------------------
  |  Branch (558:9): [True: 0, False: 2.35M]
  ------------------
  559|      0|        case '+':                       return EHTokPlus;
  ------------------
  |  Branch (559:9): [True: 0, False: 2.35M]
  ------------------
  560|      0|        case '*':                       return EHTokStar;
  ------------------
  |  Branch (560:9): [True: 0, False: 2.35M]
  ------------------
  561|      0|        case '/':                       return EHTokSlash;
  ------------------
  |  Branch (561:9): [True: 0, False: 2.35M]
  ------------------
  562|      0|        case '%':                       return EHTokPercent;
  ------------------
  |  Branch (562:9): [True: 0, False: 2.35M]
  ------------------
  563|  28.4k|        case '<':                       return EHTokLeftAngle;
  ------------------
  |  Branch (563:9): [True: 28.4k, False: 2.32M]
  ------------------
  564|  28.4k|        case '>':                       return EHTokRightAngle;
  ------------------
  |  Branch (564:9): [True: 28.4k, False: 2.32M]
  ------------------
  565|      0|        case '|':                       return EHTokVerticalBar;
  ------------------
  |  Branch (565:9): [True: 0, False: 2.35M]
  ------------------
  566|      0|        case '^':                       return EHTokCaret;
  ------------------
  |  Branch (566:9): [True: 0, False: 2.35M]
  ------------------
  567|      0|        case '&':                       return EHTokAmpersand;
  ------------------
  |  Branch (567:9): [True: 0, False: 2.35M]
  ------------------
  568|      0|        case '?':                       return EHTokQuestion;
  ------------------
  |  Branch (568:9): [True: 0, False: 2.35M]
  ------------------
  569|      0|        case '[':                       return EHTokLeftBracket;
  ------------------
  |  Branch (569:9): [True: 0, False: 2.35M]
  ------------------
  570|      0|        case ']':                       return EHTokRightBracket;
  ------------------
  |  Branch (570:9): [True: 0, False: 2.35M]
  ------------------
  571|      0|        case '{':                       return EHTokLeftBrace;
  ------------------
  |  Branch (571:9): [True: 0, False: 2.35M]
  ------------------
  572|      0|        case '}':                       return EHTokRightBrace;
  ------------------
  |  Branch (572:9): [True: 0, False: 2.35M]
  ------------------
  573|      0|        case '\\':
  ------------------
  |  Branch (573:9): [True: 0, False: 2.35M]
  ------------------
  574|      0|            parseContext.error(loc, "illegal use of escape character", "\\", "");
  575|      0|            break;
  576|       |
  577|      0|        case PPAtomAddAssign:          return EHTokAddAssign;
  ------------------
  |  Branch (577:9): [True: 0, False: 2.35M]
  ------------------
  578|      0|        case PPAtomSubAssign:          return EHTokSubAssign;
  ------------------
  |  Branch (578:9): [True: 0, False: 2.35M]
  ------------------
  579|      0|        case PPAtomMulAssign:          return EHTokMulAssign;
  ------------------
  |  Branch (579:9): [True: 0, False: 2.35M]
  ------------------
  580|      0|        case PPAtomDivAssign:          return EHTokDivAssign;
  ------------------
  |  Branch (580:9): [True: 0, False: 2.35M]
  ------------------
  581|      0|        case PPAtomModAssign:          return EHTokModAssign;
  ------------------
  |  Branch (581:9): [True: 0, False: 2.35M]
  ------------------
  582|       |
  583|      0|        case PpAtomRight:              return EHTokRightOp;
  ------------------
  |  Branch (583:9): [True: 0, False: 2.35M]
  ------------------
  584|      0|        case PpAtomLeft:               return EHTokLeftOp;
  ------------------
  |  Branch (584:9): [True: 0, False: 2.35M]
  ------------------
  585|       |
  586|      0|        case PpAtomRightAssign:        return EHTokRightAssign;
  ------------------
  |  Branch (586:9): [True: 0, False: 2.35M]
  ------------------
  587|      0|        case PpAtomLeftAssign:         return EHTokLeftAssign;
  ------------------
  |  Branch (587:9): [True: 0, False: 2.35M]
  ------------------
  588|      0|        case PpAtomAndAssign:          return EHTokAndAssign;
  ------------------
  |  Branch (588:9): [True: 0, False: 2.35M]
  ------------------
  589|      0|        case PpAtomOrAssign:           return EHTokOrAssign;
  ------------------
  |  Branch (589:9): [True: 0, False: 2.35M]
  ------------------
  590|      0|        case PpAtomXorAssign:          return EHTokXorAssign;
  ------------------
  |  Branch (590:9): [True: 0, False: 2.35M]
  ------------------
  591|       |
  592|      0|        case PpAtomAnd:                return EHTokAndOp;
  ------------------
  |  Branch (592:9): [True: 0, False: 2.35M]
  ------------------
  593|      0|        case PpAtomOr:                 return EHTokOrOp;
  ------------------
  |  Branch (593:9): [True: 0, False: 2.35M]
  ------------------
  594|      0|        case PpAtomXor:                return EHTokXorOp;
  ------------------
  |  Branch (594:9): [True: 0, False: 2.35M]
  ------------------
  595|       |
  596|      0|        case PpAtomEQ:                 return EHTokEqOp;
  ------------------
  |  Branch (596:9): [True: 0, False: 2.35M]
  ------------------
  597|      0|        case PpAtomGE:                 return EHTokGeOp;
  ------------------
  |  Branch (597:9): [True: 0, False: 2.35M]
  ------------------
  598|      0|        case PpAtomNE:                 return EHTokNeOp;
  ------------------
  |  Branch (598:9): [True: 0, False: 2.35M]
  ------------------
  599|      0|        case PpAtomLE:                 return EHTokLeOp;
  ------------------
  |  Branch (599:9): [True: 0, False: 2.35M]
  ------------------
  600|       |
  601|      0|        case PpAtomDecrement:          return EHTokDecOp;
  ------------------
  |  Branch (601:9): [True: 0, False: 2.35M]
  ------------------
  602|      0|        case PpAtomIncrement:          return EHTokIncOp;
  ------------------
  |  Branch (602:9): [True: 0, False: 2.35M]
  ------------------
  603|       |
  604|      0|        case PpAtomColonColon:         return EHTokColonColon;
  ------------------
  |  Branch (604:9): [True: 0, False: 2.35M]
  ------------------
  605|       |
  606|      1|        case PpAtomConstInt:           parserToken->i = ppToken.ival;       return EHTokIntConstant;
  ------------------
  |  Branch (606:9): [True: 1, False: 2.35M]
  ------------------
  607|      0|        case PpAtomConstUint:          parserToken->i = ppToken.ival;       return EHTokUintConstant;
  ------------------
  |  Branch (607:9): [True: 0, False: 2.35M]
  ------------------
  608|      0|        case PpAtomConstFloat16:       parserToken->d = ppToken.dval;       return EHTokFloat16Constant;
  ------------------
  |  Branch (608:9): [True: 0, False: 2.35M]
  ------------------
  609|      1|        case PpAtomConstFloat:         parserToken->d = ppToken.dval;       return EHTokFloatConstant;
  ------------------
  |  Branch (609:9): [True: 1, False: 2.35M]
  ------------------
  610|      0|        case PpAtomConstDouble:        parserToken->d = ppToken.dval;       return EHTokDoubleConstant;
  ------------------
  |  Branch (610:9): [True: 0, False: 2.35M]
  ------------------
  611|   655k|        case PpAtomIdentifier:
  ------------------
  |  Branch (611:9): [True: 655k, False: 1.70M]
  ------------------
  612|   655k|        {
  613|   655k|            EHlslTokenClass token = tokenizeIdentifier();
  614|   655k|            return token;
  615|      0|        }
  616|       |
  617|      0|        case PpAtomConstString: {
  ------------------
  |  Branch (617:9): [True: 0, False: 2.35M]
  ------------------
  618|      0|            parserToken->string = NewPoolTString(tokenText);
  619|      0|            return EHTokStringConstant;
  620|      0|        }
  621|       |
  622|      0|        case EndOfInput:               return EHTokNone;
  ------------------
  |  Branch (622:9): [True: 0, False: 2.35M]
  ------------------
  623|       |
  624|  1.04M|        default:
  ------------------
  |  Branch (624:9): [True: 1.04M, False: 1.30M]
  ------------------
  625|  1.04M|            if (token < PpAtomMaxSingle) {
  ------------------
  |  Branch (625:17): [True: 511, False: 1.04M]
  ------------------
  626|    511|                char buf[2];
  627|    511|                buf[0] = (char)token;
  628|    511|                buf[1] = 0;
  629|    511|                parseContext.error(loc, "unexpected token", buf, "");
  630|  1.04M|            } else if (tokenText[0] != 0)
  ------------------
  |  Branch (630:24): [True: 1.04M, False: 0]
  ------------------
  631|  1.04M|                parseContext.error(loc, "unexpected token", tokenText, "");
  632|      0|            else
  633|      0|                parseContext.error(loc, "unexpected token", "", "");
  634|  1.04M|            break;
  635|  2.35M|        }
  636|  2.35M|    } while (true);
  ------------------
  |  Branch (636:14): [True: 1.04M, Folded]
  ------------------
  637|  1.30M|}
_ZN7glslang15HlslScanContext18tokenizeIdentifierEv:
  640|   655k|{
  641|   655k|    if (ReservedSet.find(tokenText) != ReservedSet.end())
  ------------------
  |  Branch (641:9): [True: 0, False: 655k]
  ------------------
  642|      0|        return reservedWord();
  643|       |
  644|   655k|    auto it = KeywordMap.find(tokenText);
  645|   655k|    if (it == KeywordMap.end()) {
  ------------------
  |  Branch (645:9): [True: 140k, False: 515k]
  ------------------
  646|       |        // Should have an identifier of some sort
  647|   140k|        return identifierOrType();
  648|   140k|    }
  649|   515k|    keyword = it->second;
  650|       |
  651|   515k|    switch (keyword) {
  652|       |
  653|       |    // qualifiers
  654|      0|    case EHTokStatic:
  ------------------
  |  Branch (654:5): [True: 0, False: 515k]
  ------------------
  655|      0|    case EHTokConst:
  ------------------
  |  Branch (655:5): [True: 0, False: 515k]
  ------------------
  656|      0|    case EHTokSNorm:
  ------------------
  |  Branch (656:5): [True: 0, False: 515k]
  ------------------
  657|      0|    case EHTokUnorm:
  ------------------
  |  Branch (657:5): [True: 0, False: 515k]
  ------------------
  658|      0|    case EHTokExtern:
  ------------------
  |  Branch (658:5): [True: 0, False: 515k]
  ------------------
  659|      0|    case EHTokUniform:
  ------------------
  |  Branch (659:5): [True: 0, False: 515k]
  ------------------
  660|      0|    case EHTokVolatile:
  ------------------
  |  Branch (660:5): [True: 0, False: 515k]
  ------------------
  661|      0|    case EHTokShared:
  ------------------
  |  Branch (661:5): [True: 0, False: 515k]
  ------------------
  662|      0|    case EHTokGroupShared:
  ------------------
  |  Branch (662:5): [True: 0, False: 515k]
  ------------------
  663|      0|    case EHTokLinear:
  ------------------
  |  Branch (663:5): [True: 0, False: 515k]
  ------------------
  664|      0|    case EHTokCentroid:
  ------------------
  |  Branch (664:5): [True: 0, False: 515k]
  ------------------
  665|      0|    case EHTokNointerpolation:
  ------------------
  |  Branch (665:5): [True: 0, False: 515k]
  ------------------
  666|      0|    case EHTokNoperspective:
  ------------------
  |  Branch (666:5): [True: 0, False: 515k]
  ------------------
  667|      0|    case EHTokSample:
  ------------------
  |  Branch (667:5): [True: 0, False: 515k]
  ------------------
  668|      0|    case EHTokRowMajor:
  ------------------
  |  Branch (668:5): [True: 0, False: 515k]
  ------------------
  669|      0|    case EHTokColumnMajor:
  ------------------
  |  Branch (669:5): [True: 0, False: 515k]
  ------------------
  670|      0|    case EHTokPackOffset:
  ------------------
  |  Branch (670:5): [True: 0, False: 515k]
  ------------------
  671|      0|    case EHTokIn:
  ------------------
  |  Branch (671:5): [True: 0, False: 515k]
  ------------------
  672|  30.4k|    case EHTokOut:
  ------------------
  |  Branch (672:5): [True: 30.4k, False: 484k]
  ------------------
  673|  30.4k|    case EHTokInOut:
  ------------------
  |  Branch (673:5): [True: 0, False: 515k]
  ------------------
  674|  30.4k|    case EHTokPrecise:
  ------------------
  |  Branch (674:5): [True: 0, False: 515k]
  ------------------
  675|  30.4k|    case EHTokLayout:
  ------------------
  |  Branch (675:5): [True: 0, False: 515k]
  ------------------
  676|  30.4k|    case EHTokGloballyCoherent:
  ------------------
  |  Branch (676:5): [True: 0, False: 515k]
  ------------------
  677|  30.4k|    case EHTokInline:
  ------------------
  |  Branch (677:5): [True: 0, False: 515k]
  ------------------
  678|  30.4k|        return keyword;
  679|       |
  680|       |    // primitive types
  681|      0|    case EHTokPoint:
  ------------------
  |  Branch (681:5): [True: 0, False: 515k]
  ------------------
  682|      0|    case EHTokLine:
  ------------------
  |  Branch (682:5): [True: 0, False: 515k]
  ------------------
  683|      0|    case EHTokTriangle:
  ------------------
  |  Branch (683:5): [True: 0, False: 515k]
  ------------------
  684|      0|    case EHTokLineAdj:
  ------------------
  |  Branch (684:5): [True: 0, False: 515k]
  ------------------
  685|      0|    case EHTokTriangleAdj:
  ------------------
  |  Branch (685:5): [True: 0, False: 515k]
  ------------------
  686|      0|        return keyword;
  687|       |
  688|       |    // stream out types
  689|      0|    case EHTokPointStream:
  ------------------
  |  Branch (689:5): [True: 0, False: 515k]
  ------------------
  690|      0|    case EHTokLineStream:
  ------------------
  |  Branch (690:5): [True: 0, False: 515k]
  ------------------
  691|      0|    case EHTokTriangleStream:
  ------------------
  |  Branch (691:5): [True: 0, False: 515k]
  ------------------
  692|      0|        return keyword;
  693|       |
  694|       |    // Tessellation patches
  695|      0|    case EHTokInputPatch:
  ------------------
  |  Branch (695:5): [True: 0, False: 515k]
  ------------------
  696|      0|    case EHTokOutputPatch:
  ------------------
  |  Branch (696:5): [True: 0, False: 515k]
  ------------------
  697|      0|        return keyword;
  698|       |
  699|    105|    case EHTokBuffer:
  ------------------
  |  Branch (699:5): [True: 105, False: 514k]
  ------------------
  700|    105|    case EHTokVector:
  ------------------
  |  Branch (700:5): [True: 0, False: 515k]
  ------------------
  701|    105|    case EHTokMatrix:
  ------------------
  |  Branch (701:5): [True: 0, False: 515k]
  ------------------
  702|    105|        return keyword;
  703|       |
  704|       |    // scalar types
  705|  32.4k|    case EHTokVoid:
  ------------------
  |  Branch (705:5): [True: 32.4k, False: 482k]
  ------------------
  706|  32.4k|    case EHTokString:
  ------------------
  |  Branch (706:5): [True: 0, False: 515k]
  ------------------
  707|  39.2k|    case EHTokBool:
  ------------------
  |  Branch (707:5): [True: 6.75k, False: 508k]
  ------------------
  708|  48.1k|    case EHTokInt:
  ------------------
  |  Branch (708:5): [True: 8.92k, False: 506k]
  ------------------
  709|  65.8k|    case EHTokUint:
  ------------------
  |  Branch (709:5): [True: 17.7k, False: 497k]
  ------------------
  710|  65.8k|    case EHTokUint64:
  ------------------
  |  Branch (710:5): [True: 0, False: 515k]
  ------------------
  711|  65.8k|    case EHTokDword:
  ------------------
  |  Branch (711:5): [True: 0, False: 515k]
  ------------------
  712|  65.8k|    case EHTokHalf:
  ------------------
  |  Branch (712:5): [True: 0, False: 515k]
  ------------------
  713|  98.9k|    case EHTokFloat:
  ------------------
  |  Branch (713:5): [True: 33.1k, False: 481k]
  ------------------
  714|   100k|    case EHTokDouble:
  ------------------
  |  Branch (714:5): [True: 1.57k, False: 513k]
  ------------------
  715|   100k|    case EHTokMin16float:
  ------------------
  |  Branch (715:5): [True: 0, False: 515k]
  ------------------
  716|   100k|    case EHTokMin10float:
  ------------------
  |  Branch (716:5): [True: 0, False: 515k]
  ------------------
  717|   100k|    case EHTokMin16int:
  ------------------
  |  Branch (717:5): [True: 0, False: 515k]
  ------------------
  718|   100k|    case EHTokMin12int:
  ------------------
  |  Branch (718:5): [True: 0, False: 515k]
  ------------------
  719|   100k|    case EHTokMin16uint:
  ------------------
  |  Branch (719:5): [True: 0, False: 515k]
  ------------------
  720|       |
  721|       |    // vector types
  722|   100k|    case EHTokBool1:
  ------------------
  |  Branch (722:5): [True: 0, False: 515k]
  ------------------
  723|   100k|    case EHTokBool2:
  ------------------
  |  Branch (723:5): [True: 210, False: 514k]
  ------------------
  724|   100k|    case EHTokBool3:
  ------------------
  |  Branch (724:5): [True: 210, False: 514k]
  ------------------
  725|   101k|    case EHTokBool4:
  ------------------
  |  Branch (725:5): [True: 210, False: 514k]
  ------------------
  726|   103k|    case EHTokFloat1:
  ------------------
  |  Branch (726:5): [True: 2.73k, False: 512k]
  ------------------
  727|   126k|    case EHTokFloat2:
  ------------------
  |  Branch (727:5): [True: 22.5k, False: 492k]
  ------------------
  728|   145k|    case EHTokFloat3:
  ------------------
  |  Branch (728:5): [True: 19.2k, False: 495k]
  ------------------
  729|   165k|    case EHTokFloat4:
  ------------------
  |  Branch (729:5): [True: 20.0k, False: 495k]
  ------------------
  730|   167k|    case EHTokInt1:
  ------------------
  |  Branch (730:5): [True: 1.89k, False: 513k]
  ------------------
  731|   198k|    case EHTokInt2:
  ------------------
  |  Branch (731:5): [True: 31.2k, False: 483k]
  ------------------
  732|   205k|    case EHTokInt3:
  ------------------
  |  Branch (732:5): [True: 6.19k, False: 508k]
  ------------------
  733|   217k|    case EHTokInt4:
  ------------------
  |  Branch (733:5): [True: 12.8k, False: 502k]
  ------------------
  734|   217k|    case EHTokDouble1:
  ------------------
  |  Branch (734:5): [True: 0, False: 515k]
  ------------------
  735|   219k|    case EHTokDouble2:
  ------------------
  |  Branch (735:5): [True: 1.57k, False: 513k]
  ------------------
  736|   220k|    case EHTokDouble3:
  ------------------
  |  Branch (736:5): [True: 1.50k, False: 513k]
  ------------------
  737|   222k|    case EHTokDouble4:
  ------------------
  |  Branch (737:5): [True: 1.50k, False: 513k]
  ------------------
  738|   224k|    case EHTokUint1:
  ------------------
  |  Branch (738:5): [True: 1.82k, False: 513k]
  ------------------
  739|   233k|    case EHTokUint2:
  ------------------
  |  Branch (739:5): [True: 9.34k, False: 505k]
  ------------------
  740|   238k|    case EHTokUint3:
  ------------------
  |  Branch (740:5): [True: 4.55k, False: 510k]
  ------------------
  741|   250k|    case EHTokUint4:
  ------------------
  |  Branch (741:5): [True: 12.4k, False: 502k]
  ------------------
  742|   250k|    case EHTokHalf1:
  ------------------
  |  Branch (742:5): [True: 0, False: 515k]
  ------------------
  743|   250k|    case EHTokHalf2:
  ------------------
  |  Branch (743:5): [True: 0, False: 515k]
  ------------------
  744|   250k|    case EHTokHalf3:
  ------------------
  |  Branch (744:5): [True: 0, False: 515k]
  ------------------
  745|   250k|    case EHTokHalf4:
  ------------------
  |  Branch (745:5): [True: 0, False: 515k]
  ------------------
  746|   250k|    case EHTokMin16float1:
  ------------------
  |  Branch (746:5): [True: 0, False: 515k]
  ------------------
  747|   250k|    case EHTokMin16float2:
  ------------------
  |  Branch (747:5): [True: 0, False: 515k]
  ------------------
  748|   250k|    case EHTokMin16float3:
  ------------------
  |  Branch (748:5): [True: 0, False: 515k]
  ------------------
  749|   250k|    case EHTokMin16float4:
  ------------------
  |  Branch (749:5): [True: 0, False: 515k]
  ------------------
  750|   250k|    case EHTokMin10float1:
  ------------------
  |  Branch (750:5): [True: 0, False: 515k]
  ------------------
  751|   250k|    case EHTokMin10float2:
  ------------------
  |  Branch (751:5): [True: 0, False: 515k]
  ------------------
  752|   250k|    case EHTokMin10float3:
  ------------------
  |  Branch (752:5): [True: 0, False: 515k]
  ------------------
  753|   250k|    case EHTokMin10float4:
  ------------------
  |  Branch (753:5): [True: 0, False: 515k]
  ------------------
  754|   250k|    case EHTokMin16int1:
  ------------------
  |  Branch (754:5): [True: 0, False: 515k]
  ------------------
  755|   250k|    case EHTokMin16int2:
  ------------------
  |  Branch (755:5): [True: 0, False: 515k]
  ------------------
  756|   250k|    case EHTokMin16int3:
  ------------------
  |  Branch (756:5): [True: 0, False: 515k]
  ------------------
  757|   250k|    case EHTokMin16int4:
  ------------------
  |  Branch (757:5): [True: 0, False: 515k]
  ------------------
  758|   250k|    case EHTokMin12int1:
  ------------------
  |  Branch (758:5): [True: 0, False: 515k]
  ------------------
  759|   250k|    case EHTokMin12int2:
  ------------------
  |  Branch (759:5): [True: 0, False: 515k]
  ------------------
  760|   250k|    case EHTokMin12int3:
  ------------------
  |  Branch (760:5): [True: 0, False: 515k]
  ------------------
  761|   250k|    case EHTokMin12int4:
  ------------------
  |  Branch (761:5): [True: 0, False: 515k]
  ------------------
  762|   250k|    case EHTokMin16uint1:
  ------------------
  |  Branch (762:5): [True: 0, False: 515k]
  ------------------
  763|   250k|    case EHTokMin16uint2:
  ------------------
  |  Branch (763:5): [True: 0, False: 515k]
  ------------------
  764|   250k|    case EHTokMin16uint3:
  ------------------
  |  Branch (764:5): [True: 0, False: 515k]
  ------------------
  765|   250k|    case EHTokMin16uint4:
  ------------------
  |  Branch (765:5): [True: 0, False: 515k]
  ------------------
  766|       |
  767|       |    // matrix types
  768|   250k|    case EHTokBool1x1:
  ------------------
  |  Branch (768:5): [True: 280, False: 514k]
  ------------------
  769|   251k|    case EHTokBool1x2:
  ------------------
  |  Branch (769:5): [True: 280, False: 514k]
  ------------------
  770|   251k|    case EHTokBool1x3:
  ------------------
  |  Branch (770:5): [True: 280, False: 514k]
  ------------------
  771|   251k|    case EHTokBool1x4:
  ------------------
  |  Branch (771:5): [True: 280, False: 514k]
  ------------------
  772|   252k|    case EHTokBool2x1:
  ------------------
  |  Branch (772:5): [True: 280, False: 514k]
  ------------------
  773|   252k|    case EHTokBool2x2:
  ------------------
  |  Branch (773:5): [True: 280, False: 514k]
  ------------------
  774|   252k|    case EHTokBool2x3:
  ------------------
  |  Branch (774:5): [True: 280, False: 514k]
  ------------------
  775|   252k|    case EHTokBool2x4:
  ------------------
  |  Branch (775:5): [True: 280, False: 514k]
  ------------------
  776|   253k|    case EHTokBool3x1:
  ------------------
  |  Branch (776:5): [True: 280, False: 514k]
  ------------------
  777|   253k|    case EHTokBool3x2:
  ------------------
  |  Branch (777:5): [True: 280, False: 514k]
  ------------------
  778|   253k|    case EHTokBool3x3:
  ------------------
  |  Branch (778:5): [True: 280, False: 514k]
  ------------------
  779|   253k|    case EHTokBool3x4:
  ------------------
  |  Branch (779:5): [True: 280, False: 514k]
  ------------------
  780|   254k|    case EHTokBool4x1:
  ------------------
  |  Branch (780:5): [True: 280, False: 514k]
  ------------------
  781|   254k|    case EHTokBool4x2:
  ------------------
  |  Branch (781:5): [True: 280, False: 514k]
  ------------------
  782|   254k|    case EHTokBool4x3:
  ------------------
  |  Branch (782:5): [True: 280, False: 514k]
  ------------------
  783|   255k|    case EHTokBool4x4:
  ------------------
  |  Branch (783:5): [True: 280, False: 514k]
  ------------------
  784|   257k|    case EHTokInt1x1:
  ------------------
  |  Branch (784:5): [True: 2.66k, False: 512k]
  ------------------
  785|   260k|    case EHTokInt1x2:
  ------------------
  |  Branch (785:5): [True: 2.66k, False: 512k]
  ------------------
  786|   263k|    case EHTokInt1x3:
  ------------------
  |  Branch (786:5): [True: 2.66k, False: 512k]
  ------------------
  787|   265k|    case EHTokInt1x4:
  ------------------
  |  Branch (787:5): [True: 2.66k, False: 512k]
  ------------------
  788|   268k|    case EHTokInt2x1:
  ------------------
  |  Branch (788:5): [True: 2.66k, False: 512k]
  ------------------
  789|   271k|    case EHTokInt2x2:
  ------------------
  |  Branch (789:5): [True: 2.66k, False: 512k]
  ------------------
  790|   273k|    case EHTokInt2x3:
  ------------------
  |  Branch (790:5): [True: 2.66k, False: 512k]
  ------------------
  791|   276k|    case EHTokInt2x4:
  ------------------
  |  Branch (791:5): [True: 2.66k, False: 512k]
  ------------------
  792|   279k|    case EHTokInt3x1:
  ------------------
  |  Branch (792:5): [True: 2.66k, False: 512k]
  ------------------
  793|   281k|    case EHTokInt3x2:
  ------------------
  |  Branch (793:5): [True: 2.66k, False: 512k]
  ------------------
  794|   284k|    case EHTokInt3x3:
  ------------------
  |  Branch (794:5): [True: 2.66k, False: 512k]
  ------------------
  795|   287k|    case EHTokInt3x4:
  ------------------
  |  Branch (795:5): [True: 2.66k, False: 512k]
  ------------------
  796|   289k|    case EHTokInt4x1:
  ------------------
  |  Branch (796:5): [True: 2.66k, False: 512k]
  ------------------
  797|   292k|    case EHTokInt4x2:
  ------------------
  |  Branch (797:5): [True: 2.66k, False: 512k]
  ------------------
  798|   295k|    case EHTokInt4x3:
  ------------------
  |  Branch (798:5): [True: 2.66k, False: 512k]
  ------------------
  799|   297k|    case EHTokInt4x4:
  ------------------
  |  Branch (799:5): [True: 2.66k, False: 512k]
  ------------------
  800|   300k|    case EHTokUint1x1:
  ------------------
  |  Branch (800:5): [True: 2.45k, False: 512k]
  ------------------
  801|   302k|    case EHTokUint1x2:
  ------------------
  |  Branch (801:5): [True: 2.45k, False: 512k]
  ------------------
  802|   305k|    case EHTokUint1x3:
  ------------------
  |  Branch (802:5): [True: 2.45k, False: 512k]
  ------------------
  803|   307k|    case EHTokUint1x4:
  ------------------
  |  Branch (803:5): [True: 2.45k, False: 512k]
  ------------------
  804|   309k|    case EHTokUint2x1:
  ------------------
  |  Branch (804:5): [True: 2.45k, False: 512k]
  ------------------
  805|   312k|    case EHTokUint2x2:
  ------------------
  |  Branch (805:5): [True: 2.45k, False: 512k]
  ------------------
  806|   314k|    case EHTokUint2x3:
  ------------------
  |  Branch (806:5): [True: 2.45k, False: 512k]
  ------------------
  807|   317k|    case EHTokUint2x4:
  ------------------
  |  Branch (807:5): [True: 2.45k, False: 512k]
  ------------------
  808|   319k|    case EHTokUint3x1:
  ------------------
  |  Branch (808:5): [True: 2.45k, False: 512k]
  ------------------
  809|   322k|    case EHTokUint3x2:
  ------------------
  |  Branch (809:5): [True: 2.45k, False: 512k]
  ------------------
  810|   324k|    case EHTokUint3x3:
  ------------------
  |  Branch (810:5): [True: 2.45k, False: 512k]
  ------------------
  811|   327k|    case EHTokUint3x4:
  ------------------
  |  Branch (811:5): [True: 2.45k, False: 512k]
  ------------------
  812|   329k|    case EHTokUint4x1:
  ------------------
  |  Branch (812:5): [True: 2.45k, False: 512k]
  ------------------
  813|   331k|    case EHTokUint4x2:
  ------------------
  |  Branch (813:5): [True: 2.45k, False: 512k]
  ------------------
  814|   334k|    case EHTokUint4x3:
  ------------------
  |  Branch (814:5): [True: 2.45k, False: 512k]
  ------------------
  815|   336k|    case EHTokUint4x4:
  ------------------
  |  Branch (815:5): [True: 2.45k, False: 512k]
  ------------------
  816|   342k|    case EHTokFloat1x1:
  ------------------
  |  Branch (816:5): [True: 5.67k, False: 509k]
  ------------------
  817|   348k|    case EHTokFloat1x2:
  ------------------
  |  Branch (817:5): [True: 5.67k, False: 509k]
  ------------------
  818|   353k|    case EHTokFloat1x3:
  ------------------
  |  Branch (818:5): [True: 5.67k, False: 509k]
  ------------------
  819|   359k|    case EHTokFloat1x4:
  ------------------
  |  Branch (819:5): [True: 5.67k, False: 509k]
  ------------------
  820|   365k|    case EHTokFloat2x1:
  ------------------
  |  Branch (820:5): [True: 5.67k, False: 509k]
  ------------------
  821|   370k|    case EHTokFloat2x2:
  ------------------
  |  Branch (821:5): [True: 5.67k, False: 509k]
  ------------------
  822|   376k|    case EHTokFloat2x3:
  ------------------
  |  Branch (822:5): [True: 5.67k, False: 509k]
  ------------------
  823|   382k|    case EHTokFloat2x4:
  ------------------
  |  Branch (823:5): [True: 5.67k, False: 509k]
  ------------------
  824|   387k|    case EHTokFloat3x1:
  ------------------
  |  Branch (824:5): [True: 5.67k, False: 509k]
  ------------------
  825|   393k|    case EHTokFloat3x2:
  ------------------
  |  Branch (825:5): [True: 5.67k, False: 509k]
  ------------------
  826|   399k|    case EHTokFloat3x3:
  ------------------
  |  Branch (826:5): [True: 5.67k, False: 509k]
  ------------------
  827|   404k|    case EHTokFloat3x4:
  ------------------
  |  Branch (827:5): [True: 5.67k, False: 509k]
  ------------------
  828|   410k|    case EHTokFloat4x1:
  ------------------
  |  Branch (828:5): [True: 5.67k, False: 509k]
  ------------------
  829|   416k|    case EHTokFloat4x2:
  ------------------
  |  Branch (829:5): [True: 5.67k, False: 509k]
  ------------------
  830|   421k|    case EHTokFloat4x3:
  ------------------
  |  Branch (830:5): [True: 5.67k, False: 509k]
  ------------------
  831|   427k|    case EHTokFloat4x4:
  ------------------
  |  Branch (831:5): [True: 5.67k, False: 509k]
  ------------------
  832|   427k|    case EHTokHalf1x1:
  ------------------
  |  Branch (832:5): [True: 0, False: 515k]
  ------------------
  833|   427k|    case EHTokHalf1x2:
  ------------------
  |  Branch (833:5): [True: 0, False: 515k]
  ------------------
  834|   427k|    case EHTokHalf1x3:
  ------------------
  |  Branch (834:5): [True: 0, False: 515k]
  ------------------
  835|   427k|    case EHTokHalf1x4:
  ------------------
  |  Branch (835:5): [True: 0, False: 515k]
  ------------------
  836|   427k|    case EHTokHalf2x1:
  ------------------
  |  Branch (836:5): [True: 0, False: 515k]
  ------------------
  837|   427k|    case EHTokHalf2x2:
  ------------------
  |  Branch (837:5): [True: 0, False: 515k]
  ------------------
  838|   427k|    case EHTokHalf2x3:
  ------------------
  |  Branch (838:5): [True: 0, False: 515k]
  ------------------
  839|   427k|    case EHTokHalf2x4:
  ------------------
  |  Branch (839:5): [True: 0, False: 515k]
  ------------------
  840|   427k|    case EHTokHalf3x1:
  ------------------
  |  Branch (840:5): [True: 0, False: 515k]
  ------------------
  841|   427k|    case EHTokHalf3x2:
  ------------------
  |  Branch (841:5): [True: 0, False: 515k]
  ------------------
  842|   427k|    case EHTokHalf3x3:
  ------------------
  |  Branch (842:5): [True: 0, False: 515k]
  ------------------
  843|   427k|    case EHTokHalf3x4:
  ------------------
  |  Branch (843:5): [True: 0, False: 515k]
  ------------------
  844|   427k|    case EHTokHalf4x1:
  ------------------
  |  Branch (844:5): [True: 0, False: 515k]
  ------------------
  845|   427k|    case EHTokHalf4x2:
  ------------------
  |  Branch (845:5): [True: 0, False: 515k]
  ------------------
  846|   427k|    case EHTokHalf4x3:
  ------------------
  |  Branch (846:5): [True: 0, False: 515k]
  ------------------
  847|   427k|    case EHTokHalf4x4:
  ------------------
  |  Branch (847:5): [True: 0, False: 515k]
  ------------------
  848|   428k|    case EHTokDouble1x1:
  ------------------
  |  Branch (848:5): [True: 420, False: 514k]
  ------------------
  849|   428k|    case EHTokDouble1x2:
  ------------------
  |  Branch (849:5): [True: 420, False: 514k]
  ------------------
  850|   428k|    case EHTokDouble1x3:
  ------------------
  |  Branch (850:5): [True: 420, False: 514k]
  ------------------
  851|   429k|    case EHTokDouble1x4:
  ------------------
  |  Branch (851:5): [True: 420, False: 514k]
  ------------------
  852|   429k|    case EHTokDouble2x1:
  ------------------
  |  Branch (852:5): [True: 420, False: 514k]
  ------------------
  853|   430k|    case EHTokDouble2x2:
  ------------------
  |  Branch (853:5): [True: 420, False: 514k]
  ------------------
  854|   430k|    case EHTokDouble2x3:
  ------------------
  |  Branch (854:5): [True: 420, False: 514k]
  ------------------
  855|   430k|    case EHTokDouble2x4:
  ------------------
  |  Branch (855:5): [True: 420, False: 514k]
  ------------------
  856|   431k|    case EHTokDouble3x1:
  ------------------
  |  Branch (856:5): [True: 420, False: 514k]
  ------------------
  857|   431k|    case EHTokDouble3x2:
  ------------------
  |  Branch (857:5): [True: 420, False: 514k]
  ------------------
  858|   432k|    case EHTokDouble3x3:
  ------------------
  |  Branch (858:5): [True: 420, False: 514k]
  ------------------
  859|   432k|    case EHTokDouble3x4:
  ------------------
  |  Branch (859:5): [True: 420, False: 514k]
  ------------------
  860|   433k|    case EHTokDouble4x1:
  ------------------
  |  Branch (860:5): [True: 420, False: 514k]
  ------------------
  861|   433k|    case EHTokDouble4x2:
  ------------------
  |  Branch (861:5): [True: 420, False: 514k]
  ------------------
  862|   433k|    case EHTokDouble4x3:
  ------------------
  |  Branch (862:5): [True: 420, False: 514k]
  ------------------
  863|   434k|    case EHTokDouble4x4:
  ------------------
  |  Branch (863:5): [True: 420, False: 514k]
  ------------------
  864|   434k|    case EHTokMin16float1x1:
  ------------------
  |  Branch (864:5): [True: 0, False: 515k]
  ------------------
  865|   434k|    case EHTokMin16float1x2:
  ------------------
  |  Branch (865:5): [True: 0, False: 515k]
  ------------------
  866|   434k|    case EHTokMin16float1x3:
  ------------------
  |  Branch (866:5): [True: 0, False: 515k]
  ------------------
  867|   434k|    case EHTokMin16float1x4:
  ------------------
  |  Branch (867:5): [True: 0, False: 515k]
  ------------------
  868|   434k|    case EHTokMin16float2x1:
  ------------------
  |  Branch (868:5): [True: 0, False: 515k]
  ------------------
  869|   434k|    case EHTokMin16float2x2:
  ------------------
  |  Branch (869:5): [True: 0, False: 515k]
  ------------------
  870|   434k|    case EHTokMin16float2x3:
  ------------------
  |  Branch (870:5): [True: 0, False: 515k]
  ------------------
  871|   434k|    case EHTokMin16float2x4:
  ------------------
  |  Branch (871:5): [True: 0, False: 515k]
  ------------------
  872|   434k|    case EHTokMin16float3x1:
  ------------------
  |  Branch (872:5): [True: 0, False: 515k]
  ------------------
  873|   434k|    case EHTokMin16float3x2:
  ------------------
  |  Branch (873:5): [True: 0, False: 515k]
  ------------------
  874|   434k|    case EHTokMin16float3x3:
  ------------------
  |  Branch (874:5): [True: 0, False: 515k]
  ------------------
  875|   434k|    case EHTokMin16float3x4:
  ------------------
  |  Branch (875:5): [True: 0, False: 515k]
  ------------------
  876|   434k|    case EHTokMin16float4x1:
  ------------------
  |  Branch (876:5): [True: 0, False: 515k]
  ------------------
  877|   434k|    case EHTokMin16float4x2:
  ------------------
  |  Branch (877:5): [True: 0, False: 515k]
  ------------------
  878|   434k|    case EHTokMin16float4x3:
  ------------------
  |  Branch (878:5): [True: 0, False: 515k]
  ------------------
  879|   434k|    case EHTokMin16float4x4:
  ------------------
  |  Branch (879:5): [True: 0, False: 515k]
  ------------------
  880|   434k|    case EHTokMin10float1x1:
  ------------------
  |  Branch (880:5): [True: 0, False: 515k]
  ------------------
  881|   434k|    case EHTokMin10float1x2:
  ------------------
  |  Branch (881:5): [True: 0, False: 515k]
  ------------------
  882|   434k|    case EHTokMin10float1x3:
  ------------------
  |  Branch (882:5): [True: 0, False: 515k]
  ------------------
  883|   434k|    case EHTokMin10float1x4:
  ------------------
  |  Branch (883:5): [True: 0, False: 515k]
  ------------------
  884|   434k|    case EHTokMin10float2x1:
  ------------------
  |  Branch (884:5): [True: 0, False: 515k]
  ------------------
  885|   434k|    case EHTokMin10float2x2:
  ------------------
  |  Branch (885:5): [True: 0, False: 515k]
  ------------------
  886|   434k|    case EHTokMin10float2x3:
  ------------------
  |  Branch (886:5): [True: 0, False: 515k]
  ------------------
  887|   434k|    case EHTokMin10float2x4:
  ------------------
  |  Branch (887:5): [True: 0, False: 515k]
  ------------------
  888|   434k|    case EHTokMin10float3x1:
  ------------------
  |  Branch (888:5): [True: 0, False: 515k]
  ------------------
  889|   434k|    case EHTokMin10float3x2:
  ------------------
  |  Branch (889:5): [True: 0, False: 515k]
  ------------------
  890|   434k|    case EHTokMin10float3x3:
  ------------------
  |  Branch (890:5): [True: 0, False: 515k]
  ------------------
  891|   434k|    case EHTokMin10float3x4:
  ------------------
  |  Branch (891:5): [True: 0, False: 515k]
  ------------------
  892|   434k|    case EHTokMin10float4x1:
  ------------------
  |  Branch (892:5): [True: 0, False: 515k]
  ------------------
  893|   434k|    case EHTokMin10float4x2:
  ------------------
  |  Branch (893:5): [True: 0, False: 515k]
  ------------------
  894|   434k|    case EHTokMin10float4x3:
  ------------------
  |  Branch (894:5): [True: 0, False: 515k]
  ------------------
  895|   434k|    case EHTokMin10float4x4:
  ------------------
  |  Branch (895:5): [True: 0, False: 515k]
  ------------------
  896|   434k|    case EHTokMin16int1x1:
  ------------------
  |  Branch (896:5): [True: 0, False: 515k]
  ------------------
  897|   434k|    case EHTokMin16int1x2:
  ------------------
  |  Branch (897:5): [True: 0, False: 515k]
  ------------------
  898|   434k|    case EHTokMin16int1x3:
  ------------------
  |  Branch (898:5): [True: 0, False: 515k]
  ------------------
  899|   434k|    case EHTokMin16int1x4:
  ------------------
  |  Branch (899:5): [True: 0, False: 515k]
  ------------------
  900|   434k|    case EHTokMin16int2x1:
  ------------------
  |  Branch (900:5): [True: 0, False: 515k]
  ------------------
  901|   434k|    case EHTokMin16int2x2:
  ------------------
  |  Branch (901:5): [True: 0, False: 515k]
  ------------------
  902|   434k|    case EHTokMin16int2x3:
  ------------------
  |  Branch (902:5): [True: 0, False: 515k]
  ------------------
  903|   434k|    case EHTokMin16int2x4:
  ------------------
  |  Branch (903:5): [True: 0, False: 515k]
  ------------------
  904|   434k|    case EHTokMin16int3x1:
  ------------------
  |  Branch (904:5): [True: 0, False: 515k]
  ------------------
  905|   434k|    case EHTokMin16int3x2:
  ------------------
  |  Branch (905:5): [True: 0, False: 515k]
  ------------------
  906|   434k|    case EHTokMin16int3x3:
  ------------------
  |  Branch (906:5): [True: 0, False: 515k]
  ------------------
  907|   434k|    case EHTokMin16int3x4:
  ------------------
  |  Branch (907:5): [True: 0, False: 515k]
  ------------------
  908|   434k|    case EHTokMin16int4x1:
  ------------------
  |  Branch (908:5): [True: 0, False: 515k]
  ------------------
  909|   434k|    case EHTokMin16int4x2:
  ------------------
  |  Branch (909:5): [True: 0, False: 515k]
  ------------------
  910|   434k|    case EHTokMin16int4x3:
  ------------------
  |  Branch (910:5): [True: 0, False: 515k]
  ------------------
  911|   434k|    case EHTokMin16int4x4:
  ------------------
  |  Branch (911:5): [True: 0, False: 515k]
  ------------------
  912|   434k|    case EHTokMin12int1x1:
  ------------------
  |  Branch (912:5): [True: 0, False: 515k]
  ------------------
  913|   434k|    case EHTokMin12int1x2:
  ------------------
  |  Branch (913:5): [True: 0, False: 515k]
  ------------------
  914|   434k|    case EHTokMin12int1x3:
  ------------------
  |  Branch (914:5): [True: 0, False: 515k]
  ------------------
  915|   434k|    case EHTokMin12int1x4:
  ------------------
  |  Branch (915:5): [True: 0, False: 515k]
  ------------------
  916|   434k|    case EHTokMin12int2x1:
  ------------------
  |  Branch (916:5): [True: 0, False: 515k]
  ------------------
  917|   434k|    case EHTokMin12int2x2:
  ------------------
  |  Branch (917:5): [True: 0, False: 515k]
  ------------------
  918|   434k|    case EHTokMin12int2x3:
  ------------------
  |  Branch (918:5): [True: 0, False: 515k]
  ------------------
  919|   434k|    case EHTokMin12int2x4:
  ------------------
  |  Branch (919:5): [True: 0, False: 515k]
  ------------------
  920|   434k|    case EHTokMin12int3x1:
  ------------------
  |  Branch (920:5): [True: 0, False: 515k]
  ------------------
  921|   434k|    case EHTokMin12int3x2:
  ------------------
  |  Branch (921:5): [True: 0, False: 515k]
  ------------------
  922|   434k|    case EHTokMin12int3x3:
  ------------------
  |  Branch (922:5): [True: 0, False: 515k]
  ------------------
  923|   434k|    case EHTokMin12int3x4:
  ------------------
  |  Branch (923:5): [True: 0, False: 515k]
  ------------------
  924|   434k|    case EHTokMin12int4x1:
  ------------------
  |  Branch (924:5): [True: 0, False: 515k]
  ------------------
  925|   434k|    case EHTokMin12int4x2:
  ------------------
  |  Branch (925:5): [True: 0, False: 515k]
  ------------------
  926|   434k|    case EHTokMin12int4x3:
  ------------------
  |  Branch (926:5): [True: 0, False: 515k]
  ------------------
  927|   434k|    case EHTokMin12int4x4:
  ------------------
  |  Branch (927:5): [True: 0, False: 515k]
  ------------------
  928|   434k|    case EHTokMin16uint1x1:
  ------------------
  |  Branch (928:5): [True: 0, False: 515k]
  ------------------
  929|   434k|    case EHTokMin16uint1x2:
  ------------------
  |  Branch (929:5): [True: 0, False: 515k]
  ------------------
  930|   434k|    case EHTokMin16uint1x3:
  ------------------
  |  Branch (930:5): [True: 0, False: 515k]
  ------------------
  931|   434k|    case EHTokMin16uint1x4:
  ------------------
  |  Branch (931:5): [True: 0, False: 515k]
  ------------------
  932|   434k|    case EHTokMin16uint2x1:
  ------------------
  |  Branch (932:5): [True: 0, False: 515k]
  ------------------
  933|   434k|    case EHTokMin16uint2x2:
  ------------------
  |  Branch (933:5): [True: 0, False: 515k]
  ------------------
  934|   434k|    case EHTokMin16uint2x3:
  ------------------
  |  Branch (934:5): [True: 0, False: 515k]
  ------------------
  935|   434k|    case EHTokMin16uint2x4:
  ------------------
  |  Branch (935:5): [True: 0, False: 515k]
  ------------------
  936|   434k|    case EHTokMin16uint3x1:
  ------------------
  |  Branch (936:5): [True: 0, False: 515k]
  ------------------
  937|   434k|    case EHTokMin16uint3x2:
  ------------------
  |  Branch (937:5): [True: 0, False: 515k]
  ------------------
  938|   434k|    case EHTokMin16uint3x3:
  ------------------
  |  Branch (938:5): [True: 0, False: 515k]
  ------------------
  939|   434k|    case EHTokMin16uint3x4:
  ------------------
  |  Branch (939:5): [True: 0, False: 515k]
  ------------------
  940|   434k|    case EHTokMin16uint4x1:
  ------------------
  |  Branch (940:5): [True: 0, False: 515k]
  ------------------
  941|   434k|    case EHTokMin16uint4x2:
  ------------------
  |  Branch (941:5): [True: 0, False: 515k]
  ------------------
  942|   434k|    case EHTokMin16uint4x3:
  ------------------
  |  Branch (942:5): [True: 0, False: 515k]
  ------------------
  943|   434k|    case EHTokMin16uint4x4:
  ------------------
  |  Branch (943:5): [True: 0, False: 515k]
  ------------------
  944|   434k|        return keyword;
  945|       |
  946|       |    // texturing types
  947|  12.8k|    case EHTokSampler:
  ------------------
  |  Branch (947:5): [True: 12.8k, False: 502k]
  ------------------
  948|  12.8k|    case EHTokSampler1d:
  ------------------
  |  Branch (948:5): [True: 0, False: 515k]
  ------------------
  949|  13.0k|    case EHTokSampler2d:
  ------------------
  |  Branch (949:5): [True: 210, False: 514k]
  ------------------
  950|  13.2k|    case EHTokSampler3d:
  ------------------
  |  Branch (950:5): [True: 210, False: 514k]
  ------------------
  951|  13.4k|    case EHTokSamplerCube:
  ------------------
  |  Branch (951:5): [True: 210, False: 514k]
  ------------------
  952|  13.4k|    case EHTokSamplerState:
  ------------------
  |  Branch (952:5): [True: 0, False: 515k]
  ------------------
  953|  21.8k|    case EHTokSamplerComparisonState:
  ------------------
  |  Branch (953:5): [True: 8.40k, False: 506k]
  ------------------
  954|  21.8k|    case EHTokTexture:
  ------------------
  |  Branch (954:5): [True: 0, False: 515k]
  ------------------
  955|  23.9k|    case EHTokTexture1d:
  ------------------
  |  Branch (955:5): [True: 2.10k, False: 512k]
  ------------------
  956|  26.0k|    case EHTokTexture1darray:
  ------------------
  |  Branch (956:5): [True: 2.10k, False: 512k]
  ------------------
  957|  33.0k|    case EHTokTexture2d:
  ------------------
  |  Branch (957:5): [True: 7.03k, False: 508k]
  ------------------
  958|  40.1k|    case EHTokTexture2darray:
  ------------------
  |  Branch (958:5): [True: 7.03k, False: 508k]
  ------------------
  959|  41.7k|    case EHTokTexture3d:
  ------------------
  |  Branch (959:5): [True: 1.68k, False: 513k]
  ------------------
  960|  44.1k|    case EHTokTextureCube:
  ------------------
  |  Branch (960:5): [True: 2.31k, False: 512k]
  ------------------
  961|  46.4k|    case EHTokTextureCubearray:
  ------------------
  |  Branch (961:5): [True: 2.31k, False: 512k]
  ------------------
  962|  46.9k|    case EHTokTexture2DMS:
  ------------------
  |  Branch (962:5): [True: 525, False: 514k]
  ------------------
  963|  47.4k|    case EHTokTexture2DMSarray:
  ------------------
  |  Branch (963:5): [True: 525, False: 514k]
  ------------------
  964|  47.7k|    case EHTokRWTexture1d:
  ------------------
  |  Branch (964:5): [True: 315, False: 514k]
  ------------------
  965|  48.0k|    case EHTokRWTexture1darray:
  ------------------
  |  Branch (965:5): [True: 315, False: 514k]
  ------------------
  966|  48.4k|    case EHTokRWTexture2d:
  ------------------
  |  Branch (966:5): [True: 315, False: 514k]
  ------------------
  967|  48.7k|    case EHTokRWTexture2darray:
  ------------------
  |  Branch (967:5): [True: 315, False: 514k]
  ------------------
  968|  49.0k|    case EHTokRWTexture3d:
  ------------------
  |  Branch (968:5): [True: 315, False: 514k]
  ------------------
  969|  49.3k|    case EHTokRWBuffer:
  ------------------
  |  Branch (969:5): [True: 315, False: 514k]
  ------------------
  970|  49.3k|    case EHTokAppendStructuredBuffer:
  ------------------
  |  Branch (970:5): [True: 0, False: 515k]
  ------------------
  971|  49.3k|    case EHTokByteAddressBuffer:
  ------------------
  |  Branch (971:5): [True: 0, False: 515k]
  ------------------
  972|  49.3k|    case EHTokConsumeStructuredBuffer:
  ------------------
  |  Branch (972:5): [True: 0, False: 515k]
  ------------------
  973|  49.3k|    case EHTokRWByteAddressBuffer:
  ------------------
  |  Branch (973:5): [True: 0, False: 515k]
  ------------------
  974|  49.3k|    case EHTokRWStructuredBuffer:
  ------------------
  |  Branch (974:5): [True: 0, False: 515k]
  ------------------
  975|  49.3k|    case EHTokStructuredBuffer:
  ------------------
  |  Branch (975:5): [True: 0, False: 515k]
  ------------------
  976|  49.3k|    case EHTokTextureBuffer:
  ------------------
  |  Branch (976:5): [True: 0, False: 515k]
  ------------------
  977|  49.7k|    case EHTokSubpassInput:
  ------------------
  |  Branch (977:5): [True: 420, False: 514k]
  ------------------
  978|  50.1k|    case EHTokSubpassInputMS:
  ------------------
  |  Branch (978:5): [True: 420, False: 514k]
  ------------------
  979|  50.1k|        return keyword;
  980|       |
  981|       |    // variable, user type, ...
  982|      0|    case EHTokClass:
  ------------------
  |  Branch (982:5): [True: 0, False: 515k]
  ------------------
  983|      0|    case EHTokStruct:
  ------------------
  |  Branch (983:5): [True: 0, False: 515k]
  ------------------
  984|      0|    case EHTokTypedef:
  ------------------
  |  Branch (984:5): [True: 0, False: 515k]
  ------------------
  985|      0|    case EHTokCBuffer:
  ------------------
  |  Branch (985:5): [True: 0, False: 515k]
  ------------------
  986|      0|    case EHTokConstantBuffer:
  ------------------
  |  Branch (986:5): [True: 0, False: 515k]
  ------------------
  987|      0|    case EHTokTBuffer:
  ------------------
  |  Branch (987:5): [True: 0, False: 515k]
  ------------------
  988|      0|    case EHTokThis:
  ------------------
  |  Branch (988:5): [True: 0, False: 515k]
  ------------------
  989|      0|    case EHTokNamespace:
  ------------------
  |  Branch (989:5): [True: 0, False: 515k]
  ------------------
  990|      0|        return keyword;
  991|       |
  992|      0|    case EHTokBoolConstant:
  ------------------
  |  Branch (992:5): [True: 0, False: 515k]
  ------------------
  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: 515k]
  ------------------
 1001|      0|    case EHTokDo:
  ------------------
  |  Branch (1001:5): [True: 0, False: 515k]
  ------------------
 1002|      0|    case EHTokWhile:
  ------------------
  |  Branch (1002:5): [True: 0, False: 515k]
  ------------------
 1003|      0|    case EHTokBreak:
  ------------------
  |  Branch (1003:5): [True: 0, False: 515k]
  ------------------
 1004|      0|    case EHTokContinue:
  ------------------
  |  Branch (1004:5): [True: 0, False: 515k]
  ------------------
 1005|      0|    case EHTokIf:
  ------------------
  |  Branch (1005:5): [True: 0, False: 515k]
  ------------------
 1006|      0|    case EHTokElse:
  ------------------
  |  Branch (1006:5): [True: 0, False: 515k]
  ------------------
 1007|      0|    case EHTokDiscard:
  ------------------
  |  Branch (1007:5): [True: 0, False: 515k]
  ------------------
 1008|      0|    case EHTokReturn:
  ------------------
  |  Branch (1008:5): [True: 0, False: 515k]
  ------------------
 1009|      0|    case EHTokCase:
  ------------------
  |  Branch (1009:5): [True: 0, False: 515k]
  ------------------
 1010|      0|    case EHTokSwitch:
  ------------------
  |  Branch (1010:5): [True: 0, False: 515k]
  ------------------
 1011|      0|    case EHTokDefault:
  ------------------
  |  Branch (1011:5): [True: 0, False: 515k]
  ------------------
 1012|      0|        return keyword;
 1013|       |
 1014|      0|    default:
  ------------------
  |  Branch (1014:5): [True: 0, False: 515k]
  ------------------
 1015|      0|        parseContext.infoSink.info.message(EPrefixInternalError, "Unknown glslang keyword", loc);
 1016|      0|        return EHTokNone;
 1017|   515k|    }
 1018|   515k|}
_ZN7glslang15HlslScanContext16identifierOrTypeEv:
 1021|   140k|{
 1022|   140k|    parserToken->string = NewPoolTString(tokenText);
 1023|       |
 1024|   140k|    return EHTokIdentifier;
 1025|   140k|}
hlslScanContext.cpp:_ZNK12_GLOBAL__N_18str_hashclEPKc:
   68|  1.31M|    {
   69|       |        // djb2
   70|  1.31M|        unsigned long hash = 5381;
   71|  1.31M|        int c;
   72|       |
   73|  10.6M|        while ((c = *str++) != 0)
  ------------------
  |  Branch (73:16): [True: 9.34M, False: 1.31M]
  ------------------
   74|  9.34M|            hash = ((hash << 5) + hash) + c;
   75|       |
   76|  1.31M|        return hash;
   77|  1.31M|    }
hlslScanContext.cpp:_ZNK12_GLOBAL__N_16str_eqclEPKcS2_:
   60|   515k|    {
   61|   515k|        return strcmp(lhs, rhs) == 0;
   62|   515k|    }

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

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

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

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

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

_ZN7glslang9TBuiltIns17addTabledBuiltinsEi8EProfileRKNS_10SpvVersionE:
  509|     52|{
  510|     52|    const auto forEachFunction = [&](TString& decls, const span<const BuiltInFunction>& functions) {
  511|     52|        for (const auto& fn : functions) {
  512|     52|            if (ValidVersion(fn, version, profile, spvVersion)) {
  513|     52|                AddTabledBuiltin(decls, fn);
  514|     52|                if (profile != EEsProfile) {
  515|     52|                    AddLongVectorBuiltin(decls, fn);
  516|     52|                }
  517|     52|            }
  518|     52|        }
  519|     52|    };
  520|       |
  521|     52|    forEachFunction(commonBuiltins, BaseFunctions);
  522|     52|    forEachFunction(stageBuiltins[EShLangFragment], DerivativeFunctions);
  523|       |
  524|     52|    if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450))
  ------------------
  |  Branch (524:10): [True: 48, False: 4]
  |  Branch (524:35): [True: 0, False: 48]
  |  Branch (524:55): [True: 4, False: 48]
  |  Branch (524:80): [True: 4, False: 0]
  ------------------
  525|      4|        forEachFunction(stageBuiltins[EShLangCompute], DerivativeFunctions);
  526|     52|}
_ZN7glslang9TBuiltIns20relateTabledBuiltinsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableE:
  530|    147|{
  531|    147|    RelateTabledBuiltins(BaseFunctions, symbolTable);
  532|    147|    RelateTabledBuiltins(DerivativeFunctions, symbolTable);
  533|    147|    RelateTabledBuiltins(CustomFunctions, symbolTable);
  534|    147|}
_ZN7glslang18TBuiltInParseablesC2Ev:
  544|    169|{
  545|    169|}
_ZN7glslang18TBuiltInParseablesD2Ev:
  549|    169|{
  550|    169|}
_ZN7glslang9TBuiltInsC2Ev:
  553|     99|{
  554|       |    // Set up textual representations for making all the permutations
  555|       |    // of texturing/imaging functions.
  556|     99|    prefixes[EbtFloat] =  "";
  557|     99|    prefixes[EbtInt]   = "i";
  558|     99|    prefixes[EbtUint]  = "u";
  559|     99|    prefixes[EbtFloat16] = "f16";
  560|     99|    prefixes[EbtInt8]  = "i8";
  561|     99|    prefixes[EbtUint8] = "u8";
  562|     99|    prefixes[EbtInt16]  = "i16";
  563|     99|    prefixes[EbtUint16] = "u16";
  564|     99|    prefixes[EbtInt64]  = "i64";
  565|     99|    prefixes[EbtUint64] = "u64";
  566|       |
  567|     99|    postfixes[2] = "2";
  568|     99|    postfixes[3] = "3";
  569|     99|    postfixes[4] = "4";
  570|       |
  571|       |    // Map from symbolic class of texturing dimension to numeric dimensions.
  572|     99|    dimMap[Esd2D] = 2;
  573|     99|    dimMap[Esd3D] = 3;
  574|     99|    dimMap[EsdCube] = 3;
  575|     99|    dimMap[Esd1D] = 1;
  576|     99|    dimMap[EsdRect] = 2;
  577|     99|    dimMap[EsdBuffer] = 1;
  578|     99|    dimMap[EsdSubpass] = 2;  // potentially unused for now
  579|     99|    dimMap[EsdAttachmentEXT] = 2;  // potentially unused for now
  580|     99|}
_ZN7glslang9TBuiltIns10initializeEi8EProfileRKNS_10SpvVersionE:
  596|     52|{
  597|     52|    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|     52|    TString derivatives (
  609|     52|        "float dFdx(float p);"
  610|     52|        "vec2  dFdx(vec2  p);"
  611|     52|        "vec3  dFdx(vec3  p);"
  612|     52|        "vec4  dFdx(vec4  p);"
  613|       |
  614|     52|        "float dFdy(float p);"
  615|     52|        "vec2  dFdy(vec2  p);"
  616|     52|        "vec3  dFdy(vec3  p);"
  617|     52|        "vec4  dFdy(vec4  p);"
  618|       |
  619|     52|        "float fwidth(float p);"
  620|     52|        "vec2  fwidth(vec2  p);"
  621|     52|        "vec3  fwidth(vec3  p);"
  622|     52|        "vec4  fwidth(vec4  p);"
  623|     52|    );
  624|       |
  625|     52|    TString derivativeControls (
  626|     52|        "float dFdxFine(float p);"
  627|     52|        "vec2  dFdxFine(vec2  p);"
  628|     52|        "vec3  dFdxFine(vec3  p);"
  629|     52|        "vec4  dFdxFine(vec4  p);"
  630|       |
  631|     52|        "float dFdyFine(float p);"
  632|     52|        "vec2  dFdyFine(vec2  p);"
  633|     52|        "vec3  dFdyFine(vec3  p);"
  634|     52|        "vec4  dFdyFine(vec4  p);"
  635|       |
  636|     52|        "float fwidthFine(float p);"
  637|     52|        "vec2  fwidthFine(vec2  p);"
  638|     52|        "vec3  fwidthFine(vec3  p);"
  639|     52|        "vec4  fwidthFine(vec4  p);"
  640|       |
  641|     52|        "float dFdxCoarse(float p);"
  642|     52|        "vec2  dFdxCoarse(vec2  p);"
  643|     52|        "vec3  dFdxCoarse(vec3  p);"
  644|     52|        "vec4  dFdxCoarse(vec4  p);"
  645|       |
  646|     52|        "float dFdyCoarse(float p);"
  647|     52|        "vec2  dFdyCoarse(vec2  p);"
  648|     52|        "vec3  dFdyCoarse(vec3  p);"
  649|     52|        "vec4  dFdyCoarse(vec4  p);"
  650|       |
  651|     52|        "float fwidthCoarse(float p);"
  652|     52|        "vec2  fwidthCoarse(vec2  p);"
  653|     52|        "vec3  fwidthCoarse(vec3  p);"
  654|     52|        "vec4  fwidthCoarse(vec4  p);"
  655|     52|    );
  656|       |
  657|     52|    TString derivativesAndControl16bits (
  658|     52|        "float16_t dFdx(float16_t);"
  659|     52|        "f16vec2   dFdx(f16vec2);"
  660|     52|        "f16vec3   dFdx(f16vec3);"
  661|     52|        "f16vec4   dFdx(f16vec4);"
  662|       |
  663|     52|        "float16_t dFdy(float16_t);"
  664|     52|        "f16vec2   dFdy(f16vec2);"
  665|     52|        "f16vec3   dFdy(f16vec3);"
  666|     52|        "f16vec4   dFdy(f16vec4);"
  667|       |
  668|     52|        "float16_t dFdxFine(float16_t);"
  669|     52|        "f16vec2   dFdxFine(f16vec2);"
  670|     52|        "f16vec3   dFdxFine(f16vec3);"
  671|     52|        "f16vec4   dFdxFine(f16vec4);"
  672|       |
  673|     52|        "float16_t dFdyFine(float16_t);"
  674|     52|        "f16vec2   dFdyFine(f16vec2);"
  675|     52|        "f16vec3   dFdyFine(f16vec3);"
  676|     52|        "f16vec4   dFdyFine(f16vec4);"
  677|       |
  678|     52|        "float16_t dFdxCoarse(float16_t);"
  679|     52|        "f16vec2   dFdxCoarse(f16vec2);"
  680|     52|        "f16vec3   dFdxCoarse(f16vec3);"
  681|     52|        "f16vec4   dFdxCoarse(f16vec4);"
  682|       |
  683|     52|        "float16_t dFdyCoarse(float16_t);"
  684|     52|        "f16vec2   dFdyCoarse(f16vec2);"
  685|     52|        "f16vec3   dFdyCoarse(f16vec3);"
  686|     52|        "f16vec4   dFdyCoarse(f16vec4);"
  687|       |
  688|     52|        "float16_t fwidth(float16_t);"
  689|     52|        "f16vec2   fwidth(f16vec2);"
  690|     52|        "f16vec3   fwidth(f16vec3);"
  691|     52|        "f16vec4   fwidth(f16vec4);"
  692|       |
  693|     52|        "float16_t fwidthFine(float16_t);"
  694|     52|        "f16vec2   fwidthFine(f16vec2);"
  695|     52|        "f16vec3   fwidthFine(f16vec3);"
  696|     52|        "f16vec4   fwidthFine(f16vec4);"
  697|       |
  698|     52|        "float16_t fwidthCoarse(float16_t);"
  699|     52|        "f16vec2   fwidthCoarse(f16vec2);"
  700|     52|        "f16vec3   fwidthCoarse(f16vec3);"
  701|     52|        "f16vec4   fwidthCoarse(f16vec4);"
  702|     52|    );
  703|       |
  704|     52|    TString derivativesAndControl64bits (
  705|     52|        "float64_t dFdx(float64_t);"
  706|     52|        "f64vec2   dFdx(f64vec2);"
  707|     52|        "f64vec3   dFdx(f64vec3);"
  708|     52|        "f64vec4   dFdx(f64vec4);"
  709|       |
  710|     52|        "float64_t dFdy(float64_t);"
  711|     52|        "f64vec2   dFdy(f64vec2);"
  712|     52|        "f64vec3   dFdy(f64vec3);"
  713|     52|        "f64vec4   dFdy(f64vec4);"
  714|       |
  715|     52|        "float64_t dFdxFine(float64_t);"
  716|     52|        "f64vec2   dFdxFine(f64vec2);"
  717|     52|        "f64vec3   dFdxFine(f64vec3);"
  718|     52|        "f64vec4   dFdxFine(f64vec4);"
  719|       |
  720|     52|        "float64_t dFdyFine(float64_t);"
  721|     52|        "f64vec2   dFdyFine(f64vec2);"
  722|     52|        "f64vec3   dFdyFine(f64vec3);"
  723|     52|        "f64vec4   dFdyFine(f64vec4);"
  724|       |
  725|     52|        "float64_t dFdxCoarse(float64_t);"
  726|     52|        "f64vec2   dFdxCoarse(f64vec2);"
  727|     52|        "f64vec3   dFdxCoarse(f64vec3);"
  728|     52|        "f64vec4   dFdxCoarse(f64vec4);"
  729|       |
  730|     52|        "float64_t dFdyCoarse(float64_t);"
  731|     52|        "f64vec2   dFdyCoarse(f64vec2);"
  732|     52|        "f64vec3   dFdyCoarse(f64vec3);"
  733|     52|        "f64vec4   dFdyCoarse(f64vec4);"
  734|       |
  735|     52|        "float64_t fwidth(float64_t);"
  736|     52|        "f64vec2   fwidth(f64vec2);"
  737|     52|        "f64vec3   fwidth(f64vec3);"
  738|     52|        "f64vec4   fwidth(f64vec4);"
  739|       |
  740|     52|        "float64_t fwidthFine(float64_t);"
  741|     52|        "f64vec2   fwidthFine(f64vec2);"
  742|     52|        "f64vec3   fwidthFine(f64vec3);"
  743|     52|        "f64vec4   fwidthFine(f64vec4);"
  744|       |
  745|     52|        "float64_t fwidthCoarse(float64_t);"
  746|     52|        "f64vec2   fwidthCoarse(f64vec2);"
  747|     52|        "f64vec3   fwidthCoarse(f64vec3);"
  748|     52|        "f64vec4   fwidthCoarse(f64vec4);"
  749|     52|    );
  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|     52|    if (profile != EEsProfile && version >= 150) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (760:9): [True: 4, False: 48]
  |  Branch (760:34): [True: 4, False: 0]
  ------------------
  761|      4|        commonBuiltins.append(
  762|       |
  763|      4|            "double sqrt(double);"
  764|      4|            "dvec2  sqrt(dvec2);"
  765|      4|            "dvec3  sqrt(dvec3);"
  766|      4|            "dvec4  sqrt(dvec4);"
  767|       |
  768|      4|            "double inversesqrt(double);"
  769|      4|            "dvec2  inversesqrt(dvec2);"
  770|      4|            "dvec3  inversesqrt(dvec3);"
  771|      4|            "dvec4  inversesqrt(dvec4);"
  772|       |
  773|      4|            "double abs(double);"
  774|      4|            "dvec2  abs(dvec2);"
  775|      4|            "dvec3  abs(dvec3);"
  776|      4|            "dvec4  abs(dvec4);"
  777|       |
  778|      4|            "double sign(double);"
  779|      4|            "dvec2  sign(dvec2);"
  780|      4|            "dvec3  sign(dvec3);"
  781|      4|            "dvec4  sign(dvec4);"
  782|       |
  783|      4|            "double floor(double);"
  784|      4|            "dvec2  floor(dvec2);"
  785|      4|            "dvec3  floor(dvec3);"
  786|      4|            "dvec4  floor(dvec4);"
  787|       |
  788|      4|            "double trunc(double);"
  789|      4|            "dvec2  trunc(dvec2);"
  790|      4|            "dvec3  trunc(dvec3);"
  791|      4|            "dvec4  trunc(dvec4);"
  792|       |
  793|      4|            "double round(double);"
  794|      4|            "dvec2  round(dvec2);"
  795|      4|            "dvec3  round(dvec3);"
  796|      4|            "dvec4  round(dvec4);"
  797|       |
  798|      4|            "double roundEven(double);"
  799|      4|            "dvec2  roundEven(dvec2);"
  800|      4|            "dvec3  roundEven(dvec3);"
  801|      4|            "dvec4  roundEven(dvec4);"
  802|       |
  803|      4|            "double ceil(double);"
  804|      4|            "dvec2  ceil(dvec2);"
  805|      4|            "dvec3  ceil(dvec3);"
  806|      4|            "dvec4  ceil(dvec4);"
  807|       |
  808|      4|            "double fract(double);"
  809|      4|            "dvec2  fract(dvec2);"
  810|      4|            "dvec3  fract(dvec3);"
  811|      4|            "dvec4  fract(dvec4);"
  812|       |
  813|      4|            "double mod(double, double);"
  814|      4|            "dvec2  mod(dvec2 , double);"
  815|      4|            "dvec3  mod(dvec3 , double);"
  816|      4|            "dvec4  mod(dvec4 , double);"
  817|      4|            "dvec2  mod(dvec2 , dvec2);"
  818|      4|            "dvec3  mod(dvec3 , dvec3);"
  819|      4|            "dvec4  mod(dvec4 , dvec4);"
  820|       |
  821|      4|            "double modf(double, out double);"
  822|      4|            "dvec2  modf(dvec2,  out dvec2);"
  823|      4|            "dvec3  modf(dvec3,  out dvec3);"
  824|      4|            "dvec4  modf(dvec4,  out dvec4);"
  825|       |
  826|      4|            "double min(double, double);"
  827|      4|            "dvec2  min(dvec2,  double);"
  828|      4|            "dvec3  min(dvec3,  double);"
  829|      4|            "dvec4  min(dvec4,  double);"
  830|      4|            "dvec2  min(dvec2,  dvec2);"
  831|      4|            "dvec3  min(dvec3,  dvec3);"
  832|      4|            "dvec4  min(dvec4,  dvec4);"
  833|       |
  834|      4|            "double max(double, double);"
  835|      4|            "dvec2  max(dvec2 , double);"
  836|      4|            "dvec3  max(dvec3 , double);"
  837|      4|            "dvec4  max(dvec4 , double);"
  838|      4|            "dvec2  max(dvec2 , dvec2);"
  839|      4|            "dvec3  max(dvec3 , dvec3);"
  840|      4|            "dvec4  max(dvec4 , dvec4);"
  841|       |
  842|      4|            "double clamp(double, double, double);"
  843|      4|            "dvec2  clamp(dvec2 , double, double);"
  844|      4|            "dvec3  clamp(dvec3 , double, double);"
  845|      4|            "dvec4  clamp(dvec4 , double, double);"
  846|      4|            "dvec2  clamp(dvec2 , dvec2 , dvec2);"
  847|      4|            "dvec3  clamp(dvec3 , dvec3 , dvec3);"
  848|      4|            "dvec4  clamp(dvec4 , dvec4 , dvec4);"
  849|       |
  850|      4|            "double mix(double, double, double);"
  851|      4|            "dvec2  mix(dvec2,  dvec2,  double);"
  852|      4|            "dvec3  mix(dvec3,  dvec3,  double);"
  853|      4|            "dvec4  mix(dvec4,  dvec4,  double);"
  854|      4|            "dvec2  mix(dvec2,  dvec2,  dvec2);"
  855|      4|            "dvec3  mix(dvec3,  dvec3,  dvec3);"
  856|      4|            "dvec4  mix(dvec4,  dvec4,  dvec4);"
  857|      4|            "double mix(double, double, bool);"
  858|      4|            "dvec2  mix(dvec2,  dvec2,  bvec2);"
  859|      4|            "dvec3  mix(dvec3,  dvec3,  bvec3);"
  860|      4|            "dvec4  mix(dvec4,  dvec4,  bvec4);"
  861|       |
  862|      4|            "double step(double, double);"
  863|      4|            "dvec2  step(dvec2 , dvec2);"
  864|      4|            "dvec3  step(dvec3 , dvec3);"
  865|      4|            "dvec4  step(dvec4 , dvec4);"
  866|      4|            "dvec2  step(double, dvec2);"
  867|      4|            "dvec3  step(double, dvec3);"
  868|      4|            "dvec4  step(double, dvec4);"
  869|       |
  870|      4|            "double smoothstep(double, double, double);"
  871|      4|            "dvec2  smoothstep(dvec2 , dvec2 , dvec2);"
  872|      4|            "dvec3  smoothstep(dvec3 , dvec3 , dvec3);"
  873|      4|            "dvec4  smoothstep(dvec4 , dvec4 , dvec4);"
  874|      4|            "dvec2  smoothstep(double, double, dvec2);"
  875|      4|            "dvec3  smoothstep(double, double, dvec3);"
  876|      4|            "dvec4  smoothstep(double, double, dvec4);"
  877|       |
  878|      4|            "bool  isnan(double);"
  879|      4|            "bvec2 isnan(dvec2);"
  880|      4|            "bvec3 isnan(dvec3);"
  881|      4|            "bvec4 isnan(dvec4);"
  882|       |
  883|      4|            "bool  isinf(double);"
  884|      4|            "bvec2 isinf(dvec2);"
  885|      4|            "bvec3 isinf(dvec3);"
  886|      4|            "bvec4 isinf(dvec4);"
  887|       |
  888|      4|            "double length(double);"
  889|      4|            "double length(dvec2);"
  890|      4|            "double length(dvec3);"
  891|      4|            "double length(dvec4);"
  892|       |
  893|      4|            "double distance(double, double);"
  894|      4|            "double distance(dvec2 , dvec2);"
  895|      4|            "double distance(dvec3 , dvec3);"
  896|      4|            "double distance(dvec4 , dvec4);"
  897|       |
  898|      4|            "double dot(double, double);"
  899|      4|            "double dot(dvec2 , dvec2);"
  900|      4|            "double dot(dvec3 , dvec3);"
  901|      4|            "double dot(dvec4 , dvec4);"
  902|       |
  903|      4|            "dvec3 cross(dvec3, dvec3);"
  904|       |
  905|      4|            "double normalize(double);"
  906|      4|            "dvec2  normalize(dvec2);"
  907|      4|            "dvec3  normalize(dvec3);"
  908|      4|            "dvec4  normalize(dvec4);"
  909|       |
  910|      4|            "double faceforward(double, double, double);"
  911|      4|            "dvec2  faceforward(dvec2,  dvec2,  dvec2);"
  912|      4|            "dvec3  faceforward(dvec3,  dvec3,  dvec3);"
  913|      4|            "dvec4  faceforward(dvec4,  dvec4,  dvec4);"
  914|       |
  915|      4|            "double reflect(double, double);"
  916|      4|            "dvec2  reflect(dvec2 , dvec2 );"
  917|      4|            "dvec3  reflect(dvec3 , dvec3 );"
  918|      4|            "dvec4  reflect(dvec4 , dvec4 );"
  919|       |
  920|      4|            "double refract(double, double, double);"
  921|      4|            "dvec2  refract(dvec2 , dvec2 , double);"
  922|      4|            "dvec3  refract(dvec3 , dvec3 , double);"
  923|      4|            "dvec4  refract(dvec4 , dvec4 , double);"
  924|       |
  925|      4|            "dmat2 matrixCompMult(dmat2, dmat2);"
  926|      4|            "dmat3 matrixCompMult(dmat3, dmat3);"
  927|      4|            "dmat4 matrixCompMult(dmat4, dmat4);"
  928|      4|            "dmat2x3 matrixCompMult(dmat2x3, dmat2x3);"
  929|      4|            "dmat2x4 matrixCompMult(dmat2x4, dmat2x4);"
  930|      4|            "dmat3x2 matrixCompMult(dmat3x2, dmat3x2);"
  931|      4|            "dmat3x4 matrixCompMult(dmat3x4, dmat3x4);"
  932|      4|            "dmat4x2 matrixCompMult(dmat4x2, dmat4x2);"
  933|      4|            "dmat4x3 matrixCompMult(dmat4x3, dmat4x3);"
  934|       |
  935|      4|            "dmat2   outerProduct(dvec2, dvec2);"
  936|      4|            "dmat3   outerProduct(dvec3, dvec3);"
  937|      4|            "dmat4   outerProduct(dvec4, dvec4);"
  938|      4|            "dmat2x3 outerProduct(dvec3, dvec2);"
  939|      4|            "dmat3x2 outerProduct(dvec2, dvec3);"
  940|      4|            "dmat2x4 outerProduct(dvec4, dvec2);"
  941|      4|            "dmat4x2 outerProduct(dvec2, dvec4);"
  942|      4|            "dmat3x4 outerProduct(dvec4, dvec3);"
  943|      4|            "dmat4x3 outerProduct(dvec3, dvec4);"
  944|       |
  945|      4|            "dmat2   transpose(dmat2);"
  946|      4|            "dmat3   transpose(dmat3);"
  947|      4|            "dmat4   transpose(dmat4);"
  948|      4|            "dmat2x3 transpose(dmat3x2);"
  949|      4|            "dmat3x2 transpose(dmat2x3);"
  950|      4|            "dmat2x4 transpose(dmat4x2);"
  951|      4|            "dmat4x2 transpose(dmat2x4);"
  952|      4|            "dmat3x4 transpose(dmat4x3);"
  953|      4|            "dmat4x3 transpose(dmat3x4);"
  954|       |
  955|      4|            "double determinant(dmat2);"
  956|      4|            "double determinant(dmat3);"
  957|      4|            "double determinant(dmat4);"
  958|       |
  959|      4|            "dmat2 inverse(dmat2);"
  960|      4|            "dmat3 inverse(dmat3);"
  961|      4|            "dmat4 inverse(dmat4);"
  962|       |
  963|      4|            "bvec2 lessThan(dvec2, dvec2);"
  964|      4|            "bvec3 lessThan(dvec3, dvec3);"
  965|      4|            "bvec4 lessThan(dvec4, dvec4);"
  966|       |
  967|      4|            "bvec2 lessThanEqual(dvec2, dvec2);"
  968|      4|            "bvec3 lessThanEqual(dvec3, dvec3);"
  969|      4|            "bvec4 lessThanEqual(dvec4, dvec4);"
  970|       |
  971|      4|            "bvec2 greaterThan(dvec2, dvec2);"
  972|      4|            "bvec3 greaterThan(dvec3, dvec3);"
  973|      4|            "bvec4 greaterThan(dvec4, dvec4);"
  974|       |
  975|      4|            "bvec2 greaterThanEqual(dvec2, dvec2);"
  976|      4|            "bvec3 greaterThanEqual(dvec3, dvec3);"
  977|      4|            "bvec4 greaterThanEqual(dvec4, dvec4);"
  978|       |
  979|      4|            "bvec2 equal(dvec2, dvec2);"
  980|      4|            "bvec3 equal(dvec3, dvec3);"
  981|      4|            "bvec4 equal(dvec4, dvec4);"
  982|       |
  983|      4|            "bvec2 notEqual(dvec2, dvec2);"
  984|      4|            "bvec3 notEqual(dvec3, dvec3);"
  985|      4|            "bvec4 notEqual(dvec4, dvec4);"
  986|       |
  987|      4|            "\n");
  988|      4|    }
  989|       |
  990|     52|    if (profile == EEsProfile && version >= 310) {  // Explicit Types
  ------------------
  |  Branch (990:9): [True: 48, False: 4]
  |  Branch (990:34): [True: 0, False: 48]
  ------------------
  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|     52|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (1186:10): [True: 4, False: 48]
  |  Branch (1186:35): [True: 4, False: 0]
  |  Branch (1186:55): [True: 48, False: 0]
  |  Branch (1186:80): [True: 0, False: 48]
  ------------------
 1187|      4|        commonBuiltins.append(
 1188|       |
 1189|      4|            "int64_t abs(int64_t);"
 1190|      4|            "i64vec2 abs(i64vec2);"
 1191|      4|            "i64vec3 abs(i64vec3);"
 1192|      4|            "i64vec4 abs(i64vec4);"
 1193|       |
 1194|      4|            "int64_t sign(int64_t);"
 1195|      4|            "i64vec2 sign(i64vec2);"
 1196|      4|            "i64vec3 sign(i64vec3);"
 1197|      4|            "i64vec4 sign(i64vec4);"
 1198|       |
 1199|      4|            "int64_t  min(int64_t,  int64_t);"
 1200|      4|            "i64vec2  min(i64vec2,  int64_t);"
 1201|      4|            "i64vec3  min(i64vec3,  int64_t);"
 1202|      4|            "i64vec4  min(i64vec4,  int64_t);"
 1203|      4|            "i64vec2  min(i64vec2,  i64vec2);"
 1204|      4|            "i64vec3  min(i64vec3,  i64vec3);"
 1205|      4|            "i64vec4  min(i64vec4,  i64vec4);"
 1206|      4|            "uint64_t min(uint64_t, uint64_t);"
 1207|      4|            "u64vec2  min(u64vec2,  uint64_t);"
 1208|      4|            "u64vec3  min(u64vec3,  uint64_t);"
 1209|      4|            "u64vec4  min(u64vec4,  uint64_t);"
 1210|      4|            "u64vec2  min(u64vec2,  u64vec2);"
 1211|      4|            "u64vec3  min(u64vec3,  u64vec3);"
 1212|      4|            "u64vec4  min(u64vec4,  u64vec4);"
 1213|       |
 1214|      4|            "int64_t  max(int64_t,  int64_t);"
 1215|      4|            "i64vec2  max(i64vec2,  int64_t);"
 1216|      4|            "i64vec3  max(i64vec3,  int64_t);"
 1217|      4|            "i64vec4  max(i64vec4,  int64_t);"
 1218|      4|            "i64vec2  max(i64vec2,  i64vec2);"
 1219|      4|            "i64vec3  max(i64vec3,  i64vec3);"
 1220|      4|            "i64vec4  max(i64vec4,  i64vec4);"
 1221|      4|            "uint64_t max(uint64_t, uint64_t);"
 1222|      4|            "u64vec2  max(u64vec2,  uint64_t);"
 1223|      4|            "u64vec3  max(u64vec3,  uint64_t);"
 1224|      4|            "u64vec4  max(u64vec4,  uint64_t);"
 1225|      4|            "u64vec2  max(u64vec2,  u64vec2);"
 1226|      4|            "u64vec3  max(u64vec3,  u64vec3);"
 1227|      4|            "u64vec4  max(u64vec4,  u64vec4);"
 1228|       |
 1229|      4|            "int64_t  clamp(int64_t,  int64_t,  int64_t);"
 1230|      4|            "i64vec2  clamp(i64vec2,  int64_t,  int64_t);"
 1231|      4|            "i64vec3  clamp(i64vec3,  int64_t,  int64_t);"
 1232|      4|            "i64vec4  clamp(i64vec4,  int64_t,  int64_t);"
 1233|      4|            "i64vec2  clamp(i64vec2,  i64vec2,  i64vec2);"
 1234|      4|            "i64vec3  clamp(i64vec3,  i64vec3,  i64vec3);"
 1235|      4|            "i64vec4  clamp(i64vec4,  i64vec4,  i64vec4);"
 1236|      4|            "uint64_t clamp(uint64_t, uint64_t, uint64_t);"
 1237|      4|            "u64vec2  clamp(u64vec2,  uint64_t, uint64_t);"
 1238|      4|            "u64vec3  clamp(u64vec3,  uint64_t, uint64_t);"
 1239|      4|            "u64vec4  clamp(u64vec4,  uint64_t, uint64_t);"
 1240|      4|            "u64vec2  clamp(u64vec2,  u64vec2,  u64vec2);"
 1241|      4|            "u64vec3  clamp(u64vec3,  u64vec3,  u64vec3);"
 1242|      4|            "u64vec4  clamp(u64vec4,  u64vec4,  u64vec4);"
 1243|       |
 1244|      4|            "int64_t  mix(int64_t,  int64_t,  bool);"
 1245|      4|            "i64vec2  mix(i64vec2,  i64vec2,  bvec2);"
 1246|      4|            "i64vec3  mix(i64vec3,  i64vec3,  bvec3);"
 1247|      4|            "i64vec4  mix(i64vec4,  i64vec4,  bvec4);"
 1248|      4|            "uint64_t mix(uint64_t, uint64_t, bool);"
 1249|      4|            "u64vec2  mix(u64vec2,  u64vec2,  bvec2);"
 1250|      4|            "u64vec3  mix(u64vec3,  u64vec3,  bvec3);"
 1251|      4|            "u64vec4  mix(u64vec4,  u64vec4,  bvec4);"
 1252|       |
 1253|      4|            "int64_t doubleBitsToInt64(float64_t);"
 1254|      4|            "i64vec2 doubleBitsToInt64(f64vec2);"
 1255|      4|            "i64vec3 doubleBitsToInt64(f64vec3);"
 1256|      4|            "i64vec4 doubleBitsToInt64(f64vec4);"
 1257|       |
 1258|      4|            "uint64_t doubleBitsToUint64(float64_t);"
 1259|      4|            "u64vec2  doubleBitsToUint64(f64vec2);"
 1260|      4|            "u64vec3  doubleBitsToUint64(f64vec3);"
 1261|      4|            "u64vec4  doubleBitsToUint64(f64vec4);"
 1262|       |
 1263|      4|            "float64_t int64BitsToDouble(int64_t);"
 1264|      4|            "f64vec2  int64BitsToDouble(i64vec2);"
 1265|      4|            "f64vec3  int64BitsToDouble(i64vec3);"
 1266|      4|            "f64vec4  int64BitsToDouble(i64vec4);"
 1267|       |
 1268|      4|            "float64_t uint64BitsToDouble(uint64_t);"
 1269|      4|            "f64vec2  uint64BitsToDouble(u64vec2);"
 1270|      4|            "f64vec3  uint64BitsToDouble(u64vec3);"
 1271|      4|            "f64vec4  uint64BitsToDouble(u64vec4);"
 1272|       |
 1273|      4|            "int64_t  packInt2x32(ivec2);"
 1274|      4|            "uint64_t packUint2x32(uvec2);"
 1275|      4|            "ivec2    unpackInt2x32(int64_t);"
 1276|      4|            "uvec2    unpackUint2x32(uint64_t);"
 1277|       |
 1278|      4|            "bvec2 lessThan(i64vec2, i64vec2);"
 1279|      4|            "bvec3 lessThan(i64vec3, i64vec3);"
 1280|      4|            "bvec4 lessThan(i64vec4, i64vec4);"
 1281|      4|            "bvec2 lessThan(u64vec2, u64vec2);"
 1282|      4|            "bvec3 lessThan(u64vec3, u64vec3);"
 1283|      4|            "bvec4 lessThan(u64vec4, u64vec4);"
 1284|       |
 1285|      4|            "bvec2 lessThanEqual(i64vec2, i64vec2);"
 1286|      4|            "bvec3 lessThanEqual(i64vec3, i64vec3);"
 1287|      4|            "bvec4 lessThanEqual(i64vec4, i64vec4);"
 1288|      4|            "bvec2 lessThanEqual(u64vec2, u64vec2);"
 1289|      4|            "bvec3 lessThanEqual(u64vec3, u64vec3);"
 1290|      4|            "bvec4 lessThanEqual(u64vec4, u64vec4);"
 1291|       |
 1292|      4|            "bvec2 greaterThan(i64vec2, i64vec2);"
 1293|      4|            "bvec3 greaterThan(i64vec3, i64vec3);"
 1294|      4|            "bvec4 greaterThan(i64vec4, i64vec4);"
 1295|      4|            "bvec2 greaterThan(u64vec2, u64vec2);"
 1296|      4|            "bvec3 greaterThan(u64vec3, u64vec3);"
 1297|      4|            "bvec4 greaterThan(u64vec4, u64vec4);"
 1298|       |
 1299|      4|            "bvec2 greaterThanEqual(i64vec2, i64vec2);"
 1300|      4|            "bvec3 greaterThanEqual(i64vec3, i64vec3);"
 1301|      4|            "bvec4 greaterThanEqual(i64vec4, i64vec4);"
 1302|      4|            "bvec2 greaterThanEqual(u64vec2, u64vec2);"
 1303|      4|            "bvec3 greaterThanEqual(u64vec3, u64vec3);"
 1304|      4|            "bvec4 greaterThanEqual(u64vec4, u64vec4);"
 1305|       |
 1306|      4|            "bvec2 equal(i64vec2, i64vec2);"
 1307|      4|            "bvec3 equal(i64vec3, i64vec3);"
 1308|      4|            "bvec4 equal(i64vec4, i64vec4);"
 1309|      4|            "bvec2 equal(u64vec2, u64vec2);"
 1310|      4|            "bvec3 equal(u64vec3, u64vec3);"
 1311|      4|            "bvec4 equal(u64vec4, u64vec4);"
 1312|       |
 1313|      4|            "bvec2 notEqual(i64vec2, i64vec2);"
 1314|      4|            "bvec3 notEqual(i64vec3, i64vec3);"
 1315|      4|            "bvec4 notEqual(i64vec4, i64vec4);"
 1316|      4|            "bvec2 notEqual(u64vec2, u64vec2);"
 1317|      4|            "bvec3 notEqual(u64vec3, u64vec3);"
 1318|      4|            "bvec4 notEqual(u64vec4, u64vec4);"
 1319|       |
 1320|      4|            "int64_t bitCount(int64_t);"
 1321|      4|            "i64vec2 bitCount(i64vec2);"
 1322|      4|            "i64vec3 bitCount(i64vec3);"
 1323|      4|            "i64vec4 bitCount(i64vec4);"
 1324|       |
 1325|      4|            "int64_t bitCount(uint64_t);"
 1326|      4|            "i64vec2 bitCount(u64vec2);"
 1327|      4|            "i64vec3 bitCount(u64vec3);"
 1328|      4|            "i64vec4 bitCount(u64vec4);"
 1329|       |
 1330|      4|            "int64_t findLSB(int64_t);"
 1331|      4|            "i64vec2 findLSB(i64vec2);"
 1332|      4|            "i64vec3 findLSB(i64vec3);"
 1333|      4|            "i64vec4 findLSB(i64vec4);"
 1334|       |
 1335|      4|            "int64_t findLSB(uint64_t);"
 1336|      4|            "i64vec2 findLSB(u64vec2);"
 1337|      4|            "i64vec3 findLSB(u64vec3);"
 1338|      4|            "i64vec4 findLSB(u64vec4);"
 1339|       |
 1340|      4|            "int64_t findMSB(int64_t);"
 1341|      4|            "i64vec2 findMSB(i64vec2);"
 1342|      4|            "i64vec3 findMSB(i64vec3);"
 1343|      4|            "i64vec4 findMSB(i64vec4);"
 1344|       |
 1345|      4|            "int64_t findMSB(uint64_t);"
 1346|      4|            "i64vec2 findMSB(u64vec2);"
 1347|      4|            "i64vec3 findMSB(u64vec3);"
 1348|      4|            "i64vec4 findMSB(u64vec4);"
 1349|       |
 1350|      4|            "\n"
 1351|      4|        );
 1352|      4|    }
 1353|       |
 1354|       |    // GL_AMD_shader_trinary_minmax
 1355|     52|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (1355:9): [True: 4, False: 48]
  |  Branch (1355:34): [True: 4, False: 0]
  ------------------
 1356|      4|        commonBuiltins.append(
 1357|      4|            "float min3(float, float, float);"
 1358|      4|            "vec2  min3(vec2,  vec2,  vec2);"
 1359|      4|            "vec3  min3(vec3,  vec3,  vec3);"
 1360|      4|            "vec4  min3(vec4,  vec4,  vec4);"
 1361|       |
 1362|      4|            "int   min3(int,   int,   int);"
 1363|      4|            "ivec2 min3(ivec2, ivec2, ivec2);"
 1364|      4|            "ivec3 min3(ivec3, ivec3, ivec3);"
 1365|      4|            "ivec4 min3(ivec4, ivec4, ivec4);"
 1366|       |
 1367|      4|            "uint  min3(uint,  uint,  uint);"
 1368|      4|            "uvec2 min3(uvec2, uvec2, uvec2);"
 1369|      4|            "uvec3 min3(uvec3, uvec3, uvec3);"
 1370|      4|            "uvec4 min3(uvec4, uvec4, uvec4);"
 1371|       |
 1372|      4|            "float max3(float, float, float);"
 1373|      4|            "vec2  max3(vec2,  vec2,  vec2);"
 1374|      4|            "vec3  max3(vec3,  vec3,  vec3);"
 1375|      4|            "vec4  max3(vec4,  vec4,  vec4);"
 1376|       |
 1377|      4|            "int   max3(int,   int,   int);"
 1378|      4|            "ivec2 max3(ivec2, ivec2, ivec2);"
 1379|      4|            "ivec3 max3(ivec3, ivec3, ivec3);"
 1380|      4|            "ivec4 max3(ivec4, ivec4, ivec4);"
 1381|       |
 1382|      4|            "uint  max3(uint,  uint,  uint);"
 1383|      4|            "uvec2 max3(uvec2, uvec2, uvec2);"
 1384|      4|            "uvec3 max3(uvec3, uvec3, uvec3);"
 1385|      4|            "uvec4 max3(uvec4, uvec4, uvec4);"
 1386|       |
 1387|      4|            "float mid3(float, float, float);"
 1388|      4|            "vec2  mid3(vec2,  vec2,  vec2);"
 1389|      4|            "vec3  mid3(vec3,  vec3,  vec3);"
 1390|      4|            "vec4  mid3(vec4,  vec4,  vec4);"
 1391|       |
 1392|      4|            "int   mid3(int,   int,   int);"
 1393|      4|            "ivec2 mid3(ivec2, ivec2, ivec2);"
 1394|      4|            "ivec3 mid3(ivec3, ivec3, ivec3);"
 1395|      4|            "ivec4 mid3(ivec4, ivec4, ivec4);"
 1396|       |
 1397|      4|            "uint  mid3(uint,  uint,  uint);"
 1398|      4|            "uvec2 mid3(uvec2, uvec2, uvec2);"
 1399|      4|            "uvec3 mid3(uvec3, uvec3, uvec3);"
 1400|      4|            "uvec4 mid3(uvec4, uvec4, uvec4);"
 1401|       |
 1402|      4|            "float16_t min3(float16_t, float16_t, float16_t);"
 1403|      4|            "f16vec2   min3(f16vec2,   f16vec2,   f16vec2);"
 1404|      4|            "f16vec3   min3(f16vec3,   f16vec3,   f16vec3);"
 1405|      4|            "f16vec4   min3(f16vec4,   f16vec4,   f16vec4);"
 1406|       |
 1407|      4|            "float16_t max3(float16_t, float16_t, float16_t);"
 1408|      4|            "f16vec2   max3(f16vec2,   f16vec2,   f16vec2);"
 1409|      4|            "f16vec3   max3(f16vec3,   f16vec3,   f16vec3);"
 1410|      4|            "f16vec4   max3(f16vec4,   f16vec4,   f16vec4);"
 1411|       |
 1412|      4|            "float16_t mid3(float16_t, float16_t, float16_t);"
 1413|      4|            "f16vec2   mid3(f16vec2,   f16vec2,   f16vec2);"
 1414|      4|            "f16vec3   mid3(f16vec3,   f16vec3,   f16vec3);"
 1415|      4|            "f16vec4   mid3(f16vec4,   f16vec4,   f16vec4);"
 1416|       |
 1417|      4|            "int16_t   min3(int16_t,   int16_t,   int16_t);"
 1418|      4|            "i16vec2   min3(i16vec2,   i16vec2,   i16vec2);"
 1419|      4|            "i16vec3   min3(i16vec3,   i16vec3,   i16vec3);"
 1420|      4|            "i16vec4   min3(i16vec4,   i16vec4,   i16vec4);"
 1421|       |
 1422|      4|            "int16_t   max3(int16_t,   int16_t,   int16_t);"
 1423|      4|            "i16vec2   max3(i16vec2,   i16vec2,   i16vec2);"
 1424|      4|            "i16vec3   max3(i16vec3,   i16vec3,   i16vec3);"
 1425|      4|            "i16vec4   max3(i16vec4,   i16vec4,   i16vec4);"
 1426|       |
 1427|      4|            "int16_t   mid3(int16_t,   int16_t,   int16_t);"
 1428|      4|            "i16vec2   mid3(i16vec2,   i16vec2,   i16vec2);"
 1429|      4|            "i16vec3   mid3(i16vec3,   i16vec3,   i16vec3);"
 1430|      4|            "i16vec4   mid3(i16vec4,   i16vec4,   i16vec4);"
 1431|       |
 1432|      4|            "uint16_t  min3(uint16_t,  uint16_t,  uint16_t);"
 1433|      4|            "u16vec2   min3(u16vec2,   u16vec2,   u16vec2);"
 1434|      4|            "u16vec3   min3(u16vec3,   u16vec3,   u16vec3);"
 1435|      4|            "u16vec4   min3(u16vec4,   u16vec4,   u16vec4);"
 1436|       |
 1437|      4|            "uint16_t  max3(uint16_t,  uint16_t,  uint16_t);"
 1438|      4|            "u16vec2   max3(u16vec2,   u16vec2,   u16vec2);"
 1439|      4|            "u16vec3   max3(u16vec3,   u16vec3,   u16vec3);"
 1440|      4|            "u16vec4   max3(u16vec4,   u16vec4,   u16vec4);"
 1441|       |
 1442|      4|            "uint16_t  mid3(uint16_t,  uint16_t,  uint16_t);"
 1443|      4|            "u16vec2   mid3(u16vec2,   u16vec2,   u16vec2);"
 1444|      4|            "u16vec3   mid3(u16vec3,   u16vec3,   u16vec3);"
 1445|      4|            "u16vec4   mid3(u16vec4,   u16vec4,   u16vec4);"
 1446|       |
 1447|      4|            "\n"
 1448|      4|        );
 1449|      4|    }
 1450|       |
 1451|     52|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1451:10): [True: 48, False: 4]
  |  Branch (1451:35): [True: 0, False: 48]
  ------------------
 1452|     52|        (profile != EEsProfile && version >= 430)) {
  ------------------
  |  Branch (1452:10): [True: 4, False: 48]
  |  Branch (1452:35): [True: 4, False: 0]
  ------------------
 1453|      4|        commonBuiltins.append(
 1454|      4|            "uint atomicAdd(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1455|      4|            " int atomicAdd(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1456|       |
 1457|      4|            "uint atomicMin(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1458|      4|            " int atomicMin(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1459|       |
 1460|      4|            "uint atomicMax(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1461|      4|            " int atomicMax(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1462|       |
 1463|      4|            "uint atomicAnd(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1464|      4|            " int atomicAnd(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1465|       |
 1466|      4|            "uint atomicOr (coherent volatile nontemporal inout uint, uint, int, int, int);"
 1467|      4|            " int atomicOr (coherent volatile nontemporal inout  int,  int, int, int, int);"
 1468|       |
 1469|      4|            "uint atomicXor(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1470|      4|            " int atomicXor(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1471|       |
 1472|      4|            "uint atomicExchange(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1473|      4|            " int atomicExchange(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1474|       |
 1475|      4|            "uint atomicCompSwap(coherent volatile nontemporal inout uint, uint, uint, int, int, int, int, int);"
 1476|      4|            " int atomicCompSwap(coherent volatile nontemporal inout  int,  int,  int, int, int, int, int, int);"
 1477|       |
 1478|      4|            "uint atomicLoad(coherent volatile nontemporal in uint, int, int, int);"
 1479|      4|            " int atomicLoad(coherent volatile nontemporal in  int, int, int, int);"
 1480|       |
 1481|      4|            "void atomicStore(coherent volatile nontemporal out uint, uint, int, int, int);"
 1482|      4|            "void atomicStore(coherent volatile nontemporal out  int,  int, int, int, int);"
 1483|       |
 1484|      4|            "\n");
 1485|      4|    }
 1486|       |
 1487|     52|    if (profile != EEsProfile && version >= 440) {
  ------------------
  |  Branch (1487:9): [True: 4, False: 48]
  |  Branch (1487:34): [True: 4, False: 0]
  ------------------
 1488|      4|        commonBuiltins.append(
 1489|      4|            "uint64_t atomicMin(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1490|      4|            " int64_t atomicMin(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1491|      4|            "uint64_t atomicMin(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1492|      4|            " int64_t atomicMin(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1493|      4|            "float16_t atomicMin(coherent volatile nontemporal inout float16_t, float16_t);"
 1494|      4|            "float16_t atomicMin(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1495|      4|            "   float atomicMin(coherent volatile nontemporal inout float, float);"
 1496|      4|            "   float atomicMin(coherent volatile nontemporal inout float, float, int, int, int);"
 1497|      4|            "  double atomicMin(coherent volatile nontemporal inout double, double);"
 1498|      4|            "  double atomicMin(coherent volatile nontemporal inout double, double, int, int, int);"
 1499|       |
 1500|      4|            "uint64_t atomicMax(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1501|      4|            " int64_t atomicMax(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1502|      4|            "uint64_t atomicMax(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1503|      4|            " int64_t atomicMax(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1504|      4|            "float16_t atomicMax(coherent volatile nontemporal inout float16_t, float16_t);"
 1505|      4|            "float16_t atomicMax(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1506|      4|            "   float atomicMax(coherent volatile nontemporal inout float, float);"
 1507|      4|            "   float atomicMax(coherent volatile nontemporal inout float, float, int, int, int);"
 1508|      4|            "  double atomicMax(coherent volatile nontemporal inout double, double);"
 1509|      4|            "  double atomicMax(coherent volatile nontemporal inout double, double, int, int, int);"
 1510|       |
 1511|      4|            "uint64_t atomicAnd(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1512|      4|            " int64_t atomicAnd(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1513|      4|            "uint64_t atomicAnd(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1514|      4|            " int64_t atomicAnd(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1515|       |
 1516|      4|            "uint64_t atomicOr (coherent volatile nontemporal inout uint64_t, uint64_t);"
 1517|      4|            " int64_t atomicOr (coherent volatile nontemporal inout  int64_t,  int64_t);"
 1518|      4|            "uint64_t atomicOr (coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1519|      4|            " int64_t atomicOr (coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1520|       |
 1521|      4|            "uint64_t atomicXor(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1522|      4|            " int64_t atomicXor(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1523|      4|            "uint64_t atomicXor(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1524|      4|            " int64_t atomicXor(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1525|       |
 1526|      4|            "uint64_t atomicAdd(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1527|      4|            " int64_t atomicAdd(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1528|      4|            "uint64_t atomicAdd(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1529|      4|            " int64_t atomicAdd(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1530|      4|            "float16_t atomicAdd(coherent volatile nontemporal inout float16_t, float16_t);"
 1531|      4|            "float16_t atomicAdd(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1532|      4|            "   float atomicAdd(coherent volatile nontemporal inout float, float);"
 1533|      4|            "   float atomicAdd(coherent volatile nontemporal inout float, float, int, int, int);"
 1534|      4|            "  double atomicAdd(coherent volatile nontemporal inout double, double);"
 1535|      4|            "  double atomicAdd(coherent volatile nontemporal inout double, double, int, int, int);"
 1536|       |
 1537|      4|            "uint64_t atomicExchange(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1538|      4|            " int64_t atomicExchange(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1539|      4|            "uint64_t atomicExchange(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1540|      4|            " int64_t atomicExchange(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1541|      4|            "float16_t atomicExchange(coherent volatile nontemporal inout float16_t, float16_t);"
 1542|      4|            "float16_t atomicExchange(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1543|      4|            "   float atomicExchange(coherent volatile nontemporal inout float, float);"
 1544|      4|            "   float atomicExchange(coherent volatile nontemporal inout float, float, int, int, int);"
 1545|      4|            "  double atomicExchange(coherent volatile nontemporal inout double, double);"
 1546|      4|            "  double atomicExchange(coherent volatile nontemporal inout double, double, int, int, int);"
 1547|       |
 1548|      4|            "uint64_t atomicCompSwap(coherent volatile nontemporal inout uint64_t, uint64_t, uint64_t);"
 1549|      4|            " int64_t atomicCompSwap(coherent volatile nontemporal inout  int64_t,  int64_t,  int64_t);"
 1550|      4|            "uint64_t atomicCompSwap(coherent volatile nontemporal inout uint64_t, uint64_t, uint64_t, int, int, int, int, int);"
 1551|      4|            " int64_t atomicCompSwap(coherent volatile nontemporal inout  int64_t,  int64_t,  int64_t, int, int, int, int, int);"
 1552|       |
 1553|      4|            "uint64_t atomicLoad(coherent volatile nontemporal in uint64_t, int, int, int);"
 1554|      4|            " int64_t atomicLoad(coherent volatile nontemporal in  int64_t, int, int, int);"
 1555|      4|            "float16_t atomicLoad(coherent volatile nontemporal in float16_t, int, int, int);"
 1556|      4|            "   float atomicLoad(coherent volatile nontemporal in float, int, int, int);"
 1557|      4|            "  double atomicLoad(coherent volatile nontemporal in double, int, int, int);"
 1558|       |
 1559|      4|            "void atomicStore(coherent volatile nontemporal out uint64_t, uint64_t, int, int, int);"
 1560|      4|            "void atomicStore(coherent volatile nontemporal out  int64_t,  int64_t, int, int, int);"
 1561|      4|            "void atomicStore(coherent volatile nontemporal out float16_t, float16_t, int, int, int);"
 1562|      4|            "void atomicStore(coherent volatile nontemporal out float, float, int, int, int);"
 1563|      4|            "void atomicStore(coherent volatile nontemporal out double, double, int, int, int);"
 1564|      4|            "\n");
 1565|      4|    }
 1566|       |
 1567|       |    // NV_shader_atomic_fp16_vector
 1568|     52|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (1568:9): [True: 4, False: 48]
  |  Branch (1568:34): [True: 4, False: 0]
  ------------------
 1569|      4|        commonBuiltins.append(
 1570|      4|            "f16vec2 atomicAdd(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1571|      4|            "f16vec4 atomicAdd(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1572|      4|            "f16vec2 atomicMin(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1573|      4|            "f16vec4 atomicMin(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1574|      4|            "f16vec2 atomicMax(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1575|      4|            "f16vec4 atomicMax(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1576|      4|            "f16vec2 atomicExchange(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1577|      4|            "f16vec4 atomicExchange(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1578|      4|            "\n");
 1579|      4|    }
 1580|       |
 1581|     52|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1581:10): [True: 48, False: 4]
  |  Branch (1581:35): [True: 0, False: 48]
  ------------------
 1582|     52|        (profile != EEsProfile && version >= 150)) { // GL_ARB_shader_bit_encoding
  ------------------
  |  Branch (1582:10): [True: 4, False: 48]
  |  Branch (1582:35): [True: 4, False: 0]
  ------------------
 1583|      4|        commonBuiltins.append(
 1584|      4|            "int   floatBitsToInt(highp float value);"
 1585|      4|            "ivec2 floatBitsToInt(highp vec2  value);"
 1586|      4|            "ivec3 floatBitsToInt(highp vec3  value);"
 1587|      4|            "ivec4 floatBitsToInt(highp vec4  value);"
 1588|       |
 1589|      4|            "uint  floatBitsToUint(highp float value);"
 1590|      4|            "uvec2 floatBitsToUint(highp vec2  value);"
 1591|      4|            "uvec3 floatBitsToUint(highp vec3  value);"
 1592|      4|            "uvec4 floatBitsToUint(highp vec4  value);"
 1593|       |
 1594|      4|            "float intBitsToFloat(highp int   value);"
 1595|      4|            "vec2  intBitsToFloat(highp ivec2 value);"
 1596|      4|            "vec3  intBitsToFloat(highp ivec3 value);"
 1597|      4|            "vec4  intBitsToFloat(highp ivec4 value);"
 1598|       |
 1599|      4|            "float uintBitsToFloat(highp uint  value);"
 1600|      4|            "vec2  uintBitsToFloat(highp uvec2 value);"
 1601|      4|            "vec3  uintBitsToFloat(highp uvec3 value);"
 1602|      4|            "vec4  uintBitsToFloat(highp uvec4 value);"
 1603|       |
 1604|      4|            "\n");
 1605|      4|    }
 1606|       |
 1607|     52|    if ((profile != EEsProfile && version >= 150) || // GL_NV_gpu_shader5
  ------------------
  |  Branch (1607:10): [True: 4, False: 48]
  |  Branch (1607:35): [True: 4, False: 0]
  ------------------
 1608|     48|        (profile == EEsProfile && version >= 310)) {    // GL_OES_gpu_shader5
  ------------------
  |  Branch (1608:10): [True: 48, False: 0]
  |  Branch (1608:35): [True: 0, False: 48]
  ------------------
 1609|       |
 1610|      4|        commonBuiltins.append(
 1611|      4|            "float  fma(float,  float,  float );"
 1612|      4|            "vec2   fma(vec2,   vec2,   vec2  );"
 1613|      4|            "vec3   fma(vec3,   vec3,   vec3  );"
 1614|      4|            "vec4   fma(vec4,   vec4,   vec4  );"
 1615|      4|            "\n");
 1616|      4|    }
 1617|       |
 1618|     52|    if (profile != EEsProfile && version >= 150) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1618:9): [True: 4, False: 48]
  |  Branch (1618:34): [True: 4, False: 0]
  ------------------
 1619|      4|            commonBuiltins.append(
 1620|      4|                "double fma(double, double, double);"
 1621|      4|                "dvec2  fma(dvec2,  dvec2,  dvec2 );"
 1622|      4|                "dvec3  fma(dvec3,  dvec3,  dvec3 );"
 1623|      4|                "dvec4  fma(dvec4,  dvec4,  dvec4 );"
 1624|      4|                "\n");
 1625|      4|    }
 1626|       |
 1627|     52|    if (profile == EEsProfile && version >= 310) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1627:9): [True: 48, False: 4]
  |  Branch (1627:34): [True: 0, False: 48]
  ------------------
 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|     52|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1636:10): [True: 48, False: 4]
  |  Branch (1636:35): [True: 0, False: 48]
  ------------------
 1637|     52|        (profile != EEsProfile && version >= 150)) { // GL_NV_gpu_shader5
  ------------------
  |  Branch (1637:10): [True: 4, False: 48]
  |  Branch (1637:35): [True: 4, False: 0]
  ------------------
 1638|      4|        commonBuiltins.append(
 1639|      4|            "float frexp(highp float, out highp int);"
 1640|      4|            "vec2  frexp(highp vec2,  out highp ivec2);"
 1641|      4|            "vec3  frexp(highp vec3,  out highp ivec3);"
 1642|      4|            "vec4  frexp(highp vec4,  out highp ivec4);"
 1643|       |
 1644|      4|            "float ldexp(highp float, highp int);"
 1645|      4|            "vec2  ldexp(highp vec2,  highp ivec2);"
 1646|      4|            "vec3  ldexp(highp vec3,  highp ivec3);"
 1647|      4|            "vec4  ldexp(highp vec4,  highp ivec4);"
 1648|       |
 1649|      4|            "\n");
 1650|      4|    }
 1651|       |
 1652|     52|    if (profile != EEsProfile && version >= 150) { // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1652:9): [True: 4, False: 48]
  |  Branch (1652:34): [True: 4, False: 0]
  ------------------
 1653|      4|        commonBuiltins.append(
 1654|      4|            "double frexp(double, out int);"
 1655|      4|            "dvec2  frexp( dvec2, out ivec2);"
 1656|      4|            "dvec3  frexp( dvec3, out ivec3);"
 1657|      4|            "dvec4  frexp( dvec4, out ivec4);"
 1658|       |
 1659|      4|            "double ldexp(double, int);"
 1660|      4|            "dvec2  ldexp( dvec2, ivec2);"
 1661|      4|            "dvec3  ldexp( dvec3, ivec3);"
 1662|      4|            "dvec4  ldexp( dvec4, ivec4);"
 1663|       |
 1664|      4|            "double packDouble2x32(uvec2);"
 1665|      4|            "uvec2 unpackDouble2x32(double);"
 1666|       |
 1667|      4|            "\n");
 1668|      4|    }
 1669|       |
 1670|     52|    if (profile == EEsProfile && version >= 310) { // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1670:9): [True: 48, False: 4]
  |  Branch (1670:34): [True: 0, False: 48]
  ------------------
 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|     52|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1685:10): [True: 48, False: 4]
  |  Branch (1685:35): [True: 0, False: 48]
  ------------------
 1686|     52|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1686:10): [True: 4, False: 48]
  |  Branch (1686:35): [True: 4, False: 0]
  ------------------
 1687|      4|        commonBuiltins.append(
 1688|      4|            "highp uint packUnorm2x16(vec2);"
 1689|      4|                  "vec2 unpackUnorm2x16(highp uint);"
 1690|      4|            "\n");
 1691|      4|    }
 1692|       |
 1693|     52|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1693:10): [True: 48, False: 4]
  |  Branch (1693:35): [True: 0, False: 48]
  ------------------
 1694|     52|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1694:10): [True: 4, False: 48]
  |  Branch (1694:35): [True: 4, False: 0]
  ------------------
 1695|      4|        commonBuiltins.append(
 1696|      4|            "highp uint packSnorm2x16(vec2);"
 1697|      4|            "      vec2 unpackSnorm2x16(highp uint);"
 1698|      4|            "highp uint packHalf2x16(vec2);"
 1699|      4|            "\n");
 1700|      4|    }
 1701|       |
 1702|     52|    if (profile == EEsProfile && version >= 300) {
  ------------------
  |  Branch (1702:9): [True: 48, False: 4]
  |  Branch (1702:34): [True: 0, False: 48]
  ------------------
 1703|      0|        commonBuiltins.append(
 1704|      0|            "mediump vec2 unpackHalf2x16(highp uint);"
 1705|      0|            "\n");
 1706|     52|    } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (1706:16): [True: 4, False: 48]
  |  Branch (1706:41): [True: 4, False: 0]
  ------------------
 1707|      4|        commonBuiltins.append(
 1708|      4|            "        vec2 unpackHalf2x16(highp uint);"
 1709|      4|            "\n");
 1710|      4|    }
 1711|       |
 1712|     52|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1712:10): [True: 48, False: 4]
  |  Branch (1712:35): [True: 0, False: 48]
  ------------------
 1713|     52|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1713:10): [True: 4, False: 48]
  |  Branch (1713:35): [True: 4, False: 0]
  ------------------
 1714|      4|        commonBuiltins.append(
 1715|      4|            "highp uint packSnorm4x8(vec4);"
 1716|      4|            "highp uint packUnorm4x8(vec4);"
 1717|      4|            "\n");
 1718|      4|    }
 1719|       |
 1720|     52|    if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (1720:9): [True: 48, False: 4]
  |  Branch (1720:34): [True: 0, False: 48]
  ------------------
 1721|      0|        commonBuiltins.append(
 1722|      0|            "mediump vec4 unpackSnorm4x8(highp uint);"
 1723|      0|            "mediump vec4 unpackUnorm4x8(highp uint);"
 1724|      0|            "\n");
 1725|     52|    } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (1725:16): [True: 4, False: 48]
  |  Branch (1725:41): [True: 4, False: 0]
  ------------------
 1726|      4|        commonBuiltins.append(
 1727|      4|                    "vec4 unpackSnorm4x8(highp uint);"
 1728|      4|                    "vec4 unpackUnorm4x8(highp uint);"
 1729|      4|            "\n");
 1730|      4|    }
 1731|       |
 1732|       |    //
 1733|       |    // Matrix Functions.
 1734|       |    //
 1735|     52|    commonBuiltins.append(
 1736|     52|        "mat2 matrixCompMult(mat2 x, mat2 y);"
 1737|     52|        "mat3 matrixCompMult(mat3 x, mat3 y);"
 1738|     52|        "mat4 matrixCompMult(mat4 x, mat4 y);"
 1739|       |
 1740|     52|        "\n");
 1741|       |
 1742|       |    // 120 is correct for both ES and desktop
 1743|     52|    if (version >= 120) {
  ------------------
  |  Branch (1743:9): [True: 4, False: 48]
  ------------------
 1744|      4|        commonBuiltins.append(
 1745|      4|            "mat2   outerProduct(vec2 c, vec2 r);"
 1746|      4|            "mat3   outerProduct(vec3 c, vec3 r);"
 1747|      4|            "mat4   outerProduct(vec4 c, vec4 r);"
 1748|      4|            "mat2x3 outerProduct(vec3 c, vec2 r);"
 1749|      4|            "mat3x2 outerProduct(vec2 c, vec3 r);"
 1750|      4|            "mat2x4 outerProduct(vec4 c, vec2 r);"
 1751|      4|            "mat4x2 outerProduct(vec2 c, vec4 r);"
 1752|      4|            "mat3x4 outerProduct(vec4 c, vec3 r);"
 1753|      4|            "mat4x3 outerProduct(vec3 c, vec4 r);"
 1754|       |
 1755|      4|            "mat2   transpose(mat2   m);"
 1756|      4|            "mat3   transpose(mat3   m);"
 1757|      4|            "mat4   transpose(mat4   m);"
 1758|      4|            "mat2x3 transpose(mat3x2 m);"
 1759|      4|            "mat3x2 transpose(mat2x3 m);"
 1760|      4|            "mat2x4 transpose(mat4x2 m);"
 1761|      4|            "mat4x2 transpose(mat2x4 m);"
 1762|      4|            "mat3x4 transpose(mat4x3 m);"
 1763|      4|            "mat4x3 transpose(mat3x4 m);"
 1764|       |
 1765|      4|            "mat2x3 matrixCompMult(mat2x3, mat2x3);"
 1766|      4|            "mat2x4 matrixCompMult(mat2x4, mat2x4);"
 1767|      4|            "mat3x2 matrixCompMult(mat3x2, mat3x2);"
 1768|      4|            "mat3x4 matrixCompMult(mat3x4, mat3x4);"
 1769|      4|            "mat4x2 matrixCompMult(mat4x2, mat4x2);"
 1770|      4|            "mat4x3 matrixCompMult(mat4x3, mat4x3);"
 1771|       |
 1772|      4|            "\n");
 1773|       |
 1774|       |        // 150 is correct for both ES and desktop
 1775|      4|        if (version >= 150) {
  ------------------
  |  Branch (1775:13): [True: 4, False: 0]
  ------------------
 1776|      4|            commonBuiltins.append(
 1777|      4|                "float determinant(mat2 m);"
 1778|      4|                "float determinant(mat3 m);"
 1779|      4|                "float determinant(mat4 m);"
 1780|       |
 1781|      4|                "mat2 inverse(mat2 m);"
 1782|      4|                "mat3 inverse(mat3 m);"
 1783|      4|                "mat4 inverse(mat4 m);"
 1784|       |
 1785|      4|                "\n");
 1786|      4|        }
 1787|      4|    }
 1788|       |
 1789|       |    //
 1790|       |    // Original-style texture functions existing in all stages.
 1791|       |    // (Per-stage functions below.)
 1792|       |    //
 1793|     52|    if ((profile == EEsProfile && version == 100) ||
  ------------------
  |  Branch (1793:10): [True: 48, False: 4]
  |  Branch (1793:35): [True: 48, False: 0]
  ------------------
 1794|      4|         profile == ECompatibilityProfile ||
  ------------------
  |  Branch (1794:10): [True: 0, False: 4]
  ------------------
 1795|      4|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (1795:10): [True: 4, False: 0]
  |  Branch (1795:37): [True: 0, False: 4]
  ------------------
 1796|     48|         profile == ENoProfile) {
  ------------------
  |  Branch (1796:10): [True: 0, False: 4]
  ------------------
 1797|     48|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1797:13): [True: 48, False: 0]
  ------------------
 1798|     48|            commonBuiltins.append(
 1799|     48|                "vec4 texture2D(sampler2D, vec2);"
 1800|       |
 1801|     48|                "vec4 texture2DProj(sampler2D, vec3);"
 1802|     48|                "vec4 texture2DProj(sampler2D, vec4);"
 1803|       |
 1804|     48|                "vec4 texture3D(sampler3D, vec3);"     // OES_texture_3D, but caught by keyword check
 1805|     48|                "vec4 texture3DProj(sampler3D, vec4);" // OES_texture_3D, but caught by keyword check
 1806|       |
 1807|     48|                "vec4 textureCube(samplerCube, vec3);"
 1808|       |
 1809|     48|                "\n");
 1810|     48|        }
 1811|     48|    }
 1812|       |
 1813|     52|    if ( profile == ECompatibilityProfile ||
  ------------------
  |  Branch (1813:10): [True: 0, False: 52]
  ------------------
 1814|     52|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (1814:10): [True: 4, False: 48]
  |  Branch (1814:37): [True: 0, False: 4]
  ------------------
 1815|     52|         profile == ENoProfile) {
  ------------------
  |  Branch (1815:10): [True: 0, False: 52]
  ------------------
 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|     52|    if (profile == EEsProfile) {
  ------------------
  |  Branch (1848:9): [True: 48, False: 4]
  ------------------
 1849|     48|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1849:13): [True: 48, False: 0]
  ------------------
 1850|     48|            if (version < 300) {
  ------------------
  |  Branch (1850:17): [True: 48, False: 0]
  ------------------
 1851|     48|                commonBuiltins.append(
 1852|     48|                    "vec4 texture2D(samplerExternalOES, vec2 coord);" // GL_OES_EGL_image_external
 1853|     48|                    "vec4 texture2DProj(samplerExternalOES, vec3);"   // GL_OES_EGL_image_external
 1854|     48|                    "vec4 texture2DProj(samplerExternalOES, vec4);"   // GL_OES_EGL_image_external
 1855|     48|                "\n");
 1856|     48|            } 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|     48|            commonBuiltins.append(
 1869|     48|                "highp ivec2 textureSize(__samplerExternal2DY2YEXT, int lod);" // GL_EXT_YUV_target
 1870|     48|                "vec4 texture(__samplerExternal2DY2YEXT, vec2);"               // GL_EXT_YUV_target
 1871|     48|                "vec4 texture(__samplerExternal2DY2YEXT, vec2, float bias);"   // GL_EXT_YUV_target
 1872|     48|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec3);"           // GL_EXT_YUV_target
 1873|     48|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec3, float bias);" // GL_EXT_YUV_target
 1874|     48|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec4);"           // GL_EXT_YUV_target
 1875|     48|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec4, float bias);" // GL_EXT_YUV_target
 1876|     48|                "vec4 texelFetch(__samplerExternal2DY2YEXT sampler, ivec2, int lod);" // GL_EXT_YUV_target
 1877|     48|                "\n");
 1878|     48|            commonBuiltins.append(
 1879|     48|                "vec4 texture2DGradEXT(sampler2D, vec2, vec2, vec2);"      // GL_EXT_shader_texture_lod
 1880|     48|                "vec4 texture2DProjGradEXT(sampler2D, vec3, vec2, vec2);"  // GL_EXT_shader_texture_lod
 1881|     48|                "vec4 texture2DProjGradEXT(sampler2D, vec4, vec2, vec2);"  // GL_EXT_shader_texture_lod
 1882|     48|                "vec4 textureCubeGradEXT(samplerCube, vec3, vec3, vec3);"  // GL_EXT_shader_texture_lod
 1883|       |
 1884|     48|                "float shadow2DEXT(sampler2DShadow, vec3);"     // GL_EXT_shadow_samplers
 1885|     48|                "float shadow2DProjEXT(sampler2DShadow, vec4);" // GL_EXT_shadow_samplers
 1886|       |
 1887|     48|                "\n");
 1888|     48|        }
 1889|     48|    }
 1890|       |
 1891|       |    //
 1892|       |    // Noise functions.
 1893|       |    //
 1894|     52|    if (spvVersion.spv == 0 && profile != EEsProfile) {
  ------------------
  |  Branch (1894:9): [True: 52, False: 0]
  |  Branch (1894:32): [True: 4, False: 48]
  ------------------
 1895|      4|        commonBuiltins.append(
 1896|      4|            "float noise1(float x);"
 1897|      4|            "float noise1(vec2  x);"
 1898|      4|            "float noise1(vec3  x);"
 1899|      4|            "float noise1(vec4  x);"
 1900|       |
 1901|      4|            "vec2 noise2(float x);"
 1902|      4|            "vec2 noise2(vec2  x);"
 1903|      4|            "vec2 noise2(vec3  x);"
 1904|      4|            "vec2 noise2(vec4  x);"
 1905|       |
 1906|      4|            "vec3 noise3(float x);"
 1907|      4|            "vec3 noise3(vec2  x);"
 1908|      4|            "vec3 noise3(vec3  x);"
 1909|      4|            "vec3 noise3(vec4  x);"
 1910|       |
 1911|      4|            "vec4 noise4(float x);"
 1912|      4|            "vec4 noise4(vec2  x);"
 1913|      4|            "vec4 noise4(vec3  x);"
 1914|      4|            "vec4 noise4(vec4  x);"
 1915|       |
 1916|      4|            "\n");
 1917|      4|    }
 1918|       |
 1919|     52|    if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (1919:9): [True: 47, False: 5]
  ------------------
 1920|       |        //
 1921|       |        // Atomic counter functions.
 1922|       |        //
 1923|     47|        if ((profile != EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1923:14): [True: 2, False: 45]
  |  Branch (1923:39): [True: 2, False: 0]
  ------------------
 1924|     45|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (1924:14): [True: 45, False: 0]
  |  Branch (1924:39): [True: 0, False: 45]
  ------------------
 1925|      2|            commonBuiltins.append(
 1926|      2|                "uint atomicCounterIncrement(atomic_uint);"
 1927|      2|                "uint atomicCounterDecrement(atomic_uint);"
 1928|      2|                "uint atomicCounter(atomic_uint);"
 1929|       |
 1930|      2|                "\n");
 1931|      2|        }
 1932|     47|        if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (1932:13): [True: 2, False: 45]
  |  Branch (1932:38): [True: 2, False: 0]
  ------------------
 1933|      2|            commonBuiltins.append(
 1934|      2|                "uint atomicCounterAddARB(atomic_uint, uint);"
 1935|      2|                "uint atomicCounterSubtractARB(atomic_uint, uint);"
 1936|      2|                "uint atomicCounterMinARB(atomic_uint, uint);"
 1937|      2|                "uint atomicCounterMaxARB(atomic_uint, uint);"
 1938|      2|                "uint atomicCounterAndARB(atomic_uint, uint);"
 1939|      2|                "uint atomicCounterOrARB(atomic_uint, uint);"
 1940|      2|                "uint atomicCounterXorARB(atomic_uint, uint);"
 1941|      2|                "uint atomicCounterExchangeARB(atomic_uint, uint);"
 1942|      2|                "uint atomicCounterCompSwapARB(atomic_uint, uint, uint);"
 1943|       |
 1944|      2|                "\n");
 1945|      2|        }
 1946|       |
 1947|       |
 1948|     47|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (1948:13): [True: 2, False: 45]
  |  Branch (1948:38): [True: 0, False: 2]
  ------------------
 1949|      0|            commonBuiltins.append(
 1950|      0|                "uint atomicCounterAdd(atomic_uint, uint);"
 1951|      0|                "uint atomicCounterSubtract(atomic_uint, uint);"
 1952|      0|                "uint atomicCounterMin(atomic_uint, uint);"
 1953|      0|                "uint atomicCounterMax(atomic_uint, uint);"
 1954|      0|                "uint atomicCounterAnd(atomic_uint, uint);"
 1955|      0|                "uint atomicCounterOr(atomic_uint, uint);"
 1956|      0|                "uint atomicCounterXor(atomic_uint, uint);"
 1957|      0|                "uint atomicCounterExchange(atomic_uint, uint);"
 1958|      0|                "uint atomicCounterCompSwap(atomic_uint, uint, uint);"
 1959|       |
 1960|      0|                "\n");
 1961|      0|        }
 1962|     47|    }
 1963|      5|    else if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (1963:14): [True: 0, False: 5]
  ------------------
 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|     52|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1995:10): [True: 48, False: 4]
  |  Branch (1995:35): [True: 0, False: 48]
  ------------------
 1996|     52|        (profile != EEsProfile && version >= 150)) { // ARB_gpu_shader5/NV_gpu_shader5
  ------------------
  |  Branch (1996:10): [True: 4, False: 48]
  |  Branch (1996:35): [True: 4, False: 0]
  ------------------
 1997|      4|        commonBuiltins.append(
 1998|      4|            "  int bitfieldExtract(  int, int, int);"
 1999|      4|            "ivec2 bitfieldExtract(ivec2, int, int);"
 2000|      4|            "ivec3 bitfieldExtract(ivec3, int, int);"
 2001|      4|            "ivec4 bitfieldExtract(ivec4, int, int);"
 2002|       |
 2003|      4|            " uint bitfieldExtract( uint, int, int);"
 2004|      4|            "uvec2 bitfieldExtract(uvec2, int, int);"
 2005|      4|            "uvec3 bitfieldExtract(uvec3, int, int);"
 2006|      4|            "uvec4 bitfieldExtract(uvec4, int, int);"
 2007|       |
 2008|      4|            "  int bitfieldInsert(  int base,   int, int, int);"
 2009|      4|            "ivec2 bitfieldInsert(ivec2 base, ivec2, int, int);"
 2010|      4|            "ivec3 bitfieldInsert(ivec3 base, ivec3, int, int);"
 2011|      4|            "ivec4 bitfieldInsert(ivec4 base, ivec4, int, int);"
 2012|       |
 2013|      4|            " uint bitfieldInsert( uint base,  uint, int, int);"
 2014|      4|            "uvec2 bitfieldInsert(uvec2 base, uvec2, int, int);"
 2015|      4|            "uvec3 bitfieldInsert(uvec3 base, uvec3, int, int);"
 2016|      4|            "uvec4 bitfieldInsert(uvec4 base, uvec4, int, int);"
 2017|       |
 2018|      4|            "\n");
 2019|      4|    }
 2020|       |
 2021|     52|    if (profile != EEsProfile && version >= 150) { //GL_ARB_gpu_shader5/GL_NV_gpu_shader5
  ------------------
  |  Branch (2021:9): [True: 4, False: 48]
  |  Branch (2021:34): [True: 4, False: 0]
  ------------------
 2022|      4|        commonBuiltins.append(
 2023|      4|            "  int findLSB(  int);"
 2024|      4|            "ivec2 findLSB(ivec2);"
 2025|      4|            "ivec3 findLSB(ivec3);"
 2026|      4|            "ivec4 findLSB(ivec4);"
 2027|       |
 2028|      4|            "  int findLSB( uint);"
 2029|      4|            "ivec2 findLSB(uvec2);"
 2030|      4|            "ivec3 findLSB(uvec3);"
 2031|      4|            "ivec4 findLSB(uvec4);"
 2032|       |
 2033|      4|            "\n");
 2034|     48|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (2034:16): [True: 48, False: 0]
  |  Branch (2034:41): [True: 0, False: 48]
  ------------------
 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|     52|    if (profile != EEsProfile && version >= 150) { //GL_ARB_gpu_shader5/GL_NV_gpu_shader5
  ------------------
  |  Branch (2049:9): [True: 4, False: 48]
  |  Branch (2049:34): [True: 4, False: 0]
  ------------------
 2050|      4|        commonBuiltins.append(
 2051|      4|            "  int bitCount(  int);"
 2052|      4|            "ivec2 bitCount(ivec2);"
 2053|      4|            "ivec3 bitCount(ivec3);"
 2054|      4|            "ivec4 bitCount(ivec4);"
 2055|       |
 2056|      4|            "  int bitCount( uint);"
 2057|      4|            "ivec2 bitCount(uvec2);"
 2058|      4|            "ivec3 bitCount(uvec3);"
 2059|      4|            "ivec4 bitCount(uvec4);"
 2060|       |
 2061|      4|            "  int findMSB(highp   int);"
 2062|      4|            "ivec2 findMSB(highp ivec2);"
 2063|      4|            "ivec3 findMSB(highp ivec3);"
 2064|      4|            "ivec4 findMSB(highp ivec4);"
 2065|       |
 2066|      4|            "  int findMSB(highp  uint);"
 2067|      4|            "ivec2 findMSB(highp uvec2);"
 2068|      4|            "ivec3 findMSB(highp uvec3);"
 2069|      4|            "ivec4 findMSB(highp uvec4);"
 2070|      4|            "\n");
 2071|      4|    }
 2072|       |
 2073|     52|    if (profile != EEsProfile && version >= 150 && version < 450) { //GL_NV_gpu_shader5
  ------------------
  |  Branch (2073:9): [True: 4, False: 48]
  |  Branch (2073:34): [True: 4, False: 0]
  |  Branch (2073:52): [True: 0, False: 4]
  ------------------
 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|     52|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (2199:9): [True: 4, False: 48]
  |  Branch (2199:34): [True: 4, False: 0]
  ------------------
 2200|      4|        commonBuiltins.append(
 2201|      4|            "bool anyThreadNV(bool);"
 2202|      4|            "bool allThreadsNV(bool);"
 2203|      4|            "bool allThreadsEqualNV(bool);"
 2204|       |
 2205|      4|            "\n");
 2206|      4|    }
 2207|       |
 2208|     52|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2208:10): [True: 48, False: 4]
  |  Branch (2208:35): [True: 0, False: 48]
  ------------------
 2209|     52|        (profile != EEsProfile && version >= 150)) { // NV_gpu_shader5
  ------------------
  |  Branch (2209:10): [True: 4, False: 48]
  |  Branch (2209:35): [True: 4, False: 0]
  ------------------
 2210|      4|        commonBuiltins.append(
 2211|      4|            " uint uaddCarry(highp  uint, highp  uint, out lowp  uint carry);"
 2212|      4|            "uvec2 uaddCarry(highp uvec2, highp uvec2, out lowp uvec2 carry);"
 2213|      4|            "uvec3 uaddCarry(highp uvec3, highp uvec3, out lowp uvec3 carry);"
 2214|      4|            "uvec4 uaddCarry(highp uvec4, highp uvec4, out lowp uvec4 carry);"
 2215|       |
 2216|      4|            " uint usubBorrow(highp  uint, highp  uint, out lowp  uint borrow);"
 2217|      4|            "uvec2 usubBorrow(highp uvec2, highp uvec2, out lowp uvec2 borrow);"
 2218|      4|            "uvec3 usubBorrow(highp uvec3, highp uvec3, out lowp uvec3 borrow);"
 2219|      4|            "uvec4 usubBorrow(highp uvec4, highp uvec4, out lowp uvec4 borrow);"
 2220|       |
 2221|      4|            "void umulExtended(highp  uint, highp  uint, out highp  uint, out highp  uint lsb);"
 2222|      4|            "void umulExtended(highp uvec2, highp uvec2, out highp uvec2, out highp uvec2 lsb);"
 2223|      4|            "void umulExtended(highp uvec3, highp uvec3, out highp uvec3, out highp uvec3 lsb);"
 2224|      4|            "void umulExtended(highp uvec4, highp uvec4, out highp uvec4, out highp uvec4 lsb);"
 2225|       |
 2226|      4|            "void imulExtended(highp   int, highp   int, out highp   int, out highp   int lsb);"
 2227|      4|            "void imulExtended(highp ivec2, highp ivec2, out highp ivec2, out highp ivec2 lsb);"
 2228|      4|            "void imulExtended(highp ivec3, highp ivec3, out highp ivec3, out highp ivec3 lsb);"
 2229|      4|            "void imulExtended(highp ivec4, highp ivec4, out highp ivec4, out highp ivec4 lsb);"
 2230|       |
 2231|      4|            "  int bitfieldReverse(highp   int);"
 2232|      4|            "ivec2 bitfieldReverse(highp ivec2);"
 2233|      4|            "ivec3 bitfieldReverse(highp ivec3);"
 2234|      4|            "ivec4 bitfieldReverse(highp ivec4);"
 2235|       |
 2236|      4|            " uint bitfieldReverse(highp  uint);"
 2237|      4|            "uvec2 bitfieldReverse(highp uvec2);"
 2238|      4|            "uvec3 bitfieldReverse(highp uvec3);"
 2239|      4|            "uvec4 bitfieldReverse(highp uvec4);"
 2240|       |
 2241|      4|            "\n");
 2242|      4|    }
 2243|       |
 2244|     52|    if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (2244:9): [True: 48, False: 4]
  |  Branch (2244:34): [True: 0, False: 48]
  ------------------
 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|     52|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (2270:9): [True: 4, False: 48]
  |  Branch (2270:34): [True: 4, False: 0]
  ------------------
 2271|      4|        commonBuiltins.append(
 2272|      4|            "uint64_t ballotARB(bool);"
 2273|       |
 2274|      4|            "float readInvocationARB(float, uint);"
 2275|      4|            "vec2  readInvocationARB(vec2,  uint);"
 2276|      4|            "vec3  readInvocationARB(vec3,  uint);"
 2277|      4|            "vec4  readInvocationARB(vec4,  uint);"
 2278|       |
 2279|      4|            "int   readInvocationARB(int,   uint);"
 2280|      4|            "ivec2 readInvocationARB(ivec2, uint);"
 2281|      4|            "ivec3 readInvocationARB(ivec3, uint);"
 2282|      4|            "ivec4 readInvocationARB(ivec4, uint);"
 2283|       |
 2284|      4|            "uint  readInvocationARB(uint,  uint);"
 2285|      4|            "uvec2 readInvocationARB(uvec2, uint);"
 2286|      4|            "uvec3 readInvocationARB(uvec3, uint);"
 2287|      4|            "uvec4 readInvocationARB(uvec4, uint);"
 2288|       |
 2289|      4|            "float readFirstInvocationARB(float);"
 2290|      4|            "vec2  readFirstInvocationARB(vec2);"
 2291|      4|            "vec3  readFirstInvocationARB(vec3);"
 2292|      4|            "vec4  readFirstInvocationARB(vec4);"
 2293|       |
 2294|      4|            "int   readFirstInvocationARB(int);"
 2295|      4|            "ivec2 readFirstInvocationARB(ivec2);"
 2296|      4|            "ivec3 readFirstInvocationARB(ivec3);"
 2297|      4|            "ivec4 readFirstInvocationARB(ivec4);"
 2298|       |
 2299|      4|            "uint  readFirstInvocationARB(uint);"
 2300|      4|            "uvec2 readFirstInvocationARB(uvec2);"
 2301|      4|            "uvec3 readFirstInvocationARB(uvec3);"
 2302|      4|            "uvec4 readFirstInvocationARB(uvec4);"
 2303|       |
 2304|      4|            "\n");
 2305|      4|    }
 2306|       |
 2307|       |    // GL_ARB_shader_group_vote
 2308|     52|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (2308:9): [True: 4, False: 48]
  |  Branch (2308:34): [True: 4, False: 0]
  ------------------
 2309|      4|        commonBuiltins.append(
 2310|      4|            "bool anyInvocationARB(bool);"
 2311|      4|            "bool allInvocationsARB(bool);"
 2312|      4|            "bool allInvocationsEqualARB(bool);"
 2313|       |
 2314|      4|            "\n");
 2315|      4|    }
 2316|       |
 2317|       |    // GL_EXT_integer_dot_product
 2318|     52|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (2318:10): [True: 48, False: 4]
  |  Branch (2318:35): [True: 0, False: 48]
  ------------------
 2319|     52|        (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (2319:10): [True: 4, False: 48]
  |  Branch (2319:35): [True: 4, False: 0]
  ------------------
 2320|      4|        commonBuiltins.append(
 2321|       |
 2322|      4|            "uint dotEXT(uvec2 a, uvec2 b);"
 2323|      4|            "int dotEXT(ivec2 a, ivec2 b);"
 2324|      4|            "int dotEXT(ivec2 a, uvec2 b);"
 2325|      4|            "int dotEXT(uvec2 a, ivec2 b);"
 2326|       |
 2327|      4|            "uint dotEXT(uvec3 a, uvec3 b);"
 2328|      4|            "int dotEXT(ivec3 a, ivec3 b);"
 2329|      4|            "int dotEXT(ivec3 a, uvec3 b);"
 2330|      4|            "int dotEXT(uvec3 a, ivec3 b);"
 2331|       |
 2332|      4|            "uint dotEXT(uvec4 a, uvec4 b);"
 2333|      4|            "int dotEXT(ivec4 a, ivec4 b);"
 2334|      4|            "int dotEXT(ivec4 a, uvec4 b);"
 2335|      4|            "int dotEXT(uvec4 a, ivec4 b);"
 2336|       |
 2337|      4|            "uint dotPacked4x8EXT(uint a, uint b);"
 2338|      4|            "int dotPacked4x8EXT(int a, uint b);"
 2339|      4|            "int dotPacked4x8EXT(uint a, int b);"
 2340|      4|            "int dotPacked4x8EXT(int a, int b);"
 2341|       |
 2342|      4|            "uint dotEXT(u8vec2 a, u8vec2 b);"
 2343|      4|            "int dotEXT(i8vec2 a, u8vec2 b);"
 2344|      4|            "int dotEXT(u8vec2 a, i8vec2 b);"
 2345|      4|            "int dotEXT(i8vec2 a, i8vec2 b);"
 2346|       |
 2347|      4|            "uint dotEXT(u8vec3 a, u8vec3 b);"
 2348|      4|            "int dotEXT(i8vec3 a, u8vec3 b);"
 2349|      4|            "int dotEXT(u8vec3 a, i8vec3 b);"
 2350|      4|            "int dotEXT(i8vec3 a, i8vec3 b);"
 2351|       |
 2352|      4|            "uint dotEXT(u8vec4 a, u8vec4 b);"
 2353|      4|            "int dotEXT(i8vec4 a, u8vec4 b);"
 2354|      4|            "int dotEXT(u8vec4 a, i8vec4 b);"
 2355|      4|            "int dotEXT(i8vec4 a, i8vec4 b);"
 2356|       |
 2357|      4|            "uint dotEXT(u16vec2 a, u16vec2 b);"
 2358|      4|            "int dotEXT(i16vec2 a, u16vec2 b);"
 2359|      4|            "int dotEXT(u16vec2 a, i16vec2 b);"
 2360|      4|            "int dotEXT(i16vec2 a, i16vec2 b);"
 2361|       |
 2362|      4|            "uint dotEXT(u16vec3 a, u16vec3 b);"
 2363|      4|            "int dotEXT(i16vec3 a, u16vec3 b);"
 2364|      4|            "int dotEXT(u16vec3 a, i16vec3 b);"
 2365|      4|            "int dotEXT(i16vec3 a, i16vec3 b);"
 2366|       |
 2367|      4|            "uint dotEXT(u16vec4 a, u16vec4 b);"
 2368|      4|            "int dotEXT(i16vec4 a, u16vec4 b);"
 2369|      4|            "int dotEXT(u16vec4 a, i16vec4 b);"
 2370|      4|            "int dotEXT(i16vec4 a, i16vec4 b);"
 2371|       |
 2372|      4|            "uint64_t dotEXT(u64vec2 a, u64vec2 b);"
 2373|      4|            "int64_t dotEXT(i64vec2 a, u64vec2 b);"
 2374|      4|            "int64_t dotEXT(u64vec2 a, i64vec2 b);"
 2375|      4|            "int64_t dotEXT(i64vec2 a, i64vec2 b);"
 2376|       |
 2377|      4|            "uint64_t dotEXT(u64vec3 a, u64vec3 b);"
 2378|      4|            "int64_t dotEXT(i64vec3 a, u64vec3 b);"
 2379|      4|            "int64_t dotEXT(u64vec3 a, i64vec3 b);"
 2380|      4|            "int64_t dotEXT(i64vec3 a, i64vec3 b);"
 2381|       |
 2382|      4|            "uint64_t dotEXT(u64vec4 a, u64vec4 b);"
 2383|      4|            "int64_t dotEXT(i64vec4 a, u64vec4 b);"
 2384|      4|            "int64_t dotEXT(u64vec4 a, i64vec4 b);"
 2385|      4|            "int64_t dotEXT(i64vec4 a, i64vec4 b);"
 2386|       |
 2387|      4|            "uint dotAccSatEXT(uvec2 a, uvec2 b, uint c);"
 2388|      4|            "int dotAccSatEXT(ivec2 a, uvec2 b, int c);"
 2389|      4|            "int dotAccSatEXT(uvec2 a, ivec2 b, int c);"
 2390|      4|            "int dotAccSatEXT(ivec2 a, ivec2 b, int c);"
 2391|       |
 2392|      4|            "uint dotAccSatEXT(uvec3 a, uvec3 b, uint c);"
 2393|      4|            "int dotAccSatEXT(ivec3 a, uvec3 b, int c);"
 2394|      4|            "int dotAccSatEXT(uvec3 a, ivec3 b, int c);"
 2395|      4|            "int dotAccSatEXT(ivec3 a, ivec3 b, int c);"
 2396|       |
 2397|      4|            "uint dotAccSatEXT(uvec4 a, uvec4 b, uint c);"
 2398|      4|            "int dotAccSatEXT(ivec4 a, uvec4 b, int c);"
 2399|      4|            "int dotAccSatEXT(uvec4 a, ivec4 b, int c);"
 2400|      4|            "int dotAccSatEXT(ivec4 a, ivec4 b, int c);"
 2401|       |
 2402|      4|            "uint dotPacked4x8AccSatEXT(uint a, uint b, uint c);"
 2403|      4|            "int dotPacked4x8AccSatEXT(int a, uint b, int c);"
 2404|      4|            "int dotPacked4x8AccSatEXT(uint a, int b, int c);"
 2405|      4|            "int dotPacked4x8AccSatEXT(int a, int b, int c);"
 2406|       |
 2407|      4|            "uint dotAccSatEXT(u8vec2 a, u8vec2 b, uint c);"
 2408|      4|            "int dotAccSatEXT(i8vec2 a, u8vec2 b, int c);"
 2409|      4|            "int dotAccSatEXT(u8vec2 a, i8vec2 b, int c);"
 2410|      4|            "int dotAccSatEXT(i8vec2 a, i8vec2 b, int c);"
 2411|       |
 2412|      4|            "uint dotAccSatEXT(u8vec3 a, u8vec3 b, uint c);"
 2413|      4|            "int dotAccSatEXT(i8vec3 a, u8vec3 b, int c);"
 2414|      4|            "int dotAccSatEXT(u8vec3 a, i8vec3 b, int c);"
 2415|      4|            "int dotAccSatEXT(i8vec3 a, i8vec3 b, int c);"
 2416|       |
 2417|      4|            "uint dotAccSatEXT(u8vec4 a, u8vec4 b, uint c);"
 2418|      4|            "int dotAccSatEXT(i8vec4 a, u8vec4 b, int c);"
 2419|      4|            "int dotAccSatEXT(u8vec4 a, i8vec4 b, int c);"
 2420|      4|            "int dotAccSatEXT(i8vec4 a, i8vec4 b, int c);"
 2421|       |
 2422|      4|            "uint dotAccSatEXT(u16vec2 a, u16vec2 b, uint c);"
 2423|      4|            "int dotAccSatEXT(i16vec2 a, u16vec2 b, int c);"
 2424|      4|            "int dotAccSatEXT(u16vec2 a, i16vec2 b, int c);"
 2425|      4|            "int dotAccSatEXT(i16vec2 a, i16vec2 b, int c);"
 2426|       |
 2427|      4|            "uint dotAccSatEXT(u16vec3 a, u16vec3 b, uint c);"
 2428|      4|            "int dotAccSatEXT(i16vec3 a, u16vec3 b, int c);"
 2429|      4|            "int dotAccSatEXT(u16vec3 a, i16vec3 b, int c);"
 2430|      4|            "int dotAccSatEXT(i16vec3 a, i16vec3 b, int c);"
 2431|       |
 2432|      4|            "uint dotAccSatEXT(u16vec4 a, u16vec4 b, uint c);"
 2433|      4|            "int dotAccSatEXT(i16vec4 a, u16vec4 b, int c);"
 2434|      4|            "int dotAccSatEXT(u16vec4 a, i16vec4 b, int c);"
 2435|      4|            "int dotAccSatEXT(i16vec4 a, i16vec4 b, int c);"
 2436|       |
 2437|      4|            "uint64_t dotAccSatEXT(u64vec2 a, u64vec2 b, uint64_t c);"
 2438|      4|            "int64_t dotAccSatEXT(i64vec2 a, u64vec2 b, int64_t c);"
 2439|      4|            "int64_t dotAccSatEXT(u64vec2 a, i64vec2 b, int64_t c);"
 2440|      4|            "int64_t dotAccSatEXT(i64vec2 a, i64vec2 b, int64_t c);"
 2441|       |
 2442|      4|            "uint64_t dotAccSatEXT(u64vec3 a, u64vec3 b, uint64_t c);"
 2443|      4|            "int64_t dotAccSatEXT(i64vec3 a, u64vec3 b, int64_t c);"
 2444|      4|            "int64_t dotAccSatEXT(u64vec3 a, i64vec3 b, int64_t c);"
 2445|      4|            "int64_t dotAccSatEXT(i64vec3 a, i64vec3 b, int64_t c);"
 2446|       |
 2447|      4|            "uint64_t dotAccSatEXT(u64vec4 a, u64vec4 b, uint64_t c);"
 2448|      4|            "int64_t dotAccSatEXT(i64vec4 a, u64vec4 b, int64_t c);"
 2449|      4|            "int64_t dotAccSatEXT(u64vec4 a, i64vec4 b, int64_t c);"
 2450|      4|            "int64_t dotAccSatEXT(i64vec4 a, i64vec4 b, int64_t c);"
 2451|      4|            "\n");
 2452|      4|    }
 2453|       |
 2454|       |    // GL_KHR_shader_subgroup
 2455|     52|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2455:10): [True: 48, False: 4]
  |  Branch (2455:35): [True: 0, False: 48]
  ------------------
 2456|     52|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (2456:10): [True: 4, False: 48]
  |  Branch (2456:35): [True: 4, False: 0]
  ------------------
 2457|      4|        commonBuiltins.append(
 2458|      4|            "void subgroupBarrier();"
 2459|      4|            "void subgroupMemoryBarrier();"
 2460|      4|            "void subgroupMemoryBarrierBuffer();"
 2461|      4|            "void subgroupMemoryBarrierImage();"
 2462|      4|            "bool subgroupElect();"
 2463|       |
 2464|      4|            "bool   subgroupAll(bool);\n"
 2465|      4|            "bool   subgroupAny(bool);\n"
 2466|      4|            "uvec4  subgroupBallot(bool);\n"
 2467|      4|            "bool   subgroupInverseBallot(uvec4);\n"
 2468|      4|            "bool   subgroupBallotBitExtract(uvec4, uint);\n"
 2469|      4|            "uint   subgroupBallotBitCount(uvec4);\n"
 2470|      4|            "uint   subgroupBallotInclusiveBitCount(uvec4);\n"
 2471|      4|            "uint   subgroupBallotExclusiveBitCount(uvec4);\n"
 2472|      4|            "uint   subgroupBallotFindLSB(uvec4);\n"
 2473|      4|            "uint   subgroupBallotFindMSB(uvec4);\n"
 2474|      4|            );
 2475|       |
 2476|       |        // Generate all flavors of subgroup ops.
 2477|      4|        static const char *subgroupOps[] = 
 2478|      4|        {
 2479|      4|            "bool   subgroupAllEqual(%s);\n",
 2480|      4|            "%s     subgroupBroadcast(%s, uint);\n",
 2481|      4|            "%s     subgroupBroadcastFirst(%s);\n",
 2482|      4|            "%s     subgroupShuffle(%s, uint);\n",
 2483|      4|            "%s     subgroupShuffleXor(%s, uint);\n",
 2484|      4|            "%s     subgroupShuffleUp(%s, uint delta);\n",
 2485|      4|            "%s     subgroupShuffleDown(%s, uint delta);\n",
 2486|      4|            "%s     subgroupRotate(%s, uint);\n",
 2487|      4|            "%s     subgroupClusteredRotate(%s, uint, uint);\n",
 2488|      4|            "%s     subgroupAdd(%s);\n",
 2489|      4|            "%s     subgroupMul(%s);\n",
 2490|      4|            "%s     subgroupMin(%s);\n",
 2491|      4|            "%s     subgroupMax(%s);\n",
 2492|      4|            "%s     subgroupAnd(%s);\n",
 2493|      4|            "%s     subgroupOr(%s);\n",
 2494|      4|            "%s     subgroupXor(%s);\n",
 2495|      4|            "%s     subgroupInclusiveAdd(%s);\n",
 2496|      4|            "%s     subgroupInclusiveMul(%s);\n",
 2497|      4|            "%s     subgroupInclusiveMin(%s);\n",
 2498|      4|            "%s     subgroupInclusiveMax(%s);\n",
 2499|      4|            "%s     subgroupInclusiveAnd(%s);\n",
 2500|      4|            "%s     subgroupInclusiveOr(%s);\n",
 2501|      4|            "%s     subgroupInclusiveXor(%s);\n",
 2502|      4|            "%s     subgroupExclusiveAdd(%s);\n",
 2503|      4|            "%s     subgroupExclusiveMul(%s);\n",
 2504|      4|            "%s     subgroupExclusiveMin(%s);\n",
 2505|      4|            "%s     subgroupExclusiveMax(%s);\n",
 2506|      4|            "%s     subgroupExclusiveAnd(%s);\n",
 2507|      4|            "%s     subgroupExclusiveOr(%s);\n",
 2508|      4|            "%s     subgroupExclusiveXor(%s);\n",
 2509|      4|            "%s     subgroupClusteredAdd(%s, uint);\n",
 2510|      4|            "%s     subgroupClusteredMul(%s, uint);\n",
 2511|      4|            "%s     subgroupClusteredMin(%s, uint);\n",
 2512|      4|            "%s     subgroupClusteredMax(%s, uint);\n",
 2513|      4|            "%s     subgroupClusteredAnd(%s, uint);\n",
 2514|      4|            "%s     subgroupClusteredOr(%s, uint);\n",
 2515|      4|            "%s     subgroupClusteredXor(%s, uint);\n",
 2516|      4|            "%s     subgroupQuadBroadcast(%s, uint);\n",
 2517|      4|            "%s     subgroupQuadSwapHorizontal(%s);\n",
 2518|      4|            "%s     subgroupQuadSwapVertical(%s);\n",
 2519|      4|            "%s     subgroupQuadSwapDiagonal(%s);\n",
 2520|      4|            "uvec4  subgroupPartitionNV(%s);\n",
 2521|      4|            "%s     subgroupPartitionedAddNV(%s, uvec4 ballot);\n",
 2522|      4|            "%s     subgroupPartitionedMulNV(%s, uvec4 ballot);\n",
 2523|      4|            "%s     subgroupPartitionedMinNV(%s, uvec4 ballot);\n",
 2524|      4|            "%s     subgroupPartitionedMaxNV(%s, uvec4 ballot);\n",
 2525|      4|            "%s     subgroupPartitionedAndNV(%s, uvec4 ballot);\n",
 2526|      4|            "%s     subgroupPartitionedOrNV(%s, uvec4 ballot);\n",
 2527|      4|            "%s     subgroupPartitionedXorNV(%s, uvec4 ballot);\n",
 2528|      4|            "%s     subgroupPartitionedInclusiveAddNV(%s, uvec4 ballot);\n",
 2529|      4|            "%s     subgroupPartitionedInclusiveMulNV(%s, uvec4 ballot);\n",
 2530|      4|            "%s     subgroupPartitionedInclusiveMinNV(%s, uvec4 ballot);\n",
 2531|      4|            "%s     subgroupPartitionedInclusiveMaxNV(%s, uvec4 ballot);\n",
 2532|      4|            "%s     subgroupPartitionedInclusiveAndNV(%s, uvec4 ballot);\n",
 2533|      4|            "%s     subgroupPartitionedInclusiveOrNV(%s, uvec4 ballot);\n",
 2534|      4|            "%s     subgroupPartitionedInclusiveXorNV(%s, uvec4 ballot);\n",
 2535|      4|            "%s     subgroupPartitionedExclusiveAddNV(%s, uvec4 ballot);\n",
 2536|      4|            "%s     subgroupPartitionedExclusiveMulNV(%s, uvec4 ballot);\n",
 2537|      4|            "%s     subgroupPartitionedExclusiveMinNV(%s, uvec4 ballot);\n",
 2538|      4|            "%s     subgroupPartitionedExclusiveMaxNV(%s, uvec4 ballot);\n",
 2539|      4|            "%s     subgroupPartitionedExclusiveAndNV(%s, uvec4 ballot);\n",
 2540|      4|            "%s     subgroupPartitionedExclusiveOrNV(%s, uvec4 ballot);\n",
 2541|      4|            "%s     subgroupPartitionedExclusiveXorNV(%s, uvec4 ballot);\n",
 2542|      4|        };
 2543|       |
 2544|      4|        static const char *floatTypes[] = { 
 2545|      4|            "float", "vec2", "vec3", "vec4", 
 2546|      4|            "float16_t", "f16vec2", "f16vec3", "f16vec4", 
 2547|      4|        };
 2548|      4|        static const char *doubleTypes[] = { 
 2549|      4|            "double", "dvec2", "dvec3", "dvec4", 
 2550|      4|        };
 2551|      4|        static const char *intTypes[] = { 
 2552|      4|            "int8_t", "i8vec2", "i8vec3", "i8vec4", 
 2553|      4|            "int16_t", "i16vec2", "i16vec3", "i16vec4", 
 2554|      4|            "int", "ivec2", "ivec3", "ivec4", 
 2555|      4|            "int64_t", "i64vec2", "i64vec3", "i64vec4", 
 2556|      4|            "uint8_t", "u8vec2", "u8vec3", "u8vec4", 
 2557|      4|            "uint16_t", "u16vec2", "u16vec3", "u16vec4", 
 2558|      4|            "uint", "uvec2", "uvec3", "uvec4", 
 2559|      4|            "uint64_t", "u64vec2", "u64vec3", "u64vec4", 
 2560|      4|        };
 2561|      4|        static const char *boolTypes[] = { 
 2562|      4|            "bool", "bvec2", "bvec3", "bvec4", 
 2563|      4|        };
 2564|       |
 2565|    256|        for (size_t i = 0; i < sizeof(subgroupOps)/sizeof(subgroupOps[0]); ++i) {
  ------------------
  |  Branch (2565:28): [True: 252, False: 4]
  ------------------
 2566|    252|            const char *op = subgroupOps[i];
 2567|       |
 2568|       |            // Logical operations don't support float
 2569|    252|            bool logicalOp = strstr(op, "Or") || strstr(op, "And") ||
  ------------------
  |  Branch (2569:30): [True: 28, False: 224]
  |  Branch (2569:50): [True: 28, False: 196]
  ------------------
 2570|    196|                             (strstr(op, "Xor") && !strstr(op, "ShuffleXor"));
  ------------------
  |  Branch (2570:31): [True: 32, False: 164]
  |  Branch (2570:52): [True: 28, False: 4]
  ------------------
 2571|       |            // Math operations don't support bool
 2572|    252|            bool mathOp = strstr(op, "Add") || strstr(op, "Mul") || strstr(op, "Min") || strstr(op, "Max");
  ------------------
  |  Branch (2572:27): [True: 28, False: 224]
  |  Branch (2572:48): [True: 28, False: 196]
  |  Branch (2572:69): [True: 28, False: 168]
  |  Branch (2572:90): [True: 28, False: 140]
  ------------------
 2573|       |
 2574|    252|            const int bufSize = 256;
 2575|    252|            char buf[bufSize];
 2576|       |
 2577|    252|            if (!logicalOp) {
  ------------------
  |  Branch (2577:17): [True: 168, False: 84]
  ------------------
 2578|  1.51k|                for (size_t j = 0; j < sizeof(floatTypes)/sizeof(floatTypes[0]); ++j) {
  ------------------
  |  Branch (2578:36): [True: 1.34k, False: 168]
  ------------------
 2579|  1.34k|                    snprintf(buf, bufSize, op, floatTypes[j], floatTypes[j]);
 2580|  1.34k|                    commonBuiltins.append(buf);
 2581|  1.34k|                }
 2582|    168|                if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (2582:21): [True: 168, False: 0]
  |  Branch (2582:46): [True: 168, False: 0]
  ------------------
 2583|    840|                    for (size_t j = 0; j < sizeof(doubleTypes)/sizeof(doubleTypes[0]); ++j) {
  ------------------
  |  Branch (2583:40): [True: 672, False: 168]
  ------------------
 2584|    672|                        snprintf(buf, bufSize, op, doubleTypes[j], doubleTypes[j]);
 2585|    672|                        commonBuiltins.append(buf);
 2586|    672|                    }
 2587|    168|                }
 2588|    168|            }
 2589|    252|            if (!mathOp) {
  ------------------
  |  Branch (2589:17): [True: 140, False: 112]
  ------------------
 2590|    700|                for (size_t j = 0; j < sizeof(boolTypes)/sizeof(boolTypes[0]); ++j) {
  ------------------
  |  Branch (2590:36): [True: 560, False: 140]
  ------------------
 2591|    560|                    snprintf(buf, bufSize, op, boolTypes[j], boolTypes[j]);
 2592|    560|                    commonBuiltins.append(buf);
 2593|    560|                }
 2594|    140|            }
 2595|  8.31k|            for (size_t j = 0; j < sizeof(intTypes)/sizeof(intTypes[0]); ++j) {
  ------------------
  |  Branch (2595:32): [True: 8.06k, False: 252]
  ------------------
 2596|  8.06k|                snprintf(buf, bufSize, op, intTypes[j], intTypes[j]);
 2597|  8.06k|                commonBuiltins.append(buf);
 2598|  8.06k|            }
 2599|    252|            snprintf(buf, bufSize, op, "vector", "vector");
 2600|    252|            commonBuiltins.append(buf);
 2601|    252|        }
 2602|       |
 2603|      4|        stageBuiltins[EShLangCompute].append(
 2604|      4|            "void subgroupMemoryBarrierShared();"
 2605|       |
 2606|      4|            "\n"
 2607|      4|            );
 2608|      4|        stageBuiltins[EShLangMesh].append(
 2609|      4|            "void subgroupMemoryBarrierShared();"
 2610|      4|            "\n"
 2611|      4|            );
 2612|      4|        stageBuiltins[EShLangTask].append(
 2613|      4|            "void subgroupMemoryBarrierShared();"
 2614|      4|            "\n"
 2615|      4|            );
 2616|      4|    }
 2617|       |
 2618|       |    // GL_EXT_shader_quad_control
 2619|     52|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2619:10): [True: 48, False: 4]
  |  Branch (2619:35): [True: 0, False: 48]
  ------------------
 2620|     52|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (2620:10): [True: 4, False: 48]
  |  Branch (2620:35): [True: 4, False: 0]
  ------------------
 2621|      4|        commonBuiltins.append(
 2622|      4|            "bool subgroupQuadAll(bool);\n"
 2623|      4|            "bool subgroupQuadAny(bool);\n"
 2624|      4|            );
 2625|      4|    }
 2626|       |
 2627|     52|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (2627:9): [True: 4, False: 48]
  |  Branch (2627:34): [True: 0, False: 4]
  ------------------
 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|     52|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (2637:9): [True: 4, False: 48]
  |  Branch (2637:34): [True: 4, False: 0]
  ------------------
 2638|      4|        commonBuiltins.append(
 2639|      4|            "float minInvocationsAMD(float);"
 2640|      4|            "vec2  minInvocationsAMD(vec2);"
 2641|      4|            "vec3  minInvocationsAMD(vec3);"
 2642|      4|            "vec4  minInvocationsAMD(vec4);"
 2643|       |
 2644|      4|            "int   minInvocationsAMD(int);"
 2645|      4|            "ivec2 minInvocationsAMD(ivec2);"
 2646|      4|            "ivec3 minInvocationsAMD(ivec3);"
 2647|      4|            "ivec4 minInvocationsAMD(ivec4);"
 2648|       |
 2649|      4|            "uint  minInvocationsAMD(uint);"
 2650|      4|            "uvec2 minInvocationsAMD(uvec2);"
 2651|      4|            "uvec3 minInvocationsAMD(uvec3);"
 2652|      4|            "uvec4 minInvocationsAMD(uvec4);"
 2653|       |
 2654|      4|            "double minInvocationsAMD(double);"
 2655|      4|            "dvec2  minInvocationsAMD(dvec2);"
 2656|      4|            "dvec3  minInvocationsAMD(dvec3);"
 2657|      4|            "dvec4  minInvocationsAMD(dvec4);"
 2658|       |
 2659|      4|            "int64_t minInvocationsAMD(int64_t);"
 2660|      4|            "i64vec2 minInvocationsAMD(i64vec2);"
 2661|      4|            "i64vec3 minInvocationsAMD(i64vec3);"
 2662|      4|            "i64vec4 minInvocationsAMD(i64vec4);"
 2663|       |
 2664|      4|            "uint64_t minInvocationsAMD(uint64_t);"
 2665|      4|            "u64vec2  minInvocationsAMD(u64vec2);"
 2666|      4|            "u64vec3  minInvocationsAMD(u64vec3);"
 2667|      4|            "u64vec4  minInvocationsAMD(u64vec4);"
 2668|       |
 2669|      4|            "float16_t minInvocationsAMD(float16_t);"
 2670|      4|            "f16vec2   minInvocationsAMD(f16vec2);"
 2671|      4|            "f16vec3   minInvocationsAMD(f16vec3);"
 2672|      4|            "f16vec4   minInvocationsAMD(f16vec4);"
 2673|       |
 2674|      4|            "int16_t minInvocationsAMD(int16_t);"
 2675|      4|            "i16vec2 minInvocationsAMD(i16vec2);"
 2676|      4|            "i16vec3 minInvocationsAMD(i16vec3);"
 2677|      4|            "i16vec4 minInvocationsAMD(i16vec4);"
 2678|       |
 2679|      4|            "uint16_t minInvocationsAMD(uint16_t);"
 2680|      4|            "u16vec2  minInvocationsAMD(u16vec2);"
 2681|      4|            "u16vec3  minInvocationsAMD(u16vec3);"
 2682|      4|            "u16vec4  minInvocationsAMD(u16vec4);"
 2683|       |
 2684|      4|            "float minInvocationsInclusiveScanAMD(float);"
 2685|      4|            "vec2  minInvocationsInclusiveScanAMD(vec2);"
 2686|      4|            "vec3  minInvocationsInclusiveScanAMD(vec3);"
 2687|      4|            "vec4  minInvocationsInclusiveScanAMD(vec4);"
 2688|       |
 2689|      4|            "int   minInvocationsInclusiveScanAMD(int);"
 2690|      4|            "ivec2 minInvocationsInclusiveScanAMD(ivec2);"
 2691|      4|            "ivec3 minInvocationsInclusiveScanAMD(ivec3);"
 2692|      4|            "ivec4 minInvocationsInclusiveScanAMD(ivec4);"
 2693|       |
 2694|      4|            "uint  minInvocationsInclusiveScanAMD(uint);"
 2695|      4|            "uvec2 minInvocationsInclusiveScanAMD(uvec2);"
 2696|      4|            "uvec3 minInvocationsInclusiveScanAMD(uvec3);"
 2697|      4|            "uvec4 minInvocationsInclusiveScanAMD(uvec4);"
 2698|       |
 2699|      4|            "double minInvocationsInclusiveScanAMD(double);"
 2700|      4|            "dvec2  minInvocationsInclusiveScanAMD(dvec2);"
 2701|      4|            "dvec3  minInvocationsInclusiveScanAMD(dvec3);"
 2702|      4|            "dvec4  minInvocationsInclusiveScanAMD(dvec4);"
 2703|       |
 2704|      4|            "int64_t minInvocationsInclusiveScanAMD(int64_t);"
 2705|      4|            "i64vec2 minInvocationsInclusiveScanAMD(i64vec2);"
 2706|      4|            "i64vec3 minInvocationsInclusiveScanAMD(i64vec3);"
 2707|      4|            "i64vec4 minInvocationsInclusiveScanAMD(i64vec4);"
 2708|       |
 2709|      4|            "uint64_t minInvocationsInclusiveScanAMD(uint64_t);"
 2710|      4|            "u64vec2  minInvocationsInclusiveScanAMD(u64vec2);"
 2711|      4|            "u64vec3  minInvocationsInclusiveScanAMD(u64vec3);"
 2712|      4|            "u64vec4  minInvocationsInclusiveScanAMD(u64vec4);"
 2713|       |
 2714|      4|            "float16_t minInvocationsInclusiveScanAMD(float16_t);"
 2715|      4|            "f16vec2   minInvocationsInclusiveScanAMD(f16vec2);"
 2716|      4|            "f16vec3   minInvocationsInclusiveScanAMD(f16vec3);"
 2717|      4|            "f16vec4   minInvocationsInclusiveScanAMD(f16vec4);"
 2718|       |
 2719|      4|            "int16_t minInvocationsInclusiveScanAMD(int16_t);"
 2720|      4|            "i16vec2 minInvocationsInclusiveScanAMD(i16vec2);"
 2721|      4|            "i16vec3 minInvocationsInclusiveScanAMD(i16vec3);"
 2722|      4|            "i16vec4 minInvocationsInclusiveScanAMD(i16vec4);"
 2723|       |
 2724|      4|            "uint16_t minInvocationsInclusiveScanAMD(uint16_t);"
 2725|      4|            "u16vec2  minInvocationsInclusiveScanAMD(u16vec2);"
 2726|      4|            "u16vec3  minInvocationsInclusiveScanAMD(u16vec3);"
 2727|      4|            "u16vec4  minInvocationsInclusiveScanAMD(u16vec4);"
 2728|       |
 2729|      4|            "float minInvocationsExclusiveScanAMD(float);"
 2730|      4|            "vec2  minInvocationsExclusiveScanAMD(vec2);"
 2731|      4|            "vec3  minInvocationsExclusiveScanAMD(vec3);"
 2732|      4|            "vec4  minInvocationsExclusiveScanAMD(vec4);"
 2733|       |
 2734|      4|            "int   minInvocationsExclusiveScanAMD(int);"
 2735|      4|            "ivec2 minInvocationsExclusiveScanAMD(ivec2);"
 2736|      4|            "ivec3 minInvocationsExclusiveScanAMD(ivec3);"
 2737|      4|            "ivec4 minInvocationsExclusiveScanAMD(ivec4);"
 2738|       |
 2739|      4|            "uint  minInvocationsExclusiveScanAMD(uint);"
 2740|      4|            "uvec2 minInvocationsExclusiveScanAMD(uvec2);"
 2741|      4|            "uvec3 minInvocationsExclusiveScanAMD(uvec3);"
 2742|      4|            "uvec4 minInvocationsExclusiveScanAMD(uvec4);"
 2743|       |
 2744|      4|            "double minInvocationsExclusiveScanAMD(double);"
 2745|      4|            "dvec2  minInvocationsExclusiveScanAMD(dvec2);"
 2746|      4|            "dvec3  minInvocationsExclusiveScanAMD(dvec3);"
 2747|      4|            "dvec4  minInvocationsExclusiveScanAMD(dvec4);"
 2748|       |
 2749|      4|            "int64_t minInvocationsExclusiveScanAMD(int64_t);"
 2750|      4|            "i64vec2 minInvocationsExclusiveScanAMD(i64vec2);"
 2751|      4|            "i64vec3 minInvocationsExclusiveScanAMD(i64vec3);"
 2752|      4|            "i64vec4 minInvocationsExclusiveScanAMD(i64vec4);"
 2753|       |
 2754|      4|            "uint64_t minInvocationsExclusiveScanAMD(uint64_t);"
 2755|      4|            "u64vec2  minInvocationsExclusiveScanAMD(u64vec2);"
 2756|      4|            "u64vec3  minInvocationsExclusiveScanAMD(u64vec3);"
 2757|      4|            "u64vec4  minInvocationsExclusiveScanAMD(u64vec4);"
 2758|       |
 2759|      4|            "float16_t minInvocationsExclusiveScanAMD(float16_t);"
 2760|      4|            "f16vec2   minInvocationsExclusiveScanAMD(f16vec2);"
 2761|      4|            "f16vec3   minInvocationsExclusiveScanAMD(f16vec3);"
 2762|      4|            "f16vec4   minInvocationsExclusiveScanAMD(f16vec4);"
 2763|       |
 2764|      4|            "int16_t minInvocationsExclusiveScanAMD(int16_t);"
 2765|      4|            "i16vec2 minInvocationsExclusiveScanAMD(i16vec2);"
 2766|      4|            "i16vec3 minInvocationsExclusiveScanAMD(i16vec3);"
 2767|      4|            "i16vec4 minInvocationsExclusiveScanAMD(i16vec4);"
 2768|       |
 2769|      4|            "uint16_t minInvocationsExclusiveScanAMD(uint16_t);"
 2770|      4|            "u16vec2  minInvocationsExclusiveScanAMD(u16vec2);"
 2771|      4|            "u16vec3  minInvocationsExclusiveScanAMD(u16vec3);"
 2772|      4|            "u16vec4  minInvocationsExclusiveScanAMD(u16vec4);"
 2773|       |
 2774|      4|            "float maxInvocationsAMD(float);"
 2775|      4|            "vec2  maxInvocationsAMD(vec2);"
 2776|      4|            "vec3  maxInvocationsAMD(vec3);"
 2777|      4|            "vec4  maxInvocationsAMD(vec4);"
 2778|       |
 2779|      4|            "int   maxInvocationsAMD(int);"
 2780|      4|            "ivec2 maxInvocationsAMD(ivec2);"
 2781|      4|            "ivec3 maxInvocationsAMD(ivec3);"
 2782|      4|            "ivec4 maxInvocationsAMD(ivec4);"
 2783|       |
 2784|      4|            "uint  maxInvocationsAMD(uint);"
 2785|      4|            "uvec2 maxInvocationsAMD(uvec2);"
 2786|      4|            "uvec3 maxInvocationsAMD(uvec3);"
 2787|      4|            "uvec4 maxInvocationsAMD(uvec4);"
 2788|       |
 2789|      4|            "double maxInvocationsAMD(double);"
 2790|      4|            "dvec2  maxInvocationsAMD(dvec2);"
 2791|      4|            "dvec3  maxInvocationsAMD(dvec3);"
 2792|      4|            "dvec4  maxInvocationsAMD(dvec4);"
 2793|       |
 2794|      4|            "int64_t maxInvocationsAMD(int64_t);"
 2795|      4|            "i64vec2 maxInvocationsAMD(i64vec2);"
 2796|      4|            "i64vec3 maxInvocationsAMD(i64vec3);"
 2797|      4|            "i64vec4 maxInvocationsAMD(i64vec4);"
 2798|       |
 2799|      4|            "uint64_t maxInvocationsAMD(uint64_t);"
 2800|      4|            "u64vec2  maxInvocationsAMD(u64vec2);"
 2801|      4|            "u64vec3  maxInvocationsAMD(u64vec3);"
 2802|      4|            "u64vec4  maxInvocationsAMD(u64vec4);"
 2803|       |
 2804|      4|            "float16_t maxInvocationsAMD(float16_t);"
 2805|      4|            "f16vec2   maxInvocationsAMD(f16vec2);"
 2806|      4|            "f16vec3   maxInvocationsAMD(f16vec3);"
 2807|      4|            "f16vec4   maxInvocationsAMD(f16vec4);"
 2808|       |
 2809|      4|            "int16_t maxInvocationsAMD(int16_t);"
 2810|      4|            "i16vec2 maxInvocationsAMD(i16vec2);"
 2811|      4|            "i16vec3 maxInvocationsAMD(i16vec3);"
 2812|      4|            "i16vec4 maxInvocationsAMD(i16vec4);"
 2813|       |
 2814|      4|            "uint16_t maxInvocationsAMD(uint16_t);"
 2815|      4|            "u16vec2  maxInvocationsAMD(u16vec2);"
 2816|      4|            "u16vec3  maxInvocationsAMD(u16vec3);"
 2817|      4|            "u16vec4  maxInvocationsAMD(u16vec4);"
 2818|       |
 2819|      4|            "float maxInvocationsInclusiveScanAMD(float);"
 2820|      4|            "vec2  maxInvocationsInclusiveScanAMD(vec2);"
 2821|      4|            "vec3  maxInvocationsInclusiveScanAMD(vec3);"
 2822|      4|            "vec4  maxInvocationsInclusiveScanAMD(vec4);"
 2823|       |
 2824|      4|            "int   maxInvocationsInclusiveScanAMD(int);"
 2825|      4|            "ivec2 maxInvocationsInclusiveScanAMD(ivec2);"
 2826|      4|            "ivec3 maxInvocationsInclusiveScanAMD(ivec3);"
 2827|      4|            "ivec4 maxInvocationsInclusiveScanAMD(ivec4);"
 2828|       |
 2829|      4|            "uint  maxInvocationsInclusiveScanAMD(uint);"
 2830|      4|            "uvec2 maxInvocationsInclusiveScanAMD(uvec2);"
 2831|      4|            "uvec3 maxInvocationsInclusiveScanAMD(uvec3);"
 2832|      4|            "uvec4 maxInvocationsInclusiveScanAMD(uvec4);"
 2833|       |
 2834|      4|            "double maxInvocationsInclusiveScanAMD(double);"
 2835|      4|            "dvec2  maxInvocationsInclusiveScanAMD(dvec2);"
 2836|      4|            "dvec3  maxInvocationsInclusiveScanAMD(dvec3);"
 2837|      4|            "dvec4  maxInvocationsInclusiveScanAMD(dvec4);"
 2838|       |
 2839|      4|            "int64_t maxInvocationsInclusiveScanAMD(int64_t);"
 2840|      4|            "i64vec2 maxInvocationsInclusiveScanAMD(i64vec2);"
 2841|      4|            "i64vec3 maxInvocationsInclusiveScanAMD(i64vec3);"
 2842|      4|            "i64vec4 maxInvocationsInclusiveScanAMD(i64vec4);"
 2843|       |
 2844|      4|            "uint64_t maxInvocationsInclusiveScanAMD(uint64_t);"
 2845|      4|            "u64vec2  maxInvocationsInclusiveScanAMD(u64vec2);"
 2846|      4|            "u64vec3  maxInvocationsInclusiveScanAMD(u64vec3);"
 2847|      4|            "u64vec4  maxInvocationsInclusiveScanAMD(u64vec4);"
 2848|       |
 2849|      4|            "float16_t maxInvocationsInclusiveScanAMD(float16_t);"
 2850|      4|            "f16vec2   maxInvocationsInclusiveScanAMD(f16vec2);"
 2851|      4|            "f16vec3   maxInvocationsInclusiveScanAMD(f16vec3);"
 2852|      4|            "f16vec4   maxInvocationsInclusiveScanAMD(f16vec4);"
 2853|       |
 2854|      4|            "int16_t maxInvocationsInclusiveScanAMD(int16_t);"
 2855|      4|            "i16vec2 maxInvocationsInclusiveScanAMD(i16vec2);"
 2856|      4|            "i16vec3 maxInvocationsInclusiveScanAMD(i16vec3);"
 2857|      4|            "i16vec4 maxInvocationsInclusiveScanAMD(i16vec4);"
 2858|       |
 2859|      4|            "uint16_t maxInvocationsInclusiveScanAMD(uint16_t);"
 2860|      4|            "u16vec2  maxInvocationsInclusiveScanAMD(u16vec2);"
 2861|      4|            "u16vec3  maxInvocationsInclusiveScanAMD(u16vec3);"
 2862|      4|            "u16vec4  maxInvocationsInclusiveScanAMD(u16vec4);"
 2863|       |
 2864|      4|            "float maxInvocationsExclusiveScanAMD(float);"
 2865|      4|            "vec2  maxInvocationsExclusiveScanAMD(vec2);"
 2866|      4|            "vec3  maxInvocationsExclusiveScanAMD(vec3);"
 2867|      4|            "vec4  maxInvocationsExclusiveScanAMD(vec4);"
 2868|       |
 2869|      4|            "int   maxInvocationsExclusiveScanAMD(int);"
 2870|      4|            "ivec2 maxInvocationsExclusiveScanAMD(ivec2);"
 2871|      4|            "ivec3 maxInvocationsExclusiveScanAMD(ivec3);"
 2872|      4|            "ivec4 maxInvocationsExclusiveScanAMD(ivec4);"
 2873|       |
 2874|      4|            "uint  maxInvocationsExclusiveScanAMD(uint);"
 2875|      4|            "uvec2 maxInvocationsExclusiveScanAMD(uvec2);"
 2876|      4|            "uvec3 maxInvocationsExclusiveScanAMD(uvec3);"
 2877|      4|            "uvec4 maxInvocationsExclusiveScanAMD(uvec4);"
 2878|       |
 2879|      4|            "double maxInvocationsExclusiveScanAMD(double);"
 2880|      4|            "dvec2  maxInvocationsExclusiveScanAMD(dvec2);"
 2881|      4|            "dvec3  maxInvocationsExclusiveScanAMD(dvec3);"
 2882|      4|            "dvec4  maxInvocationsExclusiveScanAMD(dvec4);"
 2883|       |
 2884|      4|            "int64_t maxInvocationsExclusiveScanAMD(int64_t);"
 2885|      4|            "i64vec2 maxInvocationsExclusiveScanAMD(i64vec2);"
 2886|      4|            "i64vec3 maxInvocationsExclusiveScanAMD(i64vec3);"
 2887|      4|            "i64vec4 maxInvocationsExclusiveScanAMD(i64vec4);"
 2888|       |
 2889|      4|            "uint64_t maxInvocationsExclusiveScanAMD(uint64_t);"
 2890|      4|            "u64vec2  maxInvocationsExclusiveScanAMD(u64vec2);"
 2891|      4|            "u64vec3  maxInvocationsExclusiveScanAMD(u64vec3);"
 2892|      4|            "u64vec4  maxInvocationsExclusiveScanAMD(u64vec4);"
 2893|       |
 2894|      4|            "float16_t maxInvocationsExclusiveScanAMD(float16_t);"
 2895|      4|            "f16vec2   maxInvocationsExclusiveScanAMD(f16vec2);"
 2896|      4|            "f16vec3   maxInvocationsExclusiveScanAMD(f16vec3);"
 2897|      4|            "f16vec4   maxInvocationsExclusiveScanAMD(f16vec4);"
 2898|       |
 2899|      4|            "int16_t maxInvocationsExclusiveScanAMD(int16_t);"
 2900|      4|            "i16vec2 maxInvocationsExclusiveScanAMD(i16vec2);"
 2901|      4|            "i16vec3 maxInvocationsExclusiveScanAMD(i16vec3);"
 2902|      4|            "i16vec4 maxInvocationsExclusiveScanAMD(i16vec4);"
 2903|       |
 2904|      4|            "uint16_t maxInvocationsExclusiveScanAMD(uint16_t);"
 2905|      4|            "u16vec2  maxInvocationsExclusiveScanAMD(u16vec2);"
 2906|      4|            "u16vec3  maxInvocationsExclusiveScanAMD(u16vec3);"
 2907|      4|            "u16vec4  maxInvocationsExclusiveScanAMD(u16vec4);"
 2908|       |
 2909|      4|            "float addInvocationsAMD(float);"
 2910|      4|            "vec2  addInvocationsAMD(vec2);"
 2911|      4|            "vec3  addInvocationsAMD(vec3);"
 2912|      4|            "vec4  addInvocationsAMD(vec4);"
 2913|       |
 2914|      4|            "int   addInvocationsAMD(int);"
 2915|      4|            "ivec2 addInvocationsAMD(ivec2);"
 2916|      4|            "ivec3 addInvocationsAMD(ivec3);"
 2917|      4|            "ivec4 addInvocationsAMD(ivec4);"
 2918|       |
 2919|      4|            "uint  addInvocationsAMD(uint);"
 2920|      4|            "uvec2 addInvocationsAMD(uvec2);"
 2921|      4|            "uvec3 addInvocationsAMD(uvec3);"
 2922|      4|            "uvec4 addInvocationsAMD(uvec4);"
 2923|       |
 2924|      4|            "double  addInvocationsAMD(double);"
 2925|      4|            "dvec2   addInvocationsAMD(dvec2);"
 2926|      4|            "dvec3   addInvocationsAMD(dvec3);"
 2927|      4|            "dvec4   addInvocationsAMD(dvec4);"
 2928|       |
 2929|      4|            "int64_t addInvocationsAMD(int64_t);"
 2930|      4|            "i64vec2 addInvocationsAMD(i64vec2);"
 2931|      4|            "i64vec3 addInvocationsAMD(i64vec3);"
 2932|      4|            "i64vec4 addInvocationsAMD(i64vec4);"
 2933|       |
 2934|      4|            "uint64_t addInvocationsAMD(uint64_t);"
 2935|      4|            "u64vec2  addInvocationsAMD(u64vec2);"
 2936|      4|            "u64vec3  addInvocationsAMD(u64vec3);"
 2937|      4|            "u64vec4  addInvocationsAMD(u64vec4);"
 2938|       |
 2939|      4|            "float16_t addInvocationsAMD(float16_t);"
 2940|      4|            "f16vec2   addInvocationsAMD(f16vec2);"
 2941|      4|            "f16vec3   addInvocationsAMD(f16vec3);"
 2942|      4|            "f16vec4   addInvocationsAMD(f16vec4);"
 2943|       |
 2944|      4|            "int16_t addInvocationsAMD(int16_t);"
 2945|      4|            "i16vec2 addInvocationsAMD(i16vec2);"
 2946|      4|            "i16vec3 addInvocationsAMD(i16vec3);"
 2947|      4|            "i16vec4 addInvocationsAMD(i16vec4);"
 2948|       |
 2949|      4|            "uint16_t addInvocationsAMD(uint16_t);"
 2950|      4|            "u16vec2  addInvocationsAMD(u16vec2);"
 2951|      4|            "u16vec3  addInvocationsAMD(u16vec3);"
 2952|      4|            "u16vec4  addInvocationsAMD(u16vec4);"
 2953|       |
 2954|      4|            "float addInvocationsInclusiveScanAMD(float);"
 2955|      4|            "vec2  addInvocationsInclusiveScanAMD(vec2);"
 2956|      4|            "vec3  addInvocationsInclusiveScanAMD(vec3);"
 2957|      4|            "vec4  addInvocationsInclusiveScanAMD(vec4);"
 2958|       |
 2959|      4|            "int   addInvocationsInclusiveScanAMD(int);"
 2960|      4|            "ivec2 addInvocationsInclusiveScanAMD(ivec2);"
 2961|      4|            "ivec3 addInvocationsInclusiveScanAMD(ivec3);"
 2962|      4|            "ivec4 addInvocationsInclusiveScanAMD(ivec4);"
 2963|       |
 2964|      4|            "uint  addInvocationsInclusiveScanAMD(uint);"
 2965|      4|            "uvec2 addInvocationsInclusiveScanAMD(uvec2);"
 2966|      4|            "uvec3 addInvocationsInclusiveScanAMD(uvec3);"
 2967|      4|            "uvec4 addInvocationsInclusiveScanAMD(uvec4);"
 2968|       |
 2969|      4|            "double  addInvocationsInclusiveScanAMD(double);"
 2970|      4|            "dvec2   addInvocationsInclusiveScanAMD(dvec2);"
 2971|      4|            "dvec3   addInvocationsInclusiveScanAMD(dvec3);"
 2972|      4|            "dvec4   addInvocationsInclusiveScanAMD(dvec4);"
 2973|       |
 2974|      4|            "int64_t addInvocationsInclusiveScanAMD(int64_t);"
 2975|      4|            "i64vec2 addInvocationsInclusiveScanAMD(i64vec2);"
 2976|      4|            "i64vec3 addInvocationsInclusiveScanAMD(i64vec3);"
 2977|      4|            "i64vec4 addInvocationsInclusiveScanAMD(i64vec4);"
 2978|       |
 2979|      4|            "uint64_t addInvocationsInclusiveScanAMD(uint64_t);"
 2980|      4|            "u64vec2  addInvocationsInclusiveScanAMD(u64vec2);"
 2981|      4|            "u64vec3  addInvocationsInclusiveScanAMD(u64vec3);"
 2982|      4|            "u64vec4  addInvocationsInclusiveScanAMD(u64vec4);"
 2983|       |
 2984|      4|            "float16_t addInvocationsInclusiveScanAMD(float16_t);"
 2985|      4|            "f16vec2   addInvocationsInclusiveScanAMD(f16vec2);"
 2986|      4|            "f16vec3   addInvocationsInclusiveScanAMD(f16vec3);"
 2987|      4|            "f16vec4   addInvocationsInclusiveScanAMD(f16vec4);"
 2988|       |
 2989|      4|            "int16_t addInvocationsInclusiveScanAMD(int16_t);"
 2990|      4|            "i16vec2 addInvocationsInclusiveScanAMD(i16vec2);"
 2991|      4|            "i16vec3 addInvocationsInclusiveScanAMD(i16vec3);"
 2992|      4|            "i16vec4 addInvocationsInclusiveScanAMD(i16vec4);"
 2993|       |
 2994|      4|            "uint16_t addInvocationsInclusiveScanAMD(uint16_t);"
 2995|      4|            "u16vec2  addInvocationsInclusiveScanAMD(u16vec2);"
 2996|      4|            "u16vec3  addInvocationsInclusiveScanAMD(u16vec3);"
 2997|      4|            "u16vec4  addInvocationsInclusiveScanAMD(u16vec4);"
 2998|       |
 2999|      4|            "float addInvocationsExclusiveScanAMD(float);"
 3000|      4|            "vec2  addInvocationsExclusiveScanAMD(vec2);"
 3001|      4|            "vec3  addInvocationsExclusiveScanAMD(vec3);"
 3002|      4|            "vec4  addInvocationsExclusiveScanAMD(vec4);"
 3003|       |
 3004|      4|            "int   addInvocationsExclusiveScanAMD(int);"
 3005|      4|            "ivec2 addInvocationsExclusiveScanAMD(ivec2);"
 3006|      4|            "ivec3 addInvocationsExclusiveScanAMD(ivec3);"
 3007|      4|            "ivec4 addInvocationsExclusiveScanAMD(ivec4);"
 3008|       |
 3009|      4|            "uint  addInvocationsExclusiveScanAMD(uint);"
 3010|      4|            "uvec2 addInvocationsExclusiveScanAMD(uvec2);"
 3011|      4|            "uvec3 addInvocationsExclusiveScanAMD(uvec3);"
 3012|      4|            "uvec4 addInvocationsExclusiveScanAMD(uvec4);"
 3013|       |
 3014|      4|            "double  addInvocationsExclusiveScanAMD(double);"
 3015|      4|            "dvec2   addInvocationsExclusiveScanAMD(dvec2);"
 3016|      4|            "dvec3   addInvocationsExclusiveScanAMD(dvec3);"
 3017|      4|            "dvec4   addInvocationsExclusiveScanAMD(dvec4);"
 3018|       |
 3019|      4|            "int64_t addInvocationsExclusiveScanAMD(int64_t);"
 3020|      4|            "i64vec2 addInvocationsExclusiveScanAMD(i64vec2);"
 3021|      4|            "i64vec3 addInvocationsExclusiveScanAMD(i64vec3);"
 3022|      4|            "i64vec4 addInvocationsExclusiveScanAMD(i64vec4);"
 3023|       |
 3024|      4|            "uint64_t addInvocationsExclusiveScanAMD(uint64_t);"
 3025|      4|            "u64vec2  addInvocationsExclusiveScanAMD(u64vec2);"
 3026|      4|            "u64vec3  addInvocationsExclusiveScanAMD(u64vec3);"
 3027|      4|            "u64vec4  addInvocationsExclusiveScanAMD(u64vec4);"
 3028|       |
 3029|      4|            "float16_t addInvocationsExclusiveScanAMD(float16_t);"
 3030|      4|            "f16vec2   addInvocationsExclusiveScanAMD(f16vec2);"
 3031|      4|            "f16vec3   addInvocationsExclusiveScanAMD(f16vec3);"
 3032|      4|            "f16vec4   addInvocationsExclusiveScanAMD(f16vec4);"
 3033|       |
 3034|      4|            "int16_t addInvocationsExclusiveScanAMD(int16_t);"
 3035|      4|            "i16vec2 addInvocationsExclusiveScanAMD(i16vec2);"
 3036|      4|            "i16vec3 addInvocationsExclusiveScanAMD(i16vec3);"
 3037|      4|            "i16vec4 addInvocationsExclusiveScanAMD(i16vec4);"
 3038|       |
 3039|      4|            "uint16_t addInvocationsExclusiveScanAMD(uint16_t);"
 3040|      4|            "u16vec2  addInvocationsExclusiveScanAMD(u16vec2);"
 3041|      4|            "u16vec3  addInvocationsExclusiveScanAMD(u16vec3);"
 3042|      4|            "u16vec4  addInvocationsExclusiveScanAMD(u16vec4);"
 3043|       |
 3044|      4|            "float minInvocationsNonUniformAMD(float);"
 3045|      4|            "vec2  minInvocationsNonUniformAMD(vec2);"
 3046|      4|            "vec3  minInvocationsNonUniformAMD(vec3);"
 3047|      4|            "vec4  minInvocationsNonUniformAMD(vec4);"
 3048|       |
 3049|      4|            "int   minInvocationsNonUniformAMD(int);"
 3050|      4|            "ivec2 minInvocationsNonUniformAMD(ivec2);"
 3051|      4|            "ivec3 minInvocationsNonUniformAMD(ivec3);"
 3052|      4|            "ivec4 minInvocationsNonUniformAMD(ivec4);"
 3053|       |
 3054|      4|            "uint  minInvocationsNonUniformAMD(uint);"
 3055|      4|            "uvec2 minInvocationsNonUniformAMD(uvec2);"
 3056|      4|            "uvec3 minInvocationsNonUniformAMD(uvec3);"
 3057|      4|            "uvec4 minInvocationsNonUniformAMD(uvec4);"
 3058|       |
 3059|      4|            "double minInvocationsNonUniformAMD(double);"
 3060|      4|            "dvec2  minInvocationsNonUniformAMD(dvec2);"
 3061|      4|            "dvec3  minInvocationsNonUniformAMD(dvec3);"
 3062|      4|            "dvec4  minInvocationsNonUniformAMD(dvec4);"
 3063|       |
 3064|      4|            "int64_t minInvocationsNonUniformAMD(int64_t);"
 3065|      4|            "i64vec2 minInvocationsNonUniformAMD(i64vec2);"
 3066|      4|            "i64vec3 minInvocationsNonUniformAMD(i64vec3);"
 3067|      4|            "i64vec4 minInvocationsNonUniformAMD(i64vec4);"
 3068|       |
 3069|      4|            "uint64_t minInvocationsNonUniformAMD(uint64_t);"
 3070|      4|            "u64vec2  minInvocationsNonUniformAMD(u64vec2);"
 3071|      4|            "u64vec3  minInvocationsNonUniformAMD(u64vec3);"
 3072|      4|            "u64vec4  minInvocationsNonUniformAMD(u64vec4);"
 3073|       |
 3074|      4|            "float16_t minInvocationsNonUniformAMD(float16_t);"
 3075|      4|            "f16vec2   minInvocationsNonUniformAMD(f16vec2);"
 3076|      4|            "f16vec3   minInvocationsNonUniformAMD(f16vec3);"
 3077|      4|            "f16vec4   minInvocationsNonUniformAMD(f16vec4);"
 3078|       |
 3079|      4|            "int16_t minInvocationsNonUniformAMD(int16_t);"
 3080|      4|            "i16vec2 minInvocationsNonUniformAMD(i16vec2);"
 3081|      4|            "i16vec3 minInvocationsNonUniformAMD(i16vec3);"
 3082|      4|            "i16vec4 minInvocationsNonUniformAMD(i16vec4);"
 3083|       |
 3084|      4|            "uint16_t minInvocationsNonUniformAMD(uint16_t);"
 3085|      4|            "u16vec2  minInvocationsNonUniformAMD(u16vec2);"
 3086|      4|            "u16vec3  minInvocationsNonUniformAMD(u16vec3);"
 3087|      4|            "u16vec4  minInvocationsNonUniformAMD(u16vec4);"
 3088|       |
 3089|      4|            "float minInvocationsInclusiveScanNonUniformAMD(float);"
 3090|      4|            "vec2  minInvocationsInclusiveScanNonUniformAMD(vec2);"
 3091|      4|            "vec3  minInvocationsInclusiveScanNonUniformAMD(vec3);"
 3092|      4|            "vec4  minInvocationsInclusiveScanNonUniformAMD(vec4);"
 3093|       |
 3094|      4|            "int   minInvocationsInclusiveScanNonUniformAMD(int);"
 3095|      4|            "ivec2 minInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3096|      4|            "ivec3 minInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3097|      4|            "ivec4 minInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3098|       |
 3099|      4|            "uint  minInvocationsInclusiveScanNonUniformAMD(uint);"
 3100|      4|            "uvec2 minInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3101|      4|            "uvec3 minInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3102|      4|            "uvec4 minInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3103|       |
 3104|      4|            "double minInvocationsInclusiveScanNonUniformAMD(double);"
 3105|      4|            "dvec2  minInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3106|      4|            "dvec3  minInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3107|      4|            "dvec4  minInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3108|       |
 3109|      4|            "int64_t minInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3110|      4|            "i64vec2 minInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3111|      4|            "i64vec3 minInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3112|      4|            "i64vec4 minInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3113|       |
 3114|      4|            "uint64_t minInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3115|      4|            "u64vec2  minInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3116|      4|            "u64vec3  minInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3117|      4|            "u64vec4  minInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3118|       |
 3119|      4|            "float16_t minInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3120|      4|            "f16vec2   minInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3121|      4|            "f16vec3   minInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3122|      4|            "f16vec4   minInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3123|       |
 3124|      4|            "int16_t minInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3125|      4|            "i16vec2 minInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3126|      4|            "i16vec3 minInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3127|      4|            "i16vec4 minInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3128|       |
 3129|      4|            "uint16_t minInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3130|      4|            "u16vec2  minInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3131|      4|            "u16vec3  minInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3132|      4|            "u16vec4  minInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3133|       |
 3134|      4|            "float minInvocationsExclusiveScanNonUniformAMD(float);"
 3135|      4|            "vec2  minInvocationsExclusiveScanNonUniformAMD(vec2);"
 3136|      4|            "vec3  minInvocationsExclusiveScanNonUniformAMD(vec3);"
 3137|      4|            "vec4  minInvocationsExclusiveScanNonUniformAMD(vec4);"
 3138|       |
 3139|      4|            "int   minInvocationsExclusiveScanNonUniformAMD(int);"
 3140|      4|            "ivec2 minInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3141|      4|            "ivec3 minInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3142|      4|            "ivec4 minInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3143|       |
 3144|      4|            "uint  minInvocationsExclusiveScanNonUniformAMD(uint);"
 3145|      4|            "uvec2 minInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3146|      4|            "uvec3 minInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3147|      4|            "uvec4 minInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3148|       |
 3149|      4|            "double minInvocationsExclusiveScanNonUniformAMD(double);"
 3150|      4|            "dvec2  minInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3151|      4|            "dvec3  minInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3152|      4|            "dvec4  minInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3153|       |
 3154|      4|            "int64_t minInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3155|      4|            "i64vec2 minInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3156|      4|            "i64vec3 minInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3157|      4|            "i64vec4 minInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3158|       |
 3159|      4|            "uint64_t minInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3160|      4|            "u64vec2  minInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3161|      4|            "u64vec3  minInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3162|      4|            "u64vec4  minInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3163|       |
 3164|      4|            "float16_t minInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3165|      4|            "f16vec2   minInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3166|      4|            "f16vec3   minInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3167|      4|            "f16vec4   minInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3168|       |
 3169|      4|            "int16_t minInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3170|      4|            "i16vec2 minInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3171|      4|            "i16vec3 minInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3172|      4|            "i16vec4 minInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3173|       |
 3174|      4|            "uint16_t minInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3175|      4|            "u16vec2  minInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3176|      4|            "u16vec3  minInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3177|      4|            "u16vec4  minInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3178|       |
 3179|      4|            "float maxInvocationsNonUniformAMD(float);"
 3180|      4|            "vec2  maxInvocationsNonUniformAMD(vec2);"
 3181|      4|            "vec3  maxInvocationsNonUniformAMD(vec3);"
 3182|      4|            "vec4  maxInvocationsNonUniformAMD(vec4);"
 3183|       |
 3184|      4|            "int   maxInvocationsNonUniformAMD(int);"
 3185|      4|            "ivec2 maxInvocationsNonUniformAMD(ivec2);"
 3186|      4|            "ivec3 maxInvocationsNonUniformAMD(ivec3);"
 3187|      4|            "ivec4 maxInvocationsNonUniformAMD(ivec4);"
 3188|       |
 3189|      4|            "uint  maxInvocationsNonUniformAMD(uint);"
 3190|      4|            "uvec2 maxInvocationsNonUniformAMD(uvec2);"
 3191|      4|            "uvec3 maxInvocationsNonUniformAMD(uvec3);"
 3192|      4|            "uvec4 maxInvocationsNonUniformAMD(uvec4);"
 3193|       |
 3194|      4|            "double maxInvocationsNonUniformAMD(double);"
 3195|      4|            "dvec2  maxInvocationsNonUniformAMD(dvec2);"
 3196|      4|            "dvec3  maxInvocationsNonUniformAMD(dvec3);"
 3197|      4|            "dvec4  maxInvocationsNonUniformAMD(dvec4);"
 3198|       |
 3199|      4|            "int64_t maxInvocationsNonUniformAMD(int64_t);"
 3200|      4|            "i64vec2 maxInvocationsNonUniformAMD(i64vec2);"
 3201|      4|            "i64vec3 maxInvocationsNonUniformAMD(i64vec3);"
 3202|      4|            "i64vec4 maxInvocationsNonUniformAMD(i64vec4);"
 3203|       |
 3204|      4|            "uint64_t maxInvocationsNonUniformAMD(uint64_t);"
 3205|      4|            "u64vec2  maxInvocationsNonUniformAMD(u64vec2);"
 3206|      4|            "u64vec3  maxInvocationsNonUniformAMD(u64vec3);"
 3207|      4|            "u64vec4  maxInvocationsNonUniformAMD(u64vec4);"
 3208|       |
 3209|      4|            "float16_t maxInvocationsNonUniformAMD(float16_t);"
 3210|      4|            "f16vec2   maxInvocationsNonUniformAMD(f16vec2);"
 3211|      4|            "f16vec3   maxInvocationsNonUniformAMD(f16vec3);"
 3212|      4|            "f16vec4   maxInvocationsNonUniformAMD(f16vec4);"
 3213|       |
 3214|      4|            "int16_t maxInvocationsNonUniformAMD(int16_t);"
 3215|      4|            "i16vec2 maxInvocationsNonUniformAMD(i16vec2);"
 3216|      4|            "i16vec3 maxInvocationsNonUniformAMD(i16vec3);"
 3217|      4|            "i16vec4 maxInvocationsNonUniformAMD(i16vec4);"
 3218|       |
 3219|      4|            "uint16_t maxInvocationsNonUniformAMD(uint16_t);"
 3220|      4|            "u16vec2  maxInvocationsNonUniformAMD(u16vec2);"
 3221|      4|            "u16vec3  maxInvocationsNonUniformAMD(u16vec3);"
 3222|      4|            "u16vec4  maxInvocationsNonUniformAMD(u16vec4);"
 3223|       |
 3224|      4|            "float maxInvocationsInclusiveScanNonUniformAMD(float);"
 3225|      4|            "vec2  maxInvocationsInclusiveScanNonUniformAMD(vec2);"
 3226|      4|            "vec3  maxInvocationsInclusiveScanNonUniformAMD(vec3);"
 3227|      4|            "vec4  maxInvocationsInclusiveScanNonUniformAMD(vec4);"
 3228|       |
 3229|      4|            "int   maxInvocationsInclusiveScanNonUniformAMD(int);"
 3230|      4|            "ivec2 maxInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3231|      4|            "ivec3 maxInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3232|      4|            "ivec4 maxInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3233|       |
 3234|      4|            "uint  maxInvocationsInclusiveScanNonUniformAMD(uint);"
 3235|      4|            "uvec2 maxInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3236|      4|            "uvec3 maxInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3237|      4|            "uvec4 maxInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3238|       |
 3239|      4|            "double maxInvocationsInclusiveScanNonUniformAMD(double);"
 3240|      4|            "dvec2  maxInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3241|      4|            "dvec3  maxInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3242|      4|            "dvec4  maxInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3243|       |
 3244|      4|            "int64_t maxInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3245|      4|            "i64vec2 maxInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3246|      4|            "i64vec3 maxInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3247|      4|            "i64vec4 maxInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3248|       |
 3249|      4|            "uint64_t maxInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3250|      4|            "u64vec2  maxInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3251|      4|            "u64vec3  maxInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3252|      4|            "u64vec4  maxInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3253|       |
 3254|      4|            "float16_t maxInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3255|      4|            "f16vec2   maxInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3256|      4|            "f16vec3   maxInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3257|      4|            "f16vec4   maxInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3258|       |
 3259|      4|            "int16_t maxInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3260|      4|            "i16vec2 maxInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3261|      4|            "i16vec3 maxInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3262|      4|            "i16vec4 maxInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3263|       |
 3264|      4|            "uint16_t maxInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3265|      4|            "u16vec2  maxInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3266|      4|            "u16vec3  maxInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3267|      4|            "u16vec4  maxInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3268|       |
 3269|      4|            "float maxInvocationsExclusiveScanNonUniformAMD(float);"
 3270|      4|            "vec2  maxInvocationsExclusiveScanNonUniformAMD(vec2);"
 3271|      4|            "vec3  maxInvocationsExclusiveScanNonUniformAMD(vec3);"
 3272|      4|            "vec4  maxInvocationsExclusiveScanNonUniformAMD(vec4);"
 3273|       |
 3274|      4|            "int   maxInvocationsExclusiveScanNonUniformAMD(int);"
 3275|      4|            "ivec2 maxInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3276|      4|            "ivec3 maxInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3277|      4|            "ivec4 maxInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3278|       |
 3279|      4|            "uint  maxInvocationsExclusiveScanNonUniformAMD(uint);"
 3280|      4|            "uvec2 maxInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3281|      4|            "uvec3 maxInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3282|      4|            "uvec4 maxInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3283|       |
 3284|      4|            "double maxInvocationsExclusiveScanNonUniformAMD(double);"
 3285|      4|            "dvec2  maxInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3286|      4|            "dvec3  maxInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3287|      4|            "dvec4  maxInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3288|       |
 3289|      4|            "int64_t maxInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3290|      4|            "i64vec2 maxInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3291|      4|            "i64vec3 maxInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3292|      4|            "i64vec4 maxInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3293|       |
 3294|      4|            "uint64_t maxInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3295|      4|            "u64vec2  maxInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3296|      4|            "u64vec3  maxInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3297|      4|            "u64vec4  maxInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3298|       |
 3299|      4|            "float16_t maxInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3300|      4|            "f16vec2   maxInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3301|      4|            "f16vec3   maxInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3302|      4|            "f16vec4   maxInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3303|       |
 3304|      4|            "int16_t maxInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3305|      4|            "i16vec2 maxInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3306|      4|            "i16vec3 maxInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3307|      4|            "i16vec4 maxInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3308|       |
 3309|      4|            "uint16_t maxInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3310|      4|            "u16vec2  maxInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3311|      4|            "u16vec3  maxInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3312|      4|            "u16vec4  maxInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3313|       |
 3314|      4|            "float addInvocationsNonUniformAMD(float);"
 3315|      4|            "vec2  addInvocationsNonUniformAMD(vec2);"
 3316|      4|            "vec3  addInvocationsNonUniformAMD(vec3);"
 3317|      4|            "vec4  addInvocationsNonUniformAMD(vec4);"
 3318|       |
 3319|      4|            "int   addInvocationsNonUniformAMD(int);"
 3320|      4|            "ivec2 addInvocationsNonUniformAMD(ivec2);"
 3321|      4|            "ivec3 addInvocationsNonUniformAMD(ivec3);"
 3322|      4|            "ivec4 addInvocationsNonUniformAMD(ivec4);"
 3323|       |
 3324|      4|            "uint  addInvocationsNonUniformAMD(uint);"
 3325|      4|            "uvec2 addInvocationsNonUniformAMD(uvec2);"
 3326|      4|            "uvec3 addInvocationsNonUniformAMD(uvec3);"
 3327|      4|            "uvec4 addInvocationsNonUniformAMD(uvec4);"
 3328|       |
 3329|      4|            "double addInvocationsNonUniformAMD(double);"
 3330|      4|            "dvec2  addInvocationsNonUniformAMD(dvec2);"
 3331|      4|            "dvec3  addInvocationsNonUniformAMD(dvec3);"
 3332|      4|            "dvec4  addInvocationsNonUniformAMD(dvec4);"
 3333|       |
 3334|      4|            "int64_t addInvocationsNonUniformAMD(int64_t);"
 3335|      4|            "i64vec2 addInvocationsNonUniformAMD(i64vec2);"
 3336|      4|            "i64vec3 addInvocationsNonUniformAMD(i64vec3);"
 3337|      4|            "i64vec4 addInvocationsNonUniformAMD(i64vec4);"
 3338|       |
 3339|      4|            "uint64_t addInvocationsNonUniformAMD(uint64_t);"
 3340|      4|            "u64vec2  addInvocationsNonUniformAMD(u64vec2);"
 3341|      4|            "u64vec3  addInvocationsNonUniformAMD(u64vec3);"
 3342|      4|            "u64vec4  addInvocationsNonUniformAMD(u64vec4);"
 3343|       |
 3344|      4|            "float16_t addInvocationsNonUniformAMD(float16_t);"
 3345|      4|            "f16vec2   addInvocationsNonUniformAMD(f16vec2);"
 3346|      4|            "f16vec3   addInvocationsNonUniformAMD(f16vec3);"
 3347|      4|            "f16vec4   addInvocationsNonUniformAMD(f16vec4);"
 3348|       |
 3349|      4|            "int16_t addInvocationsNonUniformAMD(int16_t);"
 3350|      4|            "i16vec2 addInvocationsNonUniformAMD(i16vec2);"
 3351|      4|            "i16vec3 addInvocationsNonUniformAMD(i16vec3);"
 3352|      4|            "i16vec4 addInvocationsNonUniformAMD(i16vec4);"
 3353|       |
 3354|      4|            "uint16_t addInvocationsNonUniformAMD(uint16_t);"
 3355|      4|            "u16vec2  addInvocationsNonUniformAMD(u16vec2);"
 3356|      4|            "u16vec3  addInvocationsNonUniformAMD(u16vec3);"
 3357|      4|            "u16vec4  addInvocationsNonUniformAMD(u16vec4);"
 3358|       |
 3359|      4|            "float addInvocationsInclusiveScanNonUniformAMD(float);"
 3360|      4|            "vec2  addInvocationsInclusiveScanNonUniformAMD(vec2);"
 3361|      4|            "vec3  addInvocationsInclusiveScanNonUniformAMD(vec3);"
 3362|      4|            "vec4  addInvocationsInclusiveScanNonUniformAMD(vec4);"
 3363|       |
 3364|      4|            "int   addInvocationsInclusiveScanNonUniformAMD(int);"
 3365|      4|            "ivec2 addInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3366|      4|            "ivec3 addInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3367|      4|            "ivec4 addInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3368|       |
 3369|      4|            "uint  addInvocationsInclusiveScanNonUniformAMD(uint);"
 3370|      4|            "uvec2 addInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3371|      4|            "uvec3 addInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3372|      4|            "uvec4 addInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3373|       |
 3374|      4|            "double addInvocationsInclusiveScanNonUniformAMD(double);"
 3375|      4|            "dvec2  addInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3376|      4|            "dvec3  addInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3377|      4|            "dvec4  addInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3378|       |
 3379|      4|            "int64_t addInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3380|      4|            "i64vec2 addInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3381|      4|            "i64vec3 addInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3382|      4|            "i64vec4 addInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3383|       |
 3384|      4|            "uint64_t addInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3385|      4|            "u64vec2  addInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3386|      4|            "u64vec3  addInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3387|      4|            "u64vec4  addInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3388|       |
 3389|      4|            "float16_t addInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3390|      4|            "f16vec2   addInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3391|      4|            "f16vec3   addInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3392|      4|            "f16vec4   addInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3393|       |
 3394|      4|            "int16_t addInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3395|      4|            "i16vec2 addInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3396|      4|            "i16vec3 addInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3397|      4|            "i16vec4 addInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3398|       |
 3399|      4|            "uint16_t addInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3400|      4|            "u16vec2  addInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3401|      4|            "u16vec3  addInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3402|      4|            "u16vec4  addInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3403|       |
 3404|      4|            "float addInvocationsExclusiveScanNonUniformAMD(float);"
 3405|      4|            "vec2  addInvocationsExclusiveScanNonUniformAMD(vec2);"
 3406|      4|            "vec3  addInvocationsExclusiveScanNonUniformAMD(vec3);"
 3407|      4|            "vec4  addInvocationsExclusiveScanNonUniformAMD(vec4);"
 3408|       |
 3409|      4|            "int   addInvocationsExclusiveScanNonUniformAMD(int);"
 3410|      4|            "ivec2 addInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3411|      4|            "ivec3 addInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3412|      4|            "ivec4 addInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3413|       |
 3414|      4|            "uint  addInvocationsExclusiveScanNonUniformAMD(uint);"
 3415|      4|            "uvec2 addInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3416|      4|            "uvec3 addInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3417|      4|            "uvec4 addInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3418|       |
 3419|      4|            "double addInvocationsExclusiveScanNonUniformAMD(double);"
 3420|      4|            "dvec2  addInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3421|      4|            "dvec3  addInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3422|      4|            "dvec4  addInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3423|       |
 3424|      4|            "int64_t addInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3425|      4|            "i64vec2 addInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3426|      4|            "i64vec3 addInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3427|      4|            "i64vec4 addInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3428|       |
 3429|      4|            "uint64_t addInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3430|      4|            "u64vec2  addInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3431|      4|            "u64vec3  addInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3432|      4|            "u64vec4  addInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3433|       |
 3434|      4|            "float16_t addInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3435|      4|            "f16vec2   addInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3436|      4|            "f16vec3   addInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3437|      4|            "f16vec4   addInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3438|       |
 3439|      4|            "int16_t addInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3440|      4|            "i16vec2 addInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3441|      4|            "i16vec3 addInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3442|      4|            "i16vec4 addInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3443|       |
 3444|      4|            "uint16_t addInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3445|      4|            "u16vec2  addInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3446|      4|            "u16vec3  addInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3447|      4|            "u16vec4  addInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3448|       |
 3449|      4|            "float swizzleInvocationsAMD(float, uvec4);"
 3450|      4|            "vec2  swizzleInvocationsAMD(vec2,  uvec4);"
 3451|      4|            "vec3  swizzleInvocationsAMD(vec3,  uvec4);"
 3452|      4|            "vec4  swizzleInvocationsAMD(vec4,  uvec4);"
 3453|       |
 3454|      4|            "int   swizzleInvocationsAMD(int,   uvec4);"
 3455|      4|            "ivec2 swizzleInvocationsAMD(ivec2, uvec4);"
 3456|      4|            "ivec3 swizzleInvocationsAMD(ivec3, uvec4);"
 3457|      4|            "ivec4 swizzleInvocationsAMD(ivec4, uvec4);"
 3458|       |
 3459|      4|            "uint  swizzleInvocationsAMD(uint,  uvec4);"
 3460|      4|            "uvec2 swizzleInvocationsAMD(uvec2, uvec4);"
 3461|      4|            "uvec3 swizzleInvocationsAMD(uvec3, uvec4);"
 3462|      4|            "uvec4 swizzleInvocationsAMD(uvec4, uvec4);"
 3463|       |
 3464|      4|            "float swizzleInvocationsMaskedAMD(float, uvec3);"
 3465|      4|            "vec2  swizzleInvocationsMaskedAMD(vec2,  uvec3);"
 3466|      4|            "vec3  swizzleInvocationsMaskedAMD(vec3,  uvec3);"
 3467|      4|            "vec4  swizzleInvocationsMaskedAMD(vec4,  uvec3);"
 3468|       |
 3469|      4|            "int   swizzleInvocationsMaskedAMD(int,   uvec3);"
 3470|      4|            "ivec2 swizzleInvocationsMaskedAMD(ivec2, uvec3);"
 3471|      4|            "ivec3 swizzleInvocationsMaskedAMD(ivec3, uvec3);"
 3472|      4|            "ivec4 swizzleInvocationsMaskedAMD(ivec4, uvec3);"
 3473|       |
 3474|      4|            "uint  swizzleInvocationsMaskedAMD(uint,  uvec3);"
 3475|      4|            "uvec2 swizzleInvocationsMaskedAMD(uvec2, uvec3);"
 3476|      4|            "uvec3 swizzleInvocationsMaskedAMD(uvec3, uvec3);"
 3477|      4|            "uvec4 swizzleInvocationsMaskedAMD(uvec4, uvec3);"
 3478|       |
 3479|      4|            "float writeInvocationAMD(float, float, uint);"
 3480|      4|            "vec2  writeInvocationAMD(vec2,  vec2,  uint);"
 3481|      4|            "vec3  writeInvocationAMD(vec3,  vec3,  uint);"
 3482|      4|            "vec4  writeInvocationAMD(vec4,  vec4,  uint);"
 3483|       |
 3484|      4|            "int   writeInvocationAMD(int,   int,   uint);"
 3485|      4|            "ivec2 writeInvocationAMD(ivec2, ivec2, uint);"
 3486|      4|            "ivec3 writeInvocationAMD(ivec3, ivec3, uint);"
 3487|      4|            "ivec4 writeInvocationAMD(ivec4, ivec4, uint);"
 3488|       |
 3489|      4|            "uint  writeInvocationAMD(uint,  uint,  uint);"
 3490|      4|            "uvec2 writeInvocationAMD(uvec2, uvec2, uint);"
 3491|      4|            "uvec3 writeInvocationAMD(uvec3, uvec3, uint);"
 3492|      4|            "uvec4 writeInvocationAMD(uvec4, uvec4, uint);"
 3493|       |
 3494|      4|            "uint mbcntAMD(uint64_t);"
 3495|       |
 3496|      4|            "\n");
 3497|      4|    }
 3498|       |
 3499|       |    // GL_AMD_gcn_shader
 3500|     52|    if (profile != EEsProfile && version >= 440) {
  ------------------
  |  Branch (3500:9): [True: 4, False: 48]
  |  Branch (3500:34): [True: 4, False: 0]
  ------------------
 3501|      4|        commonBuiltins.append(
 3502|      4|            "float cubeFaceIndexAMD(vec3);"
 3503|      4|            "vec2  cubeFaceCoordAMD(vec3);"
 3504|      4|            "uint64_t timeAMD();"
 3505|       |
 3506|      4|            "in int gl_SIMDGroupSizeAMD;"
 3507|      4|            "\n");
 3508|      4|    }
 3509|       |
 3510|       |    // GL_AMD_shader_fragment_mask
 3511|     52|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (3511:9): [True: 4, False: 48]
  |  Branch (3511:34): [True: 4, False: 0]
  ------------------
 3512|      4|        commonBuiltins.append(
 3513|      4|            "uint fragmentMaskFetchAMD(sampler2DMS,       ivec2);"
 3514|      4|            "uint fragmentMaskFetchAMD(isampler2DMS,      ivec2);"
 3515|      4|            "uint fragmentMaskFetchAMD(usampler2DMS,      ivec2);"
 3516|       |
 3517|      4|            "uint fragmentMaskFetchAMD(sampler2DMSArray,  ivec3);"
 3518|      4|            "uint fragmentMaskFetchAMD(isampler2DMSArray, ivec3);"
 3519|      4|            "uint fragmentMaskFetchAMD(usampler2DMSArray, ivec3);"
 3520|       |
 3521|      4|            "vec4  fragmentFetchAMD(sampler2DMS,       ivec2, uint);"
 3522|      4|            "ivec4 fragmentFetchAMD(isampler2DMS,      ivec2, uint);"
 3523|      4|            "uvec4 fragmentFetchAMD(usampler2DMS,      ivec2, uint);"
 3524|       |
 3525|      4|            "vec4  fragmentFetchAMD(sampler2DMSArray,  ivec3, uint);"
 3526|      4|            "ivec4 fragmentFetchAMD(isampler2DMSArray, ivec3, uint);"
 3527|      4|            "uvec4 fragmentFetchAMD(usampler2DMSArray, ivec3, uint);"
 3528|       |
 3529|      4|            "\n");
 3530|      4|    }
 3531|       |
 3532|     52|    if ((profile != EEsProfile && version >= 130) ||
  ------------------
  |  Branch (3532:10): [True: 4, False: 48]
  |  Branch (3532:35): [True: 4, False: 0]
  ------------------
 3533|     48|        (profile == EEsProfile && version >= 300)) {
  ------------------
  |  Branch (3533:10): [True: 48, False: 0]
  |  Branch (3533:35): [True: 0, False: 48]
  ------------------
 3534|      4|        commonBuiltins.append(
 3535|      4|            "uint countLeadingZeros(uint);"
 3536|      4|            "uvec2 countLeadingZeros(uvec2);"
 3537|      4|            "uvec3 countLeadingZeros(uvec3);"
 3538|      4|            "uvec4 countLeadingZeros(uvec4);"
 3539|       |
 3540|      4|            "uint countTrailingZeros(uint);"
 3541|      4|            "uvec2 countTrailingZeros(uvec2);"
 3542|      4|            "uvec3 countTrailingZeros(uvec3);"
 3543|      4|            "uvec4 countTrailingZeros(uvec4);"
 3544|       |
 3545|      4|            "uint absoluteDifference(int, int);"
 3546|      4|            "uvec2 absoluteDifference(ivec2, ivec2);"
 3547|      4|            "uvec3 absoluteDifference(ivec3, ivec3);"
 3548|      4|            "uvec4 absoluteDifference(ivec4, ivec4);"
 3549|       |
 3550|      4|            "uint16_t absoluteDifference(int16_t, int16_t);"
 3551|      4|            "u16vec2 absoluteDifference(i16vec2, i16vec2);"
 3552|      4|            "u16vec3 absoluteDifference(i16vec3, i16vec3);"
 3553|      4|            "u16vec4 absoluteDifference(i16vec4, i16vec4);"
 3554|       |
 3555|      4|            "uint64_t absoluteDifference(int64_t, int64_t);"
 3556|      4|            "u64vec2 absoluteDifference(i64vec2, i64vec2);"
 3557|      4|            "u64vec3 absoluteDifference(i64vec3, i64vec3);"
 3558|      4|            "u64vec4 absoluteDifference(i64vec4, i64vec4);"
 3559|       |
 3560|      4|            "uint absoluteDifference(uint, uint);"
 3561|      4|            "uvec2 absoluteDifference(uvec2, uvec2);"
 3562|      4|            "uvec3 absoluteDifference(uvec3, uvec3);"
 3563|      4|            "uvec4 absoluteDifference(uvec4, uvec4);"
 3564|       |
 3565|      4|            "uint16_t absoluteDifference(uint16_t, uint16_t);"
 3566|      4|            "u16vec2 absoluteDifference(u16vec2, u16vec2);"
 3567|      4|            "u16vec3 absoluteDifference(u16vec3, u16vec3);"
 3568|      4|            "u16vec4 absoluteDifference(u16vec4, u16vec4);"
 3569|       |
 3570|      4|            "uint64_t absoluteDifference(uint64_t, uint64_t);"
 3571|      4|            "u64vec2 absoluteDifference(u64vec2, u64vec2);"
 3572|      4|            "u64vec3 absoluteDifference(u64vec3, u64vec3);"
 3573|      4|            "u64vec4 absoluteDifference(u64vec4, u64vec4);"
 3574|       |
 3575|      4|            "int addSaturate(int, int);"
 3576|      4|            "ivec2 addSaturate(ivec2, ivec2);"
 3577|      4|            "ivec3 addSaturate(ivec3, ivec3);"
 3578|      4|            "ivec4 addSaturate(ivec4, ivec4);"
 3579|       |
 3580|      4|            "int16_t addSaturate(int16_t, int16_t);"
 3581|      4|            "i16vec2 addSaturate(i16vec2, i16vec2);"
 3582|      4|            "i16vec3 addSaturate(i16vec3, i16vec3);"
 3583|      4|            "i16vec4 addSaturate(i16vec4, i16vec4);"
 3584|       |
 3585|      4|            "int64_t addSaturate(int64_t, int64_t);"
 3586|      4|            "i64vec2 addSaturate(i64vec2, i64vec2);"
 3587|      4|            "i64vec3 addSaturate(i64vec3, i64vec3);"
 3588|      4|            "i64vec4 addSaturate(i64vec4, i64vec4);"
 3589|       |
 3590|      4|            "uint addSaturate(uint, uint);"
 3591|      4|            "uvec2 addSaturate(uvec2, uvec2);"
 3592|      4|            "uvec3 addSaturate(uvec3, uvec3);"
 3593|      4|            "uvec4 addSaturate(uvec4, uvec4);"
 3594|       |
 3595|      4|            "uint16_t addSaturate(uint16_t, uint16_t);"
 3596|      4|            "u16vec2 addSaturate(u16vec2, u16vec2);"
 3597|      4|            "u16vec3 addSaturate(u16vec3, u16vec3);"
 3598|      4|            "u16vec4 addSaturate(u16vec4, u16vec4);"
 3599|       |
 3600|      4|            "uint64_t addSaturate(uint64_t, uint64_t);"
 3601|      4|            "u64vec2 addSaturate(u64vec2, u64vec2);"
 3602|      4|            "u64vec3 addSaturate(u64vec3, u64vec3);"
 3603|      4|            "u64vec4 addSaturate(u64vec4, u64vec4);"
 3604|       |
 3605|      4|            "int subtractSaturate(int, int);"
 3606|      4|            "ivec2 subtractSaturate(ivec2, ivec2);"
 3607|      4|            "ivec3 subtractSaturate(ivec3, ivec3);"
 3608|      4|            "ivec4 subtractSaturate(ivec4, ivec4);"
 3609|       |
 3610|      4|            "int16_t subtractSaturate(int16_t, int16_t);"
 3611|      4|            "i16vec2 subtractSaturate(i16vec2, i16vec2);"
 3612|      4|            "i16vec3 subtractSaturate(i16vec3, i16vec3);"
 3613|      4|            "i16vec4 subtractSaturate(i16vec4, i16vec4);"
 3614|       |
 3615|      4|            "int64_t subtractSaturate(int64_t, int64_t);"
 3616|      4|            "i64vec2 subtractSaturate(i64vec2, i64vec2);"
 3617|      4|            "i64vec3 subtractSaturate(i64vec3, i64vec3);"
 3618|      4|            "i64vec4 subtractSaturate(i64vec4, i64vec4);"
 3619|       |
 3620|      4|            "uint subtractSaturate(uint, uint);"
 3621|      4|            "uvec2 subtractSaturate(uvec2, uvec2);"
 3622|      4|            "uvec3 subtractSaturate(uvec3, uvec3);"
 3623|      4|            "uvec4 subtractSaturate(uvec4, uvec4);"
 3624|       |
 3625|      4|            "uint16_t subtractSaturate(uint16_t, uint16_t);"
 3626|      4|            "u16vec2 subtractSaturate(u16vec2, u16vec2);"
 3627|      4|            "u16vec3 subtractSaturate(u16vec3, u16vec3);"
 3628|      4|            "u16vec4 subtractSaturate(u16vec4, u16vec4);"
 3629|       |
 3630|      4|            "uint64_t subtractSaturate(uint64_t, uint64_t);"
 3631|      4|            "u64vec2 subtractSaturate(u64vec2, u64vec2);"
 3632|      4|            "u64vec3 subtractSaturate(u64vec3, u64vec3);"
 3633|      4|            "u64vec4 subtractSaturate(u64vec4, u64vec4);"
 3634|       |
 3635|      4|            "int average(int, int);"
 3636|      4|            "ivec2 average(ivec2, ivec2);"
 3637|      4|            "ivec3 average(ivec3, ivec3);"
 3638|      4|            "ivec4 average(ivec4, ivec4);"
 3639|       |
 3640|      4|            "int16_t average(int16_t, int16_t);"
 3641|      4|            "i16vec2 average(i16vec2, i16vec2);"
 3642|      4|            "i16vec3 average(i16vec3, i16vec3);"
 3643|      4|            "i16vec4 average(i16vec4, i16vec4);"
 3644|       |
 3645|      4|            "int64_t average(int64_t, int64_t);"
 3646|      4|            "i64vec2 average(i64vec2, i64vec2);"
 3647|      4|            "i64vec3 average(i64vec3, i64vec3);"
 3648|      4|            "i64vec4 average(i64vec4, i64vec4);"
 3649|       |
 3650|      4|            "uint average(uint, uint);"
 3651|      4|            "uvec2 average(uvec2, uvec2);"
 3652|      4|            "uvec3 average(uvec3, uvec3);"
 3653|      4|            "uvec4 average(uvec4, uvec4);"
 3654|       |
 3655|      4|            "uint16_t average(uint16_t, uint16_t);"
 3656|      4|            "u16vec2 average(u16vec2, u16vec2);"
 3657|      4|            "u16vec3 average(u16vec3, u16vec3);"
 3658|      4|            "u16vec4 average(u16vec4, u16vec4);"
 3659|       |
 3660|      4|            "uint64_t average(uint64_t, uint64_t);"
 3661|      4|            "u64vec2 average(u64vec2, u64vec2);"
 3662|      4|            "u64vec3 average(u64vec3, u64vec3);"
 3663|      4|            "u64vec4 average(u64vec4, u64vec4);"
 3664|       |
 3665|      4|            "int averageRounded(int, int);"
 3666|      4|            "ivec2 averageRounded(ivec2, ivec2);"
 3667|      4|            "ivec3 averageRounded(ivec3, ivec3);"
 3668|      4|            "ivec4 averageRounded(ivec4, ivec4);"
 3669|       |
 3670|      4|            "int16_t averageRounded(int16_t, int16_t);"
 3671|      4|            "i16vec2 averageRounded(i16vec2, i16vec2);"
 3672|      4|            "i16vec3 averageRounded(i16vec3, i16vec3);"
 3673|      4|            "i16vec4 averageRounded(i16vec4, i16vec4);"
 3674|       |
 3675|      4|            "int64_t averageRounded(int64_t, int64_t);"
 3676|      4|            "i64vec2 averageRounded(i64vec2, i64vec2);"
 3677|      4|            "i64vec3 averageRounded(i64vec3, i64vec3);"
 3678|      4|            "i64vec4 averageRounded(i64vec4, i64vec4);"
 3679|       |
 3680|      4|            "uint averageRounded(uint, uint);"
 3681|      4|            "uvec2 averageRounded(uvec2, uvec2);"
 3682|      4|            "uvec3 averageRounded(uvec3, uvec3);"
 3683|      4|            "uvec4 averageRounded(uvec4, uvec4);"
 3684|       |
 3685|      4|            "uint16_t averageRounded(uint16_t, uint16_t);"
 3686|      4|            "u16vec2 averageRounded(u16vec2, u16vec2);"
 3687|      4|            "u16vec3 averageRounded(u16vec3, u16vec3);"
 3688|      4|            "u16vec4 averageRounded(u16vec4, u16vec4);"
 3689|       |
 3690|      4|            "uint64_t averageRounded(uint64_t, uint64_t);"
 3691|      4|            "u64vec2 averageRounded(u64vec2, u64vec2);"
 3692|      4|            "u64vec3 averageRounded(u64vec3, u64vec3);"
 3693|      4|            "u64vec4 averageRounded(u64vec4, u64vec4);"
 3694|       |
 3695|      4|            "int multiply32x16(int, int);"
 3696|      4|            "ivec2 multiply32x16(ivec2, ivec2);"
 3697|      4|            "ivec3 multiply32x16(ivec3, ivec3);"
 3698|      4|            "ivec4 multiply32x16(ivec4, ivec4);"
 3699|       |
 3700|      4|            "uint multiply32x16(uint, uint);"
 3701|      4|            "uvec2 multiply32x16(uvec2, uvec2);"
 3702|      4|            "uvec3 multiply32x16(uvec3, uvec3);"
 3703|      4|            "uvec4 multiply32x16(uvec4, uvec4);"
 3704|      4|            "\n");
 3705|      4|    }
 3706|       |
 3707|     52|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (3707:10): [True: 4, False: 48]
  |  Branch (3707:35): [True: 4, False: 0]
  ------------------
 3708|     48|        (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (3708:10): [True: 48, False: 0]
  |  Branch (3708:35): [True: 0, False: 48]
  ------------------
 3709|      4|        commonBuiltins.append(
 3710|      4|            "struct gl_TextureFootprint2DNV {"
 3711|      4|                "uvec2 anchor;"
 3712|      4|                "uvec2 offset;"
 3713|      4|                "uvec2 mask;"
 3714|      4|                "uint lod;"
 3715|      4|                "uint granularity;"
 3716|      4|            "};"
 3717|       |
 3718|      4|            "struct gl_TextureFootprint3DNV {"
 3719|      4|                "uvec3 anchor;"
 3720|      4|                "uvec3 offset;"
 3721|      4|                "uvec2 mask;"
 3722|      4|                "uint lod;"
 3723|      4|                "uint granularity;"
 3724|      4|            "};"
 3725|      4|            "bool textureFootprintNV(sampler2D, vec2, int, bool, out gl_TextureFootprint2DNV);"
 3726|      4|            "bool textureFootprintNV(sampler3D, vec3, int, bool, out gl_TextureFootprint3DNV);"
 3727|      4|            "bool textureFootprintNV(sampler2D, vec2, int, bool, out gl_TextureFootprint2DNV, float);"
 3728|      4|            "bool textureFootprintNV(sampler3D, vec3, int, bool, out gl_TextureFootprint3DNV, float);"
 3729|      4|            "bool textureFootprintClampNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3730|      4|            "bool textureFootprintClampNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV);"
 3731|      4|            "bool textureFootprintClampNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV, float);"
 3732|      4|            "bool textureFootprintClampNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV, float);"
 3733|      4|            "bool textureFootprintLodNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3734|      4|            "bool textureFootprintLodNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV);"
 3735|      4|            "bool textureFootprintGradNV(sampler2D, vec2, vec2, vec2, int, bool, out gl_TextureFootprint2DNV);"
 3736|      4|            "bool textureFootprintGradClampNV(sampler2D, vec2, vec2, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3737|      4|            "\n");
 3738|      4|    }
 3739|       |
 3740|     52|    if ((profile == EEsProfile && version >= 300 && version < 310) ||
  ------------------
  |  Branch (3740:10): [True: 48, False: 4]
  |  Branch (3740:35): [True: 0, False: 48]
  |  Branch (3740:53): [True: 0, False: 0]
  ------------------
 3741|     52|        (profile != EEsProfile && version >= 150 && version < 450)) { // GL_EXT_shader_integer_mix
  ------------------
  |  Branch (3741:10): [True: 4, False: 48]
  |  Branch (3741:35): [True: 4, False: 0]
  |  Branch (3741:53): [True: 0, False: 4]
  ------------------
 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|     52|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (3759:10): [True: 4, False: 48]
  |  Branch (3759:35): [True: 4, False: 0]
  |  Branch (3759:55): [True: 48, False: 0]
  |  Branch (3759:80): [True: 0, False: 48]
  ------------------
 3760|      4|        commonBuiltins.append(
 3761|      4|            "float16_t radians(float16_t);"
 3762|      4|            "f16vec2   radians(f16vec2);"
 3763|      4|            "f16vec3   radians(f16vec3);"
 3764|      4|            "f16vec4   radians(f16vec4);"
 3765|       |
 3766|      4|            "float16_t degrees(float16_t);"
 3767|      4|            "f16vec2   degrees(f16vec2);"
 3768|      4|            "f16vec3   degrees(f16vec3);"
 3769|      4|            "f16vec4   degrees(f16vec4);"
 3770|       |
 3771|      4|            "float16_t sin(float16_t);"
 3772|      4|            "f16vec2   sin(f16vec2);"
 3773|      4|            "f16vec3   sin(f16vec3);"
 3774|      4|            "f16vec4   sin(f16vec4);"
 3775|       |
 3776|      4|            "float16_t cos(float16_t);"
 3777|      4|            "f16vec2   cos(f16vec2);"
 3778|      4|            "f16vec3   cos(f16vec3);"
 3779|      4|            "f16vec4   cos(f16vec4);"
 3780|       |
 3781|      4|            "float16_t tan(float16_t);"
 3782|      4|            "f16vec2   tan(f16vec2);"
 3783|      4|            "f16vec3   tan(f16vec3);"
 3784|      4|            "f16vec4   tan(f16vec4);"
 3785|       |
 3786|      4|            "float16_t asin(float16_t);"
 3787|      4|            "f16vec2   asin(f16vec2);"
 3788|      4|            "f16vec3   asin(f16vec3);"
 3789|      4|            "f16vec4   asin(f16vec4);"
 3790|       |
 3791|      4|            "float16_t acos(float16_t);"
 3792|      4|            "f16vec2   acos(f16vec2);"
 3793|      4|            "f16vec3   acos(f16vec3);"
 3794|      4|            "f16vec4   acos(f16vec4);"
 3795|       |
 3796|      4|            "float16_t atan(float16_t, float16_t);"
 3797|      4|            "f16vec2   atan(f16vec2,   f16vec2);"
 3798|      4|            "f16vec3   atan(f16vec3,   f16vec3);"
 3799|      4|            "f16vec4   atan(f16vec4,   f16vec4);"
 3800|       |
 3801|      4|            "float16_t atan(float16_t);"
 3802|      4|            "f16vec2   atan(f16vec2);"
 3803|      4|            "f16vec3   atan(f16vec3);"
 3804|      4|            "f16vec4   atan(f16vec4);"
 3805|       |
 3806|      4|            "float16_t sinh(float16_t);"
 3807|      4|            "f16vec2   sinh(f16vec2);"
 3808|      4|            "f16vec3   sinh(f16vec3);"
 3809|      4|            "f16vec4   sinh(f16vec4);"
 3810|       |
 3811|      4|            "float16_t cosh(float16_t);"
 3812|      4|            "f16vec2   cosh(f16vec2);"
 3813|      4|            "f16vec3   cosh(f16vec3);"
 3814|      4|            "f16vec4   cosh(f16vec4);"
 3815|       |
 3816|      4|            "float16_t tanh(float16_t);"
 3817|      4|            "f16vec2   tanh(f16vec2);"
 3818|      4|            "f16vec3   tanh(f16vec3);"
 3819|      4|            "f16vec4   tanh(f16vec4);"
 3820|       |
 3821|      4|            "float16_t asinh(float16_t);"
 3822|      4|            "f16vec2   asinh(f16vec2);"
 3823|      4|            "f16vec3   asinh(f16vec3);"
 3824|      4|            "f16vec4   asinh(f16vec4);"
 3825|       |
 3826|      4|            "float16_t acosh(float16_t);"
 3827|      4|            "f16vec2   acosh(f16vec2);"
 3828|      4|            "f16vec3   acosh(f16vec3);"
 3829|      4|            "f16vec4   acosh(f16vec4);"
 3830|       |
 3831|      4|            "float16_t atanh(float16_t);"
 3832|      4|            "f16vec2   atanh(f16vec2);"
 3833|      4|            "f16vec3   atanh(f16vec3);"
 3834|      4|            "f16vec4   atanh(f16vec4);"
 3835|       |
 3836|      4|            "float16_t pow(float16_t, float16_t);"
 3837|      4|            "f16vec2   pow(f16vec2,   f16vec2);"
 3838|      4|            "f16vec3   pow(f16vec3,   f16vec3);"
 3839|      4|            "f16vec4   pow(f16vec4,   f16vec4);"
 3840|       |
 3841|      4|            "float16_t exp(float16_t);"
 3842|      4|            "f16vec2   exp(f16vec2);"
 3843|      4|            "f16vec3   exp(f16vec3);"
 3844|      4|            "f16vec4   exp(f16vec4);"
 3845|       |
 3846|      4|            "float16_t log(float16_t);"
 3847|      4|            "f16vec2   log(f16vec2);"
 3848|      4|            "f16vec3   log(f16vec3);"
 3849|      4|            "f16vec4   log(f16vec4);"
 3850|       |
 3851|      4|            "float16_t exp2(float16_t);"
 3852|      4|            "f16vec2   exp2(f16vec2);"
 3853|      4|            "f16vec3   exp2(f16vec3);"
 3854|      4|            "f16vec4   exp2(f16vec4);"
 3855|       |
 3856|      4|            "float16_t log2(float16_t);"
 3857|      4|            "f16vec2   log2(f16vec2);"
 3858|      4|            "f16vec3   log2(f16vec3);"
 3859|      4|            "f16vec4   log2(f16vec4);"
 3860|       |
 3861|      4|            "float16_t sqrt(float16_t);"
 3862|      4|            "f16vec2   sqrt(f16vec2);"
 3863|      4|            "f16vec3   sqrt(f16vec3);"
 3864|      4|            "f16vec4   sqrt(f16vec4);"
 3865|       |
 3866|      4|            "float16_t inversesqrt(float16_t);"
 3867|      4|            "f16vec2   inversesqrt(f16vec2);"
 3868|      4|            "f16vec3   inversesqrt(f16vec3);"
 3869|      4|            "f16vec4   inversesqrt(f16vec4);"
 3870|       |
 3871|      4|            "float16_t abs(float16_t);"
 3872|      4|            "f16vec2   abs(f16vec2);"
 3873|      4|            "f16vec3   abs(f16vec3);"
 3874|      4|            "f16vec4   abs(f16vec4);"
 3875|       |
 3876|      4|            "float16_t sign(float16_t);"
 3877|      4|            "f16vec2   sign(f16vec2);"
 3878|      4|            "f16vec3   sign(f16vec3);"
 3879|      4|            "f16vec4   sign(f16vec4);"
 3880|       |
 3881|      4|            "float16_t floor(float16_t);"
 3882|      4|            "f16vec2   floor(f16vec2);"
 3883|      4|            "f16vec3   floor(f16vec3);"
 3884|      4|            "f16vec4   floor(f16vec4);"
 3885|       |
 3886|      4|            "float16_t trunc(float16_t);"
 3887|      4|            "f16vec2   trunc(f16vec2);"
 3888|      4|            "f16vec3   trunc(f16vec3);"
 3889|      4|            "f16vec4   trunc(f16vec4);"
 3890|       |
 3891|      4|            "float16_t round(float16_t);"
 3892|      4|            "f16vec2   round(f16vec2);"
 3893|      4|            "f16vec3   round(f16vec3);"
 3894|      4|            "f16vec4   round(f16vec4);"
 3895|       |
 3896|      4|            "float16_t roundEven(float16_t);"
 3897|      4|            "f16vec2   roundEven(f16vec2);"
 3898|      4|            "f16vec3   roundEven(f16vec3);"
 3899|      4|            "f16vec4   roundEven(f16vec4);"
 3900|       |
 3901|      4|            "float16_t ceil(float16_t);"
 3902|      4|            "f16vec2   ceil(f16vec2);"
 3903|      4|            "f16vec3   ceil(f16vec3);"
 3904|      4|            "f16vec4   ceil(f16vec4);"
 3905|       |
 3906|      4|            "float16_t fract(float16_t);"
 3907|      4|            "f16vec2   fract(f16vec2);"
 3908|      4|            "f16vec3   fract(f16vec3);"
 3909|      4|            "f16vec4   fract(f16vec4);"
 3910|       |
 3911|      4|            "float16_t mod(float16_t, float16_t);"
 3912|      4|            "f16vec2   mod(f16vec2,   float16_t);"
 3913|      4|            "f16vec3   mod(f16vec3,   float16_t);"
 3914|      4|            "f16vec4   mod(f16vec4,   float16_t);"
 3915|      4|            "f16vec2   mod(f16vec2,   f16vec2);"
 3916|      4|            "f16vec3   mod(f16vec3,   f16vec3);"
 3917|      4|            "f16vec4   mod(f16vec4,   f16vec4);"
 3918|       |
 3919|      4|            "float16_t modf(float16_t, out float16_t);"
 3920|      4|            "f16vec2   modf(f16vec2,   out f16vec2);"
 3921|      4|            "f16vec3   modf(f16vec3,   out f16vec3);"
 3922|      4|            "f16vec4   modf(f16vec4,   out f16vec4);"
 3923|       |
 3924|      4|            "float16_t min(float16_t, float16_t);"
 3925|      4|            "f16vec2   min(f16vec2,   float16_t);"
 3926|      4|            "f16vec3   min(f16vec3,   float16_t);"
 3927|      4|            "f16vec4   min(f16vec4,   float16_t);"
 3928|      4|            "f16vec2   min(f16vec2,   f16vec2);"
 3929|      4|            "f16vec3   min(f16vec3,   f16vec3);"
 3930|      4|            "f16vec4   min(f16vec4,   f16vec4);"
 3931|       |
 3932|      4|            "float16_t max(float16_t, float16_t);"
 3933|      4|            "f16vec2   max(f16vec2,   float16_t);"
 3934|      4|            "f16vec3   max(f16vec3,   float16_t);"
 3935|      4|            "f16vec4   max(f16vec4,   float16_t);"
 3936|      4|            "f16vec2   max(f16vec2,   f16vec2);"
 3937|      4|            "f16vec3   max(f16vec3,   f16vec3);"
 3938|      4|            "f16vec4   max(f16vec4,   f16vec4);"
 3939|       |
 3940|      4|            "float16_t clamp(float16_t, float16_t, float16_t);"
 3941|      4|            "f16vec2   clamp(f16vec2,   float16_t, float16_t);"
 3942|      4|            "f16vec3   clamp(f16vec3,   float16_t, float16_t);"
 3943|      4|            "f16vec4   clamp(f16vec4,   float16_t, float16_t);"
 3944|      4|            "f16vec2   clamp(f16vec2,   f16vec2,   f16vec2);"
 3945|      4|            "f16vec3   clamp(f16vec3,   f16vec3,   f16vec3);"
 3946|      4|            "f16vec4   clamp(f16vec4,   f16vec4,   f16vec4);"
 3947|       |
 3948|      4|            "float16_t mix(float16_t, float16_t, float16_t);"
 3949|      4|            "f16vec2   mix(f16vec2,   f16vec2,   float16_t);"
 3950|      4|            "f16vec3   mix(f16vec3,   f16vec3,   float16_t);"
 3951|      4|            "f16vec4   mix(f16vec4,   f16vec4,   float16_t);"
 3952|      4|            "f16vec2   mix(f16vec2,   f16vec2,   f16vec2);"
 3953|      4|            "f16vec3   mix(f16vec3,   f16vec3,   f16vec3);"
 3954|      4|            "f16vec4   mix(f16vec4,   f16vec4,   f16vec4);"
 3955|      4|            "float16_t mix(float16_t, float16_t, bool);"
 3956|      4|            "f16vec2   mix(f16vec2,   f16vec2,   bvec2);"
 3957|      4|            "f16vec3   mix(f16vec3,   f16vec3,   bvec3);"
 3958|      4|            "f16vec4   mix(f16vec4,   f16vec4,   bvec4);"
 3959|       |
 3960|      4|            "float16_t step(float16_t, float16_t);"
 3961|      4|            "f16vec2   step(f16vec2,   f16vec2);"
 3962|      4|            "f16vec3   step(f16vec3,   f16vec3);"
 3963|      4|            "f16vec4   step(f16vec4,   f16vec4);"
 3964|      4|            "f16vec2   step(float16_t, f16vec2);"
 3965|      4|            "f16vec3   step(float16_t, f16vec3);"
 3966|      4|            "f16vec4   step(float16_t, f16vec4);"
 3967|       |
 3968|      4|            "float16_t smoothstep(float16_t, float16_t, float16_t);"
 3969|      4|            "f16vec2   smoothstep(f16vec2,   f16vec2,   f16vec2);"
 3970|      4|            "f16vec3   smoothstep(f16vec3,   f16vec3,   f16vec3);"
 3971|      4|            "f16vec4   smoothstep(f16vec4,   f16vec4,   f16vec4);"
 3972|      4|            "f16vec2   smoothstep(float16_t, float16_t, f16vec2);"
 3973|      4|            "f16vec3   smoothstep(float16_t, float16_t, f16vec3);"
 3974|      4|            "f16vec4   smoothstep(float16_t, float16_t, f16vec4);"
 3975|       |
 3976|      4|            "bool  isnan(float16_t);"
 3977|      4|            "bvec2 isnan(f16vec2);"
 3978|      4|            "bvec3 isnan(f16vec3);"
 3979|      4|            "bvec4 isnan(f16vec4);"
 3980|       |
 3981|      4|            "bool  isinf(float16_t);"
 3982|      4|            "bvec2 isinf(f16vec2);"
 3983|      4|            "bvec3 isinf(f16vec3);"
 3984|      4|            "bvec4 isinf(f16vec4);"
 3985|       |
 3986|      4|            "float16_t fma(float16_t, float16_t, float16_t);"
 3987|      4|            "f16vec2   fma(f16vec2,   f16vec2,   f16vec2);"
 3988|      4|            "f16vec3   fma(f16vec3,   f16vec3,   f16vec3);"
 3989|      4|            "f16vec4   fma(f16vec4,   f16vec4,   f16vec4);"
 3990|       |
 3991|      4|            "float16_t frexp(float16_t, out int);"
 3992|      4|            "f16vec2   frexp(f16vec2,   out ivec2);"
 3993|      4|            "f16vec3   frexp(f16vec3,   out ivec3);"
 3994|      4|            "f16vec4   frexp(f16vec4,   out ivec4);"
 3995|       |
 3996|      4|            "float16_t ldexp(float16_t, in int);"
 3997|      4|            "f16vec2   ldexp(f16vec2,   in ivec2);"
 3998|      4|            "f16vec3   ldexp(f16vec3,   in ivec3);"
 3999|      4|            "f16vec4   ldexp(f16vec4,   in ivec4);"
 4000|       |
 4001|      4|            "uint    packFloat2x16(f16vec2);"
 4002|      4|            "f16vec2 unpackFloat2x16(uint);"
 4003|       |
 4004|      4|            "float16_t length(float16_t);"
 4005|      4|            "float16_t length(f16vec2);"
 4006|      4|            "float16_t length(f16vec3);"
 4007|      4|            "float16_t length(f16vec4);"
 4008|       |
 4009|      4|            "float16_t distance(float16_t, float16_t);"
 4010|      4|            "float16_t distance(f16vec2,   f16vec2);"
 4011|      4|            "float16_t distance(f16vec3,   f16vec3);"
 4012|      4|            "float16_t distance(f16vec4,   f16vec4);"
 4013|       |
 4014|      4|            "float16_t dot(float16_t, float16_t);"
 4015|      4|            "float16_t dot(f16vec2,   f16vec2);"
 4016|      4|            "float16_t dot(f16vec3,   f16vec3);"
 4017|      4|            "float16_t dot(f16vec4,   f16vec4);"
 4018|       |
 4019|      4|            "f16vec3 cross(f16vec3, f16vec3);"
 4020|       |
 4021|      4|            "float16_t normalize(float16_t);"
 4022|      4|            "f16vec2   normalize(f16vec2);"
 4023|      4|            "f16vec3   normalize(f16vec3);"
 4024|      4|            "f16vec4   normalize(f16vec4);"
 4025|       |
 4026|      4|            "float16_t faceforward(float16_t, float16_t, float16_t);"
 4027|      4|            "f16vec2   faceforward(f16vec2,   f16vec2,   f16vec2);"
 4028|      4|            "f16vec3   faceforward(f16vec3,   f16vec3,   f16vec3);"
 4029|      4|            "f16vec4   faceforward(f16vec4,   f16vec4,   f16vec4);"
 4030|       |
 4031|      4|            "float16_t reflect(float16_t, float16_t);"
 4032|      4|            "f16vec2   reflect(f16vec2,   f16vec2);"
 4033|      4|            "f16vec3   reflect(f16vec3,   f16vec3);"
 4034|      4|            "f16vec4   reflect(f16vec4,   f16vec4);"
 4035|       |
 4036|      4|            "float16_t refract(float16_t, float16_t, float16_t);"
 4037|      4|            "f16vec2   refract(f16vec2,   f16vec2,   float16_t);"
 4038|      4|            "f16vec3   refract(f16vec3,   f16vec3,   float16_t);"
 4039|      4|            "f16vec4   refract(f16vec4,   f16vec4,   float16_t);"
 4040|       |
 4041|      4|            "f16mat2   matrixCompMult(f16mat2,   f16mat2);"
 4042|      4|            "f16mat3   matrixCompMult(f16mat3,   f16mat3);"
 4043|      4|            "f16mat4   matrixCompMult(f16mat4,   f16mat4);"
 4044|      4|            "f16mat2x3 matrixCompMult(f16mat2x3, f16mat2x3);"
 4045|      4|            "f16mat2x4 matrixCompMult(f16mat2x4, f16mat2x4);"
 4046|      4|            "f16mat3x2 matrixCompMult(f16mat3x2, f16mat3x2);"
 4047|      4|            "f16mat3x4 matrixCompMult(f16mat3x4, f16mat3x4);"
 4048|      4|            "f16mat4x2 matrixCompMult(f16mat4x2, f16mat4x2);"
 4049|      4|            "f16mat4x3 matrixCompMult(f16mat4x3, f16mat4x3);"
 4050|       |
 4051|      4|            "f16mat2   outerProduct(f16vec2, f16vec2);"
 4052|      4|            "f16mat3   outerProduct(f16vec3, f16vec3);"
 4053|      4|            "f16mat4   outerProduct(f16vec4, f16vec4);"
 4054|      4|            "f16mat2x3 outerProduct(f16vec3, f16vec2);"
 4055|      4|            "f16mat3x2 outerProduct(f16vec2, f16vec3);"
 4056|      4|            "f16mat2x4 outerProduct(f16vec4, f16vec2);"
 4057|      4|            "f16mat4x2 outerProduct(f16vec2, f16vec4);"
 4058|      4|            "f16mat3x4 outerProduct(f16vec4, f16vec3);"
 4059|      4|            "f16mat4x3 outerProduct(f16vec3, f16vec4);"
 4060|       |
 4061|      4|            "f16mat2   transpose(f16mat2);"
 4062|      4|            "f16mat3   transpose(f16mat3);"
 4063|      4|            "f16mat4   transpose(f16mat4);"
 4064|      4|            "f16mat2x3 transpose(f16mat3x2);"
 4065|      4|            "f16mat3x2 transpose(f16mat2x3);"
 4066|      4|            "f16mat2x4 transpose(f16mat4x2);"
 4067|      4|            "f16mat4x2 transpose(f16mat2x4);"
 4068|      4|            "f16mat3x4 transpose(f16mat4x3);"
 4069|      4|            "f16mat4x3 transpose(f16mat3x4);"
 4070|       |
 4071|      4|            "float16_t determinant(f16mat2);"
 4072|      4|            "float16_t determinant(f16mat3);"
 4073|      4|            "float16_t determinant(f16mat4);"
 4074|       |
 4075|      4|            "f16mat2 inverse(f16mat2);"
 4076|      4|            "f16mat3 inverse(f16mat3);"
 4077|      4|            "f16mat4 inverse(f16mat4);"
 4078|       |
 4079|      4|            "bvec2 lessThan(f16vec2, f16vec2);"
 4080|      4|            "bvec3 lessThan(f16vec3, f16vec3);"
 4081|      4|            "bvec4 lessThan(f16vec4, f16vec4);"
 4082|       |
 4083|      4|            "bvec2 lessThanEqual(f16vec2, f16vec2);"
 4084|      4|            "bvec3 lessThanEqual(f16vec3, f16vec3);"
 4085|      4|            "bvec4 lessThanEqual(f16vec4, f16vec4);"
 4086|       |
 4087|      4|            "bvec2 greaterThan(f16vec2, f16vec2);"
 4088|      4|            "bvec3 greaterThan(f16vec3, f16vec3);"
 4089|      4|            "bvec4 greaterThan(f16vec4, f16vec4);"
 4090|       |
 4091|      4|            "bvec2 greaterThanEqual(f16vec2, f16vec2);"
 4092|      4|            "bvec3 greaterThanEqual(f16vec3, f16vec3);"
 4093|      4|            "bvec4 greaterThanEqual(f16vec4, f16vec4);"
 4094|       |
 4095|      4|            "bvec2 equal(f16vec2, f16vec2);"
 4096|      4|            "bvec3 equal(f16vec3, f16vec3);"
 4097|      4|            "bvec4 equal(f16vec4, f16vec4);"
 4098|       |
 4099|      4|            "bvec2 notEqual(f16vec2, f16vec2);"
 4100|      4|            "bvec3 notEqual(f16vec3, f16vec3);"
 4101|      4|            "bvec4 notEqual(f16vec4, f16vec4);"
 4102|       |
 4103|      4|            "bfloat16_t dot(bfloat16_t, bfloat16_t);"
 4104|      4|            "bfloat16_t dot(bf16vec2,   bf16vec2);"
 4105|      4|            "bfloat16_t dot(bf16vec3,   bf16vec3);"
 4106|      4|            "bfloat16_t dot(bf16vec4,   bf16vec4);"
 4107|       |
 4108|      4|            "int16_t  bfloat16BitsToIntEXT(bfloat16_t value);"
 4109|      4|            "i16vec2  bfloat16BitsToIntEXT(bf16vec2 value);"
 4110|      4|            "i16vec3  bfloat16BitsToIntEXT(bf16vec3 value);"
 4111|      4|            "i16vec4  bfloat16BitsToIntEXT(bf16vec4 value);"
 4112|       |
 4113|      4|            "uint16_t bfloat16BitsToUintEXT(bfloat16_t value);"
 4114|      4|            "u16vec2  bfloat16BitsToUintEXT(bf16vec2 value);"
 4115|      4|            "u16vec3  bfloat16BitsToUintEXT(bf16vec3 value);"
 4116|      4|            "u16vec4  bfloat16BitsToUintEXT(bf16vec4 value);"
 4117|       |
 4118|      4|            "bfloat16_t intBitsToBFloat16EXT(int16_t value);"
 4119|      4|            "bf16vec2   intBitsToBFloat16EXT(i16vec2 value);"
 4120|      4|            "bf16vec3   intBitsToBFloat16EXT(i16vec3 value);"
 4121|      4|            "bf16vec4   intBitsToBFloat16EXT(i16vec4 value);"
 4122|       |
 4123|      4|            "bfloat16_t uintBitsToBFloat16EXT(uint16_t value);"
 4124|      4|            "bf16vec2   uintBitsToBFloat16EXT(u16vec2 value);"
 4125|      4|            "bf16vec3   uintBitsToBFloat16EXT(u16vec3 value);"
 4126|      4|            "bf16vec4   uintBitsToBFloat16EXT(u16vec4 value);"
 4127|       |
 4128|      4|            "int8_t  floate5m2BitsToIntEXT(floate5m2_t value);"
 4129|      4|            "i8vec2  floate5m2BitsToIntEXT(fe5m2vec2 value);"
 4130|      4|            "i8vec3  floate5m2BitsToIntEXT(fe5m2vec3 value);"
 4131|      4|            "i8vec4  floate5m2BitsToIntEXT(fe5m2vec4 value);"
 4132|       |
 4133|      4|            "uint8_t floate5m2BitsToUintEXT(floate5m2_t value);"
 4134|      4|            "u8vec2  floate5m2BitsToUintEXT(fe5m2vec2 value);"
 4135|      4|            "u8vec3  floate5m2BitsToUintEXT(fe5m2vec3 value);"
 4136|      4|            "u8vec4  floate5m2BitsToUintEXT(fe5m2vec4 value);"
 4137|       |
 4138|      4|            "floate5m2_t intBitsToFloate5m2EXT(int8_t value);"
 4139|      4|            "fe5m2vec2   intBitsToFloate5m2EXT(i8vec2 value);"
 4140|      4|            "fe5m2vec3   intBitsToFloate5m2EXT(i8vec3 value);"
 4141|      4|            "fe5m2vec4   intBitsToFloate5m2EXT(i8vec4 value);"
 4142|       |
 4143|      4|            "floate5m2_t uintBitsToFloate5m2EXT(uint8_t value);"
 4144|      4|            "fe5m2vec2   uintBitsToFloate5m2EXT(u8vec2 value);"
 4145|      4|            "fe5m2vec3   uintBitsToFloate5m2EXT(u8vec3 value);"
 4146|      4|            "fe5m2vec4   uintBitsToFloate5m2EXT(u8vec4 value);"
 4147|       |
 4148|      4|            "int8_t  floate4m3BitsToIntEXT(floate4m3_t value);"
 4149|      4|            "i8vec2  floate4m3BitsToIntEXT(fe4m3vec2 value);"
 4150|      4|            "i8vec3  floate4m3BitsToIntEXT(fe4m3vec3 value);"
 4151|      4|            "i8vec4  floate4m3BitsToIntEXT(fe4m3vec4 value);"
 4152|       |
 4153|      4|            "uint8_t floate4m3BitsToUintEXT(floate4m3_t value);"
 4154|      4|            "u8vec2  floate4m3BitsToUintEXT(fe4m3vec2 value);"
 4155|      4|            "u8vec3  floate4m3BitsToUintEXT(fe4m3vec3 value);"
 4156|      4|            "u8vec4  floate4m3BitsToUintEXT(fe4m3vec4 value);"
 4157|       |
 4158|      4|            "floate4m3_t intBitsToFloate4m3EXT(int8_t value);"
 4159|      4|            "fe4m3vec2   intBitsToFloate4m3EXT(i8vec2 value);"
 4160|      4|            "fe4m3vec3   intBitsToFloate4m3EXT(i8vec3 value);"
 4161|      4|            "fe4m3vec4   intBitsToFloate4m3EXT(i8vec4 value);"
 4162|       |
 4163|      4|            "floate4m3_t uintBitsToFloate4m3EXT(uint8_t value);"
 4164|      4|            "fe4m3vec2   uintBitsToFloate4m3EXT(u8vec2 value);"
 4165|      4|            "fe4m3vec3   uintBitsToFloate4m3EXT(u8vec3 value);"
 4166|      4|            "fe4m3vec4   uintBitsToFloate4m3EXT(u8vec4 value);"
 4167|       |
 4168|      4|            "void saturatedConvertEXT();"
 4169|      4|            "\n");
 4170|      4|    }
 4171|       |
 4172|       |    // Explicit types
 4173|     52|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (4173:10): [True: 4, False: 48]
  |  Branch (4173:35): [True: 4, False: 0]
  |  Branch (4173:55): [True: 48, False: 0]
  |  Branch (4173:80): [True: 0, False: 48]
  ------------------
 4174|      4|        commonBuiltins.append(
 4175|      4|            "int8_t abs(int8_t);"
 4176|      4|            "i8vec2 abs(i8vec2);"
 4177|      4|            "i8vec3 abs(i8vec3);"
 4178|      4|            "i8vec4 abs(i8vec4);"
 4179|       |
 4180|      4|            "int8_t sign(int8_t);"
 4181|      4|            "i8vec2 sign(i8vec2);"
 4182|      4|            "i8vec3 sign(i8vec3);"
 4183|      4|            "i8vec4 sign(i8vec4);"
 4184|       |
 4185|      4|            "int8_t min(int8_t x, int8_t y);"
 4186|      4|            "i8vec2 min(i8vec2 x, int8_t y);"
 4187|      4|            "i8vec3 min(i8vec3 x, int8_t y);"
 4188|      4|            "i8vec4 min(i8vec4 x, int8_t y);"
 4189|      4|            "i8vec2 min(i8vec2 x, i8vec2 y);"
 4190|      4|            "i8vec3 min(i8vec3 x, i8vec3 y);"
 4191|      4|            "i8vec4 min(i8vec4 x, i8vec4 y);"
 4192|       |
 4193|      4|            "uint8_t min(uint8_t x, uint8_t y);"
 4194|      4|            "u8vec2 min(u8vec2 x, uint8_t y);"
 4195|      4|            "u8vec3 min(u8vec3 x, uint8_t y);"
 4196|      4|            "u8vec4 min(u8vec4 x, uint8_t y);"
 4197|      4|            "u8vec2 min(u8vec2 x, u8vec2 y);"
 4198|      4|            "u8vec3 min(u8vec3 x, u8vec3 y);"
 4199|      4|            "u8vec4 min(u8vec4 x, u8vec4 y);"
 4200|       |
 4201|      4|            "int8_t max(int8_t x, int8_t y);"
 4202|      4|            "i8vec2 max(i8vec2 x, int8_t y);"
 4203|      4|            "i8vec3 max(i8vec3 x, int8_t y);"
 4204|      4|            "i8vec4 max(i8vec4 x, int8_t y);"
 4205|      4|            "i8vec2 max(i8vec2 x, i8vec2 y);"
 4206|      4|            "i8vec3 max(i8vec3 x, i8vec3 y);"
 4207|      4|            "i8vec4 max(i8vec4 x, i8vec4 y);"
 4208|       |
 4209|      4|            "uint8_t max(uint8_t x, uint8_t y);"
 4210|      4|            "u8vec2 max(u8vec2 x, uint8_t y);"
 4211|      4|            "u8vec3 max(u8vec3 x, uint8_t y);"
 4212|      4|            "u8vec4 max(u8vec4 x, uint8_t y);"
 4213|      4|            "u8vec2 max(u8vec2 x, u8vec2 y);"
 4214|      4|            "u8vec3 max(u8vec3 x, u8vec3 y);"
 4215|      4|            "u8vec4 max(u8vec4 x, u8vec4 y);"
 4216|       |
 4217|      4|            "int8_t    clamp(int8_t x, int8_t minVal, int8_t maxVal);"
 4218|      4|            "i8vec2  clamp(i8vec2  x, int8_t minVal, int8_t maxVal);"
 4219|      4|            "i8vec3  clamp(i8vec3  x, int8_t minVal, int8_t maxVal);"
 4220|      4|            "i8vec4  clamp(i8vec4  x, int8_t minVal, int8_t maxVal);"
 4221|      4|            "i8vec2  clamp(i8vec2  x, i8vec2  minVal, i8vec2  maxVal);"
 4222|      4|            "i8vec3  clamp(i8vec3  x, i8vec3  minVal, i8vec3  maxVal);"
 4223|      4|            "i8vec4  clamp(i8vec4  x, i8vec4  minVal, i8vec4  maxVal);"
 4224|       |
 4225|      4|            "uint8_t   clamp(uint8_t x, uint8_t minVal, uint8_t maxVal);"
 4226|      4|            "u8vec2  clamp(u8vec2  x, uint8_t minVal, uint8_t maxVal);"
 4227|      4|            "u8vec3  clamp(u8vec3  x, uint8_t minVal, uint8_t maxVal);"
 4228|      4|            "u8vec4  clamp(u8vec4  x, uint8_t minVal, uint8_t maxVal);"
 4229|      4|            "u8vec2  clamp(u8vec2  x, u8vec2  minVal, u8vec2  maxVal);"
 4230|      4|            "u8vec3  clamp(u8vec3  x, u8vec3  minVal, u8vec3  maxVal);"
 4231|      4|            "u8vec4  clamp(u8vec4  x, u8vec4  minVal, u8vec4  maxVal);"
 4232|       |
 4233|      4|            "int8_t  mix(int8_t,  int8_t,  bool);"
 4234|      4|            "i8vec2  mix(i8vec2,  i8vec2,  bvec2);"
 4235|      4|            "i8vec3  mix(i8vec3,  i8vec3,  bvec3);"
 4236|      4|            "i8vec4  mix(i8vec4,  i8vec4,  bvec4);"
 4237|      4|            "uint8_t mix(uint8_t, uint8_t, bool);"
 4238|      4|            "u8vec2  mix(u8vec2,  u8vec2,  bvec2);"
 4239|      4|            "u8vec3  mix(u8vec3,  u8vec3,  bvec3);"
 4240|      4|            "u8vec4  mix(u8vec4,  u8vec4,  bvec4);"
 4241|       |
 4242|      4|            "bvec2 lessThan(i8vec2, i8vec2);"
 4243|      4|            "bvec3 lessThan(i8vec3, i8vec3);"
 4244|      4|            "bvec4 lessThan(i8vec4, i8vec4);"
 4245|      4|            "bvec2 lessThan(u8vec2, u8vec2);"
 4246|      4|            "bvec3 lessThan(u8vec3, u8vec3);"
 4247|      4|            "bvec4 lessThan(u8vec4, u8vec4);"
 4248|       |
 4249|      4|            "bvec2 lessThanEqual(i8vec2, i8vec2);"
 4250|      4|            "bvec3 lessThanEqual(i8vec3, i8vec3);"
 4251|      4|            "bvec4 lessThanEqual(i8vec4, i8vec4);"
 4252|      4|            "bvec2 lessThanEqual(u8vec2, u8vec2);"
 4253|      4|            "bvec3 lessThanEqual(u8vec3, u8vec3);"
 4254|      4|            "bvec4 lessThanEqual(u8vec4, u8vec4);"
 4255|       |
 4256|      4|            "bvec2 greaterThan(i8vec2, i8vec2);"
 4257|      4|            "bvec3 greaterThan(i8vec3, i8vec3);"
 4258|      4|            "bvec4 greaterThan(i8vec4, i8vec4);"
 4259|      4|            "bvec2 greaterThan(u8vec2, u8vec2);"
 4260|      4|            "bvec3 greaterThan(u8vec3, u8vec3);"
 4261|      4|            "bvec4 greaterThan(u8vec4, u8vec4);"
 4262|       |
 4263|      4|            "bvec2 greaterThanEqual(i8vec2, i8vec2);"
 4264|      4|            "bvec3 greaterThanEqual(i8vec3, i8vec3);"
 4265|      4|            "bvec4 greaterThanEqual(i8vec4, i8vec4);"
 4266|      4|            "bvec2 greaterThanEqual(u8vec2, u8vec2);"
 4267|      4|            "bvec3 greaterThanEqual(u8vec3, u8vec3);"
 4268|      4|            "bvec4 greaterThanEqual(u8vec4, u8vec4);"
 4269|       |
 4270|      4|            "bvec2 equal(i8vec2, i8vec2);"
 4271|      4|            "bvec3 equal(i8vec3, i8vec3);"
 4272|      4|            "bvec4 equal(i8vec4, i8vec4);"
 4273|      4|            "bvec2 equal(u8vec2, u8vec2);"
 4274|      4|            "bvec3 equal(u8vec3, u8vec3);"
 4275|      4|            "bvec4 equal(u8vec4, u8vec4);"
 4276|       |
 4277|      4|            "bvec2 notEqual(i8vec2, i8vec2);"
 4278|      4|            "bvec3 notEqual(i8vec3, i8vec3);"
 4279|      4|            "bvec4 notEqual(i8vec4, i8vec4);"
 4280|      4|            "bvec2 notEqual(u8vec2, u8vec2);"
 4281|      4|            "bvec3 notEqual(u8vec3, u8vec3);"
 4282|      4|            "bvec4 notEqual(u8vec4, u8vec4);"
 4283|       |
 4284|      4|            "  int8_t bitfieldExtract(  int8_t, int8_t, int8_t);"
 4285|      4|            "i8vec2 bitfieldExtract(i8vec2, int8_t, int8_t);"
 4286|      4|            "i8vec3 bitfieldExtract(i8vec3, int8_t, int8_t);"
 4287|      4|            "i8vec4 bitfieldExtract(i8vec4, int8_t, int8_t);"
 4288|       |
 4289|      4|            " uint8_t bitfieldExtract( uint8_t, int8_t, int8_t);"
 4290|      4|            "u8vec2 bitfieldExtract(u8vec2, int8_t, int8_t);"
 4291|      4|            "u8vec3 bitfieldExtract(u8vec3, int8_t, int8_t);"
 4292|      4|            "u8vec4 bitfieldExtract(u8vec4, int8_t, int8_t);"
 4293|       |
 4294|      4|            "  int8_t bitfieldInsert(  int8_t base,   int8_t, int8_t, int8_t);"
 4295|      4|            "i8vec2 bitfieldInsert(i8vec2 base, i8vec2, int8_t, int8_t);"
 4296|      4|            "i8vec3 bitfieldInsert(i8vec3 base, i8vec3, int8_t, int8_t);"
 4297|      4|            "i8vec4 bitfieldInsert(i8vec4 base, i8vec4, int8_t, int8_t);"
 4298|       |
 4299|      4|            " uint8_t bitfieldInsert( uint8_t base,  uint8_t, int8_t, int8_t);"
 4300|      4|            "u8vec2 bitfieldInsert(u8vec2 base, u8vec2, int8_t, int8_t);"
 4301|      4|            "u8vec3 bitfieldInsert(u8vec3 base, u8vec3, int8_t, int8_t);"
 4302|      4|            "u8vec4 bitfieldInsert(u8vec4 base, u8vec4, int8_t, int8_t);"
 4303|       |
 4304|      4|            "  int8_t bitCount(  int8_t);"
 4305|      4|            "i8vec2 bitCount(i8vec2);"
 4306|      4|            "i8vec3 bitCount(i8vec3);"
 4307|      4|            "i8vec4 bitCount(i8vec4);"
 4308|       |
 4309|      4|            "  int8_t bitCount( uint8_t);"
 4310|      4|            "i8vec2 bitCount(u8vec2);"
 4311|      4|            "i8vec3 bitCount(u8vec3);"
 4312|      4|            "i8vec4 bitCount(u8vec4);"
 4313|       |
 4314|      4|            "int8_t bitfieldReverse(highp int8_t);"
 4315|      4|            "i8vec2 bitfieldReverse(highp i8vec2);"
 4316|      4|            "i8vec3 bitfieldReverse(highp i8vec3);"
 4317|      4|            "i8vec4 bitfieldReverse(highp i8vec4);"
 4318|       |
 4319|      4|            "uint8_t bitfieldReverse(highp uint8_t);"
 4320|      4|            "u8vec2  bitfieldReverse(highp u8vec2);"
 4321|      4|            "u8vec3  bitfieldReverse(highp u8vec3);"
 4322|      4|            "u8vec4  bitfieldReverse(highp u8vec4);"
 4323|       |
 4324|      4|            "  int8_t findLSB(  int8_t);"
 4325|      4|            "i8vec2 findLSB(i8vec2);"
 4326|      4|            "i8vec3 findLSB(i8vec3);"
 4327|      4|            "i8vec4 findLSB(i8vec4);"
 4328|       |
 4329|      4|            "  int8_t findLSB( uint8_t);"
 4330|      4|            "i8vec2 findLSB(u8vec2);"
 4331|      4|            "i8vec3 findLSB(u8vec3);"
 4332|      4|            "i8vec4 findLSB(u8vec4);"
 4333|       |
 4334|      4|            "  int8_t findMSB(  int8_t);"
 4335|      4|            "i8vec2 findMSB(i8vec2);"
 4336|      4|            "i8vec3 findMSB(i8vec3);"
 4337|      4|            "i8vec4 findMSB(i8vec4);"
 4338|       |
 4339|      4|            "  int8_t findMSB( uint8_t);"
 4340|      4|            "i8vec2 findMSB(u8vec2);"
 4341|      4|            "i8vec3 findMSB(u8vec3);"
 4342|      4|            "i8vec4 findMSB(u8vec4);"
 4343|       |
 4344|      4|            "int16_t abs(int16_t);"
 4345|      4|            "i16vec2 abs(i16vec2);"
 4346|      4|            "i16vec3 abs(i16vec3);"
 4347|      4|            "i16vec4 abs(i16vec4);"
 4348|       |
 4349|      4|            "int16_t sign(int16_t);"
 4350|      4|            "i16vec2 sign(i16vec2);"
 4351|      4|            "i16vec3 sign(i16vec3);"
 4352|      4|            "i16vec4 sign(i16vec4);"
 4353|       |
 4354|      4|            "int16_t min(int16_t x, int16_t y);"
 4355|      4|            "i16vec2 min(i16vec2 x, int16_t y);"
 4356|      4|            "i16vec3 min(i16vec3 x, int16_t y);"
 4357|      4|            "i16vec4 min(i16vec4 x, int16_t y);"
 4358|      4|            "i16vec2 min(i16vec2 x, i16vec2 y);"
 4359|      4|            "i16vec3 min(i16vec3 x, i16vec3 y);"
 4360|      4|            "i16vec4 min(i16vec4 x, i16vec4 y);"
 4361|       |
 4362|      4|            "uint16_t min(uint16_t x, uint16_t y);"
 4363|      4|            "u16vec2 min(u16vec2 x, uint16_t y);"
 4364|      4|            "u16vec3 min(u16vec3 x, uint16_t y);"
 4365|      4|            "u16vec4 min(u16vec4 x, uint16_t y);"
 4366|      4|            "u16vec2 min(u16vec2 x, u16vec2 y);"
 4367|      4|            "u16vec3 min(u16vec3 x, u16vec3 y);"
 4368|      4|            "u16vec4 min(u16vec4 x, u16vec4 y);"
 4369|       |
 4370|      4|            "int16_t max(int16_t x, int16_t y);"
 4371|      4|            "i16vec2 max(i16vec2 x, int16_t y);"
 4372|      4|            "i16vec3 max(i16vec3 x, int16_t y);"
 4373|      4|            "i16vec4 max(i16vec4 x, int16_t y);"
 4374|      4|            "i16vec2 max(i16vec2 x, i16vec2 y);"
 4375|      4|            "i16vec3 max(i16vec3 x, i16vec3 y);"
 4376|      4|            "i16vec4 max(i16vec4 x, i16vec4 y);"
 4377|       |
 4378|      4|            "uint16_t max(uint16_t x, uint16_t y);"
 4379|      4|            "u16vec2 max(u16vec2 x, uint16_t y);"
 4380|      4|            "u16vec3 max(u16vec3 x, uint16_t y);"
 4381|      4|            "u16vec4 max(u16vec4 x, uint16_t y);"
 4382|      4|            "u16vec2 max(u16vec2 x, u16vec2 y);"
 4383|      4|            "u16vec3 max(u16vec3 x, u16vec3 y);"
 4384|      4|            "u16vec4 max(u16vec4 x, u16vec4 y);"
 4385|       |
 4386|      4|            "int16_t    clamp(int16_t x, int16_t minVal, int16_t maxVal);"
 4387|      4|            "i16vec2  clamp(i16vec2  x, int16_t minVal, int16_t maxVal);"
 4388|      4|            "i16vec3  clamp(i16vec3  x, int16_t minVal, int16_t maxVal);"
 4389|      4|            "i16vec4  clamp(i16vec4  x, int16_t minVal, int16_t maxVal);"
 4390|      4|            "i16vec2  clamp(i16vec2  x, i16vec2  minVal, i16vec2  maxVal);"
 4391|      4|            "i16vec3  clamp(i16vec3  x, i16vec3  minVal, i16vec3  maxVal);"
 4392|      4|            "i16vec4  clamp(i16vec4  x, i16vec4  minVal, i16vec4  maxVal);"
 4393|       |
 4394|      4|            "uint16_t   clamp(uint16_t x, uint16_t minVal, uint16_t maxVal);"
 4395|      4|            "u16vec2  clamp(u16vec2  x, uint16_t minVal, uint16_t maxVal);"
 4396|      4|            "u16vec3  clamp(u16vec3  x, uint16_t minVal, uint16_t maxVal);"
 4397|      4|            "u16vec4  clamp(u16vec4  x, uint16_t minVal, uint16_t maxVal);"
 4398|      4|            "u16vec2  clamp(u16vec2  x, u16vec2  minVal, u16vec2  maxVal);"
 4399|      4|            "u16vec3  clamp(u16vec3  x, u16vec3  minVal, u16vec3  maxVal);"
 4400|      4|            "u16vec4  clamp(u16vec4  x, u16vec4  minVal, u16vec4  maxVal);"
 4401|       |
 4402|      4|            "int16_t  mix(int16_t,  int16_t,  bool);"
 4403|      4|            "i16vec2  mix(i16vec2,  i16vec2,  bvec2);"
 4404|      4|            "i16vec3  mix(i16vec3,  i16vec3,  bvec3);"
 4405|      4|            "i16vec4  mix(i16vec4,  i16vec4,  bvec4);"
 4406|      4|            "uint16_t mix(uint16_t, uint16_t, bool);"
 4407|      4|            "u16vec2  mix(u16vec2,  u16vec2,  bvec2);"
 4408|      4|            "u16vec3  mix(u16vec3,  u16vec3,  bvec3);"
 4409|      4|            "u16vec4  mix(u16vec4,  u16vec4,  bvec4);"
 4410|       |
 4411|      4|            "float16_t frexp(float16_t, out int16_t);"
 4412|      4|            "f16vec2   frexp(f16vec2,   out i16vec2);"
 4413|      4|            "f16vec3   frexp(f16vec3,   out i16vec3);"
 4414|      4|            "f16vec4   frexp(f16vec4,   out i16vec4);"
 4415|       |
 4416|      4|            "float16_t ldexp(float16_t, int16_t);"
 4417|      4|            "f16vec2   ldexp(f16vec2,   i16vec2);"
 4418|      4|            "f16vec3   ldexp(f16vec3,   i16vec3);"
 4419|      4|            "f16vec4   ldexp(f16vec4,   i16vec4);"
 4420|       |
 4421|      4|            "int16_t halfBitsToInt16(float16_t);"
 4422|      4|            "i16vec2 halfBitsToInt16(f16vec2);"
 4423|      4|            "i16vec3 halhBitsToInt16(f16vec3);"
 4424|      4|            "i16vec4 halfBitsToInt16(f16vec4);"
 4425|       |
 4426|      4|            "uint16_t halfBitsToUint16(float16_t);"
 4427|      4|            "u16vec2  halfBitsToUint16(f16vec2);"
 4428|      4|            "u16vec3  halfBitsToUint16(f16vec3);"
 4429|      4|            "u16vec4  halfBitsToUint16(f16vec4);"
 4430|       |
 4431|      4|            "int16_t float16BitsToInt16(float16_t);"
 4432|      4|            "i16vec2 float16BitsToInt16(f16vec2);"
 4433|      4|            "i16vec3 float16BitsToInt16(f16vec3);"
 4434|      4|            "i16vec4 float16BitsToInt16(f16vec4);"
 4435|       |
 4436|      4|            "uint16_t float16BitsToUint16(float16_t);"
 4437|      4|            "u16vec2  float16BitsToUint16(f16vec2);"
 4438|      4|            "u16vec3  float16BitsToUint16(f16vec3);"
 4439|      4|            "u16vec4  float16BitsToUint16(f16vec4);"
 4440|       |
 4441|      4|            "float16_t int16BitsToFloat16(int16_t);"
 4442|      4|            "f16vec2   int16BitsToFloat16(i16vec2);"
 4443|      4|            "f16vec3   int16BitsToFloat16(i16vec3);"
 4444|      4|            "f16vec4   int16BitsToFloat16(i16vec4);"
 4445|       |
 4446|      4|            "float16_t uint16BitsToFloat16(uint16_t);"
 4447|      4|            "f16vec2   uint16BitsToFloat16(u16vec2);"
 4448|      4|            "f16vec3   uint16BitsToFloat16(u16vec3);"
 4449|      4|            "f16vec4   uint16BitsToFloat16(u16vec4);"
 4450|       |
 4451|      4|            "float16_t int16BitsToHalf(int16_t);"
 4452|      4|            "f16vec2   int16BitsToHalf(i16vec2);"
 4453|      4|            "f16vec3   int16BitsToHalf(i16vec3);"
 4454|      4|            "f16vec4   int16BitsToHalf(i16vec4);"
 4455|       |
 4456|      4|            "float16_t uint16BitsToHalf(uint16_t);"
 4457|      4|            "f16vec2   uint16BitsToHalf(u16vec2);"
 4458|      4|            "f16vec3   uint16BitsToHalf(u16vec3);"
 4459|      4|            "f16vec4   uint16BitsToHalf(u16vec4);"
 4460|       |
 4461|      4|            "int      packInt2x16(i16vec2);"
 4462|      4|            "uint     packUint2x16(u16vec2);"
 4463|      4|            "int64_t  packInt4x16(i16vec4);"
 4464|      4|            "uint64_t packUint4x16(u16vec4);"
 4465|      4|            "i16vec2  unpackInt2x16(int);"
 4466|      4|            "u16vec2  unpackUint2x16(uint);"
 4467|      4|            "i16vec4  unpackInt4x16(int64_t);"
 4468|      4|            "u16vec4  unpackUint4x16(uint64_t);"
 4469|       |
 4470|      4|            "bvec2 lessThan(i16vec2, i16vec2);"
 4471|      4|            "bvec3 lessThan(i16vec3, i16vec3);"
 4472|      4|            "bvec4 lessThan(i16vec4, i16vec4);"
 4473|      4|            "bvec2 lessThan(u16vec2, u16vec2);"
 4474|      4|            "bvec3 lessThan(u16vec3, u16vec3);"
 4475|      4|            "bvec4 lessThan(u16vec4, u16vec4);"
 4476|       |
 4477|      4|            "bvec2 lessThanEqual(i16vec2, i16vec2);"
 4478|      4|            "bvec3 lessThanEqual(i16vec3, i16vec3);"
 4479|      4|            "bvec4 lessThanEqual(i16vec4, i16vec4);"
 4480|      4|            "bvec2 lessThanEqual(u16vec2, u16vec2);"
 4481|      4|            "bvec3 lessThanEqual(u16vec3, u16vec3);"
 4482|      4|            "bvec4 lessThanEqual(u16vec4, u16vec4);"
 4483|       |
 4484|      4|            "bvec2 greaterThan(i16vec2, i16vec2);"
 4485|      4|            "bvec3 greaterThan(i16vec3, i16vec3);"
 4486|      4|            "bvec4 greaterThan(i16vec4, i16vec4);"
 4487|      4|            "bvec2 greaterThan(u16vec2, u16vec2);"
 4488|      4|            "bvec3 greaterThan(u16vec3, u16vec3);"
 4489|      4|            "bvec4 greaterThan(u16vec4, u16vec4);"
 4490|       |
 4491|      4|            "bvec2 greaterThanEqual(i16vec2, i16vec2);"
 4492|      4|            "bvec3 greaterThanEqual(i16vec3, i16vec3);"
 4493|      4|            "bvec4 greaterThanEqual(i16vec4, i16vec4);"
 4494|      4|            "bvec2 greaterThanEqual(u16vec2, u16vec2);"
 4495|      4|            "bvec3 greaterThanEqual(u16vec3, u16vec3);"
 4496|      4|            "bvec4 greaterThanEqual(u16vec4, u16vec4);"
 4497|       |
 4498|      4|            "bvec2 equal(i16vec2, i16vec2);"
 4499|      4|            "bvec3 equal(i16vec3, i16vec3);"
 4500|      4|            "bvec4 equal(i16vec4, i16vec4);"
 4501|      4|            "bvec2 equal(u16vec2, u16vec2);"
 4502|      4|            "bvec3 equal(u16vec3, u16vec3);"
 4503|      4|            "bvec4 equal(u16vec4, u16vec4);"
 4504|       |
 4505|      4|            "bvec2 notEqual(i16vec2, i16vec2);"
 4506|      4|            "bvec3 notEqual(i16vec3, i16vec3);"
 4507|      4|            "bvec4 notEqual(i16vec4, i16vec4);"
 4508|      4|            "bvec2 notEqual(u16vec2, u16vec2);"
 4509|      4|            "bvec3 notEqual(u16vec3, u16vec3);"
 4510|      4|            "bvec4 notEqual(u16vec4, u16vec4);"
 4511|       |
 4512|      4|            "  int16_t bitfieldExtract(  int16_t, int16_t, int16_t);"
 4513|      4|            "i16vec2 bitfieldExtract(i16vec2, int16_t, int16_t);"
 4514|      4|            "i16vec3 bitfieldExtract(i16vec3, int16_t, int16_t);"
 4515|      4|            "i16vec4 bitfieldExtract(i16vec4, int16_t, int16_t);"
 4516|       |
 4517|      4|            " uint16_t bitfieldExtract( uint16_t, int16_t, int16_t);"
 4518|      4|            "u16vec2 bitfieldExtract(u16vec2, int16_t, int16_t);"
 4519|      4|            "u16vec3 bitfieldExtract(u16vec3, int16_t, int16_t);"
 4520|      4|            "u16vec4 bitfieldExtract(u16vec4, int16_t, int16_t);"
 4521|       |
 4522|      4|            "  int16_t bitfieldInsert(  int16_t base,   int16_t, int16_t, int16_t);"
 4523|      4|            "i16vec2 bitfieldInsert(i16vec2 base, i16vec2, int16_t, int16_t);"
 4524|      4|            "i16vec3 bitfieldInsert(i16vec3 base, i16vec3, int16_t, int16_t);"
 4525|      4|            "i16vec4 bitfieldInsert(i16vec4 base, i16vec4, int16_t, int16_t);"
 4526|       |
 4527|      4|            " uint16_t bitfieldInsert( uint16_t base,  uint16_t, int16_t, int16_t);"
 4528|      4|            "u16vec2 bitfieldInsert(u16vec2 base, u16vec2, int16_t, int16_t);"
 4529|      4|            "u16vec3 bitfieldInsert(u16vec3 base, u16vec3, int16_t, int16_t);"
 4530|      4|            "u16vec4 bitfieldInsert(u16vec4 base, u16vec4, int16_t, int16_t);"
 4531|       |
 4532|      4|            "  int16_t bitCount(  int16_t);"
 4533|      4|            "i16vec2 bitCount(i16vec2);"
 4534|      4|            "i16vec3 bitCount(i16vec3);"
 4535|      4|            "i16vec4 bitCount(i16vec4);"
 4536|       |
 4537|      4|            "  int16_t bitCount( uint16_t);"
 4538|      4|            "i16vec2 bitCount(u16vec2);"
 4539|      4|            "i16vec3 bitCount(u16vec3);"
 4540|      4|            "i16vec4 bitCount(u16vec4);"
 4541|       |
 4542|      4|            "int16_t bitfieldReverse(highp int16_t);"
 4543|      4|            "i16vec2 bitfieldReverse(highp i16vec2);"
 4544|      4|            "i16vec3 bitfieldReverse(highp i16vec3);"
 4545|      4|            "i16vec4 bitfieldReverse(highp i16vec4);"
 4546|       |
 4547|      4|            "uint16_t bitfieldReverse(highp uint16_t);"
 4548|      4|            "u16vec2  bitfieldReverse(highp u16vec2);"
 4549|      4|            "u16vec3  bitfieldReverse(highp u16vec3);"
 4550|      4|            "u16vec4  bitfieldReverse(highp u16vec4);"
 4551|       |
 4552|      4|            "  int16_t findLSB(  int16_t);"
 4553|      4|            "i16vec2 findLSB(i16vec2);"
 4554|      4|            "i16vec3 findLSB(i16vec3);"
 4555|      4|            "i16vec4 findLSB(i16vec4);"
 4556|       |
 4557|      4|            "  int16_t findLSB( uint16_t);"
 4558|      4|            "i16vec2 findLSB(u16vec2);"
 4559|      4|            "i16vec3 findLSB(u16vec3);"
 4560|      4|            "i16vec4 findLSB(u16vec4);"
 4561|       |
 4562|      4|            "  int16_t findMSB(  int16_t);"
 4563|      4|            "i16vec2 findMSB(i16vec2);"
 4564|      4|            "i16vec3 findMSB(i16vec3);"
 4565|      4|            "i16vec4 findMSB(i16vec4);"
 4566|       |
 4567|      4|            "  int16_t findMSB( uint16_t);"
 4568|      4|            "i16vec2 findMSB(u16vec2);"
 4569|      4|            "i16vec3 findMSB(u16vec3);"
 4570|      4|            "i16vec4 findMSB(u16vec4);"
 4571|       |
 4572|      4|            "int16_t  pack16(i8vec2);"
 4573|      4|            "uint16_t pack16(u8vec2);"
 4574|      4|            "int32_t  pack32(i8vec4);"
 4575|      4|            "uint32_t pack32(u8vec4);"
 4576|      4|            "int32_t  pack32(i16vec2);"
 4577|      4|            "uint32_t pack32(u16vec2);"
 4578|      4|            "int64_t  pack64(i16vec4);"
 4579|      4|            "uint64_t pack64(u16vec4);"
 4580|      4|            "int64_t  pack64(i32vec2);"
 4581|      4|            "uint64_t pack64(u32vec2);"
 4582|       |
 4583|      4|            "i8vec2   unpack8(int16_t);"
 4584|      4|            "u8vec2   unpack8(uint16_t);"
 4585|      4|            "i8vec4   unpack8(int32_t);"
 4586|      4|            "u8vec4   unpack8(uint32_t);"
 4587|      4|            "i16vec2  unpack16(int32_t);"
 4588|      4|            "u16vec2  unpack16(uint32_t);"
 4589|      4|            "i16vec4  unpack16(int64_t);"
 4590|      4|            "u16vec4  unpack16(uint64_t);"
 4591|      4|            "i32vec2  unpack32(int64_t);"
 4592|      4|            "u32vec2  unpack32(uint64_t);"
 4593|       |
 4594|       |            // GL_EXT_expect_assume
 4595|      4|            "int8_t expectEXT(int8_t, int8_t);"
 4596|      4|            "i8vec2 expectEXT(i8vec2, i8vec2);"
 4597|      4|            "i8vec3 expectEXT(i8vec3, i8vec3);"
 4598|      4|            "i8vec4 expectEXT(i8vec4, i8vec4);"
 4599|       |
 4600|      4|            "uint8_t expectEXT(uint8_t, uint8_t);"
 4601|      4|            "u8vec2 expectEXT(u8vec2, u8vec2);"
 4602|      4|            "u8vec3 expectEXT(u8vec3, u8vec3);"
 4603|      4|            "u8vec4 expectEXT(u8vec4, u8vec4);"
 4604|       |
 4605|      4|            "int16_t expectEXT(int16_t, int16_t);"
 4606|      4|            "i16vec2 expectEXT(i16vec2, i16vec2);"
 4607|      4|            "i16vec3 expectEXT(i16vec3, i16vec3);"
 4608|      4|            "i16vec4 expectEXT(i16vec4, i16vec4);"
 4609|       |
 4610|      4|            "uint16_t expectEXT(uint16_t, uint16_t);"
 4611|      4|            "u16vec2 expectEXT(u16vec2, u16vec2);"
 4612|      4|            "u16vec3 expectEXT(u16vec3, u16vec3);"
 4613|      4|            "u16vec4 expectEXT(u16vec4, u16vec4);"
 4614|       |
 4615|      4|            "int64_t expectEXT(int64_t, int64_t);"
 4616|      4|            "i64vec2 expectEXT(i64vec2, i64vec2);"
 4617|      4|            "i64vec3 expectEXT(i64vec3, i64vec3);"
 4618|      4|            "i64vec4 expectEXT(i64vec4, i64vec4);"
 4619|       |
 4620|      4|            "uint64_t expectEXT(uint64_t, uint64_t);"
 4621|      4|            "u64vec2 expectEXT(u64vec2, u64vec2);"
 4622|      4|            "u64vec3 expectEXT(u64vec3, u64vec3);"
 4623|      4|            "u64vec4 expectEXT(u64vec4, u64vec4);"
 4624|      4|            "\n");
 4625|      4|    }
 4626|       |
 4627|       |    // Builtins for GL_EXT_texture_shadow_lod
 4628|     52|    if ((profile == EEsProfile && version >= 300) || ((profile != EEsProfile && version >= 130))) { 
  ------------------
  |  Branch (4628:10): [True: 48, False: 4]
  |  Branch (4628:35): [True: 0, False: 48]
  |  Branch (4628:56): [True: 4, False: 48]
  |  Branch (4628:81): [True: 4, False: 0]
  ------------------
 4629|      4|        commonBuiltins.append(
 4630|      4|            "float texture(sampler2DArrayShadow, vec4, float);"
 4631|      4|            "float texture(samplerCubeArrayShadow, vec4, float, float);"
 4632|      4|            "float textureLod(sampler2DArrayShadow, vec4, float);"
 4633|      4|            "float textureLod(samplerCubeShadow, vec4, float);"
 4634|      4|            "float textureLod(samplerCubeArrayShadow, vec4, float, float);"
 4635|      4|            "float textureLodOffset(sampler2DArrayShadow, vec4, float, ivec2);"
 4636|      4|            "float textureOffset(sampler2DArrayShadow, vec4 , ivec2, float);"
 4637|      4|            "\n");
 4638|      4|    }
 4639|       |
 4640|     52|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (4640:9): [True: 4, False: 48]
  |  Branch (4640:34): [True: 4, False: 0]
  ------------------
 4641|      4|        stageBuiltins[EShLangFragment].append(derivativesAndControl64bits);
 4642|      4|        stageBuiltins[EShLangFragment].append(
 4643|      4|            "float64_t interpolateAtCentroid(float64_t);"
 4644|      4|            "f64vec2   interpolateAtCentroid(f64vec2);"
 4645|      4|            "f64vec3   interpolateAtCentroid(f64vec3);"
 4646|      4|            "f64vec4   interpolateAtCentroid(f64vec4);"
 4647|       |
 4648|      4|            "float64_t interpolateAtSample(float64_t, int);"
 4649|      4|            "f64vec2   interpolateAtSample(f64vec2,   int);"
 4650|      4|            "f64vec3   interpolateAtSample(f64vec3,   int);"
 4651|      4|            "f64vec4   interpolateAtSample(f64vec4,   int);"
 4652|       |
 4653|      4|            "float64_t interpolateAtOffset(float64_t, f64vec2);"
 4654|      4|            "f64vec2   interpolateAtOffset(f64vec2,   f64vec2);"
 4655|      4|            "f64vec3   interpolateAtOffset(f64vec3,   f64vec2);"
 4656|      4|            "f64vec4   interpolateAtOffset(f64vec4,   f64vec2);"
 4657|       |
 4658|      4|            "\n");
 4659|       |
 4660|      4|    }
 4661|       |
 4662|       |    // GL_EXT_expect_assume
 4663|     52|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (4663:10): [True: 48, False: 4]
  |  Branch (4663:35): [True: 0, False: 48]
  ------------------
 4664|     52|         ((profile != EEsProfile && version >= 140))) {
  ------------------
  |  Branch (4664:12): [True: 4, False: 48]
  |  Branch (4664:37): [True: 4, False: 0]
  ------------------
 4665|      4|        commonBuiltins.append(
 4666|      4|            "void assumeEXT(bool);"
 4667|       |
 4668|      4|            "bool expectEXT(bool, bool);"
 4669|      4|            "bvec2 expectEXT(bvec2, bvec2);"
 4670|      4|            "bvec3 expectEXT(bvec3, bvec3);"
 4671|      4|            "bvec4 expectEXT(bvec4, bvec4);"
 4672|       |
 4673|      4|            "int expectEXT(int, int);"
 4674|      4|            "ivec2 expectEXT(ivec2, ivec2);"
 4675|      4|            "ivec3 expectEXT(ivec3, ivec3);"
 4676|      4|            "ivec4 expectEXT(ivec4, ivec4);"
 4677|       |
 4678|      4|            "uint expectEXT(uint, uint);"
 4679|      4|            "uvec2 expectEXT(uvec2, uvec2);"
 4680|      4|            "uvec3 expectEXT(uvec3, uvec3);"
 4681|      4|            "uvec4 expectEXT(uvec4, uvec4);"
 4682|      4|            "\n");
 4683|      4|    }
 4684|       |
 4685|       |    // QCOM_image_processing
 4686|     52|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (4686:10): [True: 48, False: 4]
  |  Branch (4686:35): [True: 0, False: 48]
  ------------------
 4687|     52|         (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (4687:11): [True: 4, False: 48]
  |  Branch (4687:36): [True: 4, False: 0]
  ------------------
 4688|      4|        commonBuiltins.append(
 4689|      4|           "vec4 textureWeightedQCOM(sampler2D, vec2, sampler2DArray);"
 4690|      4|           "vec4 textureWeightedQCOM(sampler2D, vec2, sampler1DArray);"
 4691|      4|           "vec4 textureBoxFilterQCOM(sampler2D, vec2, vec2);"
 4692|      4|           "vec4 textureBlockMatchSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4693|      4|           "vec4 textureBlockMatchSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4694|       |
 4695|      4|           "vec4 textureBlockMatchWindowSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4696|      4|           "vec4 textureBlockMatchWindowSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4697|      4|           "vec4 textureBlockMatchGatherSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4698|      4|           "vec4 textureBlockMatchGatherSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4699|      4|           "\n");
 4700|      4|    }
 4701|       |
 4702|       |    //============================================================================
 4703|       |    //
 4704|       |    // Prototypes for built-in functions seen by vertex shaders only.
 4705|       |    // (Except legacy lod functions, where it depends which release they are
 4706|       |    // vertex only.)
 4707|       |    //
 4708|       |    //============================================================================
 4709|       |
 4710|       |    //
 4711|       |    // Geometric Functions.
 4712|       |    //
 4713|     52|    if (spvVersion.vulkan == 0 && IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (4713:9): [True: 47, False: 5]
  |  Branch (4713:35): [True: 0, False: 47]
  ------------------
 4714|      0|        stageBuiltins[EShLangVertex].append("vec4 ftransform();");
 4715|       |
 4716|       |    //
 4717|       |    // Original-style texture Functions with lod.
 4718|       |    //
 4719|     52|    TString* s;
 4720|     52|    if (version == 100)
  ------------------
  |  Branch (4720:9): [True: 48, False: 4]
  ------------------
 4721|     48|        s = &stageBuiltins[EShLangVertex];
 4722|      4|    else
 4723|      4|        s = &commonBuiltins;
 4724|     52|    if ((profile == EEsProfile && version == 100) ||
  ------------------
  |  Branch (4724:10): [True: 48, False: 4]
  |  Branch (4724:35): [True: 48, False: 0]
  ------------------
 4725|      4|         profile == ECompatibilityProfile ||
  ------------------
  |  Branch (4725:10): [True: 0, False: 4]
  ------------------
 4726|      4|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (4726:10): [True: 4, False: 0]
  |  Branch (4726:37): [True: 0, False: 4]
  ------------------
 4727|     48|         profile == ENoProfile) {
  ------------------
  |  Branch (4727:10): [True: 0, False: 4]
  ------------------
 4728|     48|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (4728:13): [True: 48, False: 0]
  ------------------
 4729|     48|            s->append(
 4730|     48|                "vec4 texture2DLod(sampler2D, vec2, float);"         // GL_ARB_shader_texture_lod
 4731|     48|                "vec4 texture2DProjLod(sampler2D, vec3, float);"     // GL_ARB_shader_texture_lod
 4732|     48|                "vec4 texture2DProjLod(sampler2D, vec4, float);"     // GL_ARB_shader_texture_lod
 4733|     48|                "vec4 texture3DLod(sampler3D, vec3, float);"         // GL_ARB_shader_texture_lod  // OES_texture_3D, but caught by keyword check
 4734|     48|                "vec4 texture3DProjLod(sampler3D, vec4, float);"     // GL_ARB_shader_texture_lod  // OES_texture_3D, but caught by keyword check
 4735|     48|                "vec4 textureCubeLod(samplerCube, vec3, float);"     // GL_ARB_shader_texture_lod
 4736|       |
 4737|     48|                "\n");
 4738|     48|        }
 4739|     48|    }
 4740|     52|    if ( profile == ECompatibilityProfile ||
  ------------------
  |  Branch (4740:10): [True: 0, False: 52]
  ------------------
 4741|     52|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (4741:10): [True: 4, False: 48]
  |  Branch (4741:37): [True: 0, False: 4]
  ------------------
 4742|     52|         profile == ENoProfile) {
  ------------------
  |  Branch (4742:10): [True: 0, False: 52]
  ------------------
 4743|      0|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (4743:13): [True: 0, False: 0]
  ------------------
 4744|      0|            s->append(
 4745|      0|                "vec4 texture1DLod(sampler1D, float, float);"                          // GL_ARB_shader_texture_lod
 4746|      0|                "vec4 texture1DProjLod(sampler1D, vec2, float);"                       // GL_ARB_shader_texture_lod
 4747|      0|                "vec4 texture1DProjLod(sampler1D, vec4, float);"                       // GL_ARB_shader_texture_lod
 4748|      0|                "vec4 shadow1DLod(sampler1DShadow, vec3, float);"                      // GL_ARB_shader_texture_lod
 4749|      0|                "vec4 shadow2DLod(sampler2DShadow, vec3, float);"                      // GL_ARB_shader_texture_lod
 4750|      0|                "vec4 shadow1DProjLod(sampler1DShadow, vec4, float);"                  // GL_ARB_shader_texture_lod
 4751|      0|                "vec4 shadow2DProjLod(sampler2DShadow, vec4, float);"                  // GL_ARB_shader_texture_lod
 4752|       |
 4753|      0|                "vec4 texture1DGradARB(sampler1D, float, float, float);"               // GL_ARB_shader_texture_lod
 4754|      0|                "vec4 texture1DProjGradARB(sampler1D, vec2, float, float);"            // GL_ARB_shader_texture_lod
 4755|      0|                "vec4 texture1DProjGradARB(sampler1D, vec4, float, float);"            // GL_ARB_shader_texture_lod
 4756|      0|                "vec4 texture2DGradARB(sampler2D, vec2, vec2, vec2);"                  // GL_ARB_shader_texture_lod
 4757|      0|                "vec4 texture2DProjGradARB(sampler2D, vec3, vec2, vec2);"              // GL_ARB_shader_texture_lod
 4758|      0|                "vec4 texture2DProjGradARB(sampler2D, vec4, vec2, vec2);"              // GL_ARB_shader_texture_lod
 4759|      0|                "vec4 texture3DGradARB(sampler3D, vec3, vec3, vec3);"                  // GL_ARB_shader_texture_lod
 4760|      0|                "vec4 texture3DProjGradARB(sampler3D, vec4, vec3, vec3);"              // GL_ARB_shader_texture_lod
 4761|      0|                "vec4 textureCubeGradARB(samplerCube, vec3, vec3, vec3);"              // GL_ARB_shader_texture_lod
 4762|      0|                "vec4 shadow1DGradARB(sampler1DShadow, vec3, float, float);"           // GL_ARB_shader_texture_lod
 4763|      0|                "vec4 shadow1DProjGradARB( sampler1DShadow, vec4, float, float);"      // GL_ARB_shader_texture_lod
 4764|      0|                "vec4 shadow2DGradARB(sampler2DShadow, vec3, vec2, vec2);"             // GL_ARB_shader_texture_lod
 4765|      0|                "vec4 shadow2DProjGradARB( sampler2DShadow, vec4, vec2, vec2);"        // GL_ARB_shader_texture_lod
 4766|      0|                "vec4 texture2DRectGradARB(sampler2DRect, vec2, vec2, vec2);"          // GL_ARB_shader_texture_lod
 4767|      0|                "vec4 texture2DRectProjGradARB( sampler2DRect, vec3, vec2, vec2);"     // GL_ARB_shader_texture_lod
 4768|      0|                "vec4 texture2DRectProjGradARB( sampler2DRect, vec4, vec2, vec2);"     // GL_ARB_shader_texture_lod
 4769|      0|                "vec4 shadow2DRectGradARB( sampler2DRectShadow, vec3, vec2, vec2);"    // GL_ARB_shader_texture_lod
 4770|      0|                "vec4 shadow2DRectProjGradARB(sampler2DRectShadow, vec4, vec2, vec2);" // GL_ARB_shader_texture_lod
 4771|       |
 4772|      0|                "\n");
 4773|      0|        }
 4774|      0|    }
 4775|       |
 4776|     52|    if ((profile != EEsProfile && version >= 150) ||
  ------------------
  |  Branch (4776:10): [True: 4, False: 48]
  |  Branch (4776:35): [True: 4, False: 0]
  ------------------
 4777|     48|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (4777:10): [True: 48, False: 0]
  |  Branch (4777:35): [True: 0, False: 48]
  ------------------
 4778|       |        //============================================================================
 4779|       |        //
 4780|       |        // Prototypes for built-in functions seen by geometry shaders only.
 4781|       |        //
 4782|       |        //============================================================================
 4783|      4|        if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (4783:13): [True: 4, False: 0]
  |  Branch (4783:38): [True: 4, False: 0]
  ------------------
 4784|      4|            stageBuiltins[EShLangGeometry].append(
 4785|      4|                "void EmitStreamVertex(int);"
 4786|      4|                "void EndStreamPrimitive(int);"
 4787|      4|                );
 4788|      4|        }
 4789|      4|        stageBuiltins[EShLangGeometry].append(
 4790|      4|            "void EmitVertex();"
 4791|      4|            "void EndPrimitive();"
 4792|      4|            "\n");
 4793|      4|    }
 4794|       |
 4795|       |    //============================================================================
 4796|       |    //
 4797|       |    // Prototypes for all control functions.
 4798|       |    //
 4799|       |    //============================================================================
 4800|     52|    bool esBarrier = (profile == EEsProfile && version >= 310);
  ------------------
  |  Branch (4800:23): [True: 48, False: 4]
  |  Branch (4800:48): [True: 0, False: 48]
  ------------------
 4801|     52|    if ((profile != EEsProfile && version >= 150) || esBarrier)
  ------------------
  |  Branch (4801:10): [True: 4, False: 48]
  |  Branch (4801:35): [True: 4, False: 0]
  |  Branch (4801:54): [True: 0, False: 48]
  ------------------
 4802|      4|        stageBuiltins[EShLangTessControl].append(
 4803|      4|            "void barrier();"
 4804|      4|            );
 4805|     52|    if ((profile != EEsProfile && version >= 420) || esBarrier)
  ------------------
  |  Branch (4805:10): [True: 4, False: 48]
  |  Branch (4805:35): [True: 4, False: 0]
  |  Branch (4805:54): [True: 0, False: 48]
  ------------------
 4806|      4|        stageBuiltins[EShLangCompute].append(
 4807|      4|            "void barrier();"
 4808|      4|            );
 4809|     52|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (4809:10): [True: 4, False: 48]
  |  Branch (4809:35): [True: 4, False: 0]
  |  Branch (4809:55): [True: 48, False: 0]
  |  Branch (4809:80): [True: 0, False: 48]
  ------------------
 4810|      4|        stageBuiltins[EShLangMesh].append(
 4811|      4|            "void barrier();"
 4812|      4|            );
 4813|      4|        stageBuiltins[EShLangTask].append(
 4814|      4|            "void barrier();"
 4815|      4|            );
 4816|      4|    }
 4817|     52|    if ((profile != EEsProfile && version >= 130) || esBarrier)
  ------------------
  |  Branch (4817:10): [True: 4, False: 48]
  |  Branch (4817:35): [True: 4, False: 0]
  |  Branch (4817:54): [True: 0, False: 48]
  ------------------
 4818|      4|        commonBuiltins.append(
 4819|      4|            "void memoryBarrier();"
 4820|      4|            );
 4821|     52|    if ((profile != EEsProfile && version >= 420) || esBarrier) {
  ------------------
  |  Branch (4821:10): [True: 4, False: 48]
  |  Branch (4821:35): [True: 4, False: 0]
  |  Branch (4821:54): [True: 0, False: 48]
  ------------------
 4822|      4|        commonBuiltins.append(
 4823|      4|            "void memoryBarrierBuffer();"
 4824|      4|            );
 4825|      4|        stageBuiltins[EShLangCompute].append(
 4826|      4|            "void memoryBarrierShared();"
 4827|      4|            "void groupMemoryBarrier();"
 4828|      4|            );
 4829|      4|    }
 4830|     52|    if ((profile != EEsProfile && version >= 420) || esBarrier) {
  ------------------
  |  Branch (4830:10): [True: 4, False: 48]
  |  Branch (4830:35): [True: 4, False: 0]
  |  Branch (4830:54): [True: 0, False: 48]
  ------------------
 4831|      4|        if (spvVersion.vulkan == 0 || spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (4831:13): [True: 2, False: 2]
  |  Branch (4831:39): [True: 0, False: 2]
  ------------------
 4832|      2|            commonBuiltins.append("void memoryBarrierAtomicCounter();");
 4833|      2|        }
 4834|      4|        commonBuiltins.append("void memoryBarrierImage();");
 4835|      4|    }
 4836|     52|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (4836:10): [True: 4, False: 48]
  |  Branch (4836:35): [True: 4, False: 0]
  |  Branch (4836:55): [True: 48, False: 0]
  |  Branch (4836:80): [True: 0, False: 48]
  ------------------
 4837|      4|        stageBuiltins[EShLangMesh].append(
 4838|      4|            "void memoryBarrierShared();"
 4839|      4|            "void groupMemoryBarrier();"
 4840|      4|        );
 4841|      4|        stageBuiltins[EShLangTask].append(
 4842|      4|            "void memoryBarrierShared();"
 4843|      4|            "void groupMemoryBarrier();"
 4844|      4|        );
 4845|      4|    }
 4846|       |
 4847|     52|    commonBuiltins.append("void controlBarrier(int, int, int, int);\n"
 4848|     52|                          "void memoryBarrier(int, int, int);\n");
 4849|       |
 4850|     52|    commonBuiltins.append("void debugPrintfEXT();\n");
 4851|       |
 4852|     52|    commonBuiltins.append("void abortEXT();\n");
 4853|       |
 4854|     52|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (4854:9): [True: 4, False: 48]
  |  Branch (4854:34): [True: 4, False: 0]
  ------------------
 4855|       |        // coopMatStoreNV perhaps ought to have "out" on the buf parameter, but
 4856|       |        // adding it introduces undesirable tempArgs on the stack. What we want
 4857|       |        // is more like "buf" thought of as a pointer value being an in parameter.
 4858|      4|        stageBuiltins[EShLangCompute].append(
 4859|      4|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal float16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4860|      4|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal float[] buf, uint element, uint stride, bool colMajor);\n"
 4861|      4|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4862|      4|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4863|      4|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4864|      4|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4865|      4|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4866|      4|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4867|       |
 4868|      4|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4869|      4|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float[] buf, uint element, uint stride, bool colMajor);\n"
 4870|      4|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4871|      4|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4872|      4|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4873|      4|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4874|      4|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4875|      4|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4876|      4|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4877|       |
 4878|      4|            "fcoopmatNV coopMatMulAddNV(fcoopmatNV A, fcoopmatNV B, fcoopmatNV C);\n"
 4879|      4|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4880|      4|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4881|      4|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4882|      4|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4883|      4|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4884|      4|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4885|      4|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4886|      4|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4887|      4|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4888|      4|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4889|      4|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4890|      4|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4891|       |
 4892|      4|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4893|      4|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4894|      4|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4895|      4|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4896|      4|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4897|      4|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4898|      4|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4899|      4|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4900|      4|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4901|      4|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4902|      4|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4903|      4|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4904|       |
 4905|      4|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4906|      4|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4907|      4|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4908|      4|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4909|      4|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4910|      4|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4911|      4|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4912|      4|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4913|      4|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4914|      4|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4915|      4|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4916|      4|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4917|       |
 4918|      4|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4919|      4|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4920|      4|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4921|      4|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4922|      4|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4923|      4|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4924|      4|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4925|      4|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4926|      4|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4927|      4|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4928|      4|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4929|      4|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4930|       |
 4931|      4|            "icoopmatNV coopMatMulAddNV(icoopmatNV A, icoopmatNV B, icoopmatNV C);\n"
 4932|      4|            "ucoopmatNV coopMatMulAddNV(ucoopmatNV A, ucoopmatNV B, ucoopmatNV C);\n"
 4933|      4|            );
 4934|       |
 4935|      4|        std::stringstream cooperativeMatrixFuncs;
 4936|       |
 4937|      4|        {
 4938|      4|            static const char *allTypes[] =
 4939|      4|            {
 4940|      4|                "float", "vec2", "vec4",
 4941|      4|                "float16_t", "f16vec2", "f16vec4",
 4942|      4|                "bfloat16_t", "bf16vec2", "bf16vec4",
 4943|      4|                "floate5m2_t", "fe5m2vec2", "fe5m2vec4",
 4944|      4|                "floate4m3_t", "fe4m3vec2", "fe4m3vec4",
 4945|      4|                "double", "dvec2", "dvec4",
 4946|      4|                "int8_t", "i8vec2", "i8vec4",
 4947|      4|                "int16_t", "i16vec2", "i16vec4",
 4948|      4|                "int", "ivec2", "ivec4",
 4949|      4|                "int64_t", "i64vec2", "i64vec4",
 4950|      4|                "uint8_t", "u8vec2", "u8vec4",
 4951|      4|                "uint16_t", "u16vec2", "u16vec4",
 4952|      4|                "uint", "uvec2", "uvec4",
 4953|      4|                "uint64_t", "u64vec2", "u64vec4",
 4954|      4|            };
 4955|      8|            for (auto elemTy : {"uint", "uint64_t"}) {
  ------------------
  |  Branch (4955:30): [True: 8, False: 4]
  ------------------
 4956|    336|                for (auto t : allTypes) {
  ------------------
  |  Branch (4956:29): [True: 336, False: 8]
  ------------------
 4957|    336|                    cooperativeMatrixFuncs << "void coopMatLoad(out coopmat m, volatile coherent nontemporal " << t << "[] buf, " << elemTy << " element, uint stride, int matrixLayout);\n";
 4958|    336|                    cooperativeMatrixFuncs << "void coopMatStore(coopmat m, volatile coherent nontemporal " << t << "[] buf, " << elemTy << " element, uint stride, int matrixLayout);\n";
 4959|    336|                }
 4960|       |                // Just use uint8_t for buffer type, we have special matching rules to allow any conversion
 4961|      8|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t);\n";
 4962|      8|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v);\n";
 4963|      8|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, __function f);\n";
 4964|      8|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v, __function f);\n";
 4965|      8|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, __function f, __function g);\n";
 4966|      8|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v, __function f, __function g);\n";
 4967|      8|                cooperativeMatrixFuncs << "void coopMatStoreTensorNV(coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t);\n";
 4968|      8|                cooperativeMatrixFuncs << "void coopMatStoreTensorNV(coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v);\n";
 4969|      8|            }
 4970|      4|        }
 4971|       |
 4972|      4|        cooperativeMatrixFuncs <<
 4973|      4|            "coopmat coopMatMulAdd(coopmat A, coopmat B, coopmat C);\n"
 4974|      4|            "coopmat coopMatMulAdd(coopmat A, coopmat B, coopmat C, int matrixOperands);\n";
 4975|       |
 4976|      4|        commonBuiltins.append(cooperativeMatrixFuncs.str().c_str());
 4977|       |
 4978|      4|        commonBuiltins.append(
 4979|      4|            "const int gl_MatrixUseA = 0;\n"
 4980|      4|            "const int gl_MatrixUseB = 1;\n"
 4981|      4|            "const int gl_MatrixUseAccumulator = 2;\n"
 4982|      4|            "const int gl_MatrixOperandsSaturatingAccumulation = 0x10;\n"
 4983|      4|            "const int gl_CooperativeMatrixLayoutRowMajor = 0;\n"
 4984|      4|            "const int gl_CooperativeMatrixLayoutColumnMajor = 1;\n"
 4985|      4|            "const int gl_CooperativeMatrixLayoutRowBlockedInterleavedARM = 4202;\n"
 4986|      4|            "const int gl_CooperativeMatrixLayoutColumnBlockedInterleavedARM = 4203;\n"
 4987|      4|            "\n"
 4988|      4|            );
 4989|       |
 4990|      4|        commonBuiltins.append(
 4991|      4|            "void coopMatTransposeNV(out coopmat, coopmat);"
 4992|      4|            "void coopMatReduceNV(out coopmat, coopmat, int, __function);"
 4993|      4|            "void coopMatPerElementNV();"
 4994|      4|        );
 4995|       |
 4996|      4|        commonBuiltins.append(
 4997|      4|            "const int gl_CooperativeMatrixReduceRowNV = 0x1;\n"
 4998|      4|            "const int gl_CooperativeMatrixReduceColumnNV = 0x2;\n"
 4999|      4|            "const int gl_CooperativeMatrixReduceRowAndColumnNV = 0x3;\n"
 5000|      4|            "const int gl_CooperativeMatrixReduce2x2NV = 0x4;\n"
 5001|      4|            "\n"
 5002|      4|            );
 5003|       |
 5004|      4|        commonBuiltins.append(
 5005|      4|            "const int gl_CooperativeMatrixClampModeUndefinedNV = 0x0;\n"
 5006|      4|            "const int gl_CooperativeMatrixClampModeConstantNV = 0x1;\n"
 5007|      4|            "const int gl_CooperativeMatrixClampModeClampToEdgeNV = 0x2;\n"
 5008|      4|            "const int gl_CooperativeMatrixClampModeRepeatNV = 0x3;\n"
 5009|      4|            "const int gl_CooperativeMatrixClampModeMirrorRepeatNV = 0x4;\n"
 5010|      4|            "\n"
 5011|      4|            );
 5012|       |
 5013|      4|        {
 5014|      4|          std::stringstream coopMatConvFuncs;
 5015|       |
 5016|      4|          const std::string eltTypes[] = {"uint32_t", "uint", "int32_t", "int", "float32_t", "float", "float16_t"};
 5017|       |
 5018|     28|          for (auto srcEltTy : eltTypes) {
  ------------------
  |  Branch (5018:30): [True: 28, False: 4]
  ------------------
 5019|    196|            for (auto dstEltTy : eltTypes) {
  ------------------
  |  Branch (5019:32): [True: 196, False: 28]
  ------------------
 5020|    196|              coopMatConvFuncs << "void bitcastQCOM(" << srcEltTy.c_str() << " SrcArr[], " << dstEltTy.c_str()
 5021|    196|                << " DstArr[]);\n";
 5022|    196|            }
 5023|     28|          }
 5024|      4|          coopMatConvFuncs << "\n";
 5025|       |
 5026|     32|          for (auto eltTy : {"float32_t", "float16_t", "int8_t", "uint8_t", "uint32_t", "uint", "int32_t", "int"}) {
  ------------------
  |  Branch (5026:27): [True: 32, False: 4]
  ------------------
 5027|     32|            coopMatConvFuncs << "void vectorToCoopmatQCOM(" << eltTy << " SrcVec[], coopmat CM);\n";
 5028|     32|            coopMatConvFuncs << "void coopmatToVectorQCOM(coopmat CM, " << eltTy << " Dstvec[]);\n";
 5029|     32|          }
 5030|       |
 5031|     28|          for (auto eltTy : {"uint32_t", "uint", "int32_t", "int", "float32_t", "float", "float16_t"}) {
  ------------------
  |  Branch (5031:27): [True: 28, False: 4]
  ------------------
 5032|     28|            coopMatConvFuncs << "void extractSubArrayQCOM(" << eltTy << " arr[], uint index, " << eltTy << " subarr[]);\n";
 5033|     28|          }
 5034|       |
 5035|      4|          commonBuiltins.append(coopMatConvFuncs.str().c_str());
 5036|      4|        }
 5037|       |
 5038|      4|        commonBuiltins.append(
 5039|      4|            "tensorLayoutNV createTensorLayoutNV(uint Dim);\n"
 5040|      4|            "tensorLayoutNV createTensorLayoutNV(uint Dim, uint Mode);\n"
 5041|       |
 5042|      4|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0);\n"
 5043|      4|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1);\n"
 5044|      4|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2);\n"
 5045|      4|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2, uint blockSize3);\n"
 5046|      4|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2, uint blockSize3, uint blockSize4);\n"
 5047|       |
 5048|      4|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0);\n"
 5049|      4|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1);\n"
 5050|      4|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2);\n"
 5051|      4|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2, uint dim3);\n"
 5052|      4|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2, uint dim3, uint dim4);\n"
 5053|       |
 5054|      4|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0);\n"
 5055|      4|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1);\n"
 5056|      4|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2);\n"
 5057|      4|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2, uint stride3);\n"
 5058|      4|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2, uint stride3, uint stride4);\n"
 5059|       |
 5060|      4|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0);\n"
 5061|      4|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1);\n"
 5062|      4|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1, uint offset2, uint span2);\n"
 5063|      4|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1, uint offset2, uint span2, uint offset3, uint span3);\n"
 5064|      4|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1, uint offset2, uint span2, uint offset3, uint span3, uint offset4, uint span4);\n"
 5065|       |
 5066|      4|            "tensorLayoutNV setTensorLayoutClampValueNV(tensorLayoutNV t, uint value);\n"
 5067|       |
 5068|      4|            "tensorViewNV createTensorViewNV(uint Dim);\n"
 5069|      4|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions);\n"
 5070|      4|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0);\n"
 5071|      4|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1);\n"
 5072|      4|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2);\n"
 5073|      4|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2, uint p3);\n"
 5074|      4|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2, uint p3, uint p4);\n"
 5075|       |
 5076|      4|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0);\n"
 5077|      4|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1);\n"
 5078|      4|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2);\n"
 5079|      4|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2, uint dim3);\n"
 5080|      4|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2, uint dim3, uint dim4);\n"
 5081|       |
 5082|      4|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0);\n"
 5083|      4|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1);\n"
 5084|      4|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2);\n"
 5085|      4|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2, uint stride3);\n"
 5086|      4|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2, uint stride3, uint stride4);\n"
 5087|       |
 5088|      4|            "tensorViewNV setTensorViewClipNV(tensorViewNV v, uint clipRowOffset, uint clipRowSpan, uint clipColOffset, uint clipColSpan);\n"
 5089|      4|            "\n"
 5090|      4|        );
 5091|       |
 5092|       |        // GL_ARM_tensors builtins.
 5093|      4|        static const char *tensorDataTypesARM[] = {
 5094|      4|            "bool",
 5095|      4|            "int8_t", "int16_t", "int32_t", "int64_t",
 5096|      4|            "uint8_t", "uint16_t", "uint32_t", "uint64_t",
 5097|      4|            "float16_t", "float32_t", "float64_t",
 5098|      4|            "bfloat16_t", "floate5m2_t", "floate4m3_t",
 5099|      4|        };
 5100|      4|        std::ostringstream ostream;
 5101|     60|        for (auto t : tensorDataTypesARM) {
  ------------------
  |  Branch (5101:21): [True: 60, False: 4]
  ------------------
 5102|       |            // Scalar
 5103|     60|            ostream << "void tensorReadARM(readonly tensorARM t, uint coords[], out "
 5104|     60|                    << t << " data, uint tensorOperands = 0U, ...);\n";
 5105|     60|            ostream << "void tensorWriteARM(writeonly tensorARM t, uint coords[], "
 5106|     60|                    << t << " data, uint tensorOperands = 0U, ...);\n";
 5107|       |            // Array
 5108|     60|            ostream << "void tensorReadARM(readonly tensorARM t, uint coords[], "
 5109|     60|                    << t << " data[], uint tensorOperands = 0U, ...);\n";
 5110|     60|            ostream << "void tensorWriteARM(writeonly tensorARM t, uint coords[], "
 5111|     60|                    << t << " data[], uint tensorOperands = 0U, ...);\n";
 5112|     60|        }
 5113|      4|        ostream << "uint tensorSizeARM(readonly writeonly tensorARM t, uint dim);\n";
 5114|      4|        commonBuiltins.append(ostream.str());
 5115|      4|    }
 5116|       |
 5117|     52|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5117:9): [True: 4, False: 48]
  |  Branch (5117:34): [True: 4, False: 0]
  ------------------
 5118|      4|        const char *basicTypes[] = {
 5119|      4|            "int8_t",
 5120|      4|            "int16_t",
 5121|      4|            "int32_t",
 5122|      4|            "int64_t",
 5123|      4|            "uint8_t",
 5124|      4|            "uint16_t",
 5125|      4|            "uint32_t",
 5126|      4|            "uint64_t",
 5127|      4|            "float16_t",
 5128|      4|            "float32_t",
 5129|      4|            "float64_t",
 5130|      4|        };
 5131|      4|        std::string coopVecOffsetTypes[] = {
 5132|      4|            "uint",
 5133|      4|            "uint64_t",
 5134|      4|        };
 5135|      8|        for (auto offsetTy : coopVecOffsetTypes) {
  ------------------
  |  Branch (5135:28): [True: 8, False: 4]
  ------------------
 5136|     96|            for (uint32_t i = 0; i < sizeof(basicTypes)/sizeof(basicTypes[0]); ++i) {
  ------------------
  |  Branch (5136:34): [True: 88, False: 8]
  ------------------
 5137|     88|                std::string func = std::string("void coopVecMatMulNV(out coopvecNV result, ") +
 5138|     88|                                   std::string("coopvecNV v, ") +
 5139|     88|                                   std::string("int inputInterpretation, ") +
 5140|     88|                                   std::string(basicTypes[i]) + std::string("[] matrix, ") +
 5141|     88|                                   offsetTy + std::string(" matrixOffset, ") +
 5142|     88|                                   std::string("int matrixInterpretation, ") +
 5143|     88|                                   std::string("uint M, ") +
 5144|     88|                                   std::string("uint K, ") +
 5145|     88|                                   std::string("int matrixLayout, ") +
 5146|     88|                                   std::string("bool transpose, ") +
 5147|     88|                                   std::string("uint matrixStride);\n");
 5148|     88|                commonBuiltins.append(func.c_str());
 5149|       |
 5150|  1.05k|                for (uint32_t j = 0; j < sizeof(basicTypes)/sizeof(basicTypes[0]); ++j) {
  ------------------
  |  Branch (5150:38): [True: 968, False: 88]
  ------------------
 5151|    968|                    func = std::string("void coopVecMatMulAddNV(out coopvecNV result, ") +
 5152|    968|                           std::string("coopvecNV v, ") +
 5153|    968|                           std::string("int inputInterpretation, ") +
 5154|    968|                           std::string(basicTypes[i]) + std::string("[] matrix, ") +
 5155|    968|                           offsetTy + std::string(" matrixOffset, ") +
 5156|    968|                           std::string("int matrixInterpretation, ") +
 5157|    968|                           std::string(basicTypes[j]) + std::string("[] bias, ") +
 5158|    968|                           offsetTy + std::string(" biasOffset, ") +
 5159|    968|                           std::string("int biasInterpretation, ") +
 5160|    968|                           std::string("uint M, ") +
 5161|    968|                           std::string("uint K, ") +
 5162|    968|                           std::string("int matrixLayout, ") +
 5163|    968|                           std::string("bool transpose, ") +
 5164|    968|                           std::string("uint matrixStride);\n");
 5165|    968|                    commonBuiltins.append(func.c_str());
 5166|    968|                }
 5167|       |
 5168|     88|                func = std::string("void coopVecOuterProductAccumulateNV(coopvecNV v1, coopvecNV v2, ") +
 5169|     88|                       std::string(basicTypes[i]) +
 5170|     88|                       std::string("[] buf, ") + offsetTy + std::string(" offset, uint stride, int matrixLayout, int matrixInterpretation);\n");
 5171|     88|                commonBuiltins.append(func.c_str());
 5172|       |            
 5173|     88|                func = std::string("void coopVecReduceSumAccumulateNV(coopvecNV v, ") +
 5174|     88|                       std::string(basicTypes[i]) +
 5175|     88|                       std::string("[] buf, ") + offsetTy + std::string(" offset);\n");
 5176|     88|                commonBuiltins.append(func.c_str());
 5177|     88|            }
 5178|      8|        }
 5179|      4|        std::string cooperativeVectorFuncs =
 5180|      4|            "coopvecNV fma(coopvecNV, coopvecNV, coopvecNV);\n"
 5181|      4|            "coopvecNV min(coopvecNV, coopvecNV);\n"
 5182|      4|            "coopvecNV max(coopvecNV, coopvecNV);\n"
 5183|      4|            "coopvecNV step(coopvecNV, coopvecNV);\n"
 5184|      4|            "coopvecNV exp(coopvecNV);\n"            
 5185|      4|            "coopvecNV log(coopvecNV);\n"            
 5186|      4|            "coopvecNV tanh(coopvecNV);\n"            
 5187|      4|            "coopvecNV atan(coopvecNV);\n"            
 5188|      4|            "coopvecNV clamp(coopvecNV, coopvecNV, coopvecNV);\n";
 5189|       |
 5190|      4|        commonBuiltins.append(cooperativeVectorFuncs.c_str());
 5191|       |
 5192|      4|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5192:13): [True: 4, False: 0]
  ------------------
 5193|      4|            std::string longVectorFuncs =
 5194|       |
 5195|       |                // manually add long vector prototypes for functions not in BaseFunctions/etc
 5196|      4|                "vector frexp(vector, vector);\n"
 5197|      4|                "vector ldexp(vector, vector);\n"
 5198|      4|                "vector fma(vector, vector, vector);\n"
 5199|       |
 5200|      4|                "vector floatBitsToInt(vector);\n"
 5201|      4|                "vector floatBitsToUint(vector);\n"
 5202|      4|                "vector intBitsToFloat(vector);\n"
 5203|      4|                "vector uintBitsToFloat(vector);\n"
 5204|      4|                "vector doubleBitsToInt64(vector);"
 5205|      4|                "vector doubleBitsToUint64(vector);"
 5206|      4|                "vector int64BitsToDouble(vector);"
 5207|      4|                "vector uint64BitsToDouble(vector);"
 5208|      4|                "vector bfloat16BitsToIntEXT(vector);"
 5209|      4|                "vector bfloat16BitsToUintEXT(vector);"
 5210|      4|                "vector intBitsToBFloat16EXT(vector);"
 5211|      4|                "vector uintBitsToBFloat16EXT(vector);"
 5212|      4|                "vector halfBitsToInt16(vector);"
 5213|      4|                "vector halfBitsToUint16(vector);"
 5214|      4|                "vector float16BitsToInt16(vector);"
 5215|      4|                "vector float16BitsToUint16(vector);"
 5216|      4|                "vector int16BitsToFloat16(vector);"
 5217|      4|                "vector uint16BitsToFloat16(vector);"
 5218|      4|                "vector int16BitsToHalf(vector);"
 5219|      4|                "vector uint16BitsToHalf(vector);"
 5220|      4|                "vector floate5m2BitsToIntEXT(vector);"
 5221|      4|                "vector floate5m2BitsToUintEXT(vector);"
 5222|      4|                "vector intBitsToFloate5m2EXT(vector);"
 5223|      4|                "vector uintBitsToFloate5m2EXT(vector);"
 5224|      4|                "vector floate4m3BitsToIntEXT(vector);"
 5225|      4|                "vector floate4m3BitsToUintEXT(vector);"
 5226|      4|                "vector intBitsToFloate4m3EXT(vector);"
 5227|      4|                "vector uintBitsToFloate4m3EXT(vector);"
 5228|       |
 5229|      4|                "vector uaddCarry(highp vector, highp vector, out lowp vector carry);"
 5230|      4|                "vector usubBorrow(highp vector, highp vector, out lowp vector borrow);"
 5231|      4|                "void umulExtended(highp vector, highp vector, out highp vector, out highp vector);"
 5232|      4|                "void imulExtended(highp vector, highp vector, out highp vector, out highp vector);"
 5233|      4|                "vector bitfieldExtract(vector, int, int);"
 5234|      4|                "vector bitfieldInsert(vector, vector, int, int);"
 5235|      4|                "vector bitfieldReverse(highp vector);"
 5236|      4|                "vector bitCount(vector);"
 5237|      4|                "vector findLSB(vector);"
 5238|      4|                "vector findMSB(vector);"
 5239|       |
 5240|       |                // BaseFunctions overloads with a scalar parameter don't get generated in AddLongVectorBuiltin
 5241|      4|                "vector mod(vector, double);\n"
 5242|      4|                "vector min(vector, double);\n"
 5243|      4|                "vector max(vector, double);\n"
 5244|      4|                "vector clamp(vector, double, double);"
 5245|      4|                "vector mix(vector, vector,  double);"
 5246|      4|                "vector step(double, vector);"
 5247|      4|                "vector smoothstep(double, double, vector);"
 5248|      4|                "vector refract(vector, vector, double);"
 5249|       |
 5250|      4|                "vector mod(vector, float16_t);\n"
 5251|      4|                "vector min(vector, float16_t);\n"
 5252|      4|                "vector max(vector, float16_t);\n"
 5253|      4|                "vector clamp(vector, float16_t, float16_t);"
 5254|      4|                "vector mix(vector, vector,  float16_t);"
 5255|      4|                "vector step(float16_t, vector);"
 5256|      4|                "vector smoothstep(float16_t, float16_t, vector);"
 5257|      4|                "vector refract(vector, vector, float16_t);"
 5258|       |
 5259|      4|                "vector min(vector, uint64_t);\n"
 5260|      4|                "vector max(vector, uint64_t);\n"
 5261|      4|                "vector clamp(vector, uint64_t, uint64_t);"
 5262|      4|                "vector mix(vector, vector,  uint64_t);"
 5263|       |
 5264|      4|                "vector min(vector, int64_t);\n"
 5265|      4|                "vector max(vector, int64_t);\n"
 5266|      4|                "vector clamp(vector, int64_t, int64_t);"
 5267|      4|                "vector mix(vector, vector,  int64_t);"
 5268|       |
 5269|      4|                "vector min(vector, uint16_t);\n"
 5270|      4|                "vector max(vector, uint16_t);\n"
 5271|      4|                "vector clamp(vector, uint16_t, uint16_t);"
 5272|      4|                "vector mix(vector, vector,  uint16_t);"
 5273|       |
 5274|      4|                "vector min(vector, int16_t);\n"
 5275|      4|                "vector max(vector, int16_t);\n"
 5276|      4|                "vector clamp(vector, int16_t, int16_t);"
 5277|      4|                "vector mix(vector, vector,  int16_t);"
 5278|       |
 5279|      4|                "vector min(vector, uint8_t);\n"
 5280|      4|                "vector max(vector, uint8_t);\n"
 5281|      4|                "vector clamp(vector, uint8_t, uint8_t);"
 5282|      4|                "vector mix(vector, vector,  uint8_t);"
 5283|       |
 5284|      4|                "vector min(vector, int8_t);\n"
 5285|      4|                "vector max(vector, int8_t);\n"
 5286|      4|                "vector clamp(vector, int8_t, int8_t);"
 5287|      4|                "vector mix(vector, vector,  int8_t);"
 5288|       |
 5289|      4|                "vector expectEXT(vector, vector);"
 5290|      4|                ;
 5291|       |
 5292|      4|            std::string longVectorDerivativeFuncs =
 5293|      4|                "vector dFdxFine(vector);"
 5294|      4|                "vector dFdyFine(vector);"
 5295|      4|                "vector fwidthFine(vector);"
 5296|      4|                "vector dFdxCoarse(vector);"
 5297|      4|                "vector dFdyCoarse(vector);"
 5298|      4|                "vector fwidthCoarse(vector);"
 5299|       |
 5300|      4|                ;
 5301|      4|            commonBuiltins.append(longVectorFuncs.c_str());
 5302|      4|            stageBuiltins[EShLangFragment].append(longVectorDerivativeFuncs.c_str());
 5303|      4|            stageBuiltins[EShLangCompute].append(longVectorDerivativeFuncs.c_str());
 5304|      4|        }
 5305|       |
 5306|      4|        const char *scalarAndVectorTypes[] = {
 5307|      4|            "int8_t",
 5308|      4|            "int16_t",
 5309|      4|            "int32_t",
 5310|      4|            "int64_t",
 5311|      4|            "uint8_t",
 5312|      4|            "uint16_t",
 5313|      4|            "uint32_t",
 5314|      4|            "uint64_t",
 5315|      4|            "float16_t",
 5316|      4|            "float32_t",
 5317|      4|            "float64_t",
 5318|      4|            "i8vec2",
 5319|      4|            "i16vec2",
 5320|      4|            "i32vec2",
 5321|      4|            "i64vec2",
 5322|      4|            "u8vec2",
 5323|      4|            "u16vec2",
 5324|      4|            "u32vec2",
 5325|      4|            "u64vec2",
 5326|      4|            "f16vec2",
 5327|      4|            "f32vec2",
 5328|      4|            "f64vec2",
 5329|      4|            "i8vec3",
 5330|      4|            "i16vec3",
 5331|      4|            "i32vec3",
 5332|      4|            "i64vec3",
 5333|      4|            "u8vec3",
 5334|      4|            "u16vec3",
 5335|      4|            "u32vec3",
 5336|      4|            "u64vec3",
 5337|      4|            "f16vec3",
 5338|      4|            "f32vec3",
 5339|      4|            "f64vec3",
 5340|      4|            "i8vec4",
 5341|      4|            "i16vec4",
 5342|      4|            "i32vec4",
 5343|      4|            "i64vec4",
 5344|      4|            "u8vec4",
 5345|      4|            "u16vec4",
 5346|      4|            "u32vec4",
 5347|      4|            "u64vec4",
 5348|      4|            "f16vec4",
 5349|      4|            "f32vec4",
 5350|      4|            "f64vec4",
 5351|      4|        };
 5352|       |
 5353|      8|        for (auto offsetTy : coopVecOffsetTypes) {
  ------------------
  |  Branch (5353:28): [True: 8, False: 4]
  ------------------
 5354|    360|            for (uint32_t i = 0; i < sizeof(scalarAndVectorTypes)/sizeof(scalarAndVectorTypes[0]); ++i) {
  ------------------
  |  Branch (5354:34): [True: 352, False: 8]
  ------------------
 5355|    352|                std::string load = std::string("void coopVecLoadNV(out coopvecNV v, volatile coherent ") +
 5356|    352|                                   std::string(scalarAndVectorTypes[i]) + std::string("[] buf, ") + offsetTy + std::string(" offset);");
 5357|    352|                std::string store = std::string("void coopVecStoreNV(coopvecNV v, volatile coherent ") +
 5358|    352|                                   std::string(scalarAndVectorTypes[i]) + std::string("[] buf, ") + offsetTy + std::string(" offset);");
 5359|    352|                commonBuiltins.append(load.c_str());
 5360|    352|                commonBuiltins.append(store.c_str());
 5361|    352|            }
 5362|      8|        }
 5363|       |
 5364|      4|        commonBuiltins.append(
 5365|      4|            "const int gl_CooperativeVectorMatrixLayoutRowMajorNV = 0;\n"
 5366|      4|            "const int gl_CooperativeVectorMatrixLayoutColumnMajorNV = 1;\n"
 5367|      4|            "const int gl_CooperativeVectorMatrixLayoutInferencingOptimalNV = 2;\n"
 5368|      4|            "const int gl_CooperativeVectorMatrixLayoutTrainingOptimalNV = 3;\n"
 5369|      4|            "\n"
 5370|      4|            );
 5371|       |
 5372|      4|        commonBuiltins.append(
 5373|      4|            "const int gl_ComponentTypeFloat16NV                = 0;\n"
 5374|      4|            "const int gl_ComponentTypeFloat32NV                = 1;\n"
 5375|      4|            "const int gl_ComponentTypeFloat64NV                = 2;\n"
 5376|      4|            "const int gl_ComponentTypeSignedInt8NV             = 3;\n"
 5377|      4|            "const int gl_ComponentTypeSignedInt16NV            = 4;\n"
 5378|      4|            "const int gl_ComponentTypeSignedInt32NV            = 5;\n"
 5379|      4|            "const int gl_ComponentTypeSignedInt64NV            = 6;\n"
 5380|      4|            "const int gl_ComponentTypeUnsignedInt8NV           = 7;\n"
 5381|      4|            "const int gl_ComponentTypeUnsignedInt16NV          = 8;\n"
 5382|      4|            "const int gl_ComponentTypeUnsignedInt32NV          = 9;\n"
 5383|      4|            "const int gl_ComponentTypeUnsignedInt64NV          = 10;\n"
 5384|      4|            "const int gl_ComponentTypeSignedInt8PackedNV       = 1000491000;\n"
 5385|      4|            "const int gl_ComponentTypeUnsignedInt8PackedNV     = 1000491001;\n"
 5386|      4|            "const int gl_ComponentTypeFloatE4M3NV              = 1000491002;\n"
 5387|      4|            "const int gl_ComponentTypeFloatE5M2NV              = 1000491003;\n"
 5388|      4|            "\n"
 5389|      4|            );
 5390|      4|    }
 5391|       |
 5392|       |    //============================================================================
 5393|       |    //
 5394|       |    // Prototypes for built-in functions seen by fragment shaders only.
 5395|       |    //
 5396|       |    //============================================================================
 5397|       |
 5398|       |    //
 5399|       |    // Original-style texture Functions with bias.
 5400|       |    //
 5401|     52|    if (spvVersion.spv == 0 && (profile != EEsProfile || version == 100)) {
  ------------------
  |  Branch (5401:9): [True: 52, False: 0]
  |  Branch (5401:33): [True: 4, False: 48]
  |  Branch (5401:58): [True: 48, False: 0]
  ------------------
 5402|     52|        stageBuiltins[EShLangFragment].append(
 5403|     52|            "vec4 texture2D(sampler2D, vec2, float);"
 5404|     52|            "vec4 texture2DProj(sampler2D, vec3, float);"
 5405|     52|            "vec4 texture2DProj(sampler2D, vec4, float);"
 5406|     52|            "vec4 texture3D(sampler3D, vec3, float);"        // OES_texture_3D
 5407|     52|            "vec4 texture3DProj(sampler3D, vec4, float);"    // OES_texture_3D
 5408|     52|            "vec4 textureCube(samplerCube, vec3, float);"
 5409|       |
 5410|     52|            "\n");
 5411|     52|    }
 5412|     52|    if (spvVersion.spv == 0 && (profile != EEsProfile && version > 100)) {
  ------------------
  |  Branch (5412:9): [True: 52, False: 0]
  |  Branch (5412:33): [True: 4, False: 48]
  |  Branch (5412:58): [True: 4, False: 0]
  ------------------
 5413|      4|        stageBuiltins[EShLangFragment].append(
 5414|      4|            "vec4 texture1D(sampler1D, float, float);"
 5415|      4|            "vec4 texture1DProj(sampler1D, vec2, float);"
 5416|      4|            "vec4 texture1DProj(sampler1D, vec4, float);"
 5417|      4|            "vec4 shadow1D(sampler1DShadow, vec3, float);"
 5418|      4|            "vec4 shadow2D(sampler2DShadow, vec3, float);"
 5419|      4|            "vec4 shadow1DProj(sampler1DShadow, vec4, float);"
 5420|      4|            "vec4 shadow2DProj(sampler2DShadow, vec4, float);"
 5421|       |
 5422|      4|            "\n");
 5423|      4|    }
 5424|     52|    if (spvVersion.spv == 0 && profile == EEsProfile) {
  ------------------
  |  Branch (5424:9): [True: 52, False: 0]
  |  Branch (5424:32): [True: 48, False: 4]
  ------------------
 5425|     48|        stageBuiltins[EShLangFragment].append(
 5426|     48|            "vec4 texture2DLodEXT(sampler2D, vec2, float);"      // GL_EXT_shader_texture_lod
 5427|     48|            "vec4 texture2DProjLodEXT(sampler2D, vec3, float);"  // GL_EXT_shader_texture_lod
 5428|     48|            "vec4 texture2DProjLodEXT(sampler2D, vec4, float);"  // GL_EXT_shader_texture_lod
 5429|     48|            "vec4 textureCubeLodEXT(samplerCube, vec3, float);"  // GL_EXT_shader_texture_lod
 5430|       |
 5431|     48|            "\n");
 5432|     48|    }
 5433|       |
 5434|       |    // GL_EXT_shader_tile_image
 5435|     52|    if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (5435:9): [True: 5, False: 47]
  ------------------
 5436|      5|        stageBuiltins[EShLangFragment].append(
 5437|      5|            "lowp uint stencilAttachmentReadEXT();"
 5438|      5|            "lowp uint stencilAttachmentReadEXT(int);"
 5439|      5|            "highp float depthAttachmentReadEXT();"
 5440|      5|            "highp float depthAttachmentReadEXT(int);"
 5441|      5|            "\n");
 5442|      5|        stageBuiltins[EShLangFragment].append(
 5443|      5|            "vec4 colorAttachmentReadEXT(attachmentEXT);"
 5444|      5|            "vec4 colorAttachmentReadEXT(attachmentEXT, int);"
 5445|      5|            "ivec4 colorAttachmentReadEXT(iattachmentEXT);"
 5446|      5|            "ivec4 colorAttachmentReadEXT(iattachmentEXT, int);"
 5447|      5|            "uvec4 colorAttachmentReadEXT(uattachmentEXT);"
 5448|      5|            "uvec4 colorAttachmentReadEXT(uattachmentEXT, int);"
 5449|      5|            "\n");
 5450|      5|    }
 5451|       |
 5452|       |    // GL_ARB_derivative_control
 5453|     52|    if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (5453:9): [True: 4, False: 48]
  |  Branch (5453:34): [True: 4, False: 0]
  ------------------
 5454|      4|        stageBuiltins[EShLangFragment].append(derivativeControls);
 5455|      4|        stageBuiltins[EShLangFragment].append("\n");
 5456|      4|    }
 5457|       |
 5458|       |    // GL_OES_shader_multisample_interpolation
 5459|     52|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (5459:10): [True: 48, False: 4]
  |  Branch (5459:35): [True: 0, False: 48]
  ------------------
 5460|     52|        (profile != EEsProfile && version >= 150)) { // NV_gpu_shader5
  ------------------
  |  Branch (5460:10): [True: 4, False: 48]
  |  Branch (5460:35): [True: 4, False: 0]
  ------------------
 5461|      4|        stageBuiltins[EShLangFragment].append(
 5462|      4|            "float interpolateAtCentroid(float);"
 5463|      4|            "vec2  interpolateAtCentroid(vec2);"
 5464|      4|            "vec3  interpolateAtCentroid(vec3);"
 5465|      4|            "vec4  interpolateAtCentroid(vec4);"
 5466|       |
 5467|      4|            "float interpolateAtSample(float, int);"
 5468|      4|            "vec2  interpolateAtSample(vec2,  int);"
 5469|      4|            "vec3  interpolateAtSample(vec3,  int);"
 5470|      4|            "vec4  interpolateAtSample(vec4,  int);"
 5471|       |
 5472|      4|            "float interpolateAtOffset(float, vec2);"
 5473|      4|            "vec2  interpolateAtOffset(vec2,  vec2);"
 5474|      4|            "vec3  interpolateAtOffset(vec3,  vec2);"
 5475|      4|            "vec4  interpolateAtOffset(vec4,  vec2);"
 5476|       |
 5477|      4|            "\n");
 5478|      4|    }
 5479|       |
 5480|     52|    stageBuiltins[EShLangFragment].append(
 5481|     52|        "void beginInvocationInterlockARB(void);"
 5482|     52|        "void endInvocationInterlockARB(void);");
 5483|       |
 5484|     52|    stageBuiltins[EShLangFragment].append(
 5485|     52|        "bool helperInvocationEXT();"
 5486|     52|        "\n");
 5487|       |
 5488|       |    // GL_AMD_shader_explicit_vertex_parameter
 5489|     52|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5489:9): [True: 4, False: 48]
  |  Branch (5489:34): [True: 4, False: 0]
  ------------------
 5490|      4|        stageBuiltins[EShLangFragment].append(
 5491|      4|            "float interpolateAtVertexAMD(float, uint);"
 5492|      4|            "vec2  interpolateAtVertexAMD(vec2,  uint);"
 5493|      4|            "vec3  interpolateAtVertexAMD(vec3,  uint);"
 5494|      4|            "vec4  interpolateAtVertexAMD(vec4,  uint);"
 5495|       |
 5496|      4|            "int   interpolateAtVertexAMD(int,   uint);"
 5497|      4|            "ivec2 interpolateAtVertexAMD(ivec2, uint);"
 5498|      4|            "ivec3 interpolateAtVertexAMD(ivec3, uint);"
 5499|      4|            "ivec4 interpolateAtVertexAMD(ivec4, uint);"
 5500|       |
 5501|      4|            "uint  interpolateAtVertexAMD(uint,  uint);"
 5502|      4|            "uvec2 interpolateAtVertexAMD(uvec2, uint);"
 5503|      4|            "uvec3 interpolateAtVertexAMD(uvec3, uint);"
 5504|      4|            "uvec4 interpolateAtVertexAMD(uvec4, uint);"
 5505|       |
 5506|      4|            "float16_t interpolateAtVertexAMD(float16_t, uint);"
 5507|      4|            "f16vec2   interpolateAtVertexAMD(f16vec2,   uint);"
 5508|      4|            "f16vec3   interpolateAtVertexAMD(f16vec3,   uint);"
 5509|      4|            "f16vec4   interpolateAtVertexAMD(f16vec4,   uint);"
 5510|       |
 5511|      4|            "\n");
 5512|      4|    }
 5513|       |
 5514|       |    // GL_AMD_gpu_shader_half_float
 5515|     52|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5515:9): [True: 4, False: 48]
  |  Branch (5515:34): [True: 4, False: 0]
  ------------------
 5516|      4|        stageBuiltins[EShLangFragment].append(derivativesAndControl16bits);
 5517|      4|        stageBuiltins[EShLangFragment].append("\n");
 5518|       |
 5519|      4|        stageBuiltins[EShLangFragment].append(
 5520|      4|            "float16_t interpolateAtCentroid(float16_t);"
 5521|      4|            "f16vec2   interpolateAtCentroid(f16vec2);"
 5522|      4|            "f16vec3   interpolateAtCentroid(f16vec3);"
 5523|      4|            "f16vec4   interpolateAtCentroid(f16vec4);"
 5524|       |
 5525|      4|            "float16_t interpolateAtSample(float16_t, int);"
 5526|      4|            "f16vec2   interpolateAtSample(f16vec2,   int);"
 5527|      4|            "f16vec3   interpolateAtSample(f16vec3,   int);"
 5528|      4|            "f16vec4   interpolateAtSample(f16vec4,   int);"
 5529|       |
 5530|      4|            "float16_t interpolateAtOffset(float16_t, f16vec2);"
 5531|      4|            "f16vec2   interpolateAtOffset(f16vec2,   f16vec2);"
 5532|      4|            "f16vec3   interpolateAtOffset(f16vec3,   f16vec2);"
 5533|      4|            "f16vec4   interpolateAtOffset(f16vec4,   f16vec2);"
 5534|       |
 5535|      4|            "\n");
 5536|      4|    }
 5537|       |
 5538|       |    // GL_ARB_shader_clock& GL_EXT_shader_realtime_clock
 5539|     52|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5539:9): [True: 4, False: 48]
  |  Branch (5539:34): [True: 4, False: 0]
  ------------------
 5540|      4|        commonBuiltins.append(
 5541|      4|            "uvec2 clock2x32ARB();"
 5542|      4|            "uint64_t clockARB();"
 5543|      4|            "uvec2 clockRealtime2x32EXT();"
 5544|      4|            "uint64_t clockRealtimeEXT();"
 5545|      4|            "\n");
 5546|      4|    }
 5547|       |
 5548|       |    // GL_AMD_shader_fragment_mask
 5549|     52|    if (profile != EEsProfile && version >= 450 && spvVersion.vulkan > 0) {
  ------------------
  |  Branch (5549:9): [True: 4, False: 48]
  |  Branch (5549:34): [True: 4, False: 0]
  |  Branch (5549:52): [True: 2, False: 2]
  ------------------
 5550|      2|        stageBuiltins[EShLangFragment].append(
 5551|      2|            "uint fragmentMaskFetchAMD(subpassInputMS);"
 5552|      2|            "uint fragmentMaskFetchAMD(isubpassInputMS);"
 5553|      2|            "uint fragmentMaskFetchAMD(usubpassInputMS);"
 5554|       |
 5555|      2|            "vec4  fragmentFetchAMD(subpassInputMS,  uint);"
 5556|      2|            "ivec4 fragmentFetchAMD(isubpassInputMS, uint);"
 5557|      2|            "uvec4 fragmentFetchAMD(usubpassInputMS, uint);"
 5558|       |
 5559|      2|            "\n");
 5560|      2|    }
 5561|       |
 5562|       |    // Builtins for GL_NV_ray_tracing/GL_NV_ray_tracing_motion_blur/GL_EXT_ray_tracing/GL_EXT_ray_query/
 5563|       |    // GL_NV_shader_invocation_reorder/GL_KHR_ray_tracing_position_Fetch
 5564|     52|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (5564:9): [True: 4, False: 48]
  |  Branch (5564:34): [True: 0, False: 4]
  ------------------
 5565|      0|         commonBuiltins.append("void rayQueryInitializeEXT(rayQueryEXT, accelerationStructureEXT, uint, uint, vec3, float, vec3, float);"
 5566|      0|            "void rayQueryTerminateEXT(rayQueryEXT);"
 5567|      0|            "void rayQueryGenerateIntersectionEXT(rayQueryEXT, float);"
 5568|      0|            "void rayQueryConfirmIntersectionEXT(rayQueryEXT);"
 5569|      0|            "bool rayQueryProceedEXT(rayQueryEXT);"
 5570|      0|            "uint rayQueryGetIntersectionTypeEXT(rayQueryEXT, bool);"
 5571|      0|            "float rayQueryGetRayTMinEXT(rayQueryEXT);"
 5572|      0|            "uint rayQueryGetRayFlagsEXT(rayQueryEXT);"
 5573|      0|            "vec3 rayQueryGetWorldRayOriginEXT(rayQueryEXT);"
 5574|      0|            "vec3 rayQueryGetWorldRayDirectionEXT(rayQueryEXT);"
 5575|      0|            "float rayQueryGetIntersectionTEXT(rayQueryEXT, bool);"
 5576|      0|            "int rayQueryGetIntersectionInstanceCustomIndexEXT(rayQueryEXT, bool);"
 5577|      0|            "int rayQueryGetIntersectionInstanceIdEXT(rayQueryEXT, bool);"
 5578|      0|            "uint rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT(rayQueryEXT, bool);"
 5579|      0|            "int rayQueryGetIntersectionGeometryIndexEXT(rayQueryEXT, bool);"
 5580|      0|            "int rayQueryGetIntersectionPrimitiveIndexEXT(rayQueryEXT, bool);"
 5581|      0|            "vec2 rayQueryGetIntersectionBarycentricsEXT(rayQueryEXT, bool);"
 5582|      0|            "bool rayQueryGetIntersectionFrontFaceEXT(rayQueryEXT, bool);"
 5583|      0|            "bool rayQueryGetIntersectionCandidateAABBOpaqueEXT(rayQueryEXT);"
 5584|      0|            "vec3 rayQueryGetIntersectionObjectRayDirectionEXT(rayQueryEXT, bool);"
 5585|      0|            "vec3 rayQueryGetIntersectionObjectRayOriginEXT(rayQueryEXT, bool);"
 5586|      0|            "mat4x3 rayQueryGetIntersectionObjectToWorldEXT(rayQueryEXT, bool);"
 5587|      0|            "mat4x3 rayQueryGetIntersectionWorldToObjectEXT(rayQueryEXT, bool);"
 5588|      0|            "void rayQueryGetIntersectionTriangleVertexPositionsEXT(rayQueryEXT, bool, out vec3[3]);"
 5589|      0|            "int rayQueryGetIntersectionClusterIdNV(rayQueryEXT, bool);"
 5590|      0|            "vec3 rayQueryGetIntersectionSpherePositionNV(rayQueryEXT, bool);"
 5591|      0|            "float rayQueryGetIntersectionSphereRadiusNV(rayQueryEXT, bool);"
 5592|      0|            "float rayQueryGetIntersectionLSSHitValueNV(rayQueryEXT, bool);"
 5593|      0|            "void rayQueryGetIntersectionLSSPositionsNV(rayQueryEXT, bool, out vec3[2]);"
 5594|      0|            "void rayQueryGetIntersectionLSSRadiiNV(rayQueryEXT, bool, out float[2]);"
 5595|      0|            "bool rayQueryIsSphereHitNV(rayQueryEXT, bool);"
 5596|      0|            "bool rayQueryIsLSSHitNV(rayQueryEXT, bool);"
 5597|      0|            "\n");
 5598|       |
 5599|      0|        stageBuiltins[EShLangRayGen].append(
 5600|      0|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5601|      0|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5602|      0|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5603|      0|            "void executeCallableNV(uint, int);"
 5604|      0|            "void executeCallableEXT(uint, int);"
 5605|      0|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5606|      0|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5607|      0|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5608|      0|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5609|      0|            "void hitObjectRecordHitWithIndexNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5610|      0|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5611|      0|            "void hitObjectRecordMissNV(hitObjectNV,uint,vec3,float,vec3,float);"
 5612|      0|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5613|      0|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5614|      0|            "void hitObjectExecuteShaderNV(hitObjectNV,int);"
 5615|      0|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5616|      0|            "bool hitObjectIsMissNV(hitObjectNV);"
 5617|      0|            "bool hitObjectIsHitNV(hitObjectNV);"
 5618|      0|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5619|      0|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5620|      0|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5621|      0|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5622|      0|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5623|      0|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5624|      0|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5625|      0|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5626|      0|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5627|      0|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5628|      0|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5629|      0|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5630|      0|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5631|      0|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5632|      0|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5633|      0|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5634|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5635|      0|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5636|      0|            "void reorderThreadNV(uint, uint);"
 5637|      0|            "void reorderThreadNV(hitObjectNV);"
 5638|      0|            "void reorderThreadNV(hitObjectNV, uint, uint);"
 5639|      0|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 5640|      0|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 5641|      0|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5642|      0|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5643|      0|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5644|      0|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5645|      0|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5646|      0|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5647|      0|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5648|      0|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5649|      0|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5650|      0|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5651|      0|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5652|      0|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5653|      0|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5654|      0|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5655|      0|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5656|      0|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5657|      0|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5658|      0|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5659|      0|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5660|      0|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5661|      0|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5662|      0|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5663|      0|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5664|      0|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5665|      0|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5666|      0|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5667|      0|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5668|      0|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5669|      0|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5670|      0|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5671|      0|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5672|      0|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5673|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5674|      0|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5675|      0|            "void hitObjectReorderExecuteEXT(hitObjectEXT,int);"
 5676|      0|            "void hitObjectReorderExecuteEXT(hitObjectEXT,uint,uint,int);"
 5677|      0|            "void hitObjectTraceReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5678|      0|            "void hitObjectTraceReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,uint,uint,int);"
 5679|      0|            "void hitObjectTraceMotionReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5680|      0|            "void hitObjectTraceMotionReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,uint,uint,int);"
 5681|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int);"
 5682|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int, uint);"
 5683|      0|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5684|      0|            "void reorderThreadEXT(uint, uint);"
 5685|      0|            "void reorderThreadEXT(hitObjectEXT);"
 5686|      0|            "void reorderThreadEXT(hitObjectEXT, uint, uint);"
 5687|      0|            "\n");
 5688|      0|        stageBuiltins[EShLangIntersect].append(
 5689|      0|            "bool reportIntersectionNV(float, uint);"
 5690|      0|            "bool reportIntersectionEXT(float, uint);"
 5691|      0|            "\n");
 5692|      0|        stageBuiltins[EShLangAnyHit].append(
 5693|      0|            "void ignoreIntersectionNV();"
 5694|      0|            "void terminateRayNV();"
 5695|      0|            "\n");
 5696|      0|        stageBuiltins[EShLangClosestHit].append(
 5697|      0|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5698|      0|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5699|      0|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5700|      0|            "void executeCallableNV(uint, int);"
 5701|      0|            "void executeCallableEXT(uint, int);"
 5702|      0|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5703|      0|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5704|      0|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5705|      0|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5706|      0|            "void hitObjectRecordHitWithIndexNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5707|      0|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5708|      0|            "void hitObjectRecordMissNV(hitObjectNV, uint, vec3, float, vec3, float);"
 5709|      0|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5710|      0|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5711|      0|            "void hitObjectExecuteShaderNV(hitObjectNV, int);"
 5712|      0|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5713|      0|            "bool hitObjectIsMissNV(hitObjectNV);"
 5714|      0|            "bool hitObjectIsHitNV(hitObjectNV);"
 5715|      0|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5716|      0|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5717|      0|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5718|      0|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5719|      0|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5720|      0|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5721|      0|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5722|      0|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5723|      0|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5724|      0|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5725|      0|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5726|      0|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5727|      0|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5728|      0|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5729|      0|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5730|      0|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5731|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5732|      0|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5733|      0|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5734|      0|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5735|      0|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5736|      0|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5737|      0|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5738|      0|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5739|      0|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5740|      0|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5741|      0|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5742|      0|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5743|      0|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5744|      0|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5745|      0|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5746|      0|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5747|      0|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5748|      0|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5749|      0|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5750|      0|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5751|      0|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5752|      0|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5753|      0|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5754|      0|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5755|      0|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5756|      0|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5757|      0|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5758|      0|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5759|      0|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5760|      0|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5761|      0|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5762|      0|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5763|      0|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5764|      0|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5765|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5766|      0|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5767|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT,uint, int);"
 5768|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT,uint, int, uint);"
 5769|      0|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5770|      0|            "\n");
 5771|      0|        stageBuiltins[EShLangMiss].append(
 5772|      0|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5773|      0|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5774|      0|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5775|      0|            "void executeCallableNV(uint, int);"
 5776|      0|            "void executeCallableEXT(uint, int);"
 5777|      0|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5778|      0|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5779|      0|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5780|      0|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5781|      0|            "void hitObjectRecordHitWithIndexNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5782|      0|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5783|      0|            "void hitObjectRecordMissNV(hitObjectNV, uint, vec3, float, vec3, float);"
 5784|      0|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5785|      0|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5786|      0|            "void hitObjectExecuteShaderNV(hitObjectNV, int);"
 5787|      0|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5788|      0|            "bool hitObjectIsMissNV(hitObjectNV);"
 5789|      0|            "bool hitObjectIsHitNV(hitObjectNV);"
 5790|      0|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5791|      0|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5792|      0|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5793|      0|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5794|      0|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5795|      0|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5796|      0|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5797|      0|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5798|      0|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5799|      0|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5800|      0|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5801|      0|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5802|      0|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5803|      0|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5804|      0|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5805|      0|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5806|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5807|      0|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5808|      0|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5809|      0|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5810|      0|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5811|      0|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5812|      0|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5813|      0|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5814|      0|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5815|      0|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5816|      0|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5817|      0|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5818|      0|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5819|      0|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5820|      0|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5821|      0|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5822|      0|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5823|      0|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5824|      0|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5825|      0|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5826|      0|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5827|      0|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5828|      0|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5829|      0|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5830|      0|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5831|      0|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5832|      0|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5833|      0|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5834|      0|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5835|      0|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5836|      0|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5837|      0|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5838|      0|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5839|      0|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5840|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5841|      0|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5842|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int);"
 5843|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int, uint);"
 5844|      0|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5845|      0|            "\n");
 5846|      0|        stageBuiltins[EShLangCallable].append(
 5847|      0|            "void executeCallableNV(uint, int);"
 5848|      0|            "void executeCallableEXT(uint, int);"
 5849|      0|            "\n");
 5850|      0|    }
 5851|       |
 5852|       |    // GL_KHR_compute_shader_derivatives / SPV_NV_compute_shader_derivatives
 5853|     52|    if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (5853:10): [True: 48, False: 4]
  |  Branch (5853:35): [True: 0, False: 48]
  |  Branch (5853:55): [True: 4, False: 48]
  |  Branch (5853:80): [True: 4, False: 0]
  ------------------
 5854|      4|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5854:13): [True: 4, False: 0]
  ------------------
 5855|      4|            stageBuiltins[EShLangCompute].append(derivatives);
 5856|      4|            stageBuiltins[EShLangTask].append(derivatives);
 5857|      4|            stageBuiltins[EShLangMesh].append(derivatives);
 5858|      4|        }
 5859|       |
 5860|      4|        stageBuiltins[EShLangCompute].append(derivativeControls);
 5861|      4|        stageBuiltins[EShLangCompute].append("\n");
 5862|       |
 5863|      4|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5863:13): [True: 4, False: 0]
  ------------------
 5864|      4|            stageBuiltins[EShLangTask].append(derivativeControls);
 5865|      4|            stageBuiltins[EShLangTask].append("\n");
 5866|      4|            stageBuiltins[EShLangMesh].append(derivativeControls);
 5867|      4|            stageBuiltins[EShLangMesh].append("\n");
 5868|      4|        }
 5869|      4|    }
 5870|     52|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5870:9): [True: 4, False: 48]
  |  Branch (5870:34): [True: 4, False: 0]
  ------------------
 5871|      4|        stageBuiltins[EShLangCompute].append(derivativesAndControl16bits);
 5872|      4|        stageBuiltins[EShLangCompute].append(derivativesAndControl64bits);
 5873|      4|        stageBuiltins[EShLangCompute].append("\n");
 5874|      4|        stageBuiltins[EShLangTask].append(derivativesAndControl16bits);
 5875|      4|        stageBuiltins[EShLangTask].append(derivativesAndControl64bits);
 5876|      4|        stageBuiltins[EShLangTask].append("\n");
 5877|      4|        stageBuiltins[EShLangMesh].append(derivativesAndControl16bits);
 5878|      4|        stageBuiltins[EShLangMesh].append(derivativesAndControl64bits);
 5879|      4|        stageBuiltins[EShLangMesh].append("\n");
 5880|      4|    }
 5881|       |
 5882|       |    // Builtins for GL_NV_mesh_shader
 5883|     52|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (5883:10): [True: 4, False: 48]
  |  Branch (5883:35): [True: 4, False: 0]
  |  Branch (5883:55): [True: 48, False: 0]
  |  Branch (5883:80): [True: 0, False: 48]
  ------------------
 5884|      4|        stageBuiltins[EShLangMesh].append(
 5885|      4|            "void writePackedPrimitiveIndices4x8NV(uint, uint);"
 5886|      4|            "\n");
 5887|      4|    }
 5888|       |    // Builtins for GL_EXT_mesh_shader
 5889|     52|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (5889:10): [True: 4, False: 48]
  |  Branch (5889:35): [True: 4, False: 0]
  |  Branch (5889:55): [True: 48, False: 0]
  |  Branch (5889:80): [True: 0, False: 48]
  ------------------
 5890|       |        // Builtins for GL_EXT_mesh_shader
 5891|      4|        stageBuiltins[EShLangTask].append(
 5892|      4|            "void EmitMeshTasksEXT(uint, uint, uint);"
 5893|      4|            "\n");
 5894|       |
 5895|      4|        stageBuiltins[EShLangMesh].append(
 5896|      4|            "void SetMeshOutputsEXT(uint, uint);"
 5897|      4|            "\n");
 5898|      4|    }
 5899|       |    // Builtins for GL_NV_displacement_micromap
 5900|     52|    if ((profile != EEsProfile && version >= 460) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (5900:10): [True: 4, False: 48]
  |  Branch (5900:35): [True: 0, False: 4]
  |  Branch (5900:55): [True: 48, False: 4]
  |  Branch (5900:80): [True: 0, False: 48]
  ------------------
 5901|      0|        stageBuiltins[EShLangMesh].append(
 5902|      0|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 5903|      0|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 5904|      0|            "\n");
 5905|       |
 5906|      0|        stageBuiltins[EShLangCompute].append(
 5907|      0|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 5908|      0|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 5909|      0|            "\n");
 5910|       |
 5911|      0|    }
 5912|       |
 5913|       |
 5914|       |    //============================================================================
 5915|       |    //
 5916|       |    // Standard Uniforms
 5917|       |    //
 5918|       |    //============================================================================
 5919|       |
 5920|       |    //
 5921|       |    // Depth range in window coordinates, p. 33
 5922|       |    //
 5923|     52|    if (spvVersion.spv == 0) {
  ------------------
  |  Branch (5923:9): [True: 52, False: 0]
  ------------------
 5924|     52|        commonBuiltins.append(
 5925|     52|            "struct gl_DepthRangeParameters {"
 5926|     52|            );
 5927|     52|        if (profile == EEsProfile) {
  ------------------
  |  Branch (5927:13): [True: 48, False: 4]
  ------------------
 5928|     48|            commonBuiltins.append(
 5929|     48|                "highp float near;"   // n
 5930|     48|                "highp float far;"    // f
 5931|     48|                "highp float diff;"   // f - n
 5932|     48|                );
 5933|     48|        } else {
 5934|      4|            commonBuiltins.append(
 5935|      4|                "float near;"  // n
 5936|      4|                "float far;"   // f
 5937|      4|                "float diff;"  // f - n
 5938|      4|                );
 5939|      4|        }
 5940|       |
 5941|     52|        commonBuiltins.append(
 5942|     52|            "};"
 5943|     52|            "uniform gl_DepthRangeParameters gl_DepthRange;"
 5944|     52|            "\n");
 5945|     52|    }
 5946|       |
 5947|     52|    if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (5947:9): [True: 52, False: 0]
  |  Branch (5947:32): [True: 0, False: 52]
  ------------------
 5948|       |        //
 5949|       |        // Matrix state. p. 31, 32, 37, 39, 40.
 5950|       |        //
 5951|      0|        commonBuiltins.append(
 5952|      0|            "uniform mat4  gl_ModelViewMatrix;"
 5953|      0|            "uniform mat4  gl_ProjectionMatrix;"
 5954|      0|            "uniform mat4  gl_ModelViewProjectionMatrix;"
 5955|       |
 5956|       |            //
 5957|       |            // Derived matrix state that provides inverse and transposed versions
 5958|       |            // of the matrices above.
 5959|       |            //
 5960|      0|            "uniform mat3  gl_NormalMatrix;"
 5961|       |
 5962|      0|            "uniform mat4  gl_ModelViewMatrixInverse;"
 5963|      0|            "uniform mat4  gl_ProjectionMatrixInverse;"
 5964|      0|            "uniform mat4  gl_ModelViewProjectionMatrixInverse;"
 5965|       |
 5966|      0|            "uniform mat4  gl_ModelViewMatrixTranspose;"
 5967|      0|            "uniform mat4  gl_ProjectionMatrixTranspose;"
 5968|      0|            "uniform mat4  gl_ModelViewProjectionMatrixTranspose;"
 5969|       |
 5970|      0|            "uniform mat4  gl_ModelViewMatrixInverseTranspose;"
 5971|      0|            "uniform mat4  gl_ProjectionMatrixInverseTranspose;"
 5972|      0|            "uniform mat4  gl_ModelViewProjectionMatrixInverseTranspose;"
 5973|       |
 5974|       |            //
 5975|       |            // Normal scaling p. 39.
 5976|       |            //
 5977|      0|            "uniform float gl_NormalScale;"
 5978|       |
 5979|       |            //
 5980|       |            // Point Size, p. 66, 67.
 5981|       |            //
 5982|      0|            "struct gl_PointParameters {"
 5983|      0|                "float size;"
 5984|      0|                "float sizeMin;"
 5985|      0|                "float sizeMax;"
 5986|      0|                "float fadeThresholdSize;"
 5987|      0|                "float distanceConstantAttenuation;"
 5988|      0|                "float distanceLinearAttenuation;"
 5989|      0|                "float distanceQuadraticAttenuation;"
 5990|      0|            "};"
 5991|       |
 5992|      0|            "uniform gl_PointParameters gl_Point;"
 5993|       |
 5994|       |            //
 5995|       |            // Material State p. 50, 55.
 5996|       |            //
 5997|      0|            "struct gl_MaterialParameters {"
 5998|      0|                "vec4  emission;"    // Ecm
 5999|      0|                "vec4  ambient;"     // Acm
 6000|      0|                "vec4  diffuse;"     // Dcm
 6001|      0|                "vec4  specular;"    // Scm
 6002|      0|                "float shininess;"   // Srm
 6003|      0|            "};"
 6004|      0|            "uniform gl_MaterialParameters  gl_FrontMaterial;"
 6005|      0|            "uniform gl_MaterialParameters  gl_BackMaterial;"
 6006|       |
 6007|       |            //
 6008|       |            // Light State p 50, 53, 55.
 6009|       |            //
 6010|      0|            "struct gl_LightSourceParameters {"
 6011|      0|                "vec4  ambient;"             // Acli
 6012|      0|                "vec4  diffuse;"             // Dcli
 6013|      0|                "vec4  specular;"            // Scli
 6014|      0|                "vec4  position;"            // Ppli
 6015|      0|                "vec4  halfVector;"          // Derived: Hi
 6016|      0|                "vec3  spotDirection;"       // Sdli
 6017|      0|                "float spotExponent;"        // Srli
 6018|      0|                "float spotCutoff;"          // Crli
 6019|       |                                                        // (range: [0.0,90.0], 180.0)
 6020|      0|                "float spotCosCutoff;"       // Derived: cos(Crli)
 6021|       |                                                        // (range: [1.0,0.0],-1.0)
 6022|      0|                "float constantAttenuation;" // K0
 6023|      0|                "float linearAttenuation;"   // K1
 6024|      0|                "float quadraticAttenuation;"// K2
 6025|      0|            "};"
 6026|       |
 6027|      0|            "struct gl_LightModelParameters {"
 6028|      0|                "vec4  ambient;"       // Acs
 6029|      0|            "};"
 6030|       |
 6031|      0|            "uniform gl_LightModelParameters  gl_LightModel;"
 6032|       |
 6033|       |            //
 6034|       |            // Derived state from products of light and material.
 6035|       |            //
 6036|      0|            "struct gl_LightModelProducts {"
 6037|      0|                "vec4  sceneColor;"     // Derived. Ecm + Acm * Acs
 6038|      0|            "};"
 6039|       |
 6040|      0|            "uniform gl_LightModelProducts gl_FrontLightModelProduct;"
 6041|      0|            "uniform gl_LightModelProducts gl_BackLightModelProduct;"
 6042|       |
 6043|      0|            "struct gl_LightProducts {"
 6044|      0|                "vec4  ambient;"        // Acm * Acli
 6045|      0|                "vec4  diffuse;"        // Dcm * Dcli
 6046|      0|                "vec4  specular;"       // Scm * Scli
 6047|      0|            "};"
 6048|       |
 6049|       |            //
 6050|       |            // Fog p. 161
 6051|       |            //
 6052|      0|            "struct gl_FogParameters {"
 6053|      0|                "vec4  color;"
 6054|      0|                "float density;"
 6055|      0|                "float start;"
 6056|      0|                "float end;"
 6057|      0|                "float scale;"   //  1 / (gl_FogEnd - gl_FogStart)
 6058|      0|            "};"
 6059|       |
 6060|      0|            "uniform gl_FogParameters gl_Fog;"
 6061|       |
 6062|      0|            "\n");
 6063|      0|    }
 6064|       |
 6065|       |    //============================================================================
 6066|       |    //
 6067|       |    // Define the interface to the compute shader.
 6068|       |    //
 6069|       |    //============================================================================
 6070|       |
 6071|     52|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (6071:10): [True: 4, False: 48]
  |  Branch (6071:35): [True: 4, False: 0]
  ------------------
 6072|     48|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6072:10): [True: 48, False: 0]
  |  Branch (6072:35): [True: 0, False: 48]
  ------------------
 6073|      4|        stageBuiltins[EShLangCompute].append(
 6074|      4|            "in    highp uvec3 gl_NumWorkGroups;"
 6075|      4|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6076|       |
 6077|      4|            "in highp uvec3 gl_WorkGroupID;"
 6078|      4|            "in highp uvec3 gl_LocalInvocationID;"
 6079|       |
 6080|      4|            "in highp uvec3 gl_GlobalInvocationID;"
 6081|      4|            "in highp uint gl_LocalInvocationIndex;"
 6082|       |
 6083|      4|            "\n");
 6084|      4|    }
 6085|       |
 6086|     52|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6086:10): [True: 4, False: 48]
  |  Branch (6086:35): [True: 4, False: 0]
  ------------------
 6087|     48|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6087:10): [True: 48, False: 0]
  |  Branch (6087:35): [True: 0, False: 48]
  ------------------
 6088|      4|        stageBuiltins[EShLangCompute].append(
 6089|      4|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6090|      4|            "\n");
 6091|      4|    }
 6092|       |
 6093|       |    // GL_QCOM_tile_shading
 6094|     52|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (6094:10): [True: 48, False: 4]
  |  Branch (6094:35): [True: 0, False: 48]
  ------------------
 6095|     52|        (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (6095:10): [True: 4, False: 48]
  |  Branch (6095:35): [True: 0, False: 4]
  ------------------
 6096|      0|        stageBuiltins[EShLangCompute].append(
 6097|      0|            "in highp uvec2 gl_TileOffsetQCOM;"     // GL_QCOM_tile_shading
 6098|      0|            "in highp uvec3 gl_TileDimensionQCOM;"  // GL_QCOM_tile_shading
 6099|      0|            "in highp uvec2 gl_TileApronSizeQCOM;"  // GL_QCOM_tile_shading
 6100|      0|            "\n");
 6101|      0|    }
 6102|       |
 6103|       |    //============================================================================
 6104|       |    //
 6105|       |    // Define the interface to the mesh/task shader.
 6106|       |    //
 6107|       |    //============================================================================
 6108|       |
 6109|     52|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (6109:10): [True: 4, False: 48]
  |  Branch (6109:35): [True: 4, False: 0]
  |  Branch (6109:55): [True: 48, False: 0]
  |  Branch (6109:80): [True: 0, False: 48]
  ------------------
 6110|       |        // per-vertex attributes
 6111|      4|        stageBuiltins[EShLangMesh].append(
 6112|      4|            "out gl_MeshPerVertexNV {"
 6113|      4|                "vec4 gl_Position;"
 6114|      4|                "float gl_PointSize;"
 6115|      4|                "float gl_ClipDistance[];"
 6116|      4|                "float gl_CullDistance[];"
 6117|      4|                "perviewNV vec4 gl_PositionPerViewNV[];"
 6118|      4|                "perviewNV float gl_ClipDistancePerViewNV[][];"
 6119|      4|                "perviewNV float gl_CullDistancePerViewNV[][];"
 6120|      4|            "} gl_MeshVerticesNV[];"
 6121|      4|        );
 6122|       |
 6123|       |        // per-primitive attributes
 6124|      4|        stageBuiltins[EShLangMesh].append(
 6125|      4|            "perprimitiveNV out gl_MeshPerPrimitiveNV {"
 6126|      4|                "int gl_PrimitiveID;"
 6127|      4|                "int gl_Layer;"
 6128|      4|                "int gl_ViewportIndex;"
 6129|      4|                "int gl_ViewportMask[];"
 6130|      4|                "perviewNV int gl_LayerPerViewNV[];"
 6131|      4|                "perviewNV int gl_ViewportMaskPerViewNV[][];"
 6132|      4|            "} gl_MeshPrimitivesNV[];"
 6133|      4|        );
 6134|       |
 6135|      4|        stageBuiltins[EShLangMesh].append(
 6136|      4|            "out uint gl_PrimitiveCountNV;"
 6137|      4|            "out uint gl_PrimitiveIndicesNV[];"
 6138|       |
 6139|      4|            "in uint gl_MeshViewCountNV;"
 6140|      4|            "in uint gl_MeshViewIndicesNV[4];"
 6141|       |
 6142|      4|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6143|       |
 6144|      4|            "in highp uvec3 gl_WorkGroupID;"
 6145|      4|            "in highp uvec3 gl_LocalInvocationID;"
 6146|       |
 6147|      4|            "in highp uvec3 gl_GlobalInvocationID;"
 6148|      4|            "in highp uint gl_LocalInvocationIndex;"
 6149|      4|            "\n");
 6150|       |
 6151|       |        // GL_EXT_mesh_shader
 6152|      4|        stageBuiltins[EShLangMesh].append(
 6153|      4|            "out uint gl_PrimitivePointIndicesEXT[];"
 6154|      4|            "out uvec2 gl_PrimitiveLineIndicesEXT[];"
 6155|      4|            "out uvec3 gl_PrimitiveTriangleIndicesEXT[];"
 6156|      4|            "in    highp uvec3 gl_NumWorkGroups;"
 6157|      4|            "\n");
 6158|       |
 6159|       |        // per-vertex attributes
 6160|      4|        stageBuiltins[EShLangMesh].append(
 6161|      4|            "out gl_MeshPerVertexEXT {"
 6162|      4|                "vec4 gl_Position;"
 6163|      4|                "float gl_PointSize;"
 6164|      4|                "float gl_ClipDistance[];"
 6165|      4|                "float gl_CullDistance[];"
 6166|      4|            "} gl_MeshVerticesEXT[];"
 6167|      4|        );
 6168|       |
 6169|       |        // per-primitive attributes
 6170|      4|        stageBuiltins[EShLangMesh].append(
 6171|      4|            "perprimitiveEXT out gl_MeshPerPrimitiveEXT {"
 6172|      4|                "int gl_PrimitiveID;"
 6173|      4|                "int gl_Layer;"
 6174|      4|                "int gl_ViewportIndex;"
 6175|      4|                "bool gl_CullPrimitiveEXT;"
 6176|      4|                "int  gl_PrimitiveShadingRateEXT;"
 6177|      4|            "} gl_MeshPrimitivesEXT[];"
 6178|      4|        );
 6179|       |
 6180|      4|        stageBuiltins[EShLangTask].append(
 6181|      4|            "out uint gl_TaskCountNV;"
 6182|       |
 6183|      4|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6184|       |
 6185|      4|            "in highp uvec3 gl_WorkGroupID;"
 6186|      4|            "in highp uvec3 gl_LocalInvocationID;"
 6187|       |
 6188|      4|            "in highp uvec3 gl_GlobalInvocationID;"
 6189|      4|            "in highp uint gl_LocalInvocationIndex;"
 6190|       |
 6191|      4|            "in uint gl_MeshViewCountNV;"
 6192|      4|            "in uint gl_MeshViewIndicesNV[4];"
 6193|      4|            "in    highp uvec3 gl_NumWorkGroups;"
 6194|      4|            "\n");
 6195|      4|    }
 6196|       |
 6197|     52|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (6197:9): [True: 4, False: 48]
  |  Branch (6197:34): [True: 4, False: 0]
  ------------------
 6198|      4|        stageBuiltins[EShLangMesh].append(
 6199|      4|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6200|      4|            "in int gl_DrawIDARB;"             // GL_ARB_shader_draw_parameters
 6201|      4|            "in int gl_ViewIndex;"             // GL_EXT_multiview
 6202|      4|            "\n");
 6203|       |
 6204|      4|        stageBuiltins[EShLangTask].append(
 6205|      4|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6206|      4|            "in int gl_DrawIDARB;"             // GL_ARB_shader_draw_parameters
 6207|      4|            "\n");
 6208|       |
 6209|      4|        if (version >= 460) {
  ------------------
  |  Branch (6209:13): [True: 0, False: 4]
  ------------------
 6210|      0|            stageBuiltins[EShLangMesh].append(
 6211|      0|                "in int gl_DrawID;"
 6212|      0|                "\n");
 6213|       |
 6214|      0|            stageBuiltins[EShLangTask].append(
 6215|      0|                "in int gl_DrawID;"
 6216|      0|                "\n");
 6217|      0|        }
 6218|      4|    }
 6219|       |
 6220|       |    //============================================================================
 6221|       |    //
 6222|       |    // Define the interface to the vertex shader.
 6223|       |    //
 6224|       |    //============================================================================
 6225|       |
 6226|     52|    if (profile != EEsProfile) {
  ------------------
  |  Branch (6226:9): [True: 4, False: 48]
  ------------------
 6227|      4|        if (version < 130) {
  ------------------
  |  Branch (6227:13): [True: 0, False: 4]
  ------------------
 6228|      0|            stageBuiltins[EShLangVertex].append(
 6229|      0|                "attribute vec4  gl_Color;"
 6230|      0|                "attribute vec4  gl_SecondaryColor;"
 6231|      0|                "attribute vec3  gl_Normal;"
 6232|      0|                "attribute vec4  gl_Vertex;"
 6233|      0|                "attribute vec4  gl_MultiTexCoord0;"
 6234|      0|                "attribute vec4  gl_MultiTexCoord1;"
 6235|      0|                "attribute vec4  gl_MultiTexCoord2;"
 6236|      0|                "attribute vec4  gl_MultiTexCoord3;"
 6237|      0|                "attribute vec4  gl_MultiTexCoord4;"
 6238|      0|                "attribute vec4  gl_MultiTexCoord5;"
 6239|      0|                "attribute vec4  gl_MultiTexCoord6;"
 6240|      0|                "attribute vec4  gl_MultiTexCoord7;"
 6241|      0|                "attribute float gl_FogCoord;"
 6242|      0|                "\n");
 6243|      4|        } else if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6243:20): [True: 0, False: 4]
  ------------------
 6244|      0|            stageBuiltins[EShLangVertex].append(
 6245|      0|                "in vec4  gl_Color;"
 6246|      0|                "in vec4  gl_SecondaryColor;"
 6247|      0|                "in vec3  gl_Normal;"
 6248|      0|                "in vec4  gl_Vertex;"
 6249|      0|                "in vec4  gl_MultiTexCoord0;"
 6250|      0|                "in vec4  gl_MultiTexCoord1;"
 6251|      0|                "in vec4  gl_MultiTexCoord2;"
 6252|      0|                "in vec4  gl_MultiTexCoord3;"
 6253|      0|                "in vec4  gl_MultiTexCoord4;"
 6254|      0|                "in vec4  gl_MultiTexCoord5;"
 6255|      0|                "in vec4  gl_MultiTexCoord6;"
 6256|      0|                "in vec4  gl_MultiTexCoord7;"
 6257|      0|                "in float gl_FogCoord;"
 6258|      0|                "\n");
 6259|      0|        }
 6260|       |
 6261|      4|        if (version < 150) {
  ------------------
  |  Branch (6261:13): [True: 0, False: 4]
  ------------------
 6262|      0|            if (version < 130) {
  ------------------
  |  Branch (6262:17): [True: 0, False: 0]
  ------------------
 6263|      0|                stageBuiltins[EShLangVertex].append(
 6264|      0|                    "        vec4  gl_ClipVertex;"       // needs qualifier fixed later
 6265|      0|                    "varying vec4  gl_FrontColor;"
 6266|      0|                    "varying vec4  gl_BackColor;"
 6267|      0|                    "varying vec4  gl_FrontSecondaryColor;"
 6268|      0|                    "varying vec4  gl_BackSecondaryColor;"
 6269|      0|                    "varying vec4  gl_TexCoord[];"
 6270|      0|                    "varying float gl_FogFragCoord;"
 6271|      0|                    "\n");
 6272|      0|            } else if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6272:24): [True: 0, False: 0]
  ------------------
 6273|      0|                stageBuiltins[EShLangVertex].append(
 6274|      0|                    "    vec4  gl_ClipVertex;"       // needs qualifier fixed later
 6275|      0|                    "out vec4  gl_FrontColor;"
 6276|      0|                    "out vec4  gl_BackColor;"
 6277|      0|                    "out vec4  gl_FrontSecondaryColor;"
 6278|      0|                    "out vec4  gl_BackSecondaryColor;"
 6279|      0|                    "out vec4  gl_TexCoord[];"
 6280|      0|                    "out float gl_FogFragCoord;"
 6281|      0|                    "\n");
 6282|      0|            }
 6283|      0|            stageBuiltins[EShLangVertex].append(
 6284|      0|                "vec4 gl_Position;"   // needs qualifier fixed later
 6285|      0|                "float gl_PointSize;" // needs qualifier fixed later
 6286|      0|                );
 6287|       |
 6288|      0|            if (version == 130 || version == 140)
  ------------------
  |  Branch (6288:17): [True: 0, False: 0]
  |  Branch (6288:35): [True: 0, False: 0]
  ------------------
 6289|      0|                stageBuiltins[EShLangVertex].append(
 6290|      0|                    "out float gl_ClipDistance[];"
 6291|      0|                    );
 6292|      4|        } else {
 6293|       |            // version >= 150
 6294|      4|            stageBuiltins[EShLangVertex].append(
 6295|      4|                "out gl_PerVertex {"
 6296|      4|                    "vec4 gl_Position;"     // needs qualifier fixed later
 6297|      4|                    "float gl_PointSize;"   // needs qualifier fixed later
 6298|      4|                    "float gl_ClipDistance[];"
 6299|      4|                    );
 6300|      4|            if (IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (6300:17): [True: 0, False: 4]
  ------------------
 6301|      0|                stageBuiltins[EShLangVertex].append(
 6302|      0|                    "vec4 gl_ClipVertex;"   // needs qualifier fixed later
 6303|      0|                    "vec4 gl_FrontColor;"
 6304|      0|                    "vec4 gl_BackColor;"
 6305|      0|                    "vec4 gl_FrontSecondaryColor;"
 6306|      0|                    "vec4 gl_BackSecondaryColor;"
 6307|      0|                    "vec4 gl_TexCoord[];"
 6308|      0|                    "float gl_FogFragCoord;"
 6309|      0|                    );
 6310|      4|            if (version >= 450)
  ------------------
  |  Branch (6310:17): [True: 4, False: 0]
  ------------------
 6311|      4|                stageBuiltins[EShLangVertex].append(
 6312|      4|                    "float gl_CullDistance[];"
 6313|      4|                    );
 6314|      4|            stageBuiltins[EShLangVertex].append(
 6315|      4|                "};"
 6316|      4|                "\n");
 6317|      4|        }
 6318|      4|        if (version >= 130 && spvVersion.vulkan == 0)
  ------------------
  |  Branch (6318:13): [True: 4, False: 0]
  |  Branch (6318:31): [True: 2, False: 2]
  ------------------
 6319|      2|            stageBuiltins[EShLangVertex].append(
 6320|      2|                "int gl_VertexID;"            // needs qualifier fixed later
 6321|      2|                );
 6322|      4|        if (spvVersion.vulkan == 0)
  ------------------
  |  Branch (6322:13): [True: 2, False: 2]
  ------------------
 6323|      2|            stageBuiltins[EShLangVertex].append(
 6324|      2|                "int gl_InstanceID;"          // needs qualifier fixed later
 6325|      2|                );
 6326|      4|        if (spvVersion.vulkan > 0 && version >= 140)
  ------------------
  |  Branch (6326:13): [True: 2, False: 2]
  |  Branch (6326:38): [True: 2, False: 0]
  ------------------
 6327|      2|            stageBuiltins[EShLangVertex].append(
 6328|      2|                "in int gl_VertexIndex;"
 6329|      2|                "in int gl_InstanceIndex;"
 6330|      2|                );
 6331|       |
 6332|      4|        if (spvVersion.vulkan > 0 && version >= 140 && spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (6332:13): [True: 2, False: 2]
  |  Branch (6332:38): [True: 2, False: 0]
  |  Branch (6332:56): [True: 0, False: 2]
  ------------------
 6333|      0|            stageBuiltins[EShLangVertex].append(
 6334|      0|                "in int gl_VertexID;"         // declare with 'in' qualifier
 6335|      0|                "in int gl_InstanceID;"
 6336|      0|                );
 6337|       |
 6338|      4|        if (version >= 440) {
  ------------------
  |  Branch (6338:13): [True: 4, False: 0]
  ------------------
 6339|      4|            stageBuiltins[EShLangVertex].append(
 6340|      4|                "in int gl_BaseVertexARB;"
 6341|      4|                "in int gl_BaseInstanceARB;"
 6342|      4|                "in int gl_DrawIDARB;"
 6343|      4|                );
 6344|      4|        }
 6345|      4|        if (version >= 410) {
  ------------------
  |  Branch (6345:13): [True: 4, False: 0]
  ------------------
 6346|      4|            stageBuiltins[EShLangVertex].append(
 6347|      4|                "out int gl_ViewportIndex;"
 6348|      4|                "out int gl_Layer;"
 6349|      4|                );
 6350|      4|        }
 6351|      4|        if (version >= 460) {
  ------------------
  |  Branch (6351:13): [True: 0, False: 4]
  ------------------
 6352|      0|            stageBuiltins[EShLangVertex].append(
 6353|      0|                "in int gl_BaseVertex;"
 6354|      0|                "in int gl_BaseInstance;"
 6355|      0|                "in int gl_DrawID;"
 6356|      0|                );
 6357|      0|        }
 6358|       |
 6359|      4|        if (version >= 430)
  ------------------
  |  Branch (6359:13): [True: 4, False: 0]
  ------------------
 6360|      4|            stageBuiltins[EShLangVertex].append(
 6361|      4|                "out int gl_ViewportMask[];"             // GL_NV_viewport_array2
 6362|      4|                );
 6363|       |
 6364|      4|        if (version >= 450)
  ------------------
  |  Branch (6364:13): [True: 4, False: 0]
  ------------------
 6365|      4|            stageBuiltins[EShLangVertex].append(
 6366|      4|                "out int gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6367|      4|                "out vec4 gl_SecondaryPositionNV;"       // GL_NV_stereo_view_rendering
 6368|      4|                "out vec4 gl_PositionPerViewNV[];"       // GL_NVX_multiview_per_view_attributes
 6369|      4|                "out int  gl_ViewportMaskPerViewNV[];"   // GL_NVX_multiview_per_view_attributes
 6370|      4|                );
 6371|     48|    } else {
 6372|       |        // ES profile
 6373|     48|        if (version == 100) {
  ------------------
  |  Branch (6373:13): [True: 48, False: 0]
  ------------------
 6374|     48|            stageBuiltins[EShLangVertex].append(
 6375|     48|                "highp   vec4  gl_Position;"  // needs qualifier fixed later
 6376|     48|                "mediump float gl_PointSize;" // needs qualifier fixed later
 6377|     48|                "highp int gl_InstanceID;" // needs qualifier fixed later
 6378|     48|                );
 6379|     48|        } else {
 6380|      0|            if (spvVersion.vulkan == 0 || spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (6380:17): [True: 0, False: 0]
  |  Branch (6380:43): [True: 0, False: 0]
  ------------------
 6381|      0|                stageBuiltins[EShLangVertex].append(
 6382|      0|                    "in highp int gl_VertexID;"      // needs qualifier fixed later
 6383|      0|                    "in highp int gl_InstanceID;"    // needs qualifier fixed later
 6384|      0|                    );
 6385|      0|            if (spvVersion.vulkan > 0)
  ------------------
  |  Branch (6385:17): [True: 0, False: 0]
  ------------------
 6386|      0|                stageBuiltins[EShLangVertex].append(
 6387|      0|                    "in highp int gl_VertexIndex;"
 6388|      0|                    "in highp int gl_InstanceIndex;"
 6389|      0|                    );
 6390|      0|            if (version < 310)
  ------------------
  |  Branch (6390:17): [True: 0, False: 0]
  ------------------
 6391|      0|                stageBuiltins[EShLangVertex].append(
 6392|      0|                    "highp vec4  gl_Position;"    // needs qualifier fixed later
 6393|      0|                    "highp float gl_PointSize;"   // needs qualifier fixed later
 6394|      0|                    );
 6395|      0|            else
 6396|      0|                stageBuiltins[EShLangVertex].append(
 6397|      0|                    "out gl_PerVertex {"
 6398|      0|                        "highp vec4  gl_Position;"    // needs qualifier fixed later
 6399|      0|                        "highp float gl_PointSize;"   // needs qualifier fixed later
 6400|      0|                    "};"
 6401|      0|                    );
 6402|      0|        }
 6403|     48|    }
 6404|       |
 6405|     52|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6405:10): [True: 4, False: 48]
  |  Branch (6405:35): [True: 4, False: 0]
  ------------------
 6406|     48|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6406:10): [True: 48, False: 0]
  |  Branch (6406:35): [True: 0, False: 48]
  ------------------
 6407|      4|        stageBuiltins[EShLangVertex].append(
 6408|      4|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6409|      4|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6410|      4|            "\n");
 6411|      4|    }
 6412|       |
 6413|     52|    if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (6413:9): [True: 4, False: 48]
  ------------------
 6414|      4|        stageBuiltins[EShLangVertex].append(
 6415|      4|            "in highp uint gl_ViewID_OVR;"     // GL_OVR_multiview, GL_OVR_multiview2
 6416|      4|            "\n");
 6417|      4|    }
 6418|       |
 6419|     52|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6419:10): [True: 4, False: 48]
  |  Branch (6419:35): [True: 4, False: 0]
  |  Branch (6419:55): [True: 48, False: 0]
  |  Branch (6419:80): [True: 0, False: 48]
  ------------------
 6420|      4|        stageBuiltins[EShLangVertex].append(
 6421|      4|            "out highp int gl_PrimitiveShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6422|      4|            "\n");
 6423|      4|    }
 6424|       |
 6425|       |    //============================================================================
 6426|       |    //
 6427|       |    // Define the interface to the geometry shader.
 6428|       |    //
 6429|       |    //============================================================================
 6430|       |
 6431|     52|    if (profile == ECoreProfile || profile == ECompatibilityProfile) {
  ------------------
  |  Branch (6431:9): [True: 4, False: 48]
  |  Branch (6431:36): [True: 0, False: 48]
  ------------------
 6432|      4|        stageBuiltins[EShLangGeometry].append(
 6433|      4|            "in gl_PerVertex {"
 6434|      4|                "vec4 gl_Position;"
 6435|      4|                "float gl_PointSize;"
 6436|      4|                "float gl_ClipDistance[];"
 6437|      4|                );
 6438|      4|        if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (6438:13): [True: 0, False: 4]
  ------------------
 6439|      0|            stageBuiltins[EShLangGeometry].append(
 6440|      0|                "vec4 gl_ClipVertex;"
 6441|      0|                "vec4 gl_FrontColor;"
 6442|      0|                "vec4 gl_BackColor;"
 6443|      0|                "vec4 gl_FrontSecondaryColor;"
 6444|      0|                "vec4 gl_BackSecondaryColor;"
 6445|      0|                "vec4 gl_TexCoord[];"
 6446|      0|                "float gl_FogFragCoord;"
 6447|      0|                );
 6448|      4|        if (version >= 450)
  ------------------
  |  Branch (6448:13): [True: 4, False: 0]
  ------------------
 6449|      4|            stageBuiltins[EShLangGeometry].append(
 6450|      4|                "float gl_CullDistance[];"
 6451|      4|                "vec4 gl_SecondaryPositionNV;"   // GL_NV_stereo_view_rendering
 6452|      4|                "vec4 gl_PositionPerViewNV[];"   // GL_NVX_multiview_per_view_attributes
 6453|      4|                );
 6454|      4|        stageBuiltins[EShLangGeometry].append(
 6455|      4|            "} gl_in[];"
 6456|       |
 6457|      4|            "in int gl_PrimitiveIDIn;"
 6458|      4|            "out gl_PerVertex {"
 6459|      4|                "vec4 gl_Position;"
 6460|      4|                "float gl_PointSize;"
 6461|      4|                "float gl_ClipDistance[];"
 6462|      4|                "\n");
 6463|      4|        if (profile == ECompatibilityProfile && version >= 400)
  ------------------
  |  Branch (6463:13): [True: 0, False: 4]
  |  Branch (6463:49): [True: 0, False: 0]
  ------------------
 6464|      0|            stageBuiltins[EShLangGeometry].append(
 6465|      0|                "vec4 gl_ClipVertex;"
 6466|      0|                "vec4 gl_FrontColor;"
 6467|      0|                "vec4 gl_BackColor;"
 6468|      0|                "vec4 gl_FrontSecondaryColor;"
 6469|      0|                "vec4 gl_BackSecondaryColor;"
 6470|      0|                "vec4 gl_TexCoord[];"
 6471|      0|                "float gl_FogFragCoord;"
 6472|      0|                );
 6473|      4|        if (version >= 450)
  ------------------
  |  Branch (6473:13): [True: 4, False: 0]
  ------------------
 6474|      4|            stageBuiltins[EShLangGeometry].append(
 6475|      4|                "float gl_CullDistance[];"
 6476|      4|                );
 6477|      4|        stageBuiltins[EShLangGeometry].append(
 6478|      4|            "};"
 6479|       |
 6480|      4|            "out int gl_PrimitiveID;"
 6481|      4|            "out int gl_Layer;");
 6482|       |
 6483|      4|        if (version >= 150)
  ------------------
  |  Branch (6483:13): [True: 4, False: 0]
  ------------------
 6484|      4|            stageBuiltins[EShLangGeometry].append(
 6485|      4|            "out int gl_ViewportIndex;"
 6486|      4|            );
 6487|       |
 6488|      4|        if (profile == ECompatibilityProfile && version < 400)
  ------------------
  |  Branch (6488:13): [True: 0, False: 4]
  |  Branch (6488:49): [True: 0, False: 0]
  ------------------
 6489|      0|            stageBuiltins[EShLangGeometry].append(
 6490|      0|            "out vec4 gl_ClipVertex;"
 6491|      0|            );
 6492|       |
 6493|      4|        if (version >= 150)
  ------------------
  |  Branch (6493:13): [True: 4, False: 0]
  ------------------
 6494|      4|            stageBuiltins[EShLangGeometry].append(
 6495|      4|            "in int gl_InvocationID;"
 6496|      4|            );
 6497|       |
 6498|      4|        if (version >= 430)
  ------------------
  |  Branch (6498:13): [True: 4, False: 0]
  ------------------
 6499|      4|            stageBuiltins[EShLangGeometry].append(
 6500|      4|                "out int gl_ViewportMask[];"               // GL_NV_viewport_array2
 6501|      4|            );
 6502|       |
 6503|      4|        if (version >= 450)
  ------------------
  |  Branch (6503:13): [True: 4, False: 0]
  ------------------
 6504|      4|            stageBuiltins[EShLangGeometry].append(
 6505|      4|                "out int gl_SecondaryViewportMaskNV[];"    // GL_NV_stereo_view_rendering
 6506|      4|                "out vec4 gl_SecondaryPositionNV;"         // GL_NV_stereo_view_rendering
 6507|      4|                "out vec4 gl_PositionPerViewNV[];"         // GL_NVX_multiview_per_view_attributes
 6508|      4|                "out int  gl_ViewportMaskPerViewNV[];"     // GL_NVX_multiview_per_view_attributes
 6509|      4|            );
 6510|       |
 6511|      4|        stageBuiltins[EShLangGeometry].append("\n");
 6512|     48|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (6512:16): [True: 48, False: 0]
  |  Branch (6512:41): [True: 0, False: 48]
  ------------------
 6513|      0|        stageBuiltins[EShLangGeometry].append(
 6514|      0|            "in gl_PerVertex {"
 6515|      0|                "highp vec4 gl_Position;"
 6516|      0|                "highp float gl_PointSize;"
 6517|      0|            "} gl_in[];"
 6518|      0|            "\n"
 6519|      0|            "in highp int gl_PrimitiveIDIn;"
 6520|      0|            "in highp int gl_InvocationID;"
 6521|      0|            "\n"
 6522|      0|            "out gl_PerVertex {"
 6523|      0|                "highp vec4 gl_Position;"
 6524|      0|                "highp float gl_PointSize;"
 6525|      0|            "};"
 6526|      0|            "\n"
 6527|      0|            "out highp int gl_PrimitiveID;"
 6528|      0|            "out highp int gl_Layer;"
 6529|      0|            "\n"
 6530|      0|            );
 6531|      0|    }
 6532|       |
 6533|     52|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6533:10): [True: 4, False: 48]
  |  Branch (6533:35): [True: 4, False: 0]
  ------------------
 6534|     48|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6534:10): [True: 48, False: 0]
  |  Branch (6534:35): [True: 0, False: 48]
  ------------------
 6535|      4|        stageBuiltins[EShLangGeometry].append(
 6536|      4|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6537|      4|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6538|      4|            "\n");
 6539|      4|    }
 6540|       |
 6541|     52|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6541:10): [True: 4, False: 48]
  |  Branch (6541:35): [True: 4, False: 0]
  |  Branch (6541:55): [True: 48, False: 0]
  |  Branch (6541:80): [True: 0, False: 48]
  ------------------
 6542|      4|        stageBuiltins[EShLangGeometry].append(
 6543|      4|            "out highp int gl_PrimitiveShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6544|      4|            "\n");
 6545|      4|    }
 6546|       |
 6547|       |    //============================================================================
 6548|       |    //
 6549|       |    // Define the interface to the tessellation control shader.
 6550|       |    //
 6551|       |    //============================================================================
 6552|       |
 6553|     52|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (6553:9): [True: 4, False: 48]
  |  Branch (6553:34): [True: 4, False: 0]
  ------------------
 6554|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6555|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6556|       |
 6557|      4|        stageBuiltins[EShLangTessControl].append(
 6558|      4|            "in int gl_PatchVerticesIn;"
 6559|      4|            "in int gl_PrimitiveID;"
 6560|      4|            "in int gl_InvocationID;"
 6561|       |
 6562|      4|            "out gl_PerVertex {"
 6563|      4|                "vec4 gl_Position;"
 6564|      4|                "float gl_PointSize;"
 6565|      4|                "float gl_ClipDistance[];"
 6566|      4|                );
 6567|      4|        if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (6567:13): [True: 0, False: 4]
  ------------------
 6568|      0|            stageBuiltins[EShLangTessControl].append(
 6569|      0|                "vec4 gl_ClipVertex;"
 6570|      0|                "vec4 gl_FrontColor;"
 6571|      0|                "vec4 gl_BackColor;"
 6572|      0|                "vec4 gl_FrontSecondaryColor;"
 6573|      0|                "vec4 gl_BackSecondaryColor;"
 6574|      0|                "vec4 gl_TexCoord[];"
 6575|      0|                "float gl_FogFragCoord;"
 6576|      0|                );
 6577|      4|        if (version >= 450)
  ------------------
  |  Branch (6577:13): [True: 4, False: 0]
  ------------------
 6578|      4|            stageBuiltins[EShLangTessControl].append(
 6579|      4|                "float gl_CullDistance[];"
 6580|      4|            );
 6581|      4|        if (version >= 430)
  ------------------
  |  Branch (6581:13): [True: 4, False: 0]
  ------------------
 6582|      4|            stageBuiltins[EShLangTessControl].append(
 6583|      4|                "int  gl_ViewportMask[];"             // GL_NV_viewport_array2
 6584|      4|            );
 6585|      4|        if (version >= 450)
  ------------------
  |  Branch (6585:13): [True: 4, False: 0]
  ------------------
 6586|      4|            stageBuiltins[EShLangTessControl].append(
 6587|      4|                "vec4 gl_SecondaryPositionNV;"        // GL_NV_stereo_view_rendering
 6588|      4|                "int  gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6589|      4|                "vec4 gl_PositionPerViewNV[];"        // GL_NVX_multiview_per_view_attributes
 6590|      4|                "int  gl_ViewportMaskPerViewNV[];"    // GL_NVX_multiview_per_view_attributes
 6591|      4|                );
 6592|      4|        stageBuiltins[EShLangTessControl].append(
 6593|      4|            "} gl_out[];"
 6594|       |
 6595|      4|            "patch out float gl_TessLevelOuter[4];"
 6596|      4|            "patch out float gl_TessLevelInner[2];"
 6597|      4|            "\n");
 6598|       |
 6599|      4|        if (version >= 410)
  ------------------
  |  Branch (6599:13): [True: 4, False: 0]
  ------------------
 6600|      4|            stageBuiltins[EShLangTessControl].append(
 6601|      4|                "out int gl_ViewportIndex;"
 6602|      4|                "out int gl_Layer;"
 6603|      4|                "\n");
 6604|       |
 6605|     48|    } else {
 6606|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6607|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6608|       |
 6609|     48|        stageBuiltins[EShLangTessControl].append(
 6610|     48|            "in highp int gl_PatchVerticesIn;"
 6611|     48|            "in highp int gl_PrimitiveID;"
 6612|     48|            "in highp int gl_InvocationID;"
 6613|       |
 6614|     48|            "out gl_PerVertex {"
 6615|     48|                "highp vec4 gl_Position;"
 6616|     48|                "highp float gl_PointSize;"
 6617|     48|                );
 6618|     48|        stageBuiltins[EShLangTessControl].append(
 6619|     48|            "} gl_out[];"
 6620|       |
 6621|     48|            "patch out highp float gl_TessLevelOuter[4];"
 6622|     48|            "patch out highp float gl_TessLevelInner[2];"
 6623|     48|            "patch out highp vec4 gl_BoundingBoxOES[2];"
 6624|     48|            "patch out highp vec4 gl_BoundingBoxEXT[2];"
 6625|     48|            "\n");
 6626|     48|        if (profile == EEsProfile && version >= 320) {
  ------------------
  |  Branch (6626:13): [True: 48, False: 0]
  |  Branch (6626:38): [True: 0, False: 48]
  ------------------
 6627|      0|            stageBuiltins[EShLangTessControl].append(
 6628|      0|                "patch out highp vec4 gl_BoundingBox[2];"
 6629|      0|                "\n"
 6630|      0|            );
 6631|      0|        }
 6632|     48|    }
 6633|       |
 6634|     52|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6634:10): [True: 4, False: 48]
  |  Branch (6634:35): [True: 4, False: 0]
  ------------------
 6635|     48|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6635:10): [True: 48, False: 0]
  |  Branch (6635:35): [True: 0, False: 48]
  ------------------
 6636|      4|        stageBuiltins[EShLangTessControl].append(
 6637|      4|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6638|      4|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6639|      4|            "\n");
 6640|      4|    }
 6641|       |
 6642|       |    //============================================================================
 6643|       |    //
 6644|       |    // Define the interface to the tessellation evaluation shader.
 6645|       |    //
 6646|       |    //============================================================================
 6647|       |
 6648|     52|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (6648:9): [True: 4, False: 48]
  |  Branch (6648:34): [True: 4, False: 0]
  ------------------
 6649|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6650|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6651|       |
 6652|      4|        stageBuiltins[EShLangTessEvaluation].append(
 6653|      4|            "in int gl_PatchVerticesIn;"
 6654|      4|            "in int gl_PrimitiveID;"
 6655|      4|            "in vec3 gl_TessCoord;"
 6656|       |
 6657|      4|            "patch in float gl_TessLevelOuter[4];"
 6658|      4|            "patch in float gl_TessLevelInner[2];"
 6659|       |
 6660|      4|            "out gl_PerVertex {"
 6661|      4|                "vec4 gl_Position;"
 6662|      4|                "float gl_PointSize;"
 6663|      4|                "float gl_ClipDistance[];"
 6664|      4|            );
 6665|      4|        if (version >= 400 && profile == ECompatibilityProfile)
  ------------------
  |  Branch (6665:13): [True: 4, False: 0]
  |  Branch (6665:31): [True: 0, False: 4]
  ------------------
 6666|      0|            stageBuiltins[EShLangTessEvaluation].append(
 6667|      0|                "vec4 gl_ClipVertex;"
 6668|      0|                "vec4 gl_FrontColor;"
 6669|      0|                "vec4 gl_BackColor;"
 6670|      0|                "vec4 gl_FrontSecondaryColor;"
 6671|      0|                "vec4 gl_BackSecondaryColor;"
 6672|      0|                "vec4 gl_TexCoord[];"
 6673|      0|                "float gl_FogFragCoord;"
 6674|      0|                );
 6675|      4|        if (version >= 450)
  ------------------
  |  Branch (6675:13): [True: 4, False: 0]
  ------------------
 6676|      4|            stageBuiltins[EShLangTessEvaluation].append(
 6677|      4|                "float gl_CullDistance[];"
 6678|      4|                );
 6679|      4|        stageBuiltins[EShLangTessEvaluation].append(
 6680|      4|            "};"
 6681|      4|            "\n");
 6682|       |
 6683|      4|        if (version >= 410)
  ------------------
  |  Branch (6683:13): [True: 4, False: 0]
  ------------------
 6684|      4|            stageBuiltins[EShLangTessEvaluation].append(
 6685|      4|                "out int gl_ViewportIndex;"
 6686|      4|                "out int gl_Layer;"
 6687|      4|                "\n");
 6688|       |
 6689|      4|        if (version >= 430)
  ------------------
  |  Branch (6689:13): [True: 4, False: 0]
  ------------------
 6690|      4|            stageBuiltins[EShLangTessEvaluation].append(
 6691|      4|                "out int  gl_ViewportMask[];"             // GL_NV_viewport_array2
 6692|      4|            );
 6693|       |
 6694|      4|        if (version >= 450)
  ------------------
  |  Branch (6694:13): [True: 4, False: 0]
  ------------------
 6695|      4|            stageBuiltins[EShLangTessEvaluation].append(
 6696|      4|                "out vec4 gl_SecondaryPositionNV;"        // GL_NV_stereo_view_rendering
 6697|      4|                "out int  gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6698|      4|                "out vec4 gl_PositionPerViewNV[];"        // GL_NVX_multiview_per_view_attributes
 6699|      4|                "out int  gl_ViewportMaskPerViewNV[];"    // GL_NVX_multiview_per_view_attributes
 6700|      4|                );
 6701|       |
 6702|     48|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (6702:16): [True: 48, False: 0]
  |  Branch (6702:41): [True: 0, False: 48]
  ------------------
 6703|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6704|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6705|       |
 6706|      0|        stageBuiltins[EShLangTessEvaluation].append(
 6707|      0|            "in highp int gl_PatchVerticesIn;"
 6708|      0|            "in highp int gl_PrimitiveID;"
 6709|      0|            "in highp vec3 gl_TessCoord;"
 6710|       |
 6711|      0|            "patch in highp float gl_TessLevelOuter[4];"
 6712|      0|            "patch in highp float gl_TessLevelInner[2];"
 6713|       |
 6714|      0|            "out gl_PerVertex {"
 6715|      0|                "highp vec4 gl_Position;"
 6716|      0|                "highp float gl_PointSize;"
 6717|      0|            );
 6718|      0|        stageBuiltins[EShLangTessEvaluation].append(
 6719|      0|            "};"
 6720|      0|            "\n");
 6721|      0|    }
 6722|       |
 6723|     52|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6723:10): [True: 4, False: 48]
  |  Branch (6723:35): [True: 4, False: 0]
  ------------------
 6724|     48|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6724:10): [True: 48, False: 0]
  |  Branch (6724:35): [True: 0, False: 48]
  ------------------
 6725|      4|        stageBuiltins[EShLangTessEvaluation].append(
 6726|      4|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6727|      4|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6728|      4|            "\n");
 6729|      4|    }
 6730|       |
 6731|       |    //============================================================================
 6732|       |    //
 6733|       |    // Define the interface to the fragment shader.
 6734|       |    //
 6735|       |    //============================================================================
 6736|       |
 6737|     52|    if (profile != EEsProfile) {
  ------------------
  |  Branch (6737:9): [True: 4, False: 48]
  ------------------
 6738|       |
 6739|      4|        stageBuiltins[EShLangFragment].append(
 6740|      4|            "vec4  gl_FragCoord;"   // needs qualifier fixed later
 6741|      4|            "bool  gl_FrontFacing;" // needs qualifier fixed later
 6742|      4|            "float gl_FragDepth;"   // needs qualifier fixed later
 6743|      4|            );
 6744|      4|        if (version >= 120)
  ------------------
  |  Branch (6744:13): [True: 4, False: 0]
  ------------------
 6745|      4|            stageBuiltins[EShLangFragment].append(
 6746|      4|                "vec2 gl_PointCoord;"  // needs qualifier fixed later
 6747|      4|                );
 6748|      4|        if (version >= 140)
  ------------------
  |  Branch (6748:13): [True: 4, False: 0]
  ------------------
 6749|      4|            stageBuiltins[EShLangFragment].append(
 6750|      4|                "out int gl_FragStencilRefARB;"
 6751|      4|                );
 6752|      4|        if (IncludeLegacy(version, profile, spvVersion) || (! ForwardCompatibility && version < 420))
  ------------------
  |  Branch (6752:13): [True: 0, False: 4]
  |  Branch (6752:61): [True: 4, Folded]
  |  Branch (6752:87): [True: 0, False: 4]
  ------------------
 6753|      0|            stageBuiltins[EShLangFragment].append(
 6754|      0|                "vec4 gl_FragColor;"   // needs qualifier fixed later
 6755|      0|                );
 6756|       |
 6757|      4|        if (version < 130) {
  ------------------
  |  Branch (6757:13): [True: 0, False: 4]
  ------------------
 6758|      0|            stageBuiltins[EShLangFragment].append(
 6759|      0|                "varying vec4  gl_Color;"
 6760|      0|                "varying vec4  gl_SecondaryColor;"
 6761|      0|                "varying vec4  gl_TexCoord[];"
 6762|      0|                "varying float gl_FogFragCoord;"
 6763|      0|                );
 6764|      4|        } else {
 6765|      4|            stageBuiltins[EShLangFragment].append(
 6766|      4|                "in float gl_ClipDistance[];"
 6767|      4|                );
 6768|       |
 6769|      4|            if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6769:17): [True: 0, False: 4]
  ------------------
 6770|      0|                if (version < 150)
  ------------------
  |  Branch (6770:21): [True: 0, False: 0]
  ------------------
 6771|      0|                    stageBuiltins[EShLangFragment].append(
 6772|      0|                        "in float gl_FogFragCoord;"
 6773|      0|                        "in vec4  gl_TexCoord[];"
 6774|      0|                        "in vec4  gl_Color;"
 6775|      0|                        "in vec4  gl_SecondaryColor;"
 6776|      0|                        );
 6777|      0|                else
 6778|      0|                    stageBuiltins[EShLangFragment].append(
 6779|      0|                        "in gl_PerFragment {"
 6780|      0|                            "in float gl_FogFragCoord;"
 6781|      0|                            "in vec4  gl_TexCoord[];"
 6782|      0|                            "in vec4  gl_Color;"
 6783|      0|                            "in vec4  gl_SecondaryColor;"
 6784|      0|                        "};"
 6785|      0|                        );
 6786|      0|            }
 6787|      4|        }
 6788|       |
 6789|      4|        if (version >= 150)
  ------------------
  |  Branch (6789:13): [True: 4, False: 0]
  ------------------
 6790|      4|            stageBuiltins[EShLangFragment].append(
 6791|      4|                "flat in int gl_PrimitiveID;"
 6792|      4|                );
 6793|       |
 6794|      4|        if (version >= 130) { // ARB_sample_shading
  ------------------
  |  Branch (6794:13): [True: 4, False: 0]
  ------------------
 6795|      4|            stageBuiltins[EShLangFragment].append(
 6796|      4|                "flat in  int  gl_SampleID;"
 6797|      4|                "     in  vec2 gl_SamplePosition;"
 6798|      4|                "     out int  gl_SampleMask[];"
 6799|      4|                );
 6800|       |
 6801|      4|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (6801:17): [True: 4, False: 0]
  ------------------
 6802|      4|                stageBuiltins[EShLangFragment].append(
 6803|      4|                    "uniform int gl_NumSamples;"
 6804|      4|                );
 6805|      4|            }
 6806|      4|        }
 6807|       |
 6808|      4|        if (version >= 150)
  ------------------
  |  Branch (6808:13): [True: 4, False: 0]
  ------------------
 6809|      4|            stageBuiltins[EShLangFragment].append(
 6810|      4|                "flat in  int  gl_SampleMaskIn[];"
 6811|      4|            );
 6812|       |
 6813|      4|        if (version >= 430)
  ------------------
  |  Branch (6813:13): [True: 4, False: 0]
  ------------------
 6814|      4|            stageBuiltins[EShLangFragment].append(
 6815|      4|                "flat in int gl_Layer;"
 6816|      4|                "flat in int gl_ViewportIndex;"
 6817|      4|                );
 6818|       |
 6819|      4|        if (version >= 450)
  ------------------
  |  Branch (6819:13): [True: 4, False: 0]
  ------------------
 6820|      4|            stageBuiltins[EShLangFragment].append(
 6821|      4|                "in float gl_CullDistance[];"
 6822|      4|                "bool gl_HelperInvocation;"     // needs qualifier fixed later
 6823|      4|                );
 6824|       |
 6825|      4|        if (version >= 450)
  ------------------
  |  Branch (6825:13): [True: 4, False: 0]
  ------------------
 6826|      4|            stageBuiltins[EShLangFragment].append( // GL_EXT_fragment_invocation_density
 6827|      4|                "flat in ivec2 gl_FragSizeEXT;"
 6828|      4|                "flat in int   gl_FragInvocationCountEXT;"
 6829|      4|                );
 6830|       |
 6831|      4|        if (version >= 450)
  ------------------
  |  Branch (6831:13): [True: 4, False: 0]
  ------------------
 6832|      4|            stageBuiltins[EShLangFragment].append(
 6833|      4|                "in vec2 gl_BaryCoordNoPerspAMD;"
 6834|      4|                "in vec2 gl_BaryCoordNoPerspCentroidAMD;"
 6835|      4|                "in vec2 gl_BaryCoordNoPerspSampleAMD;"
 6836|      4|                "in vec2 gl_BaryCoordSmoothAMD;"
 6837|      4|                "in vec2 gl_BaryCoordSmoothCentroidAMD;"
 6838|      4|                "in vec2 gl_BaryCoordSmoothSampleAMD;"
 6839|      4|                "in vec3 gl_BaryCoordPullModelAMD;"
 6840|      4|                );
 6841|       |
 6842|      4|        if (version >= 430)
  ------------------
  |  Branch (6842:13): [True: 4, False: 0]
  ------------------
 6843|      4|            stageBuiltins[EShLangFragment].append(
 6844|      4|                "in bool gl_FragFullyCoveredNV;"
 6845|      4|                );
 6846|      4|        if (version >= 450)
  ------------------
  |  Branch (6846:13): [True: 4, False: 0]
  ------------------
 6847|      4|            stageBuiltins[EShLangFragment].append(
 6848|      4|                "flat in ivec2 gl_FragmentSizeNV;"          // GL_NV_shading_rate_image
 6849|      4|                "flat in int   gl_InvocationsPerPixelNV;"
 6850|      4|                "in vec3 gl_BaryCoordNV;"                   // GL_NV_fragment_shader_barycentric
 6851|      4|                "in vec3 gl_BaryCoordNoPerspNV;"
 6852|      4|                "in vec3 gl_BaryCoordEXT;"                  // GL_EXT_fragment_shader_barycentric
 6853|      4|                "in vec3 gl_BaryCoordNoPerspEXT;"
 6854|      4|                );
 6855|       |
 6856|      4|        if (version >= 450)
  ------------------
  |  Branch (6856:13): [True: 4, False: 0]
  ------------------
 6857|      4|            stageBuiltins[EShLangFragment].append(
 6858|      4|                "flat in int gl_ShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6859|      4|            );
 6860|       |
 6861|     48|    } else {
 6862|       |        // ES profile
 6863|       |
 6864|     48|        if (version == 100) {
  ------------------
  |  Branch (6864:13): [True: 48, False: 0]
  ------------------
 6865|     48|            stageBuiltins[EShLangFragment].append(
 6866|     48|                "mediump vec4 gl_FragCoord;"    // needs qualifier fixed later
 6867|     48|                "        bool gl_FrontFacing;"  // needs qualifier fixed later
 6868|     48|                "mediump vec4 gl_FragColor;"    // needs qualifier fixed later
 6869|     48|                "mediump vec2 gl_PointCoord;"   // needs qualifier fixed later
 6870|     48|                );
 6871|     48|        }
 6872|     48|        if (version >= 300) {
  ------------------
  |  Branch (6872:13): [True: 0, False: 48]
  ------------------
 6873|      0|            stageBuiltins[EShLangFragment].append(
 6874|      0|                "highp   vec4  gl_FragCoord;"    // needs qualifier fixed later
 6875|      0|                "        bool  gl_FrontFacing;"  // needs qualifier fixed later
 6876|      0|                "mediump vec2  gl_PointCoord;"   // needs qualifier fixed later
 6877|      0|                "highp   float gl_FragDepth;"    // needs qualifier fixed later
 6878|      0|                );
 6879|      0|        }
 6880|     48|        if (version >= 310) {
  ------------------
  |  Branch (6880:13): [True: 0, False: 48]
  ------------------
 6881|      0|            stageBuiltins[EShLangFragment].append(
 6882|      0|                "bool gl_HelperInvocation;"          // needs qualifier fixed later
 6883|      0|                "flat in highp int gl_PrimitiveID;"  // needs qualifier fixed later
 6884|      0|                "flat in highp int gl_Layer;"        // needs qualifier fixed later
 6885|      0|                );
 6886|       |
 6887|      0|            stageBuiltins[EShLangFragment].append(  // GL_OES_sample_variables
 6888|      0|                "flat  in lowp     int gl_SampleID;"
 6889|      0|                "      in mediump vec2 gl_SamplePosition;"
 6890|      0|                "flat  in highp    int gl_SampleMaskIn[];"
 6891|      0|                "     out highp    int gl_SampleMask[];"
 6892|      0|                );
 6893|      0|            if (spvVersion.spv == 0)
  ------------------
  |  Branch (6893:17): [True: 0, False: 0]
  ------------------
 6894|      0|                stageBuiltins[EShLangFragment].append(  // GL_OES_sample_variables
 6895|      0|                    "uniform lowp int gl_NumSamples;"
 6896|      0|                    );
 6897|      0|        }
 6898|     48|        stageBuiltins[EShLangFragment].append(
 6899|     48|            "highp float gl_FragDepthEXT;"       // GL_EXT_frag_depth
 6900|     48|            );
 6901|       |
 6902|     48|        if (version >= 310)
  ------------------
  |  Branch (6902:13): [True: 0, False: 48]
  ------------------
 6903|      0|            stageBuiltins[EShLangFragment].append( // GL_EXT_fragment_invocation_density
 6904|      0|                "flat in ivec2 gl_FragSizeEXT;"
 6905|      0|                "flat in int   gl_FragInvocationCountEXT;"
 6906|      0|            );
 6907|     48|        if (version >= 320)
  ------------------
  |  Branch (6907:13): [True: 0, False: 48]
  ------------------
 6908|      0|            stageBuiltins[EShLangFragment].append( // GL_NV_shading_rate_image
 6909|      0|                "flat in ivec2 gl_FragmentSizeNV;"
 6910|      0|                "flat in int   gl_InvocationsPerPixelNV;"
 6911|      0|            );
 6912|     48|        if (version >= 320)
  ------------------
  |  Branch (6912:13): [True: 0, False: 48]
  ------------------
 6913|      0|            stageBuiltins[EShLangFragment].append(
 6914|      0|                "in vec3 gl_BaryCoordNV;"
 6915|      0|                "in vec3 gl_BaryCoordNoPerspNV;"
 6916|      0|                "in vec3 gl_BaryCoordEXT;"
 6917|      0|                "in vec3 gl_BaryCoordNoPerspEXT;"
 6918|      0|            );
 6919|     48|        if (version >= 310)
  ------------------
  |  Branch (6919:13): [True: 0, False: 48]
  ------------------
 6920|      0|            stageBuiltins[EShLangFragment].append(
 6921|      0|                "flat in highp int gl_ShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6922|      0|            );
 6923|     48|    }
 6924|       |
 6925|     52|    stageBuiltins[EShLangFragment].append("\n");
 6926|       |
 6927|     52|    if (version >= 130)
  ------------------
  |  Branch (6927:9): [True: 4, False: 48]
  ------------------
 6928|      4|        add2ndGenerationSamplingImaging(version, profile, spvVersion);
 6929|       |
 6930|     52|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6930:10): [True: 4, False: 48]
  |  Branch (6930:35): [True: 4, False: 0]
  ------------------
 6931|     48|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6931:10): [True: 48, False: 0]
  |  Branch (6931:35): [True: 0, False: 48]
  ------------------
 6932|      4|        stageBuiltins[EShLangFragment].append(
 6933|      4|            "flat in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6934|      4|            "flat in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6935|      4|            "\n");
 6936|      4|    }
 6937|       |
 6938|     52|    if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (6938:9): [True: 4, False: 48]
  ------------------
 6939|      4|        stageBuiltins[EShLangFragment].append(
 6940|      4|            "flat in highp uint gl_ViewID_OVR;"     // GL_OVR_multiview, GL_OVR_multiview2
 6941|      4|            "\n");
 6942|      4|    }
 6943|       |    
 6944|       |    // GL_QCOM_tile_shading
 6945|     52|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (6945:10): [True: 48, False: 4]
  |  Branch (6945:35): [True: 0, False: 48]
  ------------------
 6946|     52|        (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (6946:10): [True: 4, False: 48]
  |  Branch (6946:35): [True: 0, False: 4]
  ------------------
 6947|      0|        stageBuiltins[EShLangFragment].append(
 6948|      0|            "flat in highp uvec2 gl_TileOffsetQCOM;"     // GL_QCOM_tile_shading
 6949|      0|            "flat in highp uvec3 gl_TileDimensionQCOM;"  // GL_QCOM_tile_shading
 6950|      0|            "flat in highp uvec2 gl_TileApronSizeQCOM;"  // GL_QCOM_tile_shading
 6951|      0|            "\n");
 6952|      0|    }
 6953|       |
 6954|       |    // GL_ARB_shader_ballot
 6955|     52|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (6955:9): [True: 4, False: 48]
  |  Branch (6955:34): [True: 4, False: 0]
  ------------------
 6956|      4|        const char* ballotDecls =
 6957|      4|            "uniform uint gl_SubGroupSizeARB;"
 6958|      4|            "in uint     gl_SubGroupInvocationARB;"
 6959|      4|            "in uint64_t gl_SubGroupEqMaskARB;"
 6960|      4|            "in uint64_t gl_SubGroupGeMaskARB;"
 6961|      4|            "in uint64_t gl_SubGroupGtMaskARB;"
 6962|      4|            "in uint64_t gl_SubGroupLeMaskARB;"
 6963|      4|            "in uint64_t gl_SubGroupLtMaskARB;"
 6964|      4|            "\n";
 6965|      4|        const char* rtBallotDecls =
 6966|      4|            "uniform volatile uint gl_SubGroupSizeARB;"
 6967|      4|            "in volatile uint     gl_SubGroupInvocationARB;"
 6968|      4|            "in volatile uint64_t gl_SubGroupEqMaskARB;"
 6969|      4|            "in volatile uint64_t gl_SubGroupGeMaskARB;"
 6970|      4|            "in volatile uint64_t gl_SubGroupGtMaskARB;"
 6971|      4|            "in volatile uint64_t gl_SubGroupLeMaskARB;"
 6972|      4|            "in volatile uint64_t gl_SubGroupLtMaskARB;"
 6973|      4|            "\n";
 6974|      4|        const char* fragmentBallotDecls =
 6975|      4|            "uniform uint gl_SubGroupSizeARB;"
 6976|      4|            "flat in uint     gl_SubGroupInvocationARB;"
 6977|      4|            "flat in uint64_t gl_SubGroupEqMaskARB;"
 6978|      4|            "flat in uint64_t gl_SubGroupGeMaskARB;"
 6979|      4|            "flat in uint64_t gl_SubGroupGtMaskARB;"
 6980|      4|            "flat in uint64_t gl_SubGroupLeMaskARB;"
 6981|      4|            "flat in uint64_t gl_SubGroupLtMaskARB;"
 6982|      4|            "\n";
 6983|      4|        stageBuiltins[EShLangVertex]        .append(ballotDecls);
 6984|      4|        stageBuiltins[EShLangTessControl]   .append(ballotDecls);
 6985|      4|        stageBuiltins[EShLangTessEvaluation].append(ballotDecls);
 6986|      4|        stageBuiltins[EShLangGeometry]      .append(ballotDecls);
 6987|      4|        stageBuiltins[EShLangCompute]       .append(ballotDecls);
 6988|      4|        stageBuiltins[EShLangFragment]      .append(fragmentBallotDecls);
 6989|      4|        stageBuiltins[EShLangMesh]        .append(ballotDecls);
 6990|      4|        stageBuiltins[EShLangTask]        .append(ballotDecls);
 6991|      4|        stageBuiltins[EShLangRayGen]        .append(rtBallotDecls);
 6992|      4|        stageBuiltins[EShLangIntersect]     .append(rtBallotDecls);
 6993|       |        // No volatile qualifier on these builtins in any-hit
 6994|      4|        stageBuiltins[EShLangAnyHit]        .append(ballotDecls);
 6995|      4|        stageBuiltins[EShLangClosestHit]    .append(rtBallotDecls);
 6996|      4|        stageBuiltins[EShLangMiss]          .append(rtBallotDecls);
 6997|      4|        stageBuiltins[EShLangCallable]      .append(rtBallotDecls);
 6998|      4|    }
 6999|       |
 7000|       |    // GL_KHR_shader_subgroup
 7001|     52|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (7001:10): [True: 48, False: 4]
  |  Branch (7001:35): [True: 0, False: 48]
  ------------------
 7002|     52|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (7002:10): [True: 4, False: 48]
  |  Branch (7002:35): [True: 4, False: 0]
  ------------------
 7003|      4|        const char* subgroupDecls =
 7004|      4|            "in mediump uint  gl_SubgroupSize;"
 7005|      4|            "in mediump uint  gl_SubgroupInvocationID;"
 7006|      4|            "in highp   uvec4 gl_SubgroupEqMask;"
 7007|      4|            "in highp   uvec4 gl_SubgroupGeMask;"
 7008|      4|            "in highp   uvec4 gl_SubgroupGtMask;"
 7009|      4|            "in highp   uvec4 gl_SubgroupLeMask;"
 7010|      4|            "in highp   uvec4 gl_SubgroupLtMask;"
 7011|       |            // GL_NV_shader_sm_builtins
 7012|      4|            "in highp   uint  gl_WarpsPerSMNV;"
 7013|      4|            "in highp   uint  gl_SMCountNV;"
 7014|      4|            "in highp   uint  gl_WarpIDNV;"
 7015|      4|            "in highp   uint  gl_SMIDNV;"
 7016|       |            // GL_ARM_shader_core_builtins
 7017|      4|            "in highp   uint  gl_CoreIDARM;"
 7018|      4|            "in highp   uint  gl_CoreCountARM;"
 7019|      4|            "in highp   uint  gl_CoreMaxIDARM;"
 7020|      4|            "in highp   uint  gl_WarpIDARM;"
 7021|      4|            "in highp   uint  gl_WarpMaxIDARM;"
 7022|      4|            "\n";
 7023|      4|        const char* fragmentSubgroupDecls =
 7024|      4|            "flat in mediump uint  gl_SubgroupSize;"
 7025|      4|            "flat in mediump uint  gl_SubgroupInvocationID;"
 7026|      4|            "flat in highp   uvec4 gl_SubgroupEqMask;"
 7027|      4|            "flat in highp   uvec4 gl_SubgroupGeMask;"
 7028|      4|            "flat in highp   uvec4 gl_SubgroupGtMask;"
 7029|      4|            "flat in highp   uvec4 gl_SubgroupLeMask;"
 7030|      4|            "flat in highp   uvec4 gl_SubgroupLtMask;"
 7031|       |            // GL_NV_shader_sm_builtins
 7032|      4|            "flat in highp   uint  gl_WarpsPerSMNV;"
 7033|      4|            "flat in highp   uint  gl_SMCountNV;"
 7034|      4|            "flat in highp   uint  gl_WarpIDNV;"
 7035|      4|            "flat in highp   uint  gl_SMIDNV;"
 7036|       |            // GL_ARM_shader_core_builtins
 7037|      4|            "flat in highp   uint  gl_CoreIDARM;"
 7038|      4|            "flat in highp   uint  gl_CoreCountARM;"
 7039|      4|            "flat in highp   uint  gl_CoreMaxIDARM;"
 7040|      4|            "flat in highp   uint  gl_WarpIDARM;"
 7041|      4|            "flat in highp   uint  gl_WarpMaxIDARM;"
 7042|      4|            "\n";
 7043|      4|        const char* computeSubgroupDecls =
 7044|      4|            "in highp   uint  gl_NumSubgroups;"
 7045|      4|            "in highp   uint  gl_SubgroupID;"
 7046|      4|            "\n";
 7047|       |        // These builtins are volatile for RT stages
 7048|      4|        const char* rtSubgroupDecls =
 7049|      4|            "in mediump volatile uint  gl_SubgroupSize;"
 7050|      4|            "in mediump volatile uint  gl_SubgroupInvocationID;"
 7051|      4|            "in highp   volatile uvec4 gl_SubgroupEqMask;"
 7052|      4|            "in highp   volatile uvec4 gl_SubgroupGeMask;"
 7053|      4|            "in highp   volatile uvec4 gl_SubgroupGtMask;"
 7054|      4|            "in highp   volatile uvec4 gl_SubgroupLeMask;"
 7055|      4|            "in highp   volatile uvec4 gl_SubgroupLtMask;"
 7056|       |            // GL_NV_shader_sm_builtins
 7057|      4|            "in highp    uint  gl_WarpsPerSMNV;"
 7058|      4|            "in highp    uint  gl_SMCountNV;"
 7059|      4|            "in highp volatile uint  gl_WarpIDNV;"
 7060|      4|            "in highp volatile uint  gl_SMIDNV;"
 7061|       |            // GL_ARM_shader_core_builtins
 7062|      4|            "in highp   uint  gl_CoreIDARM;"
 7063|      4|            "in highp   uint  gl_CoreCountARM;"
 7064|      4|            "in highp   uint  gl_CoreMaxIDARM;"
 7065|      4|            "in highp   uint  gl_WarpIDARM;"
 7066|      4|            "in highp   uint  gl_WarpMaxIDARM;"
 7067|      4|            "\n";
 7068|       |
 7069|      4|        stageBuiltins[EShLangVertex]        .append(subgroupDecls);
 7070|      4|        stageBuiltins[EShLangTessControl]   .append(subgroupDecls);
 7071|      4|        stageBuiltins[EShLangTessEvaluation].append(subgroupDecls);
 7072|      4|        stageBuiltins[EShLangGeometry]      .append(subgroupDecls);
 7073|      4|        stageBuiltins[EShLangCompute]       .append(subgroupDecls);
 7074|      4|        stageBuiltins[EShLangCompute]       .append(computeSubgroupDecls);
 7075|      4|        stageBuiltins[EShLangFragment]      .append(fragmentSubgroupDecls);
 7076|      4|        stageBuiltins[EShLangMesh]        .append(subgroupDecls);
 7077|      4|        stageBuiltins[EShLangMesh]        .append(computeSubgroupDecls);
 7078|      4|        stageBuiltins[EShLangTask]        .append(subgroupDecls);
 7079|      4|        stageBuiltins[EShLangTask]        .append(computeSubgroupDecls);
 7080|      4|        stageBuiltins[EShLangRayGen]        .append(rtSubgroupDecls);
 7081|      4|        stageBuiltins[EShLangIntersect]     .append(rtSubgroupDecls);
 7082|       |        // No volatile qualifier on these builtins in any-hit
 7083|      4|        stageBuiltins[EShLangAnyHit]        .append(subgroupDecls);
 7084|      4|        stageBuiltins[EShLangClosestHit]    .append(rtSubgroupDecls);
 7085|      4|        stageBuiltins[EShLangMiss]          .append(rtSubgroupDecls);
 7086|      4|        stageBuiltins[EShLangCallable]      .append(rtSubgroupDecls);
 7087|      4|    }
 7088|       |
 7089|       |    // GL_NV_ray_tracing/GL_EXT_ray_tracing
 7090|     52|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (7090:9): [True: 4, False: 48]
  |  Branch (7090:34): [True: 0, False: 4]
  ------------------
 7091|       |
 7092|      0|        const char *constRayFlags =
 7093|      0|            "const uint gl_RayFlagsNoneNV = 0U;"
 7094|      0|            "const uint gl_RayFlagsNoneEXT = 0U;"
 7095|      0|            "const uint gl_RayFlagsOpaqueNV = 1U;"
 7096|      0|            "const uint gl_RayFlagsOpaqueEXT = 1U;"
 7097|      0|            "const uint gl_RayFlagsNoOpaqueNV = 2U;"
 7098|      0|            "const uint gl_RayFlagsNoOpaqueEXT = 2U;"
 7099|      0|            "const uint gl_RayFlagsTerminateOnFirstHitNV = 4U;"
 7100|      0|            "const uint gl_RayFlagsTerminateOnFirstHitEXT = 4U;"
 7101|      0|            "const uint gl_RayFlagsSkipClosestHitShaderNV = 8U;"
 7102|      0|            "const uint gl_RayFlagsSkipClosestHitShaderEXT = 8U;"
 7103|      0|            "const uint gl_RayFlagsCullBackFacingTrianglesNV = 16U;"
 7104|      0|            "const uint gl_RayFlagsCullBackFacingTrianglesEXT = 16U;"
 7105|      0|            "const uint gl_RayFlagsCullFrontFacingTrianglesNV = 32U;"
 7106|      0|            "const uint gl_RayFlagsCullFrontFacingTrianglesEXT = 32U;"
 7107|      0|            "const uint gl_RayFlagsCullOpaqueNV = 64U;"
 7108|      0|            "const uint gl_RayFlagsCullOpaqueEXT = 64U;"
 7109|      0|            "const uint gl_RayFlagsCullNoOpaqueNV = 128U;"
 7110|      0|            "const uint gl_RayFlagsCullNoOpaqueEXT = 128U;"
 7111|      0|            "const uint gl_RayFlagsSkipTrianglesEXT = 256U;"
 7112|      0|            "const uint gl_RayFlagsSkipBuiltinPrimitivesNV = 256U;"
 7113|      0|            "const uint gl_RayFlagsSkipAABBEXT = 512U;"
 7114|      0|            "const uint gl_RayFlagsForceOpacityMicromap2StateEXT = 1024U;"
 7115|      0|            "const uint gl_HitKindFrontFacingTriangleEXT = 254U;"
 7116|      0|            "const uint gl_HitKindBackFacingTriangleEXT = 255U;"
 7117|      0|            "in    uint gl_HitKindFrontFacingMicroTriangleNV;"
 7118|      0|            "in    uint gl_HitKindBackFacingMicroTriangleNV;"
 7119|      0|            "const int  gl_ClusterIDNoneNV = -1;"
 7120|      0|            "\n";
 7121|       |
 7122|      0|        const char *constRayQueryIntersection =
 7123|      0|            "const uint gl_RayQueryCandidateIntersectionEXT = 0U;"
 7124|      0|            "const uint gl_RayQueryCommittedIntersectionEXT = 1U;"
 7125|      0|            "const uint gl_RayQueryCommittedIntersectionNoneEXT = 0U;"
 7126|      0|            "const uint gl_RayQueryCommittedIntersectionTriangleEXT = 1U;"
 7127|      0|            "const uint gl_RayQueryCommittedIntersectionGeneratedEXT = 2U;"
 7128|      0|            "const uint gl_RayQueryCandidateIntersectionTriangleEXT = 0U;"
 7129|      0|            "const uint gl_RayQueryCandidateIntersectionAABBEXT = 1U;"
 7130|      0|            "\n";
 7131|       |
 7132|      0|        const char *rayGenDecls =
 7133|      0|            "in    uvec3  gl_LaunchIDNV;"
 7134|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7135|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7136|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7137|      0|            "\n";
 7138|      0|        const char *intersectDecls =
 7139|      0|            "in    uvec3  gl_LaunchIDNV;"
 7140|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7141|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7142|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7143|      0|            "in     int   gl_PrimitiveID;"
 7144|      0|            "in     int   gl_InstanceID;"
 7145|      0|            "in     int   gl_InstanceCustomIndexNV;"
 7146|      0|            "in     int   gl_InstanceCustomIndexEXT;"
 7147|      0|            "in     int   gl_GeometryIndexEXT;"
 7148|      0|            "in    vec3   gl_WorldRayOriginNV;"
 7149|      0|            "in    vec3   gl_WorldRayOriginEXT;"
 7150|      0|            "in    vec3   gl_WorldRayDirectionNV;"
 7151|      0|            "in    vec3   gl_WorldRayDirectionEXT;"
 7152|      0|            "in    vec3   gl_ObjectRayOriginNV;"
 7153|      0|            "in    vec3   gl_ObjectRayOriginEXT;"
 7154|      0|            "in    vec3   gl_ObjectRayDirectionNV;"
 7155|      0|            "in    vec3   gl_ObjectRayDirectionEXT;"
 7156|      0|            "in    float  gl_RayTminNV;"
 7157|      0|            "in    float  gl_RayTminEXT;"
 7158|      0|            "in    float  gl_RayTmaxNV;"
 7159|      0|            "in volatile float gl_RayTmaxEXT;"
 7160|      0|            "in    mat4x3 gl_ObjectToWorldNV;"
 7161|      0|            "in    mat4x3 gl_ObjectToWorldEXT;"
 7162|      0|            "in    mat3x4 gl_ObjectToWorld3x4EXT;"
 7163|      0|            "in    mat4x3 gl_WorldToObjectNV;"
 7164|      0|            "in    mat4x3 gl_WorldToObjectEXT;"
 7165|      0|            "in    mat3x4 gl_WorldToObject3x4EXT;"
 7166|      0|            "in    uint   gl_IncomingRayFlagsNV;"
 7167|      0|            "in    uint   gl_IncomingRayFlagsEXT;"
 7168|      0|            "in    float  gl_CurrentRayTimeNV;"
 7169|      0|            "in    uint   gl_CullMaskEXT;"
 7170|      0|            "\n";
 7171|      0|        const char *hitDecls =
 7172|      0|            "in    uvec3  gl_LaunchIDNV;"
 7173|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7174|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7175|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7176|      0|            "in     int   gl_PrimitiveID;"
 7177|      0|            "in     int   gl_InstanceID;"
 7178|      0|            "in     int   gl_InstanceCustomIndexNV;"
 7179|      0|            "in     int   gl_InstanceCustomIndexEXT;"
 7180|      0|            "in     int   gl_GeometryIndexEXT;"
 7181|      0|            "in    vec3   gl_WorldRayOriginNV;"
 7182|      0|            "in    vec3   gl_WorldRayOriginEXT;"
 7183|      0|            "in    vec3   gl_WorldRayDirectionNV;"
 7184|      0|            "in    vec3   gl_WorldRayDirectionEXT;"
 7185|      0|            "in    vec3   gl_ObjectRayOriginNV;"
 7186|      0|            "in    vec3   gl_ObjectRayOriginEXT;"
 7187|      0|            "in    vec3   gl_ObjectRayDirectionNV;"
 7188|      0|            "in    vec3   gl_ObjectRayDirectionEXT;"
 7189|      0|            "in    float  gl_RayTminNV;"
 7190|      0|            "in    float  gl_RayTminEXT;"
 7191|      0|            "in    float  gl_RayTmaxNV;"
 7192|      0|            "in    float  gl_RayTmaxEXT;"
 7193|      0|            "in    float  gl_HitTNV;"
 7194|      0|            "in    float  gl_HitTEXT;"
 7195|      0|            "in    uint   gl_HitKindNV;"
 7196|      0|            "in    uint   gl_HitKindEXT;"
 7197|      0|            "in    mat4x3 gl_ObjectToWorldNV;"
 7198|      0|            "in    mat4x3 gl_ObjectToWorldEXT;"
 7199|      0|            "in    mat3x4 gl_ObjectToWorld3x4EXT;"
 7200|      0|            "in    mat4x3 gl_WorldToObjectNV;"
 7201|      0|            "in    mat4x3 gl_WorldToObjectEXT;"
 7202|      0|            "in    mat3x4 gl_WorldToObject3x4EXT;"
 7203|      0|            "in    uint   gl_IncomingRayFlagsNV;"
 7204|      0|            "in    uint   gl_IncomingRayFlagsEXT;"
 7205|      0|            "in    float  gl_CurrentRayTimeNV;"
 7206|      0|            "in    uint   gl_CullMaskEXT;"
 7207|      0|            "in    vec3   gl_HitTriangleVertexPositionsEXT[3];"
 7208|      0|            "in    vec3   gl_HitMicroTriangleVertexPositionsNV[3];"
 7209|      0|            "in    vec2   gl_HitMicroTriangleVertexBarycentricsNV[3];"
 7210|      0|            "in    int    gl_ClusterIDNV;"
 7211|      0|            "in    bool   gl_HitIsSphereNV;"
 7212|      0|            "in    bool   gl_HitIsLSSNV;"
 7213|      0|            "in    vec3   gl_HitSpherePositionNV;"
 7214|      0|            "in    float  gl_HitSphereRadiusNV;"
 7215|      0|            "in    vec3   gl_HitLSSPositionsNV[2];"
 7216|      0|            "in    float  gl_HitLSSRadiiNV[2];"
 7217|      0|            "\n";
 7218|       |
 7219|      0|        const char *missDecls =
 7220|      0|            "in    uvec3  gl_LaunchIDNV;"
 7221|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7222|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7223|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7224|      0|            "in    vec3   gl_WorldRayOriginNV;"
 7225|      0|            "in    vec3   gl_WorldRayOriginEXT;"
 7226|      0|            "in    vec3   gl_WorldRayDirectionNV;"
 7227|      0|            "in    vec3   gl_WorldRayDirectionEXT;"
 7228|      0|            "in    vec3   gl_ObjectRayOriginNV;"
 7229|      0|            "in    vec3   gl_ObjectRayDirectionNV;"
 7230|      0|            "in    float  gl_RayTminNV;"
 7231|      0|            "in    float  gl_RayTminEXT;"
 7232|      0|            "in    float  gl_RayTmaxNV;"
 7233|      0|            "in    float  gl_RayTmaxEXT;"
 7234|      0|            "in    uint   gl_IncomingRayFlagsNV;"
 7235|      0|            "in    uint   gl_IncomingRayFlagsEXT;"
 7236|      0|            "in    float  gl_CurrentRayTimeNV;"
 7237|      0|            "in    uint   gl_CullMaskEXT;"
 7238|      0|            "\n";
 7239|       |
 7240|      0|        const char *callableDecls =
 7241|      0|            "in    uvec3  gl_LaunchIDNV;"
 7242|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7243|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7244|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7245|      0|            "\n";
 7246|       |
 7247|       |
 7248|      0|        commonBuiltins.append(constRayQueryIntersection);
 7249|      0|        commonBuiltins.append(constRayFlags);
 7250|       |
 7251|      0|        stageBuiltins[EShLangRayGen].append(rayGenDecls);
 7252|      0|        stageBuiltins[EShLangIntersect].append(intersectDecls);
 7253|      0|        stageBuiltins[EShLangAnyHit].append(hitDecls);
 7254|      0|        stageBuiltins[EShLangClosestHit].append(hitDecls);
 7255|      0|        stageBuiltins[EShLangMiss].append(missDecls);
 7256|      0|        stageBuiltins[EShLangCallable].append(callableDecls);
 7257|       |
 7258|      0|    }
 7259|       |
 7260|     52|    if ((profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (7260:10): [True: 4, False: 48]
  |  Branch (7260:35): [True: 4, False: 0]
  ------------------
 7261|      4|        const char *deviceIndex =
 7262|      4|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 7263|      4|            "\n";
 7264|       |
 7265|      4|        stageBuiltins[EShLangRayGen].append(deviceIndex);
 7266|      4|        stageBuiltins[EShLangIntersect].append(deviceIndex);
 7267|      4|        stageBuiltins[EShLangAnyHit].append(deviceIndex);
 7268|      4|        stageBuiltins[EShLangClosestHit].append(deviceIndex);
 7269|      4|        stageBuiltins[EShLangMiss].append(deviceIndex);
 7270|      4|    }
 7271|       |
 7272|     52|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (7272:10): [True: 4, False: 48]
  |  Branch (7272:35): [True: 4, False: 0]
  ------------------
 7273|     48|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7273:10): [True: 48, False: 0]
  |  Branch (7273:35): [True: 0, False: 48]
  ------------------
 7274|      4|        commonBuiltins.append("const int gl_ScopeDevice      = 1;\n");
 7275|      4|        commonBuiltins.append("const int gl_ScopeWorkgroup   = 2;\n");
 7276|      4|        commonBuiltins.append("const int gl_ScopeSubgroup    = 3;\n");
 7277|      4|        commonBuiltins.append("const int gl_ScopeInvocation  = 4;\n");
 7278|      4|        commonBuiltins.append("const int gl_ScopeQueueFamily = 5;\n");
 7279|      4|        commonBuiltins.append("const int gl_ScopeShaderCallEXT = 6;\n");
 7280|       |
 7281|      4|        commonBuiltins.append("const int gl_SemanticsRelaxed         = 0x0;\n");
 7282|      4|        commonBuiltins.append("const int gl_SemanticsAcquire         = 0x2;\n");
 7283|      4|        commonBuiltins.append("const int gl_SemanticsRelease         = 0x4;\n");
 7284|      4|        commonBuiltins.append("const int gl_SemanticsAcquireRelease  = 0x8;\n");
 7285|      4|        commonBuiltins.append("const int gl_SemanticsMakeAvailable   = 0x2000;\n");
 7286|      4|        commonBuiltins.append("const int gl_SemanticsMakeVisible     = 0x4000;\n");
 7287|      4|        commonBuiltins.append("const int gl_SemanticsVolatile        = 0x8000;\n");
 7288|       |
 7289|      4|        commonBuiltins.append("const int gl_StorageSemanticsNone     = 0x0;\n");
 7290|      4|        commonBuiltins.append("const int gl_StorageSemanticsBuffer   = 0x40;\n");
 7291|      4|        commonBuiltins.append("const int gl_StorageSemanticsShared   = 0x100;\n");
 7292|      4|        commonBuiltins.append("const int gl_StorageSemanticsImage    = 0x800;\n");
 7293|      4|        commonBuiltins.append("const int gl_StorageSemanticsOutput   = 0x1000;\n");
 7294|      4|    }
 7295|       |
 7296|       |    // Adding these to common built-ins triggers an assert due to a memory corruption in related code when testing
 7297|       |    // So instead add to each stage individually, avoiding the GLSLang bug
 7298|     52|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7298:10): [True: 4, False: 48]
  |  Branch (7298:35): [True: 4, False: 0]
  |  Branch (7298:55): [True: 48, False: 0]
  |  Branch (7298:80): [True: 0, False: 48]
  ------------------
 7299|     60|        for (int stage=EShLangVertex; stage<EShLangCount; stage++)
  ------------------
  |  Branch (7299:39): [True: 56, False: 4]
  ------------------
 7300|     56|        {
 7301|     56|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag2VerticalPixelsEXT       = 1;\n");
 7302|     56|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag4VerticalPixelsEXT       = 2;\n");
 7303|     56|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag2HorizontalPixelsEXT     = 4;\n");
 7304|     56|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag4HorizontalPixelsEXT     = 8;\n");
 7305|     56|        }
 7306|      4|    }
 7307|       |    
 7308|       |    // GL_EXT_shader_image_int64
 7309|     52|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (7309:10): [True: 4, False: 48]
  |  Branch (7309:35): [True: 4, False: 0]
  ------------------
 7310|     48|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7310:10): [True: 48, False: 0]
  |  Branch (7310:35): [True: 0, False: 48]
  ------------------
 7311|       |            
 7312|      4|        const TBasicType bTypes[] = { EbtInt64, EbtUint64 };
 7313|     12|        for (int ms = 0; ms <= 1; ++ms) { // loop over "bool" multisample or not
  ------------------
  |  Branch (7313:26): [True: 8, False: 4]
  ------------------
 7314|     24|            for (int arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (7314:35): [True: 16, False: 8]
  ------------------
 7315|    112|                for (int dim = Esd1D; dim < EsdSubpass; ++dim) { // 1D, ..., buffer
  ------------------
  |  Branch (7315:39): [True: 96, False: 16]
  ------------------
 7316|     96|                    if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7316:26): [True: 16, False: 80]
  |  Branch (7316:42): [True: 16, False: 64]
  |  Branch (7316:61): [True: 0, False: 32]
  ------------------
 7317|      0|                        continue;
 7318|       |                    
 7319|     96|                    if ((dim == Esd3D || dim == EsdRect || dim == EsdBuffer) && arrayed)
  ------------------
  |  Branch (7319:26): [True: 16, False: 80]
  |  Branch (7319:42): [True: 16, False: 64]
  |  Branch (7319:60): [True: 16, False: 48]
  |  Branch (7319:81): [True: 24, False: 24]
  ------------------
 7320|     24|                        continue;
 7321|       |                    
 7322|     72|                    if (dim != Esd2D && ms)
  ------------------
  |  Branch (7322:25): [True: 56, False: 16]
  |  Branch (7322:41): [True: 28, False: 28]
  ------------------
 7323|     28|                        continue;
 7324|       |                    
 7325|       |                    // Loop over the bTypes
 7326|    132|                    for (size_t bType = 0; bType < sizeof(bTypes)/sizeof(TBasicType); ++bType) {
  ------------------
  |  Branch (7326:44): [True: 88, False: 44]
  ------------------
 7327|       |                        //
 7328|       |                        // Now, make all the function prototypes for the type we just built...
 7329|       |                        //
 7330|     88|                        TSampler sampler;
 7331|       |                    
 7332|     88|                        sampler.setImage(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7332:75): [True: 32, False: 56]
  ------------------
 7333|     88|                                                                          false,
 7334|     88|                                                                          ms      ? true : false);
  ------------------
  |  Branch (7334:75): [True: 16, False: 72]
  ------------------
 7335|       |
 7336|     88|                        TString typeName = TString{sampler.getString()};
 7337|       |
 7338|     88|                        addQueryFunctions(sampler, typeName, version, profile);
 7339|     88|                        addImageFunctions(sampler, typeName, version, profile);
 7340|     88|                    }
 7341|     44|                }
 7342|     16|            }
 7343|      8|        }
 7344|      4|    }
 7345|       |
 7346|       |    // printf("%s\n", commonBuiltins.c_str());
 7347|       |    // printf("%s\n", stageBuiltins[EShLangFragment].c_str());
 7348|     52|}
_ZN7glslang9TBuiltIns31add2ndGenerationSamplingImagingEi8EProfileRKNS_10SpvVersionE:
 7355|      4|{
 7356|       |    //
 7357|       |    // In this function proper, enumerate the types, then calls the next set of functions
 7358|       |    // to enumerate all the uses for that type.
 7359|       |    //
 7360|       |
 7361|       |    // enumerate all the types
 7362|      4|    const TBasicType bTypes[] = { EbtFloat, EbtInt, EbtUint,
 7363|      4|         EbtFloat16
 7364|      4|    };
 7365|      4|    bool skipBuffer = (profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 140);
  ------------------
  |  Branch (7365:24): [True: 0, False: 4]
  |  Branch (7365:49): [True: 0, False: 0]
  |  Branch (7365:68): [True: 4, False: 0]
  |  Branch (7365:93): [True: 0, False: 4]
  ------------------
 7366|      4|    bool skipCubeArrayed = (profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 130);
  ------------------
  |  Branch (7366:29): [True: 0, False: 4]
  |  Branch (7366:54): [True: 0, False: 0]
  |  Branch (7366:73): [True: 4, False: 0]
  |  Branch (7366:98): [True: 0, False: 4]
  ------------------
 7367|     12|    for (int image = 0; image <= 1; ++image) // loop over "bool" image vs sampler
  ------------------
  |  Branch (7367:25): [True: 8, False: 4]
  ------------------
 7368|      8|    {
 7369|     24|        for (int shadow = 0; shadow <= 1; ++shadow) { // loop over "bool" shadow or not
  ------------------
  |  Branch (7369:30): [True: 16, False: 8]
  ------------------
 7370|     48|            for (int ms = 0; ms <= 1; ++ms) // loop over "bool" multisample or not
  ------------------
  |  Branch (7370:30): [True: 32, False: 16]
  ------------------
 7371|     32|            {
 7372|     32|                if ((ms || image) && shadow)
  ------------------
  |  Branch (7372:22): [True: 16, False: 16]
  |  Branch (7372:28): [True: 8, False: 8]
  |  Branch (7372:38): [True: 12, False: 12]
  ------------------
 7373|     12|                    continue;
 7374|     20|                if (ms && profile != EEsProfile && version < 140)
  ------------------
  |  Branch (7374:21): [True: 8, False: 12]
  |  Branch (7374:27): [True: 8, False: 0]
  |  Branch (7374:52): [True: 0, False: 8]
  ------------------
 7375|      0|                    continue;
 7376|     20|                if (ms && image && profile == EEsProfile)
  ------------------
  |  Branch (7376:21): [True: 8, False: 12]
  |  Branch (7376:27): [True: 4, False: 4]
  |  Branch (7376:36): [True: 0, False: 4]
  ------------------
 7377|      0|                    continue;
 7378|     20|                if (ms && profile == EEsProfile && version < 310)
  ------------------
  |  Branch (7378:21): [True: 8, False: 12]
  |  Branch (7378:27): [True: 0, False: 8]
  |  Branch (7378:52): [True: 0, False: 0]
  ------------------
 7379|      0|                    continue;
 7380|       |
 7381|     60|                for (int arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (7381:39): [True: 40, False: 20]
  ------------------
 7382|    360|                    for (int dim = Esd1D; dim < EsdNumDims; ++dim) { // 1D, ..., buffer, subpass
  ------------------
  |  Branch (7382:43): [True: 320, False: 40]
  ------------------
 7383|    320|                        if (dim == EsdAttachmentEXT)
  ------------------
  |  Branch (7383:29): [True: 40, False: 280]
  ------------------
 7384|     40|                            continue;
 7385|    280|                        if (dim == EsdSubpass && spvVersion.vulkan == 0)
  ------------------
  |  Branch (7385:29): [True: 40, False: 240]
  |  Branch (7385:50): [True: 20, False: 20]
  ------------------
 7386|     20|                            continue;
 7387|    260|                        if (dim == EsdSubpass && (image || shadow || arrayed))
  ------------------
  |  Branch (7387:29): [True: 20, False: 240]
  |  Branch (7387:51): [True: 8, False: 12]
  |  Branch (7387:60): [True: 4, False: 8]
  |  Branch (7387:70): [True: 4, False: 4]
  ------------------
 7388|     16|                            continue;
 7389|    244|                        if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7389:30): [True: 40, False: 204]
  |  Branch (7389:46): [True: 40, False: 164]
  |  Branch (7389:65): [True: 0, False: 80]
  ------------------
 7390|      0|                            continue;
 7391|    244|                        if (dim == EsdSubpass && spvVersion.vulkan == 0)
  ------------------
  |  Branch (7391:29): [True: 4, False: 240]
  |  Branch (7391:50): [True: 0, False: 4]
  ------------------
 7392|      0|                            continue;
 7393|    244|                        if (dim == EsdSubpass && (image || shadow || arrayed))
  ------------------
  |  Branch (7393:29): [True: 4, False: 240]
  |  Branch (7393:51): [True: 0, False: 4]
  |  Branch (7393:60): [True: 0, False: 4]
  |  Branch (7393:70): [True: 0, False: 4]
  ------------------
 7394|      0|                            continue;
 7395|    244|                        if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7395:30): [True: 40, False: 204]
  |  Branch (7395:46): [True: 40, False: 164]
  |  Branch (7395:65): [True: 0, False: 80]
  ------------------
 7396|      0|                            continue;
 7397|    244|                        if (dim != Esd2D && dim != EsdSubpass && ms)
  ------------------
  |  Branch (7397:29): [True: 204, False: 40]
  |  Branch (7397:45): [True: 200, False: 4]
  |  Branch (7397:66): [True: 80, False: 120]
  ------------------
 7398|     80|                            continue;
 7399|    164|                        if (dim == EsdBuffer && skipBuffer)
  ------------------
  |  Branch (7399:29): [True: 24, False: 140]
  |  Branch (7399:49): [True: 0, False: 24]
  ------------------
 7400|      0|                            continue;
 7401|    164|                        if (dim == EsdBuffer && (shadow || arrayed || ms))
  ------------------
  |  Branch (7401:29): [True: 24, False: 140]
  |  Branch (7401:50): [True: 8, False: 16]
  |  Branch (7401:60): [True: 8, False: 8]
  |  Branch (7401:71): [True: 0, False: 8]
  ------------------
 7402|     16|                            continue;
 7403|    148|                        if (ms && arrayed && profile == EEsProfile && version < 310)
  ------------------
  |  Branch (7403:29): [True: 18, False: 130]
  |  Branch (7403:35): [True: 8, False: 10]
  |  Branch (7403:46): [True: 0, False: 8]
  |  Branch (7403:71): [True: 0, False: 0]
  ------------------
 7404|      0|                            continue;
 7405|    148|                        if (dim == Esd3D && shadow)
  ------------------
  |  Branch (7405:29): [True: 24, False: 124]
  |  Branch (7405:45): [True: 8, False: 16]
  ------------------
 7406|      8|                            continue;
 7407|    140|                        if (dim == EsdCube && arrayed && skipCubeArrayed)
  ------------------
  |  Branch (7407:29): [True: 24, False: 116]
  |  Branch (7407:47): [True: 12, False: 12]
  |  Branch (7407:58): [True: 0, False: 12]
  ------------------
 7408|      0|                            continue;
 7409|    140|                        if ((dim == Esd3D || dim == EsdRect) && arrayed)
  ------------------
  |  Branch (7409:30): [True: 16, False: 124]
  |  Branch (7409:46): [True: 24, False: 100]
  |  Branch (7409:65): [True: 20, False: 20]
  ------------------
 7410|     20|                            continue;
 7411|       |
 7412|       |                        // Loop over the bTypes
 7413|    600|                        for (size_t bType = 0; bType < sizeof(bTypes)/sizeof(TBasicType); ++bType) {
  ------------------
  |  Branch (7413:48): [True: 480, False: 120]
  ------------------
 7414|    480|                            if (bTypes[bType] == EbtFloat16 && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (7414:33): [True: 120, False: 360]
  |  Branch (7414:65): [True: 0, False: 120]
  |  Branch (7414:90): [True: 0, False: 120]
  ------------------
 7415|      0|                                continue;
 7416|    480|                            if (dim == EsdRect && version < 140 && bType > 0)
  ------------------
  |  Branch (7416:33): [True: 48, False: 432]
  |  Branch (7416:51): [True: 0, False: 48]
  |  Branch (7416:68): [True: 0, False: 0]
  ------------------
 7417|      0|                                continue;
 7418|    480|                            if (shadow && (bTypes[bType] == EbtInt || bTypes[bType] == EbtUint))
  ------------------
  |  Branch (7418:33): [True: 112, False: 368]
  |  Branch (7418:44): [True: 28, False: 84]
  |  Branch (7418:71): [True: 28, False: 56]
  ------------------
 7419|     56|                                continue;
 7420|       |                            //
 7421|       |                            // Now, make all the function prototypes for the type we just built...
 7422|       |                            //
 7423|    424|                            TSampler sampler;
 7424|    424|                            if (dim == EsdSubpass) {
  ------------------
  |  Branch (7424:33): [True: 16, False: 408]
  ------------------
 7425|     16|                                sampler.setSubpass(bTypes[bType], ms ? true : false);
  ------------------
  |  Branch (7425:67): [True: 8, False: 8]
  ------------------
 7426|    408|                            } else if (dim == EsdAttachmentEXT) {
  ------------------
  |  Branch (7426:40): [True: 0, False: 408]
  ------------------
 7427|      0|                                sampler.setAttachmentEXT(bTypes[bType]);
 7428|      0|                            } else
 7429|    408|                            if (image) {
  ------------------
  |  Branch (7429:33): [True: 176, False: 232]
  ------------------
 7430|    176|                                sampler.setImage(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7430:83): [True: 64, False: 112]
  ------------------
 7431|    176|                                                                                  shadow  ? true : false,
  ------------------
  |  Branch (7431:83): [True: 0, False: 176]
  ------------------
 7432|    176|                                                                                  ms      ? true : false);
  ------------------
  |  Branch (7432:83): [True: 32, False: 144]
  ------------------
 7433|    232|                            } else {
 7434|    232|                                sampler.set(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7434:78): [True: 88, False: 144]
  ------------------
 7435|    232|                                                                             shadow  ? true : false,
  ------------------
  |  Branch (7435:78): [True: 56, False: 176]
  ------------------
 7436|    232|                                                                             ms      ? true : false);
  ------------------
  |  Branch (7436:78): [True: 32, False: 200]
  ------------------
 7437|    232|                            }
 7438|       |
 7439|    424|                            TString typeName = TString{sampler.getString()};
 7440|       |
 7441|    424|                            if (dim == EsdSubpass) {
  ------------------
  |  Branch (7441:33): [True: 16, False: 408]
  ------------------
 7442|     16|                                addSubpassSampling(sampler, typeName, version, profile);
 7443|     16|                                continue;
 7444|     16|                            }
 7445|       |
 7446|    408|                            addQueryFunctions(sampler, typeName, version, profile);
 7447|       |
 7448|    408|                            if (image)
  ------------------
  |  Branch (7448:33): [True: 176, False: 232]
  ------------------
 7449|    176|                                addImageFunctions(sampler, typeName, version, profile);
 7450|    232|                            else {
 7451|    232|                                addSamplingFunctions(sampler, typeName, version, profile);
 7452|    232|                                addGatherFunctions(sampler, typeName, version, profile);
 7453|    232|                                if (spvVersion.vulkan > 0 && sampler.isCombined() && !sampler.shadow) {
  ------------------
  |  Branch (7453:37): [True: 116, False: 116]
  |  Branch (7453:62): [True: 116, False: 0]
  |  Branch (7453:86): [True: 88, False: 28]
  ------------------
 7454|       |                                    // Base Vulkan allows texelFetch() for
 7455|       |                                    // textureBuffer (i.e. without sampler).
 7456|       |                                    //
 7457|       |                                    // GL_EXT_samplerless_texture_functions
 7458|       |                                    // allows texelFetch() and query functions
 7459|       |                                    // (other than textureQueryLod()) for all
 7460|       |                                    // texture types.
 7461|     88|                                    sampler.setTexture(sampler.type, sampler.dim, sampler.arrayed, sampler.shadow,
 7462|     88|                                                       sampler.ms);
 7463|     88|                                    TString textureTypeName = TString{sampler.getString()};
 7464|     88|                                    addSamplingFunctions(sampler, textureTypeName, version, profile);
 7465|     88|                                    addQueryFunctions(sampler, textureTypeName, version, profile);
 7466|     88|                                }
 7467|    232|                            }
 7468|    408|                        }
 7469|    120|                    }
 7470|     40|                }
 7471|     20|            }
 7472|     16|        }
 7473|      8|    }
 7474|       |
 7475|       |    //
 7476|       |    // sparseTexelsResidentARB()
 7477|       |    //
 7478|      4|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7478:9): [True: 4, False: 0]
  |  Branch (7478:34): [True: 4, False: 0]
  ------------------
 7479|      4|        commonBuiltins.append("bool sparseTexelsResidentARB(int code);\n");
 7480|      4|    }
 7481|      4|}
_ZN7glslang9TBuiltIns17addQueryFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7490|    584|{
 7491|       |    //
 7492|       |    // textureSize() and imageSize()
 7493|       |    //
 7494|       |
 7495|    584|    int sizeDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0) - (sampler.dim == EsdCube ? 1 : 0);
  ------------------
  |  Branch (7495:43): [True: 216, False: 368]
  |  Branch (7495:71): [True: 112, False: 472]
  ------------------
 7496|       |
 7497|    584|    if (sampler.isImage() && ((profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 420)))
  ------------------
  |  Branch (7497:9): [True: 264, False: 320]
  |  Branch (7497:32): [True: 0, False: 264]
  |  Branch (7497:57): [True: 0, False: 0]
  |  Branch (7497:76): [True: 264, False: 0]
  |  Branch (7497:101): [True: 0, False: 264]
  ------------------
 7498|      0|        return;
 7499|       |
 7500|    584|    if (profile == EEsProfile)
  ------------------
  |  Branch (7500:9): [True: 0, False: 584]
  ------------------
 7501|      0|        commonBuiltins.append("highp ");
 7502|    584|    if (sizeDims == 1)
  ------------------
  |  Branch (7502:9): [True: 104, False: 480]
  ------------------
 7503|    104|        commonBuiltins.append("int");
 7504|    480|    else {
 7505|    480|        commonBuiltins.append("ivec");
 7506|    480|        commonBuiltins.append(postfixes[sizeDims]);
 7507|    480|    }
 7508|    584|    if (sampler.isImage())
  ------------------
  |  Branch (7508:9): [True: 264, False: 320]
  ------------------
 7509|    264|        commonBuiltins.append(" imageSize(readonly writeonly volatile coherent nontemporal ");
 7510|    320|    else
 7511|    320|        commonBuiltins.append(" textureSize(");
 7512|    584|    commonBuiltins.append(typeName);
 7513|    584|    if (! sampler.isImage() && ! sampler.isRect() && ! sampler.isBuffer() && ! sampler.isMultiSample())
  ------------------
  |  Branch (7513:9): [True: 320, False: 264]
  |  Branch (7513:32): [True: 288, False: 32]
  |  Branch (7513:54): [True: 264, False: 24]
  |  Branch (7513:78): [True: 216, False: 48]
  ------------------
 7514|    216|        commonBuiltins.append(",int);\n");
 7515|    368|    else
 7516|    368|        commonBuiltins.append(");\n");
 7517|       |
 7518|       |    //
 7519|       |    // textureSamples() and imageSamples()
 7520|       |    //
 7521|       |
 7522|       |    // GL_ARB_shader_texture_image_samples
 7523|       |    // TODO: spec issue? there are no memory qualifiers; how to query a writeonly/readonly image, etc?
 7524|    584|    if (profile != EEsProfile && version >= 430 && sampler.isMultiSample()) {
  ------------------
  |  Branch (7524:9): [True: 584, False: 0]
  |  Branch (7524:34): [True: 584, False: 0]
  |  Branch (7524:52): [True: 96, False: 488]
  ------------------
 7525|     96|        commonBuiltins.append("int ");
 7526|     96|        if (sampler.isImage())
  ------------------
  |  Branch (7526:13): [True: 48, False: 48]
  ------------------
 7527|     48|            commonBuiltins.append("imageSamples(readonly writeonly volatile coherent nontemporal ");
 7528|     48|        else
 7529|     48|            commonBuiltins.append("textureSamples(");
 7530|     96|        commonBuiltins.append(typeName);
 7531|     96|        commonBuiltins.append(");\n");
 7532|     96|    }
 7533|       |
 7534|       |    //
 7535|       |    // textureQueryLod()
 7536|       |    // Also enabled with extension GL_ARB_texture_query_lod
 7537|       |    // Extension GL_ARB_texture_query_lod says that textureQueryLOD() also exist at extension.
 7538|       |
 7539|    584|    if (profile != EEsProfile && version >= 150 && sampler.isCombined() && sampler.dim != EsdRect &&
  ------------------
  |  Branch (7539:9): [True: 584, False: 0]
  |  Branch (7539:34): [True: 584, False: 0]
  |  Branch (7539:52): [True: 232, False: 352]
  |  Branch (7539:76): [True: 208, False: 24]
  ------------------
 7540|    208|        ! sampler.isMultiSample() && ! sampler.isBuffer()) {
  ------------------
  |  Branch (7540:9): [True: 176, False: 32]
  |  Branch (7540:38): [True: 160, False: 16]
  ------------------
 7541|       |
 7542|    160|        const TString funcName[2] = {"vec2 textureQueryLod(", "vec2 textureQueryLOD("};
 7543|       |
 7544|    480|        for (int i = 0; i < 2; ++i){
  ------------------
  |  Branch (7544:25): [True: 320, False: 160]
  ------------------
 7545|    960|            for (int f16TexAddr = 0; f16TexAddr < 2; ++f16TexAddr) {
  ------------------
  |  Branch (7545:38): [True: 640, False: 320]
  ------------------
 7546|    640|                if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (7546:21): [True: 320, False: 320]
  |  Branch (7546:35): [True: 216, False: 104]
  ------------------
 7547|    216|                    continue;
 7548|    424|                stageBuiltins[EShLangFragment].append(funcName[i]);
 7549|    424|                stageBuiltins[EShLangFragment].append(typeName);
 7550|    424|                if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7550:21): [True: 128, False: 296]
  ------------------
 7551|    128|                    if (f16TexAddr)
  ------------------
  |  Branch (7551:25): [True: 32, False: 96]
  ------------------
 7552|     32|                        stageBuiltins[EShLangFragment].append(", float16_t");
 7553|     96|                    else
 7554|     96|                        stageBuiltins[EShLangFragment].append(", float");
 7555|    296|                else {
 7556|    296|                    if (f16TexAddr)
  ------------------
  |  Branch (7556:25): [True: 72, False: 224]
  ------------------
 7557|     72|                        stageBuiltins[EShLangFragment].append(", f16vec");
 7558|    224|                    else
 7559|    224|                        stageBuiltins[EShLangFragment].append(", vec");
 7560|    296|                    stageBuiltins[EShLangFragment].append(postfixes[dimMap[sampler.dim]]);
 7561|    296|                }
 7562|    424|                stageBuiltins[EShLangFragment].append(");\n");
 7563|    424|            }
 7564|       |
 7565|    320|            stageBuiltins[EShLangCompute].append(funcName[i]);
 7566|    320|            stageBuiltins[EShLangCompute].append(typeName);
 7567|    320|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7567:17): [True: 96, False: 224]
  ------------------
 7568|     96|                stageBuiltins[EShLangCompute].append(", float");
 7569|    224|            else {
 7570|    224|                stageBuiltins[EShLangCompute].append(", vec");
 7571|    224|                stageBuiltins[EShLangCompute].append(postfixes[dimMap[sampler.dim]]);
 7572|    224|            }
 7573|    320|            stageBuiltins[EShLangCompute].append(");\n");
 7574|       |
 7575|    320|            stageBuiltins[EShLangTask].append(funcName[i]);
 7576|    320|            stageBuiltins[EShLangTask].append(typeName);
 7577|    320|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7577:17): [True: 96, False: 224]
  ------------------
 7578|     96|                stageBuiltins[EShLangTask].append(", float");
 7579|    224|            else {
 7580|    224|                stageBuiltins[EShLangTask].append(", vec");
 7581|    224|                stageBuiltins[EShLangTask].append(postfixes[dimMap[sampler.dim]]);
 7582|    224|            }
 7583|    320|            stageBuiltins[EShLangTask].append(");\n");
 7584|       |
 7585|    320|            stageBuiltins[EShLangMesh].append(funcName[i]);
 7586|    320|            stageBuiltins[EShLangMesh].append(typeName);
 7587|    320|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7587:17): [True: 96, False: 224]
  ------------------
 7588|     96|                stageBuiltins[EShLangMesh].append(", float");
 7589|    224|            else {
 7590|    224|                stageBuiltins[EShLangMesh].append(", vec");
 7591|    224|                stageBuiltins[EShLangMesh].append(postfixes[dimMap[sampler.dim]]);
 7592|    224|            }
 7593|    320|            stageBuiltins[EShLangMesh].append(");\n");
 7594|    320|        }
 7595|    160|    }
 7596|       |
 7597|       |    //
 7598|       |    // textureQueryLevels()
 7599|       |    //
 7600|       |
 7601|    584|    if (profile != EEsProfile && version >= 430 && ! sampler.isImage() && sampler.dim != EsdRect &&
  ------------------
  |  Branch (7601:9): [True: 584, False: 0]
  |  Branch (7601:34): [True: 584, False: 0]
  |  Branch (7601:52): [True: 320, False: 264]
  |  Branch (7601:75): [True: 288, False: 32]
  ------------------
 7602|    288|        ! sampler.isMultiSample() && ! sampler.isBuffer()) {
  ------------------
  |  Branch (7602:9): [True: 240, False: 48]
  |  Branch (7602:38): [True: 216, False: 24]
  ------------------
 7603|    216|        commonBuiltins.append("int textureQueryLevels(");
 7604|    216|        commonBuiltins.append(typeName);
 7605|    216|        commonBuiltins.append(");\n");
 7606|    216|    }
 7607|    584|}
_ZN7glslang9TBuiltIns17addImageFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7616|    264|{
 7617|    264|    int dims = dimMap[sampler.dim];
 7618|       |    // most things with an array add a dimension, except for cubemaps
 7619|    264|    if (sampler.arrayed && sampler.dim != EsdCube)
  ------------------
  |  Branch (7619:9): [True: 96, False: 168]
  |  Branch (7619:28): [True: 72, False: 24]
  ------------------
 7620|     72|        ++dims;
 7621|       |
 7622|    264|    TString imageParams = typeName;
 7623|    264|    if (dims == 1)
  ------------------
  |  Branch (7623:9): [True: 48, False: 216]
  ------------------
 7624|     48|        imageParams.append(", int");
 7625|    216|    else {
 7626|    216|        imageParams.append(", ivec");
 7627|    216|        imageParams.append(postfixes[dims]);
 7628|    216|    }
 7629|    264|    if (sampler.isMultiSample())
  ------------------
  |  Branch (7629:9): [True: 48, False: 216]
  ------------------
 7630|     48|        imageParams.append(", int");
 7631|       |
 7632|    264|    if (profile == EEsProfile)
  ------------------
  |  Branch (7632:9): [True: 0, False: 264]
  ------------------
 7633|      0|        commonBuiltins.append("highp ");
 7634|    264|    commonBuiltins.append(prefixes[sampler.type]);
 7635|    264|    commonBuiltins.append("vec4 imageLoad(readonly volatile coherent nontemporal ");
 7636|    264|    commonBuiltins.append(imageParams);
 7637|    264|    commonBuiltins.append(");\n");
 7638|       |
 7639|    264|    commonBuiltins.append("void imageStore(writeonly volatile coherent nontemporal ");
 7640|    264|    commonBuiltins.append(imageParams);
 7641|    264|    commonBuiltins.append(", ");
 7642|    264|    commonBuiltins.append(prefixes[sampler.type]);
 7643|    264|    commonBuiltins.append("vec4);\n");
 7644|       |
 7645|    264|    if (! sampler.is1D() && ! sampler.isBuffer() && profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7645:9): [True: 216, False: 48]
  |  Branch (7645:29): [True: 192, False: 24]
  |  Branch (7645:53): [True: 192, False: 0]
  |  Branch (7645:78): [True: 192, False: 0]
  ------------------
 7646|    192|        commonBuiltins.append("int sparseImageLoadARB(readonly volatile coherent nontemporal ");
 7647|    192|        commonBuiltins.append(imageParams);
 7648|    192|        commonBuiltins.append(", out ");
 7649|    192|        commonBuiltins.append(prefixes[sampler.type]);
 7650|    192|        commonBuiltins.append("vec4");
 7651|    192|        commonBuiltins.append(");\n");
 7652|    192|    }
 7653|       |
 7654|    264|    if ( profile != EEsProfile ||
  ------------------
  |  Branch (7654:10): [True: 264, False: 0]
  ------------------
 7655|    264|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7655:10): [True: 0, False: 0]
  |  Branch (7655:35): [True: 0, False: 0]
  ------------------
 7656|    264|        if (sampler.type == EbtInt || sampler.type == EbtUint || sampler.type == EbtInt64 || sampler.type == EbtUint64 ) {
  ------------------
  |  Branch (7656:13): [True: 44, False: 220]
  |  Branch (7656:39): [True: 44, False: 176]
  |  Branch (7656:66): [True: 44, False: 132]
  |  Branch (7656:94): [True: 44, False: 88]
  ------------------
 7657|       |            
 7658|    176|            const char* dataType;
 7659|    176|            switch (sampler.type) {
 7660|     44|                case(EbtInt): dataType = "highp int"; break;
  ------------------
  |  Branch (7660:17): [True: 44, False: 132]
  ------------------
 7661|     44|                case(EbtUint): dataType = "highp uint"; break;
  ------------------
  |  Branch (7661:17): [True: 44, False: 132]
  ------------------
 7662|     44|                case(EbtInt64): dataType = "highp int64_t"; break;
  ------------------
  |  Branch (7662:17): [True: 44, False: 132]
  ------------------
 7663|     44|                case(EbtUint64): dataType = "highp uint64_t"; break;
  ------------------
  |  Branch (7663:17): [True: 44, False: 132]
  ------------------
 7664|      0|                default: dataType = "";
  ------------------
  |  Branch (7664:17): [True: 0, False: 176]
  ------------------
 7665|    176|            }
 7666|       |
 7667|    176|            const int numBuiltins = 7;
 7668|       |
 7669|    176|            static const char* atomicFunc[numBuiltins] = {
 7670|    176|                " imageAtomicAdd(volatile coherent nontemporal ",
 7671|    176|                " imageAtomicMin(volatile coherent nontemporal ",
 7672|    176|                " imageAtomicMax(volatile coherent nontemporal ",
 7673|    176|                " imageAtomicAnd(volatile coherent nontemporal ",
 7674|    176|                " imageAtomicOr(volatile coherent nontemporal ",
 7675|    176|                " imageAtomicXor(volatile coherent nontemporal ",
 7676|    176|                " imageAtomicExchange(volatile coherent nontemporal "
 7677|    176|            };
 7678|       |
 7679|       |            // Loop twice to add prototypes with/without scope/semantics
 7680|    528|            for (int j = 0; j < 2; ++j) {
  ------------------
  |  Branch (7680:29): [True: 352, False: 176]
  ------------------
 7681|  2.81k|                for (size_t i = 0; i < numBuiltins; ++i) {
  ------------------
  |  Branch (7681:36): [True: 2.46k, False: 352]
  ------------------
 7682|  2.46k|                    commonBuiltins.append(dataType);
 7683|  2.46k|                    commonBuiltins.append(atomicFunc[i]);
 7684|  2.46k|                    commonBuiltins.append(imageParams);
 7685|  2.46k|                    commonBuiltins.append(", ");
 7686|  2.46k|                    commonBuiltins.append(dataType);
 7687|  2.46k|                    if (j == 1) {
  ------------------
  |  Branch (7687:25): [True: 1.23k, False: 1.23k]
  ------------------
 7688|  1.23k|                        commonBuiltins.append(", int, int, int");
 7689|  1.23k|                    }
 7690|  2.46k|                    commonBuiltins.append(");\n");
 7691|  2.46k|                }
 7692|       |
 7693|    352|                commonBuiltins.append(dataType);
 7694|    352|                commonBuiltins.append(" imageAtomicCompSwap(volatile coherent nontemporal ");
 7695|    352|                commonBuiltins.append(imageParams);
 7696|    352|                commonBuiltins.append(", ");
 7697|    352|                commonBuiltins.append(dataType);
 7698|    352|                commonBuiltins.append(", ");
 7699|    352|                commonBuiltins.append(dataType);
 7700|    352|                if (j == 1) {
  ------------------
  |  Branch (7700:21): [True: 176, False: 176]
  ------------------
 7701|    176|                    commonBuiltins.append(", int, int, int, int, int");
 7702|    176|                }
 7703|    352|                commonBuiltins.append(");\n");
 7704|    352|            }
 7705|       |
 7706|    176|            commonBuiltins.append(dataType);
 7707|    176|            commonBuiltins.append(" imageAtomicLoad(volatile coherent nontemporal ");
 7708|    176|            commonBuiltins.append(imageParams);
 7709|    176|            commonBuiltins.append(", int, int, int);\n");
 7710|       |
 7711|    176|            commonBuiltins.append("void imageAtomicStore(volatile coherent nontemporal ");
 7712|    176|            commonBuiltins.append(imageParams);
 7713|    176|            commonBuiltins.append(", ");
 7714|    176|            commonBuiltins.append(dataType);
 7715|    176|            commonBuiltins.append(", int, int, int);\n");
 7716|       |
 7717|    176|        } else {
 7718|       |            // not int or uint
 7719|       |            // GL_ARB_ES3_1_compatibility
 7720|       |            // TODO: spec issue: are there restrictions on the kind of layout() that can be used?  what about dropping memory qualifiers?
 7721|     88|            if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (7721:17): [True: 0, False: 88]
  |  Branch (7721:42): [True: 0, False: 0]
  ------------------
 7722|      0|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7723|      0|                commonBuiltins.append(imageParams);
 7724|      0|                commonBuiltins.append(", float);\n");
 7725|      0|            }
 7726|       |
 7727|       |            // GL_NV_shader_atomic_fp16_vector
 7728|     88|            if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (7728:17): [True: 88, False: 0]
  |  Branch (7728:42): [True: 88, False: 0]
  ------------------
 7729|     88|                const int numFp16Builtins = 4;
 7730|     88|                const char* atomicFp16Func[numFp16Builtins] = {
 7731|     88|                    " imageAtomicAdd(volatile coherent nontemporal ",
 7732|     88|                    " imageAtomicMin(volatile coherent nontemporal ",
 7733|     88|                    " imageAtomicMax(volatile coherent nontemporal ",
 7734|     88|                    " imageAtomicExchange(volatile coherent nontemporal "
 7735|     88|                };
 7736|     88|                const int numFp16DataTypes = 2;
 7737|     88|                const char* atomicFp16DataTypes[numFp16DataTypes] = {
 7738|     88|                    "f16vec2",
 7739|     88|                    "f16vec4"
 7740|     88|                };
 7741|       |                // Loop twice to add prototypes with/without scope/semantics
 7742|    264|                for (int j = 0; j < numFp16DataTypes; ++j) {
  ------------------
  |  Branch (7742:33): [True: 176, False: 88]
  ------------------
 7743|    880|                    for (int i = 0; i < numFp16Builtins; ++i) {
  ------------------
  |  Branch (7743:37): [True: 704, False: 176]
  ------------------
 7744|    704|                        commonBuiltins.append(atomicFp16DataTypes[j]);
 7745|    704|                        commonBuiltins.append(atomicFp16Func[i]);
 7746|    704|                        commonBuiltins.append(imageParams);
 7747|    704|                        commonBuiltins.append(", ");
 7748|    704|                        commonBuiltins.append(atomicFp16DataTypes[j]);
 7749|    704|                        commonBuiltins.append(");\n");
 7750|    704|                    }
 7751|    176|                }
 7752|     88|            }
 7753|       |
 7754|     88|            if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7754:17): [True: 88, False: 0]
  |  Branch (7754:42): [True: 88, False: 0]
  ------------------
 7755|     88|                commonBuiltins.append("float imageAtomicAdd(volatile coherent nontemporal ");
 7756|     88|                commonBuiltins.append(imageParams);
 7757|     88|                commonBuiltins.append(", float);\n");
 7758|       |
 7759|     88|                commonBuiltins.append("float imageAtomicAdd(volatile coherent nontemporal ");
 7760|     88|                commonBuiltins.append(imageParams);
 7761|     88|                commonBuiltins.append(", float");
 7762|     88|                commonBuiltins.append(", int, int, int);\n");
 7763|       |
 7764|     88|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7765|     88|                commonBuiltins.append(imageParams);
 7766|     88|                commonBuiltins.append(", float);\n");
 7767|       |
 7768|     88|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7769|     88|                commonBuiltins.append(imageParams);
 7770|     88|                commonBuiltins.append(", float");
 7771|     88|                commonBuiltins.append(", int, int, int);\n");
 7772|       |
 7773|     88|                commonBuiltins.append("float imageAtomicLoad(readonly volatile coherent nontemporal ");
 7774|     88|                commonBuiltins.append(imageParams);
 7775|     88|                commonBuiltins.append(", int, int, int);\n");
 7776|       |
 7777|     88|                commonBuiltins.append("void imageAtomicStore(writeonly volatile coherent nontemporal ");
 7778|     88|                commonBuiltins.append(imageParams);
 7779|     88|                commonBuiltins.append(", float");
 7780|     88|                commonBuiltins.append(", int, int, int);\n");
 7781|       |
 7782|     88|                commonBuiltins.append("float imageAtomicMin(volatile coherent nontemporal ");
 7783|     88|                commonBuiltins.append(imageParams);
 7784|     88|                commonBuiltins.append(", float);\n");
 7785|       |
 7786|     88|                commonBuiltins.append("float imageAtomicMin(volatile coherent nontemporal ");
 7787|     88|                commonBuiltins.append(imageParams);
 7788|     88|                commonBuiltins.append(", float");
 7789|     88|                commonBuiltins.append(", int, int, int);\n");
 7790|       |
 7791|     88|                commonBuiltins.append("float imageAtomicMax(volatile coherent nontemporal ");
 7792|     88|                commonBuiltins.append(imageParams);
 7793|     88|                commonBuiltins.append(", float);\n");
 7794|       |
 7795|     88|                commonBuiltins.append("float imageAtomicMax(volatile coherent nontemporal ");
 7796|     88|                commonBuiltins.append(imageParams);
 7797|     88|                commonBuiltins.append(", float");
 7798|     88|                commonBuiltins.append(", int, int, int);\n");
 7799|     88|            }
 7800|     88|        }
 7801|    264|    }
 7802|       |
 7803|    264|    if (sampler.dim == EsdRect || sampler.dim == EsdBuffer || sampler.shadow || sampler.isMultiSample())
  ------------------
  |  Branch (7803:9): [True: 24, False: 240]
  |  Branch (7803:35): [True: 24, False: 216]
  |  Branch (7803:63): [True: 0, False: 216]
  |  Branch (7803:81): [True: 48, False: 168]
  ------------------
 7804|     96|        return;
 7805|       |
 7806|    168|    if (profile == EEsProfile || version < 450)
  ------------------
  |  Branch (7806:9): [True: 0, False: 168]
  |  Branch (7806:34): [True: 0, False: 168]
  ------------------
 7807|      0|        return;
 7808|       |
 7809|    168|    TString imageLodParams = typeName;
 7810|    168|    if (dims == 1)
  ------------------
  |  Branch (7810:9): [True: 24, False: 144]
  ------------------
 7811|     24|        imageLodParams.append(", int");
 7812|    144|    else {
 7813|    144|        imageLodParams.append(", ivec");
 7814|    144|        imageLodParams.append(postfixes[dims]);
 7815|    144|    }
 7816|    168|    imageLodParams.append(", int");
 7817|       |
 7818|    168|    commonBuiltins.append(prefixes[sampler.type]);
 7819|    168|    commonBuiltins.append("vec4 imageLoadLodAMD(readonly volatile coherent nontemporal ");
 7820|    168|    commonBuiltins.append(imageLodParams);
 7821|    168|    commonBuiltins.append(");\n");
 7822|       |
 7823|    168|    commonBuiltins.append("void imageStoreLodAMD(writeonly volatile coherent nontemporal ");
 7824|    168|    commonBuiltins.append(imageLodParams);
 7825|    168|    commonBuiltins.append(", ");
 7826|    168|    commonBuiltins.append(prefixes[sampler.type]);
 7827|    168|    commonBuiltins.append("vec4);\n");
 7828|       |
 7829|    168|    if (! sampler.is1D()) {
  ------------------
  |  Branch (7829:9): [True: 120, False: 48]
  ------------------
 7830|    120|        commonBuiltins.append("int sparseImageLoadLodAMD(readonly volatile coherent nontemporal ");
 7831|    120|        commonBuiltins.append(imageLodParams);
 7832|    120|        commonBuiltins.append(", out ");
 7833|    120|        commonBuiltins.append(prefixes[sampler.type]);
 7834|    120|        commonBuiltins.append("vec4");
 7835|    120|        commonBuiltins.append(");\n");
 7836|    120|    }
 7837|    168|}
_ZN7glslang9TBuiltIns18addSubpassSamplingENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7846|     16|{
 7847|     16|    stageBuiltins[EShLangFragment].append(prefixes[sampler.type]);
 7848|     16|    stageBuiltins[EShLangFragment].append("vec4 subpassLoad");
 7849|     16|    stageBuiltins[EShLangFragment].append("(");
 7850|     16|    stageBuiltins[EShLangFragment].append(typeName.c_str());
 7851|     16|    if (sampler.isMultiSample())
  ------------------
  |  Branch (7851:9): [True: 8, False: 8]
  ------------------
 7852|      8|        stageBuiltins[EShLangFragment].append(", int");
 7853|     16|    stageBuiltins[EShLangFragment].append(");\n");
 7854|     16|}
_ZN7glslang9TBuiltIns20addSamplingFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7863|    320|{
 7864|       |    //
 7865|       |    // texturing
 7866|       |    //
 7867|    960|    for (int proj = 0; proj <= 1; ++proj) { // loop over "bool" projective or not
  ------------------
  |  Branch (7867:24): [True: 640, False: 320]
  ------------------
 7868|       |
 7869|    640|        if (proj && (sampler.dim == EsdCube || sampler.isBuffer() || sampler.arrayed || sampler.isMultiSample()
  ------------------
  |  Branch (7869:13): [True: 320, False: 320]
  |  Branch (7869:22): [True: 64, False: 256]
  |  Branch (7869:48): [True: 24, False: 232]
  |  Branch (7869:70): [True: 88, False: 144]
  |  Branch (7869:89): [True: 24, False: 120]
  ------------------
 7870|    120|            || !sampler.isCombined()))
  ------------------
  |  Branch (7870:16): [True: 32, False: 88]
  ------------------
 7871|    232|            continue;
 7872|       |
 7873|  1.22k|        for (int lod = 0; lod <= 1; ++lod) {
  ------------------
  |  Branch (7873:27): [True: 816, False: 408]
  ------------------
 7874|       |
 7875|    816|            if (lod && (sampler.isBuffer() || sampler.isRect() || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (7875:17): [True: 408, False: 408]
  |  Branch (7875:25): [True: 24, False: 384]
  |  Branch (7875:47): [True: 56, False: 328]
  |  Branch (7875:67): [True: 48, False: 280]
  |  Branch (7875:94): [True: 56, False: 224]
  ------------------
 7876|    184|                continue;
 7877|    632|            if (lod && sampler.dim == Esd2D && sampler.arrayed && sampler.shadow)
  ------------------
  |  Branch (7877:17): [True: 224, False: 408]
  |  Branch (7877:24): [True: 72, False: 152]
  |  Branch (7877:48): [True: 24, False: 48]
  |  Branch (7877:67): [True: 8, False: 16]
  ------------------
 7878|      8|                continue;
 7879|    624|            if (lod && sampler.dim == EsdCube && sampler.shadow)
  ------------------
  |  Branch (7879:17): [True: 216, False: 408]
  |  Branch (7879:24): [True: 48, False: 168]
  |  Branch (7879:50): [True: 16, False: 32]
  ------------------
 7880|     16|                continue;
 7881|       |
 7882|  1.82k|            for (int bias = 0; bias <= 1; ++bias) {
  ------------------
  |  Branch (7882:32): [True: 1.21k, False: 608]
  ------------------
 7883|       |
 7884|  1.21k|                if (bias && (lod || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (7884:21): [True: 608, False: 608]
  |  Branch (7884:30): [True: 200, False: 408]
  |  Branch (7884:37): [True: 48, False: 360]
  |  Branch (7884:64): [True: 72, False: 288]
  ------------------
 7885|    320|                    continue;
 7886|    896|                if (bias && (sampler.dim == Esd2D || sampler.dim == EsdCube) && sampler.shadow && sampler.arrayed)
  ------------------
  |  Branch (7886:21): [True: 288, False: 608]
  |  Branch (7886:30): [True: 72, False: 216]
  |  Branch (7886:54): [True: 48, False: 168]
  |  Branch (7886:81): [True: 40, False: 80]
  |  Branch (7886:99): [True: 16, False: 24]
  ------------------
 7887|     16|                    continue;
 7888|    880|                if (bias && (sampler.isRect() || sampler.isBuffer()))
  ------------------
  |  Branch (7888:21): [True: 272, False: 608]
  |  Branch (7888:30): [True: 48, False: 224]
  |  Branch (7888:50): [True: 16, False: 208]
  ------------------
 7889|     64|                    continue;
 7890|       |
 7891|  2.44k|                for (int offset = 0; offset <= 1; ++offset) { // loop over "bool" offset or not
  ------------------
  |  Branch (7891:38): [True: 1.63k, False: 816]
  ------------------
 7892|       |
 7893|  1.63k|                    if (proj + offset + bias + lod > 3)
  ------------------
  |  Branch (7893:25): [True: 0, False: 1.63k]
  ------------------
 7894|      0|                        continue;
 7895|  1.63k|                    if (offset && (sampler.dim == EsdCube || sampler.isBuffer() || sampler.isMultiSample()))
  ------------------
  |  Branch (7895:25): [True: 816, False: 816]
  |  Branch (7895:36): [True: 136, False: 680]
  |  Branch (7895:62): [True: 24, False: 656]
  |  Branch (7895:84): [True: 48, False: 608]
  ------------------
 7896|    208|                        continue;
 7897|       |
 7898|  4.27k|                    for (int fetch = 0; fetch <= 1; ++fetch) { // loop over "bool" fetch or not
  ------------------
  |  Branch (7898:41): [True: 2.84k, False: 1.42k]
  ------------------
 7899|       |
 7900|  2.84k|                        if (proj + offset + fetch + bias + lod > 3)
  ------------------
  |  Branch (7900:29): [True: 128, False: 2.72k]
  ------------------
 7901|    128|                            continue;
 7902|  2.72k|                        if (fetch && (lod || bias))
  ------------------
  |  Branch (7902:29): [True: 1.29k, False: 1.42k]
  |  Branch (7902:39): [True: 304, False: 992]
  |  Branch (7902:46): [True: 312, False: 680]
  ------------------
 7903|    616|                            continue;
 7904|  2.10k|                        if (fetch && (sampler.shadow || sampler.dim == EsdCube))
  ------------------
  |  Branch (7904:29): [True: 680, False: 1.42k]
  |  Branch (7904:39): [True: 144, False: 536]
  |  Branch (7904:57): [True: 48, False: 488]
  ------------------
 7905|    192|                            continue;
 7906|  1.91k|                        if (fetch == 0 && (sampler.isMultiSample() || sampler.isBuffer()
  ------------------
  |  Branch (7906:29): [True: 1.42k, False: 488]
  |  Branch (7906:44): [True: 48, False: 1.37k]
  |  Branch (7906:71): [True: 24, False: 1.35k]
  ------------------
 7907|  1.35k|                            || !sampler.isCombined()))
  ------------------
  |  Branch (7907:32): [True: 112, False: 1.24k]
  ------------------
 7908|    184|                            continue;
 7909|       |
 7910|  5.18k|                        for (int grad = 0; grad <= 1; ++grad) { // loop over "bool" grad or not
  ------------------
  |  Branch (7910:44): [True: 3.45k, False: 1.72k]
  ------------------
 7911|       |
 7912|  3.45k|                            if (grad && (lod || bias || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (7912:33): [True: 1.72k, False: 1.72k]
  |  Branch (7912:42): [True: 368, False: 1.36k]
  |  Branch (7912:49): [True: 376, False: 984]
  |  Branch (7912:57): [True: 48, False: 936]
  |  Branch (7912:84): [True: 104, False: 832]
  ------------------
 7913|    896|                                continue;
 7914|  2.56k|                            if (grad && sampler.isBuffer())
  ------------------
  |  Branch (7914:33): [True: 832, False: 1.72k]
  |  Branch (7914:41): [True: 16, False: 816]
  ------------------
 7915|     16|                                continue;
 7916|  2.54k|                            if (proj + offset + fetch + grad + bias + lod > 3)
  ------------------
  |  Branch (7916:33): [True: 64, False: 2.48k]
  ------------------
 7917|     64|                                continue;
 7918|       |
 7919|  7.44k|                            for (int extraProj = 0; extraProj <= 1; ++extraProj) {
  ------------------
  |  Branch (7919:53): [True: 4.96k, False: 2.48k]
  ------------------
 7920|  4.96k|                                bool compare = false;
 7921|  4.96k|                                int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (7921:72): [True: 1.23k, False: 3.72k]
  ------------------
 7922|       |                                // skip dummy unused second component for 1D non-array shadows
 7923|  4.96k|                                if (sampler.shadow && totalDims < 2)
  ------------------
  |  Branch (7923:37): [True: 912, False: 4.04k]
  |  Branch (7923:55): [True: 256, False: 656]
  ------------------
 7924|    256|                                    totalDims = 2;
 7925|  4.96k|                                totalDims += (sampler.shadow ? 1 : 0) + proj;
  ------------------
  |  Branch (7925:47): [True: 912, False: 4.04k]
  ------------------
 7926|  4.96k|                                if (totalDims > 4 && sampler.shadow) {
  ------------------
  |  Branch (7926:37): [True: 32, False: 4.92k]
  |  Branch (7926:54): [True: 32, False: 0]
  ------------------
 7927|     32|                                    compare = true;
 7928|     32|                                    totalDims = 4;
 7929|     32|                                }
 7930|  4.96k|                                assert(totalDims <= 4);
 7931|       |
 7932|  4.96k|                                if (extraProj && ! proj)
  ------------------
  |  Branch (7932:37): [True: 2.48k, False: 2.48k]
  |  Branch (7932:50): [True: 1.68k, False: 800]
  ------------------
 7933|  1.68k|                                    continue;
 7934|  3.28k|                                if (extraProj && (sampler.dim == Esd3D || sampler.shadow || !sampler.isCombined()))
  ------------------
  |  Branch (7934:37): [True: 800, False: 2.48k]
  |  Branch (7934:51): [True: 176, False: 624]
  |  Branch (7934:75): [True: 160, False: 464]
  |  Branch (7934:93): [True: 0, False: 464]
  ------------------
 7935|    336|                                    continue;
 7936|       |
 7937|       |                                // loop over 16-bit floating-point texel addressing
 7938|  8.83k|                                for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr)
  ------------------
  |  Branch (7938:58): [True: 5.88k, False: 2.94k]
  ------------------
 7939|  5.88k|                                {
 7940|  5.88k|                                    if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (7940:41): [True: 2.94k, False: 2.94k]
  |  Branch (7940:55): [True: 2.09k, False: 850]
  ------------------
 7941|  2.09k|                                        continue;
 7942|  3.79k|                                    if (f16TexAddr && sampler.shadow && ! compare) {
  ------------------
  |  Branch (7942:41): [True: 850, False: 2.94k]
  |  Branch (7942:55): [True: 228, False: 622]
  |  Branch (7942:73): [True: 220, False: 8]
  ------------------
 7943|    220|                                        compare = true; // compare argument is always present
 7944|    220|                                        totalDims--;
 7945|    220|                                    }
 7946|       |                                    // loop over "bool" lod clamp
 7947|  11.3k|                                    for (int lodClamp = 0; lodClamp <= 1 ;++lodClamp)
  ------------------
  |  Branch (7947:60): [True: 7.58k, False: 3.79k]
  ------------------
 7948|  7.58k|                                    {
 7949|  7.58k|                                        if (lodClamp && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (7949:45): [True: 3.79k, False: 3.79k]
  |  Branch (7949:58): [True: 0, False: 3.79k]
  |  Branch (7949:83): [True: 0, False: 3.79k]
  ------------------
 7950|      0|                                            continue;
 7951|  7.58k|                                        if (lodClamp && (proj || lod || fetch))
  ------------------
  |  Branch (7951:45): [True: 3.79k, False: 3.79k]
  |  Branch (7951:58): [True: 1.62k, False: 2.17k]
  |  Branch (7951:66): [True: 312, False: 1.86k]
  |  Branch (7951:73): [True: 690, False: 1.17k]
  ------------------
 7952|  2.62k|                                            continue;
 7953|       |
 7954|       |                                        // loop over "bool" sparse or not
 7955|  14.8k|                                        for (int sparse = 0; sparse <= 1; ++sparse)
  ------------------
  |  Branch (7955:62): [True: 9.93k, False: 4.96k]
  ------------------
 7956|  9.93k|                                        {
 7957|  9.93k|                                            if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (7957:49): [True: 4.96k, False: 4.96k]
  |  Branch (7957:60): [True: 0, False: 4.96k]
  |  Branch (7957:85): [True: 0, False: 4.96k]
  ------------------
 7958|      0|                                                continue;
 7959|       |                                            // Sparse sampling is not for 1D/1D array texture, buffer texture, and
 7960|       |                                            // projective texture
 7961|  9.93k|                                            if (sparse && (sampler.is1D() || sampler.isBuffer() || proj))
  ------------------
  |  Branch (7961:49): [True: 4.96k, False: 4.96k]
  |  Branch (7961:60): [True: 1.63k, False: 3.33k]
  |  Branch (7961:78): [True: 30, False: 3.30k]
  |  Branch (7961:100): [True: 1.08k, False: 2.22k]
  ------------------
 7962|  2.74k|                                                continue;
 7963|       |
 7964|  7.18k|                                            TString s;
 7965|       |
 7966|       |                                            // return type
 7967|  7.18k|                                            if (sparse)
  ------------------
  |  Branch (7967:49): [True: 2.22k, False: 4.96k]
  ------------------
 7968|  2.22k|                                                s.append("int ");
 7969|  4.96k|                                            else {
 7970|  4.96k|                                                if (sampler.shadow)
  ------------------
  |  Branch (7970:53): [True: 1.05k, False: 3.91k]
  ------------------
 7971|  1.05k|                                                    if (sampler.type == EbtFloat16)
  ------------------
  |  Branch (7971:57): [True: 704, False: 352]
  ------------------
 7972|    704|                                                        s.append("float16_t ");
 7973|    352|                                                    else
 7974|    352|                                                        s.append("float ");
 7975|  3.91k|                                                else {
 7976|  3.91k|                                                    s.append(prefixes[sampler.type]);
 7977|  3.91k|                                                    s.append("vec4 ");
 7978|  3.91k|                                                }
 7979|  4.96k|                                            }
 7980|       |
 7981|       |                                            // name
 7982|  7.18k|                                            if (sparse) {
  ------------------
  |  Branch (7982:49): [True: 2.22k, False: 4.96k]
  ------------------
 7983|  2.22k|                                                if (fetch)
  ------------------
  |  Branch (7983:53): [True: 460, False: 1.76k]
  ------------------
 7984|    460|                                                    s.append("sparseTexel");
 7985|  1.76k|                                                else
 7986|  1.76k|                                                    s.append("sparseTexture");
 7987|  2.22k|                                            }
 7988|  4.96k|                                            else {
 7989|  4.96k|                                                if (fetch)
  ------------------
  |  Branch (7989:53): [True: 1.11k, False: 3.85k]
  ------------------
 7990|  1.11k|                                                    s.append("texel");
 7991|  3.85k|                                                else
 7992|  3.85k|                                                    s.append("texture");
 7993|  4.96k|                                            }
 7994|  7.18k|                                            if (proj)
  ------------------
  |  Branch (7994:49): [True: 1.62k, False: 5.56k]
  ------------------
 7995|  1.62k|                                                s.append("Proj");
 7996|  7.18k|                                            if (lod)
  ------------------
  |  Branch (7996:49): [True: 744, False: 6.44k]
  ------------------
 7997|    744|                                                s.append("Lod");
 7998|  7.18k|                                            if (grad)
  ------------------
  |  Branch (7998:49): [True: 2.33k, False: 4.85k]
  ------------------
 7999|  2.33k|                                                s.append("Grad");
 8000|  7.18k|                                            if (fetch)
  ------------------
  |  Branch (8000:49): [True: 1.57k, False: 5.61k]
  ------------------
 8001|  1.57k|                                                s.append("Fetch");
 8002|  7.18k|                                            if (offset)
  ------------------
  |  Branch (8002:49): [True: 3.04k, False: 4.13k]
  ------------------
 8003|  3.04k|                                                s.append("Offset");
 8004|  7.18k|                                            if (lodClamp)
  ------------------
  |  Branch (8004:49): [True: 1.96k, False: 5.22k]
  ------------------
 8005|  1.96k|                                                s.append("Clamp");
 8006|  7.18k|                                            if (lodClamp != 0 || sparse)
  ------------------
  |  Branch (8006:49): [True: 1.96k, False: 5.22k]
  |  Branch (8006:66): [True: 1.43k, False: 3.79k]
  ------------------
 8007|  3.39k|                                                s.append("ARB");
 8008|  7.18k|                                            s.append("(");
 8009|       |
 8010|       |                                            // sampler type
 8011|  7.18k|                                            s.append(typeName);
 8012|       |                                            // P coordinate
 8013|  7.18k|                                            if (extraProj) {
  ------------------
  |  Branch (8013:49): [True: 580, False: 6.60k]
  ------------------
 8014|    580|                                                if (f16TexAddr)
  ------------------
  |  Branch (8014:53): [True: 116, False: 464]
  ------------------
 8015|    116|                                                    s.append(",f16vec4");
 8016|    464|                                                else
 8017|    464|                                                    s.append(",vec4");
 8018|  6.60k|                                            } else {
 8019|  6.60k|                                                s.append(",");
 8020|  6.60k|                                                TBasicType t = fetch ? EbtInt : (f16TexAddr ? EbtFloat16 : EbtFloat);
  ------------------
  |  Branch (8020:64): [True: 1.39k, False: 5.21k]
  |  Branch (8020:82): [True: 1.24k, False: 3.96k]
  ------------------
 8021|  6.60k|                                                if (totalDims == 1)
  ------------------
  |  Branch (8021:53): [True: 410, False: 6.19k]
  ------------------
 8022|    410|                                                    s.append(TType::getBasicString(t));
 8023|  6.19k|                                                else {
 8024|  6.19k|                                                    s.append(prefixes[t]);
 8025|  6.19k|                                                    s.append("vec");
 8026|  6.19k|                                                    s.append(postfixes[totalDims]);
 8027|  6.19k|                                                }
 8028|  6.60k|                                            }
 8029|       |                                            // non-optional compare
 8030|  7.18k|                                            if (compare)
  ------------------
  |  Branch (8030:49): [True: 576, False: 6.61k]
  ------------------
 8031|    576|                                                s.append(",float");
 8032|       |
 8033|       |                                            // non-optional lod argument (lod that's not driven by lod loop) or sample
 8034|  7.18k|                                            if ((fetch && !sampler.isBuffer() &&
  ------------------
  |  Branch (8034:50): [True: 1.57k, False: 5.61k]
  |  Branch (8034:59): [True: 1.54k, False: 30]
  ------------------
 8035|  1.54k|                                                 !sampler.isRect() && !sampler.isMultiSample())
  ------------------
  |  Branch (8035:50): [True: 1.22k, False: 320]
  |  Branch (8035:71): [True: 1.10k, False: 120]
  ------------------
 8036|  6.08k|                                                 || (sampler.isMultiSample() && fetch))
  ------------------
  |  Branch (8036:54): [True: 120, False: 5.96k]
  |  Branch (8036:81): [True: 120, False: 0]
  ------------------
 8037|  1.22k|                                                s.append(",int");
 8038|       |                                            // non-optional lod
 8039|  7.18k|                                            if (lod) {
  ------------------
  |  Branch (8039:49): [True: 744, False: 6.44k]
  ------------------
 8040|    744|                                                if (f16TexAddr)
  ------------------
  |  Branch (8040:53): [True: 168, False: 576]
  ------------------
 8041|    168|                                                    s.append(",float16_t");
 8042|    576|                                                else
 8043|    576|                                                    s.append(",float");
 8044|    744|                                            }
 8045|       |
 8046|       |                                            // gradient arguments
 8047|  7.18k|                                            if (grad) {
  ------------------
  |  Branch (8047:49): [True: 2.33k, False: 4.85k]
  ------------------
 8048|  2.33k|                                                if (dimMap[sampler.dim] == 1) {
  ------------------
  |  Branch (8048:53): [True: 480, False: 1.85k]
  ------------------
 8049|    480|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8049:57): [True: 112, False: 368]
  ------------------
 8050|    112|                                                        s.append(",float16_t,float16_t");
 8051|    368|                                                    else
 8052|    368|                                                        s.append(",float,float");
 8053|  1.85k|                                                } else {
 8054|  1.85k|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8054:57): [True: 428, False: 1.42k]
  ------------------
 8055|    428|                                                        s.append(",f16vec");
 8056|  1.42k|                                                    else
 8057|  1.42k|                                                        s.append(",vec");
 8058|  1.85k|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8059|  1.85k|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8059:57): [True: 428, False: 1.42k]
  ------------------
 8060|    428|                                                        s.append(",f16vec");
 8061|  1.42k|                                                    else
 8062|  1.42k|                                                        s.append(",vec");
 8063|  1.85k|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8064|  1.85k|                                                }
 8065|  2.33k|                                            }
 8066|       |                                            // offset
 8067|  7.18k|                                            if (offset) {
  ------------------
  |  Branch (8067:49): [True: 3.04k, False: 4.13k]
  ------------------
 8068|  3.04k|                                                if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (8068:53): [True: 796, False: 2.25k]
  ------------------
 8069|    796|                                                    s.append(",int");
 8070|  2.25k|                                                else {
 8071|  2.25k|                                                    s.append(",ivec");
 8072|  2.25k|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8073|  2.25k|                                                }
 8074|  3.04k|                                            }
 8075|       |
 8076|       |                                            // lod clamp
 8077|  7.18k|                                            if (lodClamp) {
  ------------------
  |  Branch (8077:49): [True: 1.96k, False: 5.22k]
  ------------------
 8078|  1.96k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8078:53): [True: 472, False: 1.48k]
  ------------------
 8079|    472|                                                    s.append(",float16_t");
 8080|  1.48k|                                                else
 8081|  1.48k|                                                    s.append(",float");
 8082|  1.96k|                                            }
 8083|       |                                            // texel out (for sparse texture)
 8084|  7.18k|                                            if (sparse) {
  ------------------
  |  Branch (8084:49): [True: 2.22k, False: 4.96k]
  ------------------
 8085|  2.22k|                                                s.append(",out ");
 8086|  2.22k|                                                if (sampler.shadow)
  ------------------
  |  Branch (8086:53): [True: 480, False: 1.74k]
  ------------------
 8087|    480|                                                    if (sampler.type == EbtFloat16)
  ------------------
  |  Branch (8087:57): [True: 320, False: 160]
  ------------------
 8088|    320|                                                        s.append("float16_t");
 8089|    160|                                                    else
 8090|    160|                                                        s.append("float");
 8091|  1.74k|                                                else {
 8092|  1.74k|                                                    s.append(prefixes[sampler.type]);
 8093|  1.74k|                                                    s.append("vec4");
 8094|  1.74k|                                                }
 8095|  2.22k|                                            }
 8096|       |                                            // optional bias
 8097|  7.18k|                                            if (bias) {
  ------------------
  |  Branch (8097:49): [True: 1.28k, False: 5.89k]
  ------------------
 8098|  1.28k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8098:53): [True: 296, False: 992]
  ------------------
 8099|    296|                                                    s.append(",float16_t");
 8100|    992|                                                else
 8101|    992|                                                    s.append(",float");
 8102|  1.28k|                                            }
 8103|  7.18k|                                            s.append(");\n");
 8104|       |
 8105|       |                                            // Add to the per-language set of built-ins
 8106|  7.18k|                                            if (!grad && (bias || lodClamp != 0)) {
  ------------------
  |  Branch (8106:49): [True: 4.85k, False: 2.33k]
  |  Branch (8106:59): [True: 1.28k, False: 3.56k]
  |  Branch (8106:67): [True: 720, False: 2.84k]
  ------------------
 8107|  2.00k|                                                stageBuiltins[EShLangFragment].append(s);
 8108|  2.00k|                                                stageBuiltins[EShLangCompute].append(s);
 8109|  2.00k|                                            } else
 8110|  5.17k|                                                commonBuiltins.append(s);
 8111|       |
 8112|  7.18k|                                        }
 8113|  4.96k|                                    }
 8114|  3.79k|                                }
 8115|  2.94k|                            }
 8116|  2.48k|                        }
 8117|  1.72k|                    }
 8118|  1.42k|                }
 8119|    816|            }
 8120|    608|        }
 8121|    408|    }
 8122|    320|}
_ZN7glslang9TBuiltIns18addGatherFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 8131|    232|{
 8132|    232|    switch (sampler.dim) {
 8133|     80|    case Esd2D:
  ------------------
  |  Branch (8133:5): [True: 80, False: 152]
  ------------------
 8134|    104|    case EsdRect:
  ------------------
  |  Branch (8134:5): [True: 24, False: 208]
  ------------------
 8135|    152|    case EsdCube:
  ------------------
  |  Branch (8135:5): [True: 48, False: 184]
  ------------------
 8136|    152|        break;
 8137|     80|    default:
  ------------------
  |  Branch (8137:5): [True: 80, False: 152]
  ------------------
 8138|     80|        return;
 8139|    232|    }
 8140|       |
 8141|    152|    if (sampler.isMultiSample())
  ------------------
  |  Branch (8141:9): [True: 32, False: 120]
  ------------------
 8142|     32|        return;
 8143|       |
 8144|    120|    if (version < 140 && sampler.dim == EsdRect && sampler.type != EbtFloat)
  ------------------
  |  Branch (8144:9): [True: 0, False: 120]
  |  Branch (8144:26): [True: 0, False: 0]
  |  Branch (8144:52): [True: 0, False: 0]
  ------------------
 8145|      0|        return;
 8146|       |
 8147|    360|    for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr) { // loop over 16-bit floating-point texel addressing
  ------------------
  |  Branch (8147:30): [True: 240, False: 120]
  ------------------
 8148|       |
 8149|    240|        if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8149:13): [True: 120, False: 120]
  |  Branch (8149:27): [True: 80, False: 40]
  ------------------
 8150|     80|            continue;
 8151|    640|        for (int offset = 0; offset < 3; ++offset) { // loop over three forms of offset in the call name:  none, Offset, and Offsets
  ------------------
  |  Branch (8151:30): [True: 480, False: 160]
  ------------------
 8152|       |
 8153|  1.44k|            for (int comp = 0; comp < 2; ++comp) { // loop over presence of comp argument
  ------------------
  |  Branch (8153:32): [True: 960, False: 480]
  ------------------
 8154|       |
 8155|    960|                if (comp > 0 && sampler.shadow)
  ------------------
  |  Branch (8155:21): [True: 480, False: 480]
  |  Branch (8155:33): [True: 180, False: 300]
  ------------------
 8156|    180|                    continue;
 8157|       |
 8158|    780|                if (offset > 0 && sampler.dim == EsdCube)
  ------------------
  |  Branch (8158:21): [True: 520, False: 260]
  |  Branch (8158:35): [True: 208, False: 312]
  ------------------
 8159|    208|                    continue;
 8160|       |
 8161|  1.71k|                for (int sparse = 0; sparse <= 1; ++sparse) { // loop over "bool" sparse or not
  ------------------
  |  Branch (8161:38): [True: 1.14k, False: 572]
  ------------------
 8162|  1.14k|                    if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8162:25): [True: 572, False: 572]
  |  Branch (8162:36): [True: 0, False: 572]
  |  Branch (8162:61): [True: 0, False: 572]
  ------------------
 8163|      0|                        continue;
 8164|       |
 8165|  1.14k|                    TString s;
 8166|       |
 8167|       |                    // return type
 8168|  1.14k|                    if (sparse)
  ------------------
  |  Branch (8168:25): [True: 572, False: 572]
  ------------------
 8169|    572|                        s.append("int ");
 8170|    572|                    else {
 8171|    572|                        s.append(prefixes[sampler.type]);
 8172|    572|                        s.append("vec4 ");
 8173|    572|                    }
 8174|       |
 8175|       |                    // name
 8176|  1.14k|                    if (sparse)
  ------------------
  |  Branch (8176:25): [True: 572, False: 572]
  ------------------
 8177|    572|                        s.append("sparseTextureGather");
 8178|    572|                    else
 8179|    572|                        s.append("textureGather");
 8180|  1.14k|                    switch (offset) {
 8181|    312|                    case 1:
  ------------------
  |  Branch (8181:21): [True: 312, False: 832]
  ------------------
 8182|    312|                        s.append("Offset");
 8183|    312|                        break;
 8184|    312|                    case 2:
  ------------------
  |  Branch (8184:21): [True: 312, False: 832]
  ------------------
 8185|    312|                        s.append("Offsets");
 8186|    312|                        break;
 8187|    520|                    default:
  ------------------
  |  Branch (8187:21): [True: 520, False: 624]
  ------------------
 8188|    520|                        break;
 8189|  1.14k|                    }
 8190|  1.14k|                    if (sparse)
  ------------------
  |  Branch (8190:25): [True: 572, False: 572]
  ------------------
 8191|    572|                        s.append("ARB");
 8192|  1.14k|                    s.append("(");
 8193|       |
 8194|       |                    // sampler type argument
 8195|  1.14k|                    s.append(typeName);
 8196|       |
 8197|       |                    // P coordinate argument
 8198|  1.14k|                    if (f16TexAddr)
  ------------------
  |  Branch (8198:25): [True: 264, False: 880]
  ------------------
 8199|    264|                        s.append(",f16vec");
 8200|    880|                    else
 8201|    880|                        s.append(",vec");
 8202|  1.14k|                    int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8202:60): [True: 416, False: 728]
  ------------------
 8203|  1.14k|                    s.append(postfixes[totalDims]);
 8204|       |
 8205|       |                    // refZ argument
 8206|  1.14k|                    if (sampler.shadow)
  ------------------
  |  Branch (8206:25): [True: 264, False: 880]
  ------------------
 8207|    264|                        s.append(",float");
 8208|       |
 8209|       |                    // offset argument
 8210|  1.14k|                    if (offset > 0) {
  ------------------
  |  Branch (8210:25): [True: 624, False: 520]
  ------------------
 8211|    624|                        s.append(",ivec2");
 8212|    624|                        if (offset == 2)
  ------------------
  |  Branch (8212:29): [True: 312, False: 312]
  ------------------
 8213|    312|                            s.append("[4]");
 8214|    624|                    }
 8215|       |
 8216|       |                    // texel out (for sparse texture)
 8217|  1.14k|                    if (sparse) {
  ------------------
  |  Branch (8217:25): [True: 572, False: 572]
  ------------------
 8218|    572|                        s.append(",out ");
 8219|    572|                        s.append(prefixes[sampler.type]);
 8220|    572|                        s.append("vec4 ");
 8221|    572|                    }
 8222|       |
 8223|       |                    // comp argument
 8224|  1.14k|                    if (comp)
  ------------------
  |  Branch (8224:25): [True: 440, False: 704]
  ------------------
 8225|    440|                        s.append(",int");
 8226|       |
 8227|  1.14k|                    s.append(");\n");
 8228|  1.14k|                    commonBuiltins.append(s);
 8229|  1.14k|                }
 8230|    572|            }
 8231|    480|        }
 8232|    160|    }
 8233|       |
 8234|    120|    if (sampler.dim == EsdRect || sampler.shadow)
  ------------------
  |  Branch (8234:9): [True: 24, False: 96]
  |  Branch (8234:35): [True: 32, False: 64]
  ------------------
 8235|     56|        return;
 8236|       |
 8237|     64|    if (profile == EEsProfile || version < 450)
  ------------------
  |  Branch (8237:9): [True: 0, False: 64]
  |  Branch (8237:34): [True: 0, False: 64]
  ------------------
 8238|      0|        return;
 8239|       |
 8240|    192|    for (int bias = 0; bias < 2; ++bias) { // loop over presence of bias argument
  ------------------
  |  Branch (8240:24): [True: 128, False: 64]
  ------------------
 8241|       |
 8242|    384|        for (int lod = 0; lod < 2; ++lod) { // loop over presence of lod argument
  ------------------
  |  Branch (8242:27): [True: 256, False: 128]
  ------------------
 8243|       |
 8244|    256|            if ((lod && bias) || (lod == 0 && bias == 0))
  ------------------
  |  Branch (8244:18): [True: 128, False: 128]
  |  Branch (8244:25): [True: 64, False: 64]
  |  Branch (8244:35): [True: 128, False: 64]
  |  Branch (8244:47): [True: 64, False: 64]
  ------------------
 8245|    128|                continue;
 8246|       |
 8247|    384|            for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr) { // loop over 16-bit floating-point texel addressing
  ------------------
  |  Branch (8247:38): [True: 256, False: 128]
  ------------------
 8248|       |
 8249|    256|                if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8249:21): [True: 128, False: 128]
  |  Branch (8249:35): [True: 96, False: 32]
  ------------------
 8250|     96|                    continue;
 8251|       |
 8252|    640|                for (int offset = 0; offset < 3; ++offset) { // loop over three forms of offset in the call name:  none, Offset, and Offsets
  ------------------
  |  Branch (8252:38): [True: 480, False: 160]
  ------------------
 8253|       |
 8254|  1.44k|                    for (int comp = 0; comp < 2; ++comp) { // loop over presence of comp argument
  ------------------
  |  Branch (8254:40): [True: 960, False: 480]
  ------------------
 8255|       |
 8256|    960|                        if (comp == 0 && bias)
  ------------------
  |  Branch (8256:29): [True: 480, False: 480]
  |  Branch (8256:42): [True: 240, False: 240]
  ------------------
 8257|    240|                            continue;
 8258|       |
 8259|    720|                        if (offset > 0 && sampler.dim == EsdCube)
  ------------------
  |  Branch (8259:29): [True: 480, False: 240]
  |  Branch (8259:43): [True: 240, False: 240]
  ------------------
 8260|    240|                            continue;
 8261|       |
 8262|  1.44k|                        for (int sparse = 0; sparse <= 1; ++sparse) { // loop over "bool" sparse or not
  ------------------
  |  Branch (8262:46): [True: 960, False: 480]
  ------------------
 8263|    960|                            if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8263:33): [True: 480, False: 480]
  |  Branch (8263:44): [True: 0, False: 480]
  |  Branch (8263:69): [True: 0, False: 480]
  ------------------
 8264|      0|                                continue;
 8265|       |
 8266|    960|                            TString s;
 8267|       |
 8268|       |                            // return type
 8269|    960|                            if (sparse)
  ------------------
  |  Branch (8269:33): [True: 480, False: 480]
  ------------------
 8270|    480|                                s.append("int ");
 8271|    480|                            else {
 8272|    480|                                s.append(prefixes[sampler.type]);
 8273|    480|                                s.append("vec4 ");
 8274|    480|                            }
 8275|       |
 8276|       |                            // name
 8277|    960|                            if (sparse)
  ------------------
  |  Branch (8277:33): [True: 480, False: 480]
  ------------------
 8278|    480|                                s.append("sparseTextureGather");
 8279|    480|                            else
 8280|    480|                                s.append("textureGather");
 8281|       |
 8282|    960|                            if (lod)
  ------------------
  |  Branch (8282:33): [True: 640, False: 320]
  ------------------
 8283|    640|                                s.append("Lod");
 8284|       |
 8285|    960|                            switch (offset) {
 8286|    240|                            case 1:
  ------------------
  |  Branch (8286:29): [True: 240, False: 720]
  ------------------
 8287|    240|                                s.append("Offset");
 8288|    240|                                break;
 8289|    240|                            case 2:
  ------------------
  |  Branch (8289:29): [True: 240, False: 720]
  ------------------
 8290|    240|                                s.append("Offsets");
 8291|    240|                                break;
 8292|    480|                            default:
  ------------------
  |  Branch (8292:29): [True: 480, False: 480]
  ------------------
 8293|    480|                                break;
 8294|    960|                            }
 8295|       |
 8296|    960|                            if (lod)
  ------------------
  |  Branch (8296:33): [True: 640, False: 320]
  ------------------
 8297|    640|                                s.append("AMD");
 8298|    320|                            else if (sparse)
  ------------------
  |  Branch (8298:38): [True: 160, False: 160]
  ------------------
 8299|    160|                                s.append("ARB");
 8300|       |
 8301|    960|                            s.append("(");
 8302|       |
 8303|       |                            // sampler type argument
 8304|    960|                            s.append(typeName);
 8305|       |
 8306|       |                            // P coordinate argument
 8307|    960|                            if (f16TexAddr)
  ------------------
  |  Branch (8307:33): [True: 192, False: 768]
  ------------------
 8308|    192|                                s.append(",f16vec");
 8309|    768|                            else
 8310|    768|                                s.append(",vec");
 8311|    960|                            int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8311:68): [True: 480, False: 480]
  ------------------
 8312|    960|                            s.append(postfixes[totalDims]);
 8313|       |
 8314|       |                            // lod argument
 8315|    960|                            if (lod) {
  ------------------
  |  Branch (8315:33): [True: 640, False: 320]
  ------------------
 8316|    640|                                if (f16TexAddr)
  ------------------
  |  Branch (8316:37): [True: 128, False: 512]
  ------------------
 8317|    128|                                    s.append(",float16_t");
 8318|    512|                                else
 8319|    512|                                    s.append(",float");
 8320|    640|                            }
 8321|       |
 8322|       |                            // offset argument
 8323|    960|                            if (offset > 0) {
  ------------------
  |  Branch (8323:33): [True: 480, False: 480]
  ------------------
 8324|    480|                                s.append(",ivec2");
 8325|    480|                                if (offset == 2)
  ------------------
  |  Branch (8325:37): [True: 240, False: 240]
  ------------------
 8326|    240|                                    s.append("[4]");
 8327|    480|                            }
 8328|       |
 8329|       |                            // texel out (for sparse texture)
 8330|    960|                            if (sparse) {
  ------------------
  |  Branch (8330:33): [True: 480, False: 480]
  ------------------
 8331|    480|                                s.append(",out ");
 8332|    480|                                s.append(prefixes[sampler.type]);
 8333|    480|                                s.append("vec4 ");
 8334|    480|                            }
 8335|       |
 8336|       |                            // comp argument
 8337|    960|                            if (comp)
  ------------------
  |  Branch (8337:33): [True: 640, False: 320]
  ------------------
 8338|    640|                                s.append(",int");
 8339|       |
 8340|       |                            // bias argument
 8341|    960|                            if (bias) {
  ------------------
  |  Branch (8341:33): [True: 320, False: 640]
  ------------------
 8342|    320|                                if (f16TexAddr)
  ------------------
  |  Branch (8342:37): [True: 64, False: 256]
  ------------------
 8343|     64|                                    s.append(",float16_t");
 8344|    256|                                else
 8345|    256|                                    s.append(",float");
 8346|    320|                            }
 8347|       |
 8348|    960|                            s.append(");\n");
 8349|    960|                            if (bias) {
  ------------------
  |  Branch (8349:33): [True: 320, False: 640]
  ------------------
 8350|    320|                                stageBuiltins[EShLangFragment].append(s);
 8351|    320|                                stageBuiltins[EShLangCompute].append(s);
 8352|    320|                                stageBuiltins[EShLangTask].append(s);
 8353|    320|                                stageBuiltins[EShLangMesh].append(s);
 8354|    320|                            } else
 8355|    640|                                commonBuiltins.append(s);
 8356|    960|                        }
 8357|    480|                    }
 8358|    480|                }
 8359|    160|            }
 8360|    128|        }
 8361|    128|    }
 8362|     64|}
_ZN7glslang9TBuiltIns10initializeERK16TBuiltInResourcei8EProfileRKNS_10SpvVersionE11EShLanguage:
 8372|     47|{
 8373|       |    //
 8374|       |    // Initialize the context-dependent (resource-dependent) built-in strings for parsing.
 8375|       |    //
 8376|       |
 8377|       |    //============================================================================
 8378|       |    //
 8379|       |    // Standard Uniforms
 8380|       |    //
 8381|       |    //============================================================================
 8382|       |
 8383|     47|    TString& s = commonBuiltins;
 8384|     47|    const int maxSize = 200;
 8385|     47|    char builtInConstant[maxSize];
 8386|       |
 8387|       |    //
 8388|       |    // Build string of implementation dependent constants.
 8389|       |    //
 8390|       |
 8391|     47|    if (profile == EEsProfile) {
  ------------------
  |  Branch (8391:9): [True: 45, False: 2]
  ------------------
 8392|     45|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexAttribs = %d;", resources.maxVertexAttribs);
 8393|     45|        s.append(builtInConstant);
 8394|       |
 8395|     45|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexUniformVectors = %d;", resources.maxVertexUniformVectors);
 8396|     45|        s.append(builtInConstant);
 8397|       |
 8398|     45|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexTextureImageUnits = %d;", resources.maxVertexTextureImageUnits);
 8399|     45|        s.append(builtInConstant);
 8400|       |
 8401|     45|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxCombinedTextureImageUnits = %d;", resources.maxCombinedTextureImageUnits);
 8402|     45|        s.append(builtInConstant);
 8403|       |
 8404|     45|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxTextureImageUnits = %d;", resources.maxTextureImageUnits);
 8405|     45|        s.append(builtInConstant);
 8406|       |
 8407|     45|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxFragmentUniformVectors = %d;", resources.maxFragmentUniformVectors);
 8408|     45|        s.append(builtInConstant);
 8409|       |
 8410|     45|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxDrawBuffers = %d;", resources.maxDrawBuffers);
 8411|     45|        s.append(builtInConstant);
 8412|       |
 8413|     45|        if (version == 100) {
  ------------------
  |  Branch (8413:13): [True: 45, False: 0]
  ------------------
 8414|     45|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVaryingVectors = %d;", resources.maxVaryingVectors);
 8415|     45|            s.append(builtInConstant);
 8416|     45|        } else {
 8417|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexOutputVectors = %d;", resources.maxVertexOutputVectors);
 8418|      0|            s.append(builtInConstant);
 8419|       |
 8420|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxFragmentInputVectors = %d;", resources.maxFragmentInputVectors);
 8421|      0|            s.append(builtInConstant);
 8422|       |
 8423|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MinProgramTexelOffset = %d;", resources.minProgramTexelOffset);
 8424|      0|            s.append(builtInConstant);
 8425|       |
 8426|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxProgramTexelOffset = %d;", resources.maxProgramTexelOffset);
 8427|      0|            s.append(builtInConstant);
 8428|      0|        }
 8429|       |
 8430|     45|        if (version >= 310) {
  ------------------
  |  Branch (8430:13): [True: 0, False: 45]
  ------------------
 8431|       |            // geometry
 8432|       |
 8433|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryInputComponents = %d;", resources.maxGeometryInputComponents);
 8434|      0|            s.append(builtInConstant);
 8435|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputComponents = %d;", resources.maxGeometryOutputComponents);
 8436|      0|            s.append(builtInConstant);
 8437|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryImageUniforms = %d;", resources.maxGeometryImageUniforms);
 8438|      0|            s.append(builtInConstant);
 8439|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTextureImageUnits = %d;", resources.maxGeometryTextureImageUnits);
 8440|      0|            s.append(builtInConstant);
 8441|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputVertices = %d;", resources.maxGeometryOutputVertices);
 8442|      0|            s.append(builtInConstant);
 8443|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTotalOutputComponents = %d;", resources.maxGeometryTotalOutputComponents);
 8444|      0|            s.append(builtInConstant);
 8445|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryUniformComponents = %d;", resources.maxGeometryUniformComponents);
 8446|      0|            s.append(builtInConstant);
 8447|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounters = %d;", resources.maxGeometryAtomicCounters);
 8448|      0|            s.append(builtInConstant);
 8449|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounterBuffers = %d;", resources.maxGeometryAtomicCounterBuffers);
 8450|      0|            s.append(builtInConstant);
 8451|       |
 8452|       |            // tessellation
 8453|       |
 8454|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlInputComponents = %d;", resources.maxTessControlInputComponents);
 8455|      0|            s.append(builtInConstant);
 8456|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlOutputComponents = %d;", resources.maxTessControlOutputComponents);
 8457|      0|            s.append(builtInConstant);
 8458|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTextureImageUnits = %d;", resources.maxTessControlTextureImageUnits);
 8459|      0|            s.append(builtInConstant);
 8460|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlUniformComponents = %d;", resources.maxTessControlUniformComponents);
 8461|      0|            s.append(builtInConstant);
 8462|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTotalOutputComponents = %d;", resources.maxTessControlTotalOutputComponents);
 8463|      0|            s.append(builtInConstant);
 8464|       |
 8465|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationInputComponents = %d;", resources.maxTessEvaluationInputComponents);
 8466|      0|            s.append(builtInConstant);
 8467|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationOutputComponents = %d;", resources.maxTessEvaluationOutputComponents);
 8468|      0|            s.append(builtInConstant);
 8469|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationTextureImageUnits = %d;", resources.maxTessEvaluationTextureImageUnits);
 8470|      0|            s.append(builtInConstant);
 8471|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationUniformComponents = %d;", resources.maxTessEvaluationUniformComponents);
 8472|      0|            s.append(builtInConstant);
 8473|       |
 8474|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessPatchComponents = %d;", resources.maxTessPatchComponents);
 8475|      0|            s.append(builtInConstant);
 8476|       |
 8477|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxPatchVertices = %d;", resources.maxPatchVertices);
 8478|      0|            s.append(builtInConstant);
 8479|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessGenLevel = %d;", resources.maxTessGenLevel);
 8480|      0|            s.append(builtInConstant);
 8481|       |
 8482|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxPatchVertices
 8483|      0|            if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (8483:17): [True: 0, False: 0]
  |  Branch (8483:51): [True: 0, False: 0]
  ------------------
 8484|      0|                s.append(
 8485|      0|                    "in gl_PerVertex {"
 8486|      0|                        "highp vec4 gl_Position;"
 8487|      0|                        "highp float gl_PointSize;"
 8488|      0|                        "highp vec4 gl_SecondaryPositionNV;"  // GL_NV_stereo_view_rendering
 8489|      0|                        "highp vec4 gl_PositionPerViewNV[];"  // GL_NVX_multiview_per_view_attributes
 8490|      0|                    "} gl_in[gl_MaxPatchVertices];"
 8491|      0|                    "\n");
 8492|      0|            }
 8493|      0|        }
 8494|       |
 8495|     45|        if (version >= 320) {
  ------------------
  |  Branch (8495:13): [True: 0, False: 45]
  ------------------
 8496|       |            // tessellation
 8497|       |
 8498|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlImageUniforms = %d;", resources.maxTessControlImageUniforms);
 8499|      0|            s.append(builtInConstant);
 8500|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationImageUniforms = %d;", resources.maxTessEvaluationImageUniforms);
 8501|      0|            s.append(builtInConstant);
 8502|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounters = %d;", resources.maxTessControlAtomicCounters);
 8503|      0|            s.append(builtInConstant);
 8504|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounters = %d;", resources.maxTessEvaluationAtomicCounters);
 8505|      0|            s.append(builtInConstant);
 8506|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounterBuffers = %d;", resources.maxTessControlAtomicCounterBuffers);
 8507|      0|            s.append(builtInConstant);
 8508|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounterBuffers = %d;", resources.maxTessEvaluationAtomicCounterBuffers);
 8509|      0|            s.append(builtInConstant);
 8510|      0|        }
 8511|       |
 8512|     45|        if (version >= 100) {
  ------------------
  |  Branch (8512:13): [True: 45, False: 0]
  ------------------
 8513|       |            // GL_EXT_blend_func_extended
 8514|     45|            snprintf(builtInConstant, maxSize, "const mediump int gl_MaxDualSourceDrawBuffersEXT = %d;", resources.maxDualSourceDrawBuffersEXT);
 8515|     45|            s.append(builtInConstant);
 8516|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxDualSourceDrawBuffersEXT
 8517|     45|            if (language == EShLangFragment) {
  ------------------
  |  Branch (8517:17): [True: 0, False: 45]
  ------------------
 8518|      0|                s.append(
 8519|      0|                    "mediump vec4 gl_SecondaryFragColorEXT;"
 8520|      0|                    "mediump vec4 gl_SecondaryFragDataEXT[gl_MaxDualSourceDrawBuffersEXT];"
 8521|      0|                    "\n");
 8522|      0|            }
 8523|     45|        }
 8524|     45|    } else {
 8525|       |        // non-ES profile
 8526|       |
 8527|      2|        if (version > 400) {
  ------------------
  |  Branch (8527:13): [True: 2, False: 0]
  ------------------
 8528|      2|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexUniformVectors = %d;", resources.maxVertexUniformVectors);
 8529|      2|            s.append(builtInConstant);
 8530|       |
 8531|      2|            snprintf(builtInConstant, maxSize, "const int  gl_MaxFragmentUniformVectors = %d;", resources.maxFragmentUniformVectors);
 8532|      2|            s.append(builtInConstant);
 8533|       |
 8534|      2|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVaryingVectors = %d;", resources.maxVaryingVectors);
 8535|      2|            s.append(builtInConstant);
 8536|      2|        }
 8537|       |
 8538|      2|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexAttribs = %d;", resources.maxVertexAttribs);
 8539|      2|        s.append(builtInConstant);
 8540|       |
 8541|      2|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexTextureImageUnits = %d;", resources.maxVertexTextureImageUnits);
 8542|      2|        s.append(builtInConstant);
 8543|       |
 8544|      2|        snprintf(builtInConstant, maxSize, "const int  gl_MaxCombinedTextureImageUnits = %d;", resources.maxCombinedTextureImageUnits);
 8545|      2|        s.append(builtInConstant);
 8546|       |
 8547|      2|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureImageUnits = %d;", resources.maxTextureImageUnits);
 8548|      2|        s.append(builtInConstant);
 8549|       |
 8550|      2|        snprintf(builtInConstant, maxSize, "const int  gl_MaxDrawBuffers = %d;", resources.maxDrawBuffers);
 8551|      2|        s.append(builtInConstant);
 8552|       |
 8553|      2|        snprintf(builtInConstant, maxSize, "const int  gl_MaxLights = %d;", resources.maxLights);
 8554|      2|        s.append(builtInConstant);
 8555|       |
 8556|      2|        snprintf(builtInConstant, maxSize, "const int  gl_MaxClipPlanes = %d;", resources.maxClipPlanes);
 8557|      2|        s.append(builtInConstant);
 8558|       |
 8559|      2|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureUnits = %d;", resources.maxTextureUnits);
 8560|      2|        s.append(builtInConstant);
 8561|       |
 8562|      2|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureCoords = %d;", resources.maxTextureCoords);
 8563|      2|        s.append(builtInConstant);
 8564|       |
 8565|      2|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexUniformComponents = %d;", resources.maxVertexUniformComponents);
 8566|      2|        s.append(builtInConstant);
 8567|       |
 8568|       |        // Moved from just being deprecated into compatibility profile only as of 4.20
 8569|      2|        if (version < 420 || profile == ECompatibilityProfile) {
  ------------------
  |  Branch (8569:13): [True: 0, False: 2]
  |  Branch (8569:30): [True: 0, False: 2]
  ------------------
 8570|      0|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVaryingFloats = %d;", resources.maxVaryingFloats);
 8571|      0|            s.append(builtInConstant);
 8572|      0|        }
 8573|       |
 8574|      2|        snprintf(builtInConstant, maxSize, "const int  gl_MaxFragmentUniformComponents = %d;", resources.maxFragmentUniformComponents);
 8575|      2|        s.append(builtInConstant);
 8576|       |
 8577|      2|        if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (8577:13): [True: 2, False: 0]
  |  Branch (8577:36): [True: 0, False: 2]
  ------------------
 8578|       |            //
 8579|       |            // OpenGL'uniform' state.  Page numbers are in reference to version
 8580|       |            // 1.4 of the OpenGL specification.
 8581|       |            //
 8582|       |
 8583|       |            //
 8584|       |            // Matrix state. p. 31, 32, 37, 39, 40.
 8585|       |            //
 8586|      0|            s.append("uniform mat4  gl_TextureMatrix[gl_MaxTextureCoords];"
 8587|       |
 8588|       |            //
 8589|       |            // Derived matrix state that provides inverse and transposed versions
 8590|       |            // of the matrices above.
 8591|       |            //
 8592|      0|                        "uniform mat4  gl_TextureMatrixInverse[gl_MaxTextureCoords];"
 8593|       |
 8594|      0|                        "uniform mat4  gl_TextureMatrixTranspose[gl_MaxTextureCoords];"
 8595|       |
 8596|      0|                        "uniform mat4  gl_TextureMatrixInverseTranspose[gl_MaxTextureCoords];"
 8597|       |
 8598|       |            //
 8599|       |            // Clip planes p. 42.
 8600|       |            //
 8601|      0|                        "uniform vec4  gl_ClipPlane[gl_MaxClipPlanes];"
 8602|       |
 8603|       |            //
 8604|       |            // Light State p 50, 53, 55.
 8605|       |            //
 8606|      0|                        "uniform gl_LightSourceParameters  gl_LightSource[gl_MaxLights];"
 8607|       |
 8608|       |            //
 8609|       |            // Derived state from products of light.
 8610|       |            //
 8611|      0|                        "uniform gl_LightProducts gl_FrontLightProduct[gl_MaxLights];"
 8612|      0|                        "uniform gl_LightProducts gl_BackLightProduct[gl_MaxLights];"
 8613|       |
 8614|       |            //
 8615|       |            // Texture Environment and Generation, p. 152, p. 40-42.
 8616|       |            //
 8617|      0|                        "uniform vec4  gl_TextureEnvColor[gl_MaxTextureImageUnits];"
 8618|      0|                        "uniform vec4  gl_EyePlaneS[gl_MaxTextureCoords];"
 8619|      0|                        "uniform vec4  gl_EyePlaneT[gl_MaxTextureCoords];"
 8620|      0|                        "uniform vec4  gl_EyePlaneR[gl_MaxTextureCoords];"
 8621|      0|                        "uniform vec4  gl_EyePlaneQ[gl_MaxTextureCoords];"
 8622|      0|                        "uniform vec4  gl_ObjectPlaneS[gl_MaxTextureCoords];"
 8623|      0|                        "uniform vec4  gl_ObjectPlaneT[gl_MaxTextureCoords];"
 8624|      0|                        "uniform vec4  gl_ObjectPlaneR[gl_MaxTextureCoords];"
 8625|      0|                        "uniform vec4  gl_ObjectPlaneQ[gl_MaxTextureCoords];");
 8626|      0|        }
 8627|       |
 8628|      2|        if (version >= 130) {
  ------------------
  |  Branch (8628:13): [True: 2, False: 0]
  ------------------
 8629|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxClipDistances = %d;", resources.maxClipDistances);
 8630|      2|            s.append(builtInConstant);
 8631|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxVaryingComponents = %d;", resources.maxVaryingComponents);
 8632|      2|            s.append(builtInConstant);
 8633|       |
 8634|       |            // GL_ARB_shading_language_420pack
 8635|      2|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MinProgramTexelOffset = %d;", resources.minProgramTexelOffset);
 8636|      2|            s.append(builtInConstant);
 8637|      2|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxProgramTexelOffset = %d;", resources.maxProgramTexelOffset);
 8638|      2|            s.append(builtInConstant);
 8639|      2|        }
 8640|       |
 8641|       |        // geometry
 8642|      2|        if (version >= 150) {
  ------------------
  |  Branch (8642:13): [True: 2, False: 0]
  ------------------
 8643|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryInputComponents = %d;", resources.maxGeometryInputComponents);
 8644|      2|            s.append(builtInConstant);
 8645|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputComponents = %d;", resources.maxGeometryOutputComponents);
 8646|      2|            s.append(builtInConstant);
 8647|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTextureImageUnits = %d;", resources.maxGeometryTextureImageUnits);
 8648|      2|            s.append(builtInConstant);
 8649|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputVertices = %d;", resources.maxGeometryOutputVertices);
 8650|      2|            s.append(builtInConstant);
 8651|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTotalOutputComponents = %d;", resources.maxGeometryTotalOutputComponents);
 8652|      2|            s.append(builtInConstant);
 8653|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryUniformComponents = %d;", resources.maxGeometryUniformComponents);
 8654|      2|            s.append(builtInConstant);
 8655|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryVaryingComponents = %d;", resources.maxGeometryVaryingComponents);
 8656|      2|            s.append(builtInConstant);
 8657|       |
 8658|      2|        }
 8659|       |
 8660|      2|        if (version >= 150) {
  ------------------
  |  Branch (8660:13): [True: 2, False: 0]
  ------------------
 8661|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxVertexOutputComponents = %d;", resources.maxVertexOutputComponents);
 8662|      2|            s.append(builtInConstant);
 8663|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentInputComponents = %d;", resources.maxFragmentInputComponents);
 8664|      2|            s.append(builtInConstant);
 8665|      2|        }
 8666|       |
 8667|       |        // tessellation
 8668|      2|        if (version >= 150) {
  ------------------
  |  Branch (8668:13): [True: 2, False: 0]
  ------------------
 8669|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlInputComponents = %d;", resources.maxTessControlInputComponents);
 8670|      2|            s.append(builtInConstant);
 8671|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlOutputComponents = %d;", resources.maxTessControlOutputComponents);
 8672|      2|            s.append(builtInConstant);
 8673|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTextureImageUnits = %d;", resources.maxTessControlTextureImageUnits);
 8674|      2|            s.append(builtInConstant);
 8675|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlUniformComponents = %d;", resources.maxTessControlUniformComponents);
 8676|      2|            s.append(builtInConstant);
 8677|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTotalOutputComponents = %d;", resources.maxTessControlTotalOutputComponents);
 8678|      2|            s.append(builtInConstant);
 8679|       |
 8680|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationInputComponents = %d;", resources.maxTessEvaluationInputComponents);
 8681|      2|            s.append(builtInConstant);
 8682|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationOutputComponents = %d;", resources.maxTessEvaluationOutputComponents);
 8683|      2|            s.append(builtInConstant);
 8684|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationTextureImageUnits = %d;", resources.maxTessEvaluationTextureImageUnits);
 8685|      2|            s.append(builtInConstant);
 8686|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationUniformComponents = %d;", resources.maxTessEvaluationUniformComponents);
 8687|      2|            s.append(builtInConstant);
 8688|       |
 8689|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessPatchComponents = %d;", resources.maxTessPatchComponents);
 8690|      2|            s.append(builtInConstant);
 8691|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessGenLevel = %d;", resources.maxTessGenLevel);
 8692|      2|            s.append(builtInConstant);
 8693|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxPatchVertices = %d;", resources.maxPatchVertices);
 8694|      2|            s.append(builtInConstant);
 8695|       |
 8696|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxPatchVertices
 8697|      2|            if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (8697:17): [True: 0, False: 2]
  |  Branch (8697:51): [True: 0, False: 2]
  ------------------
 8698|      0|                s.append(
 8699|      0|                    "in gl_PerVertex {"
 8700|      0|                        "vec4 gl_Position;"
 8701|      0|                        "float gl_PointSize;"
 8702|      0|                        "float gl_ClipDistance[];"
 8703|      0|                    );
 8704|      0|                if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (8704:21): [True: 0, False: 0]
  ------------------
 8705|      0|                    s.append(
 8706|      0|                        "vec4 gl_ClipVertex;"
 8707|      0|                        "vec4 gl_FrontColor;"
 8708|      0|                        "vec4 gl_BackColor;"
 8709|      0|                        "vec4 gl_FrontSecondaryColor;"
 8710|      0|                        "vec4 gl_BackSecondaryColor;"
 8711|      0|                        "vec4 gl_TexCoord[];"
 8712|      0|                        "float gl_FogFragCoord;"
 8713|      0|                        );
 8714|      0|                if (profile != EEsProfile && version >= 450)
  ------------------
  |  Branch (8714:21): [True: 0, False: 0]
  |  Branch (8714:46): [True: 0, False: 0]
  ------------------
 8715|      0|                    s.append(
 8716|      0|                        "float gl_CullDistance[];"
 8717|      0|                        "vec4 gl_SecondaryPositionNV;"  // GL_NV_stereo_view_rendering
 8718|      0|                        "vec4 gl_PositionPerViewNV[];"  // GL_NVX_multiview_per_view_attributes
 8719|      0|                       );
 8720|      0|                s.append(
 8721|      0|                    "} gl_in[gl_MaxPatchVertices];"
 8722|      0|                    "\n");
 8723|      0|            }
 8724|      2|        }
 8725|       |
 8726|      2|        if (version >= 150) {
  ------------------
  |  Branch (8726:13): [True: 2, False: 0]
  ------------------
 8727|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxViewports = %d;", resources.maxViewports);
 8728|      2|            s.append(builtInConstant);
 8729|      2|        }
 8730|       |
 8731|       |        // images
 8732|      2|        if (version >= 130) {
  ------------------
  |  Branch (8732:13): [True: 2, False: 0]
  ------------------
 8733|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedImageUnitsAndFragmentOutputs = %d;", resources.maxCombinedImageUnitsAndFragmentOutputs);
 8734|      2|            s.append(builtInConstant);
 8735|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxImageSamples = %d;", resources.maxImageSamples);
 8736|      2|            s.append(builtInConstant);
 8737|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlImageUniforms = %d;", resources.maxTessControlImageUniforms);
 8738|      2|            s.append(builtInConstant);
 8739|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationImageUniforms = %d;", resources.maxTessEvaluationImageUniforms);
 8740|      2|            s.append(builtInConstant);
 8741|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryImageUniforms = %d;", resources.maxGeometryImageUniforms);
 8742|      2|            s.append(builtInConstant);
 8743|      2|        }
 8744|       |
 8745|       |        // enhanced layouts
 8746|      2|        if (version >= 430) {
  ------------------
  |  Branch (8746:13): [True: 2, False: 0]
  ------------------
 8747|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTransformFeedbackBuffers = %d;", resources.maxTransformFeedbackBuffers);
 8748|      2|            s.append(builtInConstant);
 8749|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTransformFeedbackInterleavedComponents = %d;", resources.maxTransformFeedbackInterleavedComponents);
 8750|      2|            s.append(builtInConstant);
 8751|      2|        }
 8752|      2|    }
 8753|       |
 8754|       |    // compute
 8755|     47|    if ((profile == EEsProfile && version >= 310) || (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8755:10): [True: 45, False: 2]
  |  Branch (8755:35): [True: 0, False: 45]
  |  Branch (8755:55): [True: 2, False: 45]
  |  Branch (8755:80): [True: 2, False: 0]
  ------------------
 8756|      2|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxComputeWorkGroupCount = ivec3(%d,%d,%d);", resources.maxComputeWorkGroupCountX,
 8757|      2|                                                                                                         resources.maxComputeWorkGroupCountY,
 8758|      2|                                                                                                         resources.maxComputeWorkGroupCountZ);
 8759|      2|        s.append(builtInConstant);
 8760|      2|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxComputeWorkGroupSize = ivec3(%d,%d,%d);", resources.maxComputeWorkGroupSizeX,
 8761|      2|                                                                                                        resources.maxComputeWorkGroupSizeY,
 8762|      2|                                                                                                        resources.maxComputeWorkGroupSizeZ);
 8763|      2|        s.append(builtInConstant);
 8764|       |
 8765|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeUniformComponents = %d;", resources.maxComputeUniformComponents);
 8766|      2|        s.append(builtInConstant);
 8767|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeTextureImageUnits = %d;", resources.maxComputeTextureImageUnits);
 8768|      2|        s.append(builtInConstant);
 8769|       |
 8770|       |        // GL_ARM_tensors operands.
 8771|      2|        snprintf(builtInConstant, maxSize, "const uint gl_TensorOperandsNonTemporalARM = 0x1U;");
 8772|      2|        s.append(builtInConstant);
 8773|      2|        snprintf(builtInConstant, maxSize, "const uint gl_TensorOperandsOutOfBoundsValueARM = 0x2U;");
 8774|      2|        s.append(builtInConstant);
 8775|       |
 8776|      2|        s.append("\n");
 8777|      2|    }
 8778|       |
 8779|       |    // images (some in compute below)
 8780|     47|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (8780:10): [True: 45, False: 2]
  |  Branch (8780:35): [True: 0, False: 45]
  ------------------
 8781|     47|        (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (8781:10): [True: 2, False: 45]
  |  Branch (8781:35): [True: 2, False: 0]
  ------------------
 8782|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxImageUnits = %d;", resources.maxImageUnits);
 8783|      2|        s.append(builtInConstant);
 8784|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedShaderOutputResources = %d;", resources.maxCombinedShaderOutputResources);
 8785|      2|        s.append(builtInConstant);
 8786|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexImageUniforms = %d;", resources.maxVertexImageUniforms);
 8787|      2|        s.append(builtInConstant);
 8788|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentImageUniforms = %d;", resources.maxFragmentImageUniforms);
 8789|      2|        s.append(builtInConstant);
 8790|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedImageUniforms = %d;", resources.maxCombinedImageUniforms);
 8791|      2|        s.append(builtInConstant);
 8792|      2|    }
 8793|       |
 8794|       |    // compute
 8795|     47|    if ((profile == EEsProfile && version >= 310) || (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8795:10): [True: 45, False: 2]
  |  Branch (8795:35): [True: 0, False: 45]
  |  Branch (8795:55): [True: 2, False: 45]
  |  Branch (8795:80): [True: 2, False: 0]
  ------------------
 8796|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeImageUniforms = %d;", resources.maxComputeImageUniforms);
 8797|      2|        s.append(builtInConstant);
 8798|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeAtomicCounters = %d;", resources.maxComputeAtomicCounters);
 8799|      2|        s.append(builtInConstant);
 8800|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeAtomicCounterBuffers = %d;", resources.maxComputeAtomicCounterBuffers);
 8801|      2|        s.append(builtInConstant);
 8802|       |
 8803|      2|        s.append("\n");
 8804|      2|    }
 8805|       |
 8806|       |    // atomic counters (some in compute below)
 8807|     47|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (8807:10): [True: 45, False: 2]
  |  Branch (8807:35): [True: 0, False: 45]
  ------------------
 8808|     47|        (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8808:10): [True: 2, False: 45]
  |  Branch (8808:35): [True: 2, False: 0]
  ------------------
 8809|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexAtomicCounters = %d;", resources.               maxVertexAtomicCounters);
 8810|      2|        s.append(builtInConstant);
 8811|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentAtomicCounters = %d;", resources.             maxFragmentAtomicCounters);
 8812|      2|        s.append(builtInConstant);
 8813|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedAtomicCounters = %d;", resources.             maxCombinedAtomicCounters);
 8814|      2|        s.append(builtInConstant);
 8815|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxAtomicCounterBindings = %d;", resources.              maxAtomicCounterBindings);
 8816|      2|        s.append(builtInConstant);
 8817|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexAtomicCounterBuffers = %d;", resources.         maxVertexAtomicCounterBuffers);
 8818|      2|        s.append(builtInConstant);
 8819|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentAtomicCounterBuffers = %d;", resources.       maxFragmentAtomicCounterBuffers);
 8820|      2|        s.append(builtInConstant);
 8821|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedAtomicCounterBuffers = %d;", resources.       maxCombinedAtomicCounterBuffers);
 8822|      2|        s.append(builtInConstant);
 8823|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxAtomicCounterBufferSize = %d;", resources.            maxAtomicCounterBufferSize);
 8824|      2|        s.append(builtInConstant);
 8825|      2|    }
 8826|     47|    if (profile != EEsProfile && version >= 420) {
  ------------------
  |  Branch (8826:9): [True: 2, False: 45]
  |  Branch (8826:34): [True: 2, False: 0]
  ------------------
 8827|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounters = %d;", resources.          maxTessControlAtomicCounters);
 8828|      2|        s.append(builtInConstant);
 8829|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounters = %d;", resources.       maxTessEvaluationAtomicCounters);
 8830|      2|        s.append(builtInConstant);
 8831|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounters = %d;", resources.             maxGeometryAtomicCounters);
 8832|      2|        s.append(builtInConstant);
 8833|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounterBuffers = %d;", resources.    maxTessControlAtomicCounterBuffers);
 8834|      2|        s.append(builtInConstant);
 8835|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounterBuffers = %d;", resources. maxTessEvaluationAtomicCounterBuffers);
 8836|      2|        s.append(builtInConstant);
 8837|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounterBuffers = %d;", resources.       maxGeometryAtomicCounterBuffers);
 8838|      2|        s.append(builtInConstant);
 8839|       |
 8840|      2|        s.append("\n");
 8841|      2|    }
 8842|       |
 8843|       |    // GL_ARB_cull_distance
 8844|     47|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (8844:9): [True: 2, False: 45]
  |  Branch (8844:34): [True: 2, False: 0]
  ------------------
 8845|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxCullDistances = %d;",                resources.maxCullDistances);
 8846|      2|        s.append(builtInConstant);
 8847|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedClipAndCullDistances = %d;", resources.maxCombinedClipAndCullDistances);
 8848|      2|        s.append(builtInConstant);
 8849|      2|    }
 8850|       |
 8851|       |    // GL_ARB_ES3_1_compatibility
 8852|     47|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (8852:10): [True: 2, False: 45]
  |  Branch (8852:35): [True: 2, False: 0]
  ------------------
 8853|     45|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (8853:10): [True: 45, False: 0]
  |  Branch (8853:35): [True: 0, False: 45]
  ------------------
 8854|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxSamples = %d;", resources.maxSamples);
 8855|      2|        s.append(builtInConstant);
 8856|      2|    }
 8857|       |
 8858|       |    // SPV_NV_mesh_shader
 8859|     47|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (8859:10): [True: 2, False: 45]
  |  Branch (8859:35): [True: 2, False: 0]
  |  Branch (8859:55): [True: 45, False: 0]
  |  Branch (8859:80): [True: 0, False: 45]
  ------------------
 8860|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshOutputVerticesNV = %d;", resources.maxMeshOutputVerticesNV);
 8861|      2|        s.append(builtInConstant);
 8862|       |
 8863|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshOutputPrimitivesNV = %d;", resources.maxMeshOutputPrimitivesNV);
 8864|      2|        s.append(builtInConstant);
 8865|       |
 8866|      2|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxMeshWorkGroupSizeNV = ivec3(%d,%d,%d);", resources.maxMeshWorkGroupSizeX_NV,
 8867|      2|                                                                                                       resources.maxMeshWorkGroupSizeY_NV,
 8868|      2|                                                                                                       resources.maxMeshWorkGroupSizeZ_NV);
 8869|      2|        s.append(builtInConstant);
 8870|      2|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxTaskWorkGroupSizeNV = ivec3(%d,%d,%d);", resources.maxTaskWorkGroupSizeX_NV,
 8871|      2|                                                                                                       resources.maxTaskWorkGroupSizeY_NV,
 8872|      2|                                                                                                       resources.maxTaskWorkGroupSizeZ_NV);
 8873|      2|        s.append(builtInConstant);
 8874|       |
 8875|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshViewCountNV = %d;", resources.maxMeshViewCountNV);
 8876|      2|        s.append(builtInConstant);
 8877|       |
 8878|      2|        s.append("\n");
 8879|      2|    }
 8880|       |
 8881|     47|    s.append("\n");
 8882|     47|}
_ZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableE:
 8981|    147|{
 8982|       |    //
 8983|       |    // Tag built-in variables and functions with additional qualifier and extension information
 8984|       |    // that cannot be declared with the text strings.
 8985|       |    //
 8986|       |
 8987|       |    // N.B.: a symbol should only be tagged once, and this function is called multiple times, once
 8988|       |    // per stage that's used for this profile.  So
 8989|       |    //  - generally, stick common ones in the fragment stage to ensure they are tagged exactly once
 8990|       |    //  - for ES, which has different precisions for different stages, the coarsest-grained tagging
 8991|       |    //    for a built-in used in many stages needs to be once for the fragment stage and once for
 8992|       |    //    the vertex stage
 8993|       |
 8994|    147|    switch(language) {
 8995|     52|    case EShLangVertex:
  ------------------
  |  Branch (8995:5): [True: 52, False: 95]
  ------------------
 8996|     52|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (8996:13): [True: 5, False: 47]
  ------------------
 8997|      5|            BuiltInVariable("gl_VertexIndex",   EbvVertexIndex,   symbolTable);
 8998|      5|            BuiltInVariable("gl_InstanceIndex", EbvInstanceIndex, symbolTable);
 8999|      5|        }
 9000|       |
 9001|     52|        if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (9001:13): [True: 47, False: 5]
  ------------------
 9002|     47|            SpecialQualifier("gl_VertexID",   EvqVertexId,   EbvVertexId,   symbolTable);
 9003|     47|            SpecialQualifier("gl_InstanceID", EvqInstanceId, EbvInstanceId, symbolTable);
 9004|     47|            if (version < 140)
  ------------------
  |  Branch (9004:17): [True: 45, False: 2]
  ------------------
 9005|     45|                symbolTable.setVariableExtensions("gl_InstanceID", 1, &E_GL_EXT_draw_instanced);
 9006|     47|        }
 9007|       |
 9008|     52|        if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (9008:13): [True: 5, False: 47]
  |  Branch (9008:38): [True: 0, False: 5]
  ------------------
 9009|       |            // treat these built-ins as aliases of VertexIndex and InstanceIndex
 9010|      0|            RetargetVariable("gl_InstanceID", "gl_InstanceIndex", symbolTable);
 9011|      0|            RetargetVariable("gl_VertexID", "gl_VertexIndex", symbolTable);
 9012|      0|        }
 9013|       |
 9014|     52|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9014:13): [True: 4, False: 48]
  ------------------
 9015|      4|            if (version >= 440) {
  ------------------
  |  Branch (9015:17): [True: 4, False: 0]
  ------------------
 9016|      4|                symbolTable.setVariableExtensions("gl_BaseVertexARB",   1, &E_GL_ARB_shader_draw_parameters);
 9017|      4|                symbolTable.setVariableExtensions("gl_BaseInstanceARB", 1, &E_GL_ARB_shader_draw_parameters);
 9018|      4|                symbolTable.setVariableExtensions("gl_DrawIDARB",       1, &E_GL_ARB_shader_draw_parameters);
 9019|      4|                BuiltInVariable("gl_BaseVertexARB",   EbvBaseVertex,   symbolTable);
 9020|      4|                BuiltInVariable("gl_BaseInstanceARB", EbvBaseInstance, symbolTable);
 9021|      4|                BuiltInVariable("gl_DrawIDARB",       EbvDrawId,       symbolTable);
 9022|      4|            }
 9023|      4|            if (version >= 460) {
  ------------------
  |  Branch (9023:17): [True: 0, False: 4]
  ------------------
 9024|      0|                BuiltInVariable("gl_BaseVertex",   EbvBaseVertex,   symbolTable);
 9025|      0|                BuiltInVariable("gl_BaseInstance", EbvBaseInstance, symbolTable);
 9026|      0|                BuiltInVariable("gl_DrawID",       EbvDrawId,       symbolTable);
 9027|      0|            }
 9028|      4|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
 9029|      4|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9030|      4|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
 9031|      4|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9032|      4|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9033|      4|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9034|      4|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9035|       |
 9036|      4|            symbolTable.setFunctionExtensions("ballotARB",              1, &E_GL_ARB_shader_ballot);
 9037|      4|            symbolTable.setFunctionExtensions("readInvocationARB",      1, &E_GL_ARB_shader_ballot);
 9038|      4|            symbolTable.setFunctionExtensions("readFirstInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9039|       |
 9040|      4|            if (version >= 430) {
  ------------------
  |  Branch (9040:17): [True: 4, False: 0]
  ------------------
 9041|      4|                symbolTable.setFunctionExtensions("anyInvocationARB",       1, &E_GL_ARB_shader_group_vote);
 9042|      4|                symbolTable.setFunctionExtensions("allInvocationsARB",      1, &E_GL_ARB_shader_group_vote);
 9043|      4|                symbolTable.setFunctionExtensions("allInvocationsEqualARB", 1, &E_GL_ARB_shader_group_vote);
 9044|      4|            }
 9045|      4|            if (version >= 150) {
  ------------------
  |  Branch (9045:17): [True: 4, False: 0]
  ------------------
 9046|      4|                symbolTable.setFunctionExtensions("anyThreadNV",       1, &E_GL_NV_gpu_shader5);
 9047|      4|                symbolTable.setFunctionExtensions("allThreadsNV",      1, &E_GL_NV_gpu_shader5);
 9048|      4|                symbolTable.setFunctionExtensions("allThreadsEqualNV", 1, &E_GL_NV_gpu_shader5);
 9049|      4|            }
 9050|      4|        }
 9051|       |
 9052|       |
 9053|     52|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9053:13): [True: 4, False: 48]
  ------------------
 9054|      4|            symbolTable.setFunctionExtensions("minInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9055|      4|            symbolTable.setFunctionExtensions("maxInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9056|      4|            symbolTable.setFunctionExtensions("addInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9057|      4|            symbolTable.setFunctionExtensions("minInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9058|      4|            symbolTable.setFunctionExtensions("maxInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9059|      4|            symbolTable.setFunctionExtensions("addInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9060|      4|            symbolTable.setFunctionExtensions("swizzleInvocationsAMD",            1, &E_GL_AMD_shader_ballot);
 9061|      4|            symbolTable.setFunctionExtensions("swizzleInvocationsWithPatternAMD", 1, &E_GL_AMD_shader_ballot);
 9062|      4|            symbolTable.setFunctionExtensions("writeInvocationAMD",               1, &E_GL_AMD_shader_ballot);
 9063|      4|            symbolTable.setFunctionExtensions("mbcntAMD",                         1, &E_GL_AMD_shader_ballot);
 9064|       |
 9065|      4|            symbolTable.setFunctionExtensions("minInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9066|      4|            symbolTable.setFunctionExtensions("maxInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9067|      4|            symbolTable.setFunctionExtensions("addInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9068|      4|            symbolTable.setFunctionExtensions("minInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9069|      4|            symbolTable.setFunctionExtensions("maxInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9070|      4|            symbolTable.setFunctionExtensions("addInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9071|      4|            symbolTable.setFunctionExtensions("minInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9072|      4|            symbolTable.setFunctionExtensions("maxInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9073|      4|            symbolTable.setFunctionExtensions("addInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9074|      4|            symbolTable.setFunctionExtensions("minInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9075|      4|            symbolTable.setFunctionExtensions("maxInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9076|      4|            symbolTable.setFunctionExtensions("addInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9077|      4|        }
 9078|       |
 9079|     52|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9079:13): [True: 4, False: 48]
  ------------------
 9080|      4|            symbolTable.setFunctionExtensions("min3", 1, &E_GL_AMD_shader_trinary_minmax);
 9081|      4|            symbolTable.setFunctionExtensions("max3", 1, &E_GL_AMD_shader_trinary_minmax);
 9082|      4|            symbolTable.setFunctionExtensions("mid3", 1, &E_GL_AMD_shader_trinary_minmax);
 9083|      4|        }
 9084|       |
 9085|     52|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9085:13): [True: 4, False: 48]
  ------------------
 9086|      4|            symbolTable.setVariableExtensions("gl_SIMDGroupSizeAMD", 1, &E_GL_AMD_gcn_shader);
 9087|      4|            SpecialQualifier("gl_SIMDGroupSizeAMD", EvqVaryingIn, EbvSubGroupSize, symbolTable);
 9088|       |
 9089|      4|            symbolTable.setFunctionExtensions("cubeFaceIndexAMD", 1, &E_GL_AMD_gcn_shader);
 9090|      4|            symbolTable.setFunctionExtensions("cubeFaceCoordAMD", 1, &E_GL_AMD_gcn_shader);
 9091|      4|            symbolTable.setFunctionExtensions("timeAMD",          1, &E_GL_AMD_gcn_shader);
 9092|      4|        }
 9093|       |
 9094|     52|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9094:13): [True: 4, False: 48]
  ------------------
 9095|      4|            symbolTable.setFunctionExtensions("fragmentMaskFetchAMD", 1, &E_GL_AMD_shader_fragment_mask);
 9096|      4|            symbolTable.setFunctionExtensions("fragmentFetchAMD",     1, &E_GL_AMD_shader_fragment_mask);
 9097|      4|        }
 9098|       |
 9099|     52|        symbolTable.setFunctionExtensions("countLeadingZeros",  1, &E_GL_INTEL_shader_integer_functions2);
 9100|     52|        symbolTable.setFunctionExtensions("countTrailingZeros", 1, &E_GL_INTEL_shader_integer_functions2);
 9101|     52|        symbolTable.setFunctionExtensions("absoluteDifference", 1, &E_GL_INTEL_shader_integer_functions2);
 9102|     52|        symbolTable.setFunctionExtensions("addSaturate",        1, &E_GL_INTEL_shader_integer_functions2);
 9103|     52|        symbolTable.setFunctionExtensions("subtractSaturate",   1, &E_GL_INTEL_shader_integer_functions2);
 9104|     52|        symbolTable.setFunctionExtensions("average",            1, &E_GL_INTEL_shader_integer_functions2);
 9105|     52|        symbolTable.setFunctionExtensions("averageRounded",     1, &E_GL_INTEL_shader_integer_functions2);
 9106|     52|        symbolTable.setFunctionExtensions("multiply32x16",      1, &E_GL_INTEL_shader_integer_functions2);
 9107|       |
 9108|     52|        symbolTable.setFunctionExtensions("textureFootprintNV",          1, &E_GL_NV_shader_texture_footprint);
 9109|     52|        symbolTable.setFunctionExtensions("textureFootprintClampNV",     1, &E_GL_NV_shader_texture_footprint);
 9110|     52|        symbolTable.setFunctionExtensions("textureFootprintLodNV",       1, &E_GL_NV_shader_texture_footprint);
 9111|     52|        symbolTable.setFunctionExtensions("textureFootprintGradNV",      1, &E_GL_NV_shader_texture_footprint);
 9112|     52|        symbolTable.setFunctionExtensions("textureFootprintGradClampNV", 1, &E_GL_NV_shader_texture_footprint);
 9113|       |        // Compatibility variables, vertex only
 9114|     52|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9114:13): [True: 52, False: 0]
  ------------------
 9115|     52|            BuiltInVariable("gl_Color",          EbvColor,          symbolTable);
 9116|     52|            BuiltInVariable("gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9117|     52|            BuiltInVariable("gl_Normal",         EbvNormal,         symbolTable);
 9118|     52|            BuiltInVariable("gl_Vertex",         EbvVertex,         symbolTable);
 9119|     52|            BuiltInVariable("gl_MultiTexCoord0", EbvMultiTexCoord0, symbolTable);
 9120|     52|            BuiltInVariable("gl_MultiTexCoord1", EbvMultiTexCoord1, symbolTable);
 9121|     52|            BuiltInVariable("gl_MultiTexCoord2", EbvMultiTexCoord2, symbolTable);
 9122|     52|            BuiltInVariable("gl_MultiTexCoord3", EbvMultiTexCoord3, symbolTable);
 9123|     52|            BuiltInVariable("gl_MultiTexCoord4", EbvMultiTexCoord4, symbolTable);
 9124|     52|            BuiltInVariable("gl_MultiTexCoord5", EbvMultiTexCoord5, symbolTable);
 9125|     52|            BuiltInVariable("gl_MultiTexCoord6", EbvMultiTexCoord6, symbolTable);
 9126|     52|            BuiltInVariable("gl_MultiTexCoord7", EbvMultiTexCoord7, symbolTable);
 9127|     52|            BuiltInVariable("gl_FogCoord",       EbvFogFragCoord,   symbolTable);
 9128|     52|        }
 9129|       |
 9130|     52|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9130:13): [True: 48, False: 4]
  ------------------
 9131|     48|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9131:17): [True: 48, False: 0]
  ------------------
 9132|     48|                symbolTable.setFunctionExtensions("texture2DGradEXT",     1, &E_GL_EXT_shader_texture_lod);
 9133|     48|                symbolTable.setFunctionExtensions("texture2DProjGradEXT", 1, &E_GL_EXT_shader_texture_lod);
 9134|     48|                symbolTable.setFunctionExtensions("textureCubeGradEXT",   1, &E_GL_EXT_shader_texture_lod);
 9135|     48|                if (version == 310)
  ------------------
  |  Branch (9135:21): [True: 0, False: 48]
  ------------------
 9136|      0|                    symbolTable.setFunctionExtensions("textureGatherOffsets", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9137|     48|            }
 9138|     48|            if (version == 310) {
  ------------------
  |  Branch (9138:17): [True: 0, False: 48]
  ------------------
 9139|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9140|     48|            } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (9140:24): [True: 0, False: 48]
  |  Branch (9140:49): [True: 0, False: 0]
  ------------------
 9141|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9142|      0|            }
 9143|     48|        }
 9144|       |
 9145|     52|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9145:13): [True: 48, False: 4]
  |  Branch (9145:38): [True: 48, False: 0]
  ------------------
 9146|     48|            symbolTable.setFunctionExtensions("imageAtomicAdd",      1, &E_GL_OES_shader_image_atomic);
 9147|     48|            symbolTable.setFunctionExtensions("imageAtomicMin",      1, &E_GL_OES_shader_image_atomic);
 9148|     48|            symbolTable.setFunctionExtensions("imageAtomicMax",      1, &E_GL_OES_shader_image_atomic);
 9149|     48|            symbolTable.setFunctionExtensions("imageAtomicAnd",      1, &E_GL_OES_shader_image_atomic);
 9150|     48|            symbolTable.setFunctionExtensions("imageAtomicOr",       1, &E_GL_OES_shader_image_atomic);
 9151|     48|            symbolTable.setFunctionExtensions("imageAtomicXor",      1, &E_GL_OES_shader_image_atomic);
 9152|     48|            symbolTable.setFunctionExtensions("imageAtomicExchange", 1, &E_GL_OES_shader_image_atomic);
 9153|     48|            symbolTable.setFunctionExtensions("imageAtomicCompSwap", 1, &E_GL_OES_shader_image_atomic);
 9154|     48|        }
 9155|       |
 9156|     52|        if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (9156:13): [True: 4, False: 48]
  ------------------
 9157|      4|            symbolTable.setVariableExtensions("gl_ViewID_OVR", Num_OVR_multiview_EXTs, OVR_multiview_EXTs);
 9158|      4|            BuiltInVariable("gl_ViewID_OVR", EbvViewIndex, symbolTable);
 9159|      4|        }
 9160|       |
 9161|     52|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9161:13): [True: 48, False: 4]
  ------------------
 9162|     48|            symbolTable.setFunctionExtensions("shadow2DEXT",        1, &E_GL_EXT_shadow_samplers);
 9163|     48|            symbolTable.setFunctionExtensions("shadow2DProjEXT",    1, &E_GL_EXT_shadow_samplers);
 9164|     48|        }
 9165|       |
 9166|       |        // E_GL_EXT_texture_array
 9167|     52|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (9167:13): [True: 4, False: 48]
  |  Branch (9167:38): [True: 4, False: 0]
  ------------------
 9168|      4|            symbolTable.setFunctionExtensions("texture1DArray", 1, &E_GL_EXT_texture_array);
 9169|      4|            symbolTable.setFunctionExtensions("texture2DArray", 1, &E_GL_EXT_texture_array);
 9170|      4|            symbolTable.setFunctionExtensions("shadow1DArray", 1, &E_GL_EXT_texture_array);
 9171|      4|            symbolTable.setFunctionExtensions("shadow2DArray", 1, &E_GL_EXT_texture_array);
 9172|       |
 9173|      4|            symbolTable.setFunctionExtensions("texture1DArrayLod", 1, &E_GL_EXT_texture_array);
 9174|      4|            symbolTable.setFunctionExtensions("texture2DArrayLod", 1, &E_GL_EXT_texture_array);
 9175|      4|            symbolTable.setFunctionExtensions("shadow1DArrayLod", 1, &E_GL_EXT_texture_array);
 9176|      4|        }
 9177|     52|        [[fallthrough]];
 9178|       |
 9179|     56|    case EShLangTessControl:
  ------------------
  |  Branch (9179:5): [True: 4, False: 143]
  ------------------
 9180|     56|        if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (9180:13): [True: 48, False: 8]
  |  Branch (9180:38): [True: 0, False: 48]
  ------------------
 9181|      0|            BuiltInVariable("gl_BoundingBoxEXT", EbvBoundingBox, symbolTable);
 9182|      0|            symbolTable.setVariableExtensions("gl_BoundingBoxEXT", 1,
 9183|      0|                                              &E_GL_EXT_primitive_bounding_box);
 9184|      0|            BuiltInVariable("gl_BoundingBoxOES", EbvBoundingBox, symbolTable);
 9185|      0|            symbolTable.setVariableExtensions("gl_BoundingBoxOES", 1,
 9186|      0|                                              &E_GL_OES_primitive_bounding_box);
 9187|       |
 9188|      0|            if (version >= 320) {
  ------------------
  |  Branch (9188:17): [True: 0, False: 0]
  ------------------
 9189|      0|                BuiltInVariable("gl_BoundingBox", EbvBoundingBox, symbolTable);
 9190|      0|            }
 9191|      0|        }
 9192|     56|        [[fallthrough]];
 9193|       |
 9194|     60|    case EShLangTessEvaluation:
  ------------------
  |  Branch (9194:5): [True: 4, False: 143]
  ------------------
 9195|     64|    case EShLangGeometry:
  ------------------
  |  Branch (9195:5): [True: 4, False: 143]
  ------------------
 9196|     64|        SpecialQualifier("gl_Position",   EvqPosition,   EbvPosition,   symbolTable);
 9197|     64|        SpecialQualifier("gl_PointSize",  EvqPointSize,  EbvPointSize,  symbolTable);
 9198|       |
 9199|     64|        BuiltInVariable("gl_in",  "gl_Position",     EbvPosition,     symbolTable);
 9200|     64|        BuiltInVariable("gl_in",  "gl_PointSize",    EbvPointSize,    symbolTable);
 9201|       |
 9202|     64|        BuiltInVariable("gl_out", "gl_Position",     EbvPosition,     symbolTable);
 9203|     64|        BuiltInVariable("gl_out", "gl_PointSize",    EbvPointSize,    symbolTable);
 9204|       |
 9205|     64|        SpecialQualifier("gl_ClipVertex", EvqClipVertex, EbvClipVertex, symbolTable);
 9206|       |
 9207|     64|        BuiltInVariable("gl_in",  "gl_ClipDistance", EbvClipDistance, symbolTable);
 9208|     64|        BuiltInVariable("gl_in",  "gl_CullDistance", EbvCullDistance, symbolTable);
 9209|       |
 9210|     64|        BuiltInVariable("gl_out", "gl_ClipDistance", EbvClipDistance, symbolTable);
 9211|     64|        BuiltInVariable("gl_out", "gl_CullDistance", EbvCullDistance, symbolTable);
 9212|       |
 9213|     64|        BuiltInVariable("gl_ClipDistance",    EbvClipDistance,   symbolTable);
 9214|     64|        BuiltInVariable("gl_CullDistance",    EbvCullDistance,   symbolTable);
 9215|     64|        BuiltInVariable("gl_PrimitiveIDIn",   EbvPrimitiveId,    symbolTable);
 9216|     64|        BuiltInVariable("gl_PrimitiveID",     EbvPrimitiveId,    symbolTable);
 9217|     64|        BuiltInVariable("gl_InvocationID",    EbvInvocationId,   symbolTable);
 9218|     64|        BuiltInVariable("gl_Layer",           EbvLayer,          symbolTable);
 9219|     64|        BuiltInVariable("gl_ViewportIndex",   EbvViewportIndex,  symbolTable);
 9220|       |
 9221|     64|        if (language != EShLangGeometry) {
  ------------------
  |  Branch (9221:13): [True: 60, False: 4]
  ------------------
 9222|     60|            symbolTable.setVariableExtensions("gl_Layer",         Num_viewportEXTs, viewportEXTs);
 9223|     60|            symbolTable.setVariableExtensions("gl_ViewportIndex", Num_viewportEXTs, viewportEXTs);
 9224|     60|        }
 9225|     64|        symbolTable.setVariableExtensions("gl_ViewportMask",            1, &E_GL_NV_viewport_array2);
 9226|     64|        symbolTable.setVariableExtensions("gl_SecondaryPositionNV",     1, &E_GL_NV_stereo_view_rendering);
 9227|     64|        symbolTable.setVariableExtensions("gl_SecondaryViewportMaskNV", 1, &E_GL_NV_stereo_view_rendering);
 9228|     64|        symbolTable.setVariableExtensions("gl_PositionPerViewNV",       1, &E_GL_NVX_multiview_per_view_attributes);
 9229|     64|        symbolTable.setVariableExtensions("gl_ViewportMaskPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9230|       |
 9231|     64|        if (profile != EEsProfile && language == EShLangGeometry && version < 400) {
  ------------------
  |  Branch (9231:13): [True: 16, False: 48]
  |  Branch (9231:38): [True: 4, False: 12]
  |  Branch (9231:69): [True: 0, False: 4]
  ------------------
 9232|      0|            symbolTable.setVariableExtensions("gl_InvocationID", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9233|      0|        }
 9234|     64|        BuiltInVariable("gl_ViewportMask",              EbvViewportMaskNV,          symbolTable);
 9235|     64|        BuiltInVariable("gl_SecondaryPositionNV",       EbvSecondaryPositionNV,     symbolTable);
 9236|     64|        BuiltInVariable("gl_SecondaryViewportMaskNV",   EbvSecondaryViewportMaskNV, symbolTable);
 9237|     64|        BuiltInVariable("gl_PositionPerViewNV",         EbvPositionPerViewNV,       symbolTable);
 9238|     64|        BuiltInVariable("gl_ViewportMaskPerViewNV",     EbvViewportMaskPerViewNV,   symbolTable);
 9239|       |
 9240|     64|        if (language == EShLangVertex || language == EShLangGeometry) {
  ------------------
  |  Branch (9240:13): [True: 52, False: 12]
  |  Branch (9240:42): [True: 4, False: 8]
  ------------------
 9241|     56|            symbolTable.setVariableExtensions("gl_in", "gl_SecondaryPositionNV", 1, &E_GL_NV_stereo_view_rendering);
 9242|     56|            symbolTable.setVariableExtensions("gl_in", "gl_PositionPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9243|       |
 9244|     56|            BuiltInVariable("gl_in", "gl_SecondaryPositionNV", EbvSecondaryPositionNV, symbolTable);
 9245|     56|            BuiltInVariable("gl_in", "gl_PositionPerViewNV",   EbvPositionPerViewNV,   symbolTable);
 9246|     56|        }
 9247|     64|        symbolTable.setVariableExtensions("gl_out", "gl_ViewportMask",            1, &E_GL_NV_viewport_array2);
 9248|     64|        symbolTable.setVariableExtensions("gl_out", "gl_SecondaryPositionNV",     1, &E_GL_NV_stereo_view_rendering);
 9249|     64|        symbolTable.setVariableExtensions("gl_out", "gl_SecondaryViewportMaskNV", 1, &E_GL_NV_stereo_view_rendering);
 9250|     64|        symbolTable.setVariableExtensions("gl_out", "gl_PositionPerViewNV",       1, &E_GL_NVX_multiview_per_view_attributes);
 9251|     64|        symbolTable.setVariableExtensions("gl_out", "gl_ViewportMaskPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9252|       |
 9253|     64|        BuiltInVariable("gl_out", "gl_ViewportMask",            EbvViewportMaskNV,          symbolTable);
 9254|     64|        BuiltInVariable("gl_out", "gl_SecondaryPositionNV",     EbvSecondaryPositionNV,     symbolTable);
 9255|     64|        BuiltInVariable("gl_out", "gl_SecondaryViewportMaskNV", EbvSecondaryViewportMaskNV, symbolTable);
 9256|     64|        BuiltInVariable("gl_out", "gl_PositionPerViewNV",       EbvPositionPerViewNV,       symbolTable);
 9257|     64|        BuiltInVariable("gl_out", "gl_ViewportMaskPerViewNV",   EbvViewportMaskPerViewNV,   symbolTable);
 9258|       |
 9259|     64|        BuiltInVariable("gl_PatchVerticesIn", EbvPatchVertices,  symbolTable);
 9260|     64|        BuiltInVariable("gl_TessLevelOuter",  EbvTessLevelOuter, symbolTable);
 9261|     64|        BuiltInVariable("gl_TessLevelInner",  EbvTessLevelInner, symbolTable);
 9262|     64|        BuiltInVariable("gl_TessCoord",       EbvTessCoord,      symbolTable);
 9263|       |
 9264|     64|        if (version < 410)
  ------------------
  |  Branch (9264:13): [True: 48, False: 16]
  ------------------
 9265|     48|            symbolTable.setVariableExtensions("gl_ViewportIndex", 1, &E_GL_ARB_viewport_array);
 9266|       |
 9267|       |        // Compatibility variables
 9268|       |
 9269|     64|        BuiltInVariable("gl_in", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9270|     64|        BuiltInVariable("gl_in", "gl_FrontColor",          EbvFrontColor,          symbolTable);
 9271|     64|        BuiltInVariable("gl_in", "gl_BackColor",           EbvBackColor,           symbolTable);
 9272|     64|        BuiltInVariable("gl_in", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9273|     64|        BuiltInVariable("gl_in", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9274|     64|        BuiltInVariable("gl_in", "gl_TexCoord",            EbvTexCoord,            symbolTable);
 9275|     64|        BuiltInVariable("gl_in", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9276|       |
 9277|     64|        BuiltInVariable("gl_out", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9278|     64|        BuiltInVariable("gl_out", "gl_FrontColor",          EbvFrontColor,          symbolTable);
 9279|     64|        BuiltInVariable("gl_out", "gl_BackColor",           EbvBackColor,           symbolTable);
 9280|     64|        BuiltInVariable("gl_out", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9281|     64|        BuiltInVariable("gl_out", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9282|     64|        BuiltInVariable("gl_out", "gl_TexCoord",            EbvTexCoord,            symbolTable);
 9283|     64|        BuiltInVariable("gl_out", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9284|       |
 9285|     64|        BuiltInVariable("gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9286|     64|        BuiltInVariable("gl_FrontColor",          EbvFrontColor,          symbolTable);
 9287|     64|        BuiltInVariable("gl_BackColor",           EbvBackColor,           symbolTable);
 9288|     64|        BuiltInVariable("gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9289|     64|        BuiltInVariable("gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9290|     64|        BuiltInVariable("gl_TexCoord",            EbvTexCoord,            symbolTable);
 9291|     64|        BuiltInVariable("gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9292|       |
 9293|       |        // gl_PointSize, when it needs to be tied to an extension, is always a member of a block.
 9294|       |        // (Sometimes with an instance name, sometimes anonymous).
 9295|     64|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9295:13): [True: 48, False: 16]
  ------------------
 9296|     48|            if (language == EShLangGeometry) {
  ------------------
  |  Branch (9296:17): [True: 0, False: 48]
  ------------------
 9297|      0|                symbolTable.setVariableExtensions("gl_PointSize", Num_AEP_geometry_point_size, AEP_geometry_point_size);
 9298|      0|                symbolTable.setVariableExtensions("gl_in", "gl_PointSize", Num_AEP_geometry_point_size, AEP_geometry_point_size);
 9299|     48|            } else if (language == EShLangTessEvaluation || language == EShLangTessControl) {
  ------------------
  |  Branch (9299:24): [True: 0, False: 48]
  |  Branch (9299:61): [True: 0, False: 48]
  ------------------
 9300|       |                // gl_in tessellation settings of gl_PointSize are in the context-dependent paths
 9301|      0|                symbolTable.setVariableExtensions("gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
 9302|      0|                symbolTable.setVariableExtensions("gl_out", "gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
 9303|      0|            }
 9304|     48|        }
 9305|       |
 9306|     64|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (9306:14): [True: 16, False: 48]
  |  Branch (9306:39): [True: 16, False: 0]
  ------------------
 9307|     48|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9307:14): [True: 48, False: 0]
  |  Branch (9307:39): [True: 0, False: 48]
  ------------------
 9308|     16|            symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
 9309|     16|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
 9310|     16|            symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
 9311|     16|            BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
 9312|     16|        }
 9313|       |
 9314|     64|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9314:13): [True: 16, False: 48]
  ------------------
 9315|     16|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
 9316|     16|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
 9317|     16|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
 9318|     16|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
 9319|     16|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
 9320|     16|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
 9321|       |
 9322|     16|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9322:17): [True: 8, False: 8]
  ------------------
 9323|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
 9324|      8|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
 9325|      8|                if (language == EShLangFragment)
  ------------------
  |  Branch (9325:21): [True: 0, False: 8]
  ------------------
 9326|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
 9327|      8|            }
 9328|      8|            else
 9329|      8|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
 9330|     16|        }
 9331|       |
 9332|       |        // GL_ARB_gpu_shader5/GL_NV_gpu_shader5
 9333|     64|        if (profile != EEsProfile && version < 400 && language == EShLangGeometry) {
  ------------------
  |  Branch (9333:13): [True: 16, False: 48]
  |  Branch (9333:38): [True: 0, False: 16]
  |  Branch (9333:55): [True: 0, False: 0]
  ------------------
 9334|      0|            symbolTable.setFunctionExtensions("EmitStreamVertex", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9335|      0|            symbolTable.setFunctionExtensions("EndStreamPrimitive", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9336|      0|        }
 9337|       |        // GL_KHR_shader_subgroup
 9338|     64|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9338:14): [True: 48, False: 16]
  |  Branch (9338:39): [True: 0, False: 48]
  ------------------
 9339|     64|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (9339:14): [True: 16, False: 48]
  |  Branch (9339:39): [True: 16, False: 0]
  ------------------
 9340|     16|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
 9341|     16|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
 9342|     16|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9343|     16|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9344|     16|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9345|     16|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9346|     16|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9347|       |
 9348|     16|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
 9349|     16|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
 9350|     16|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
 9351|     16|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
 9352|     16|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
 9353|     16|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
 9354|     16|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
 9355|       |
 9356|       |            // GL_NV_shader_sm_builtins
 9357|     16|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
 9358|     16|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
 9359|     16|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
 9360|     16|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
 9361|     16|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
 9362|     16|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
 9363|     16|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
 9364|     16|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
 9365|       |
 9366|       |            // GL_ARM_shader_core_builtins
 9367|     16|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
 9368|     16|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9369|     16|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9370|     16|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9371|     16|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9372|       |
 9373|     16|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
 9374|     16|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
 9375|     16|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
 9376|     16|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
 9377|     16|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
 9378|     16|        }
 9379|       |
 9380|     64|        if (language == EShLangGeometry || language == EShLangVertex) {
  ------------------
  |  Branch (9380:13): [True: 4, False: 60]
  |  Branch (9380:44): [True: 52, False: 8]
  ------------------
 9381|     56|            if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9381:18): [True: 48, False: 8]
  |  Branch (9381:43): [True: 0, False: 48]
  ------------------
 9382|     56|                (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (9382:18): [True: 8, False: 48]
  |  Branch (9382:43): [True: 8, False: 0]
  ------------------
 9383|      8|                symbolTable.setVariableExtensions("gl_PrimitiveShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9384|      8|                BuiltInVariable("gl_PrimitiveShadingRateEXT", EbvPrimitiveShadingRateKHR, symbolTable);
 9385|       |
 9386|      8|                symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9387|      8|                symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9388|      8|                symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9389|      8|                symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9390|      8|            }
 9391|     56|        }
 9392|     64|        break;
 9393|       |
 9394|     47|    case EShLangFragment:
  ------------------
  |  Branch (9394:5): [True: 47, False: 100]
  ------------------
 9395|     47|        SpecialQualifier("gl_FrontFacing",      EvqFace,       EbvFace,             symbolTable);
 9396|     47|        SpecialQualifier("gl_FragCoord",        EvqFragCoord,  EbvFragCoord,        symbolTable);
 9397|     47|        SpecialQualifier("gl_PointCoord",       EvqPointCoord, EbvPointCoord,       symbolTable);
 9398|     47|        if (spvVersion.spv == 0)
  ------------------
  |  Branch (9398:13): [True: 47, False: 0]
  ------------------
 9399|     47|            SpecialQualifier("gl_FragColor",    EvqFragColor,  EbvFragColor,        symbolTable);
 9400|      0|        else {
 9401|      0|            TSymbol* symbol = symbolTable.find("gl_FragColor");
 9402|      0|            if (symbol) {
  ------------------
  |  Branch (9402:17): [True: 0, False: 0]
  ------------------
 9403|      0|                symbol->getWritableType().getQualifier().storage = EvqVaryingOut;
 9404|      0|                symbol->getWritableType().getQualifier().layoutLocation = 0;
 9405|      0|            }
 9406|      0|        }
 9407|     47|        SpecialQualifier("gl_FragDepth",        EvqFragDepth,  EbvFragDepth,        symbolTable);
 9408|     47|        SpecialQualifier("gl_FragDepthEXT",     EvqFragDepth,  EbvFragDepth,        symbolTable);
 9409|     47|        SpecialQualifier("gl_FragStencilRefARB", EvqFragStencil, EbvFragStencilRef, symbolTable);
 9410|     47|        SpecialQualifier("gl_HelperInvocation", EvqVaryingIn,  EbvHelperInvocation, symbolTable);
 9411|       |
 9412|     47|        BuiltInVariable("gl_ClipDistance",    EbvClipDistance,   symbolTable);
 9413|     47|        BuiltInVariable("gl_CullDistance",    EbvCullDistance,   symbolTable);
 9414|     47|        BuiltInVariable("gl_PrimitiveID",     EbvPrimitiveId,    symbolTable);
 9415|       |
 9416|     47|        if (profile != EEsProfile && version >= 140) {
  ------------------
  |  Branch (9416:13): [True: 2, False: 45]
  |  Branch (9416:38): [True: 2, False: 0]
  ------------------
 9417|      2|            symbolTable.setVariableExtensions("gl_FragStencilRefARB", 1, &E_GL_ARB_shader_stencil_export);
 9418|      2|            BuiltInVariable("gl_FragStencilRefARB", EbvFragStencilRef, symbolTable);
 9419|      2|        }
 9420|       |
 9421|     47|        if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9421:13): [True: 2, False: 45]
  |  Branch (9421:38): [True: 0, False: 2]
  ------------------
 9422|      0|            symbolTable.setFunctionExtensions("textureQueryLOD", 1, &E_GL_ARB_texture_query_lod);
 9423|      0|        }
 9424|       |
 9425|     47|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (9425:13): [True: 2, False: 45]
  |  Branch (9425:38): [True: 0, False: 2]
  ------------------
 9426|      0|            symbolTable.setFunctionExtensions("rayQueryInitializeEXT",                                            1, &E_GL_EXT_ray_query);
 9427|      0|            symbolTable.setFunctionExtensions("rayQueryTerminateEXT",                                             1, &E_GL_EXT_ray_query);
 9428|      0|            symbolTable.setFunctionExtensions("rayQueryGenerateIntersectionEXT",                                  1, &E_GL_EXT_ray_query);
 9429|      0|            symbolTable.setFunctionExtensions("rayQueryConfirmIntersectionEXT",                                   1, &E_GL_EXT_ray_query);
 9430|      0|            symbolTable.setFunctionExtensions("rayQueryProceedEXT",                                               1, &E_GL_EXT_ray_query);
 9431|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTypeEXT",                                   1, &E_GL_EXT_ray_query);
 9432|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTEXT",                                      1, &E_GL_EXT_ray_query);
 9433|      0|            symbolTable.setFunctionExtensions("rayQueryGetRayFlagsEXT",                                           1, &E_GL_EXT_ray_query);
 9434|      0|            symbolTable.setFunctionExtensions("rayQueryGetRayTMinEXT",                                            1, &E_GL_EXT_ray_query);
 9435|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceCustomIndexEXT",                    1, &E_GL_EXT_ray_query);
 9436|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceIdEXT",                             1, &E_GL_EXT_ray_query);
 9437|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT", 1, &E_GL_EXT_ray_query);
 9438|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionGeometryIndexEXT",                          1, &E_GL_EXT_ray_query);
 9439|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionPrimitiveIndexEXT",                         1, &E_GL_EXT_ray_query);
 9440|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionBarycentricsEXT",                           1, &E_GL_EXT_ray_query);
 9441|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionFrontFaceEXT",                              1, &E_GL_EXT_ray_query);
 9442|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionCandidateAABBOpaqueEXT",                    1, &E_GL_EXT_ray_query);
 9443|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectRayDirectionEXT",                     1, &E_GL_EXT_ray_query);
 9444|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectRayOriginEXT",                        1, &E_GL_EXT_ray_query);
 9445|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectToWorldEXT",                          1, &E_GL_EXT_ray_query);
 9446|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionWorldToObjectEXT",                          1, &E_GL_EXT_ray_query);
 9447|      0|            symbolTable.setFunctionExtensions("rayQueryGetWorldRayOriginEXT",                                     1, &E_GL_EXT_ray_query);
 9448|      0|            symbolTable.setFunctionExtensions("rayQueryGetWorldRayDirectionEXT",                                  1, &E_GL_EXT_ray_query);
 9449|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTriangleVertexPositionsEXT",                1, &E_GL_EXT_ray_tracing_position_fetch);
 9450|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionClusterIdNV",                               1, &E_GL_NV_cluster_acceleration_structure);
 9451|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionSpherePositionNV",                          1, &E_GL_NV_linear_swept_spheres);
 9452|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionSphereRadiusNV",                            1, &E_GL_NV_linear_swept_spheres);
 9453|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSHitValueNV",                             1, &E_GL_NV_linear_swept_spheres);
 9454|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSPositionsNV",                            1, &E_GL_NV_linear_swept_spheres);
 9455|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSRadiiNV",                                1, &E_GL_NV_linear_swept_spheres);
 9456|      0|            symbolTable.setFunctionExtensions("rayQueryIsSphereHitNV",                                            1, &E_GL_NV_linear_swept_spheres);
 9457|      0|            symbolTable.setFunctionExtensions("rayQueryIsLSSHitNV",                                               1, &E_GL_NV_linear_swept_spheres);
 9458|      0|            symbolTable.setVariableExtensions("gl_RayFlagsSkipAABBEXT",                         1, &E_GL_EXT_ray_flags_primitive_culling);
 9459|      0|            symbolTable.setVariableExtensions("gl_RayFlagsSkipTrianglesEXT",                    1, &E_GL_EXT_ray_flags_primitive_culling);
 9460|      0|            symbolTable.setVariableExtensions("gl_RayFlagsForceOpacityMicromap2StateEXT",                  1, &E_GL_EXT_opacity_micromap);
 9461|      0|        }
 9462|       |
 9463|     47|        if ((profile != EEsProfile && version >= 130) ||
  ------------------
  |  Branch (9463:14): [True: 2, False: 45]
  |  Branch (9463:39): [True: 2, False: 0]
  ------------------
 9464|     45|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9464:14): [True: 45, False: 0]
  |  Branch (9464:39): [True: 0, False: 45]
  ------------------
 9465|      2|            BuiltInVariable("gl_SampleID",           EbvSampleId,       symbolTable);
 9466|      2|            BuiltInVariable("gl_SamplePosition",     EbvSamplePosition, symbolTable);
 9467|      2|            BuiltInVariable("gl_SampleMask",         EbvSampleMask,     symbolTable);
 9468|       |
 9469|      2|            if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9469:17): [True: 2, False: 0]
  |  Branch (9469:42): [True: 0, False: 2]
  ------------------
 9470|      0|                BuiltInVariable("gl_SampleMaskIn",    EbvSampleMask,     symbolTable);
 9471|      0|                symbolTable.setVariableExtensions("gl_SampleMaskIn", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9472|       |
 9473|      0|                BuiltInVariable("gl_NumSamples",     EbvSampleMask,     symbolTable);
 9474|       |
 9475|      0|                symbolTable.setVariableExtensions("gl_SampleMask",     1, &E_GL_ARB_sample_shading);
 9476|      0|                symbolTable.setVariableExtensions("gl_SampleID",       1, &E_GL_ARB_sample_shading);
 9477|      0|                symbolTable.setVariableExtensions("gl_SamplePosition", 1, &E_GL_ARB_sample_shading);
 9478|      0|                symbolTable.setVariableExtensions("gl_NumSamples",     1, &E_GL_ARB_sample_shading);
 9479|      2|            } else {
 9480|      2|                BuiltInVariable("gl_SampleMaskIn",    EbvSampleMask,     symbolTable);
 9481|       |
 9482|      2|                if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9482:21): [True: 0, False: 2]
  |  Branch (9482:46): [True: 0, False: 0]
  ------------------
 9483|      0|                    symbolTable.setVariableExtensions("gl_SampleID", 1, &E_GL_OES_sample_variables);
 9484|      0|                    symbolTable.setVariableExtensions("gl_SamplePosition", 1, &E_GL_OES_sample_variables);
 9485|      0|                    symbolTable.setVariableExtensions("gl_SampleMaskIn", 1, &E_GL_OES_sample_variables);
 9486|      0|                    symbolTable.setVariableExtensions("gl_SampleMask", 1, &E_GL_OES_sample_variables);
 9487|      0|                    symbolTable.setVariableExtensions("gl_NumSamples", 1, &E_GL_OES_sample_variables);
 9488|      0|                }
 9489|      2|            }
 9490|      2|        }
 9491|       |
 9492|     47|        BuiltInVariable("gl_Layer",           EbvLayer,          symbolTable);
 9493|     47|        BuiltInVariable("gl_ViewportIndex",   EbvViewportIndex,  symbolTable);
 9494|       |
 9495|       |        // Compatibility variables
 9496|       |
 9497|     47|        BuiltInVariable("gl_in", "gl_FogFragCoord",   EbvFogFragCoord,   symbolTable);
 9498|     47|        BuiltInVariable("gl_in", "gl_TexCoord",       EbvTexCoord,       symbolTable);
 9499|     47|        BuiltInVariable("gl_in", "gl_Color",          EbvColor,          symbolTable);
 9500|     47|        BuiltInVariable("gl_in", "gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9501|       |
 9502|     47|        BuiltInVariable("gl_FogFragCoord",   EbvFogFragCoord,   symbolTable);
 9503|     47|        BuiltInVariable("gl_TexCoord",       EbvTexCoord,       symbolTable);
 9504|     47|        BuiltInVariable("gl_Color",          EbvColor,          symbolTable);
 9505|     47|        BuiltInVariable("gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9506|       |
 9507|       |        // built-in functions
 9508|       |
 9509|     47|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9509:13): [True: 45, False: 2]
  ------------------
 9510|     45|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9510:17): [True: 45, False: 0]
  ------------------
 9511|     45|                symbolTable.setFunctionExtensions("texture2DLodEXT",      1, &E_GL_EXT_shader_texture_lod);
 9512|     45|                symbolTable.setFunctionExtensions("texture2DProjLodEXT",  1, &E_GL_EXT_shader_texture_lod);
 9513|     45|                symbolTable.setFunctionExtensions("textureCubeLodEXT",    1, &E_GL_EXT_shader_texture_lod);
 9514|     45|                symbolTable.setFunctionExtensions("texture2DGradEXT",     1, &E_GL_EXT_shader_texture_lod);
 9515|     45|                symbolTable.setFunctionExtensions("texture2DProjGradEXT", 1, &E_GL_EXT_shader_texture_lod);
 9516|     45|                symbolTable.setFunctionExtensions("textureCubeGradEXT",   1, &E_GL_EXT_shader_texture_lod);
 9517|     45|                if (version < 320)
  ------------------
  |  Branch (9517:21): [True: 45, False: 0]
  ------------------
 9518|     45|                    symbolTable.setFunctionExtensions("textureGatherOffsets", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9519|     45|            }
 9520|     45|            if (version == 100) {
  ------------------
  |  Branch (9520:17): [True: 45, False: 0]
  ------------------
 9521|     45|                symbolTable.setFunctionExtensions("dFdx",   1, &E_GL_OES_standard_derivatives);
 9522|     45|                symbolTable.setFunctionExtensions("dFdy",   1, &E_GL_OES_standard_derivatives);
 9523|     45|                symbolTable.setFunctionExtensions("fwidth", 1, &E_GL_OES_standard_derivatives);
 9524|     45|            }
 9525|     45|            if (version == 310) {
  ------------------
  |  Branch (9525:17): [True: 0, False: 45]
  ------------------
 9526|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9527|      0|                symbolTable.setFunctionExtensions("interpolateAtCentroid", 1, &E_GL_OES_shader_multisample_interpolation);
 9528|      0|                symbolTable.setFunctionExtensions("interpolateAtSample",   1, &E_GL_OES_shader_multisample_interpolation);
 9529|      0|                symbolTable.setFunctionExtensions("interpolateAtOffset",   1, &E_GL_OES_shader_multisample_interpolation);
 9530|      0|            }
 9531|     45|        } else if (version < 130) {
  ------------------
  |  Branch (9531:20): [True: 0, False: 2]
  ------------------
 9532|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9532:17): [True: 0, False: 0]
  ------------------
 9533|      0|                symbolTable.setFunctionExtensions("texture1DLod",        1, &E_GL_ARB_shader_texture_lod);
 9534|      0|                symbolTable.setFunctionExtensions("texture2DLod",        1, &E_GL_ARB_shader_texture_lod);
 9535|      0|                symbolTable.setFunctionExtensions("texture3DLod",        1, &E_GL_ARB_shader_texture_lod);
 9536|      0|                symbolTable.setFunctionExtensions("textureCubeLod",      1, &E_GL_ARB_shader_texture_lod);
 9537|      0|                symbolTable.setFunctionExtensions("texture1DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9538|      0|                symbolTable.setFunctionExtensions("texture2DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9539|      0|                symbolTable.setFunctionExtensions("texture3DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9540|      0|                symbolTable.setFunctionExtensions("shadow1DLod",         1, &E_GL_ARB_shader_texture_lod);
 9541|      0|                symbolTable.setFunctionExtensions("shadow2DLod",         1, &E_GL_ARB_shader_texture_lod);
 9542|      0|                symbolTable.setFunctionExtensions("shadow1DProjLod",     1, &E_GL_ARB_shader_texture_lod);
 9543|      0|                symbolTable.setFunctionExtensions("shadow2DProjLod",     1, &E_GL_ARB_shader_texture_lod);
 9544|      0|            }
 9545|      0|        }
 9546|       |
 9547|       |        // E_GL_ARB_shader_texture_lod functions usable only with the extension enabled
 9548|     47|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (9548:13): [True: 2, False: 45]
  |  Branch (9548:38): [True: 2, False: 0]
  ------------------
 9549|      2|            symbolTable.setFunctionExtensions("texture1DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9550|      2|            symbolTable.setFunctionExtensions("texture1DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9551|      2|            symbolTable.setFunctionExtensions("texture2DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9552|      2|            symbolTable.setFunctionExtensions("texture2DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9553|      2|            symbolTable.setFunctionExtensions("texture3DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9554|      2|            symbolTable.setFunctionExtensions("texture3DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9555|      2|            symbolTable.setFunctionExtensions("textureCubeGradARB",       1, &E_GL_ARB_shader_texture_lod);
 9556|      2|            symbolTable.setFunctionExtensions("shadow1DGradARB",          1, &E_GL_ARB_shader_texture_lod);
 9557|      2|            symbolTable.setFunctionExtensions("shadow1DProjGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9558|      2|            symbolTable.setFunctionExtensions("shadow2DGradARB",          1, &E_GL_ARB_shader_texture_lod);
 9559|      2|            symbolTable.setFunctionExtensions("shadow2DProjGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9560|      2|            symbolTable.setFunctionExtensions("texture2DRectGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9561|      2|            symbolTable.setFunctionExtensions("texture2DRectProjGradARB", 1, &E_GL_ARB_shader_texture_lod);
 9562|      2|            symbolTable.setFunctionExtensions("shadow2DRectGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9563|      2|            symbolTable.setFunctionExtensions("shadow2DRectProjGradARB",  1, &E_GL_ARB_shader_texture_lod);
 9564|      2|        }
 9565|       |
 9566|       |        // E_GL_ARB_shader_image_load_store
 9567|     47|        if (profile != EEsProfile && version < 420)
  ------------------
  |  Branch (9567:13): [True: 2, False: 45]
  |  Branch (9567:38): [True: 0, False: 2]
  ------------------
 9568|      0|            symbolTable.setFunctionExtensions("memoryBarrier", 1, &E_GL_ARB_shader_image_load_store);
 9569|       |        // All the image access functions are protected by checks on the type of the first argument.
 9570|       |
 9571|       |        // E_GL_ARB_shader_atomic_counters
 9572|     47|        if (profile != EEsProfile && version < 420) {
  ------------------
  |  Branch (9572:13): [True: 2, False: 45]
  |  Branch (9572:38): [True: 0, False: 2]
  ------------------
 9573|      0|            symbolTable.setFunctionExtensions("atomicCounterIncrement", 1, &E_GL_ARB_shader_atomic_counters);
 9574|      0|            symbolTable.setFunctionExtensions("atomicCounterDecrement", 1, &E_GL_ARB_shader_atomic_counters);
 9575|      0|            symbolTable.setFunctionExtensions("atomicCounter"         , 1, &E_GL_ARB_shader_atomic_counters);
 9576|      0|        }
 9577|       |
 9578|       |        // E_GL_ARB_gpu_shader5/E_GL_NV_gpu_shader5 
 9579|     47|        if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9579:13): [True: 2, False: 45]
  |  Branch (9579:38): [True: 0, False: 2]
  ------------------
 9580|      0|            symbolTable.setFunctionExtensions("bitfieldExtract", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9581|      0|            symbolTable.setFunctionExtensions("bitfieldInsert", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9582|      0|            symbolTable.setFunctionExtensions("bitfieldReverse", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9583|      0|            symbolTable.setFunctionExtensions("bitCount", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9584|      0|            symbolTable.setFunctionExtensions("findLSB", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9585|      0|            symbolTable.setFunctionExtensions("findMSB", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9586|      0|            symbolTable.setFunctionExtensions("uaddCarry", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9587|      0|            symbolTable.setFunctionExtensions("usubBorrow", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9588|      0|            symbolTable.setFunctionExtensions("umulExtended", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9589|      0|            symbolTable.setFunctionExtensions("imulExtended", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9590|      0|            symbolTable.setFunctionExtensions("interpolateAtCentroid", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9591|      0|            symbolTable.setFunctionExtensions("interpolateAtSample", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9592|      0|            symbolTable.setFunctionExtensions("interpolateAtOffset", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9593|      0|        }
 9594|       |
 9595|       |        // E_GL_NV_gpu_shader5
 9596|     47|        if (profile != EEsProfile && version < 450) {
  ------------------
  |  Branch (9596:13): [True: 2, False: 45]
  |  Branch (9596:38): [True: 0, False: 2]
  ------------------
 9597|      0|            symbolTable.setFunctionExtensions("packInt2x32",     1, &E_GL_NV_gpu_shader5);
 9598|      0|            symbolTable.setFunctionExtensions("packUint2x32",     1, &E_GL_NV_gpu_shader5);
 9599|      0|            symbolTable.setFunctionExtensions("unpackInt2x32",     1, &E_GL_NV_gpu_shader5);
 9600|      0|            symbolTable.setFunctionExtensions("unpackUint2x32",     1, &E_GL_NV_gpu_shader5);
 9601|      0|            symbolTable.setFunctionExtensions("packFloat2x16",     1, &E_GL_NV_gpu_shader5);
 9602|      0|            symbolTable.setFunctionExtensions("unpackFloat2x16",     1, &E_GL_NV_gpu_shader5);
 9603|      0|            symbolTable.setFunctionExtensions("doubleBitsToInt64",     1, &E_GL_NV_gpu_shader5);
 9604|      0|            symbolTable.setFunctionExtensions("doubleBitsToUint64",     1, &E_GL_NV_gpu_shader5);
 9605|      0|            symbolTable.setFunctionExtensions("int64BitsToDouble",     1, &E_GL_NV_gpu_shader5);
 9606|      0|            symbolTable.setFunctionExtensions("uint64BitsToDouble",     1, &E_GL_NV_gpu_shader5);
 9607|      0|        }
 9608|       |
 9609|       |        // E_GL_ARB_shader_atomic_counter_ops
 9610|     47|        if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (9610:13): [True: 2, False: 45]
  |  Branch (9610:38): [True: 2, False: 0]
  ------------------
 9611|      2|            symbolTable.setFunctionExtensions("atomicCounterAddARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9612|      2|            symbolTable.setFunctionExtensions("atomicCounterSubtractARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9613|      2|            symbolTable.setFunctionExtensions("atomicCounterMinARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9614|      2|            symbolTable.setFunctionExtensions("atomicCounterMaxARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9615|      2|            symbolTable.setFunctionExtensions("atomicCounterAndARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9616|      2|            symbolTable.setFunctionExtensions("atomicCounterOrARB"      , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9617|      2|            symbolTable.setFunctionExtensions("atomicCounterXorARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9618|      2|            symbolTable.setFunctionExtensions("atomicCounterExchangeARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9619|      2|            symbolTable.setFunctionExtensions("atomicCounterCompSwapARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9620|      2|        }
 9621|       |
 9622|       |        // E_GL_ARB_derivative_control
 9623|     47|        if (profile != EEsProfile && version < 450) {
  ------------------
  |  Branch (9623:13): [True: 2, False: 45]
  |  Branch (9623:38): [True: 0, False: 2]
  ------------------
 9624|      0|            symbolTable.setFunctionExtensions("dFdxFine",     1, &E_GL_ARB_derivative_control);
 9625|      0|            symbolTable.setFunctionExtensions("dFdyFine",     1, &E_GL_ARB_derivative_control);
 9626|      0|            symbolTable.setFunctionExtensions("fwidthFine",   1, &E_GL_ARB_derivative_control);
 9627|      0|            symbolTable.setFunctionExtensions("dFdxCoarse",   1, &E_GL_ARB_derivative_control);
 9628|      0|            symbolTable.setFunctionExtensions("dFdyCoarse",   1, &E_GL_ARB_derivative_control);
 9629|      0|            symbolTable.setFunctionExtensions("fwidthCoarse", 1, &E_GL_ARB_derivative_control);
 9630|      0|        }
 9631|       |
 9632|       |        // E_GL_ARB_sparse_texture2
 9633|     47|        if (profile != EEsProfile)
  ------------------
  |  Branch (9633:13): [True: 2, False: 45]
  ------------------
 9634|      2|        {
 9635|      2|            symbolTable.setFunctionExtensions("sparseTextureARB",              1, &E_GL_ARB_sparse_texture2);
 9636|      2|            symbolTable.setFunctionExtensions("sparseTextureLodARB",           1, &E_GL_ARB_sparse_texture2);
 9637|      2|            symbolTable.setFunctionExtensions("sparseTextureOffsetARB",        1, &E_GL_ARB_sparse_texture2);
 9638|      2|            symbolTable.setFunctionExtensions("sparseTexelFetchARB",           1, &E_GL_ARB_sparse_texture2);
 9639|      2|            symbolTable.setFunctionExtensions("sparseTexelFetchOffsetARB",     1, &E_GL_ARB_sparse_texture2);
 9640|      2|            symbolTable.setFunctionExtensions("sparseTextureLodOffsetARB",     1, &E_GL_ARB_sparse_texture2);
 9641|      2|            symbolTable.setFunctionExtensions("sparseTextureGradARB",          1, &E_GL_ARB_sparse_texture2);
 9642|      2|            symbolTable.setFunctionExtensions("sparseTextureGradOffsetARB",    1, &E_GL_ARB_sparse_texture2);
 9643|      2|            symbolTable.setFunctionExtensions("sparseTextureGatherARB",        1, &E_GL_ARB_sparse_texture2);
 9644|      2|            symbolTable.setFunctionExtensions("sparseTextureGatherOffsetARB",  1, &E_GL_ARB_sparse_texture2);
 9645|      2|            symbolTable.setFunctionExtensions("sparseTextureGatherOffsetsARB", 1, &E_GL_ARB_sparse_texture2);
 9646|      2|            symbolTable.setFunctionExtensions("sparseImageLoadARB",            1, &E_GL_ARB_sparse_texture2);
 9647|      2|            symbolTable.setFunctionExtensions("sparseTexelsResident",          1, &E_GL_ARB_sparse_texture2);
 9648|      2|        }
 9649|       |
 9650|       |        // E_GL_ARB_sparse_texture_clamp
 9651|     47|        if (profile != EEsProfile)
  ------------------
  |  Branch (9651:13): [True: 2, False: 45]
  ------------------
 9652|      2|        {
 9653|      2|            symbolTable.setFunctionExtensions("sparseTextureClampARB",              1, &E_GL_ARB_sparse_texture_clamp);
 9654|      2|            symbolTable.setFunctionExtensions("sparseTextureOffsetClampARB",        1, &E_GL_ARB_sparse_texture_clamp);
 9655|      2|            symbolTable.setFunctionExtensions("sparseTextureGradClampARB",          1, &E_GL_ARB_sparse_texture_clamp);
 9656|      2|            symbolTable.setFunctionExtensions("sparseTextureGradOffsetClampARB",    1, &E_GL_ARB_sparse_texture_clamp);
 9657|      2|            symbolTable.setFunctionExtensions("textureClampARB",                    1, &E_GL_ARB_sparse_texture_clamp);
 9658|      2|            symbolTable.setFunctionExtensions("textureOffsetClampARB",              1, &E_GL_ARB_sparse_texture_clamp);
 9659|      2|            symbolTable.setFunctionExtensions("textureGradClampARB",                1, &E_GL_ARB_sparse_texture_clamp);
 9660|      2|            symbolTable.setFunctionExtensions("textureGradOffsetClampARB",          1, &E_GL_ARB_sparse_texture_clamp);
 9661|      2|        }
 9662|       |
 9663|       |        // E_GL_AMD_shader_explicit_vertex_parameter
 9664|     47|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9664:13): [True: 2, False: 45]
  ------------------
 9665|      2|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspAMD",         1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9666|      2|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspCentroidAMD", 1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9667|      2|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspSampleAMD",   1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9668|      2|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothAMD",          1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9669|      2|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothCentroidAMD",  1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9670|      2|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothSampleAMD",    1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9671|      2|            symbolTable.setVariableExtensions("gl_BaryCoordPullModelAMD",       1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9672|       |
 9673|      2|            symbolTable.setFunctionExtensions("interpolateAtVertexAMD",         1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9674|       |
 9675|      2|            BuiltInVariable("gl_BaryCoordNoPerspAMD",           EbvBaryCoordNoPersp,         symbolTable);
 9676|      2|            BuiltInVariable("gl_BaryCoordNoPerspCentroidAMD",   EbvBaryCoordNoPerspCentroid, symbolTable);
 9677|      2|            BuiltInVariable("gl_BaryCoordNoPerspSampleAMD",     EbvBaryCoordNoPerspSample,   symbolTable);
 9678|      2|            BuiltInVariable("gl_BaryCoordSmoothAMD",            EbvBaryCoordSmooth,          symbolTable);
 9679|      2|            BuiltInVariable("gl_BaryCoordSmoothCentroidAMD",    EbvBaryCoordSmoothCentroid,  symbolTable);
 9680|      2|            BuiltInVariable("gl_BaryCoordSmoothSampleAMD",      EbvBaryCoordSmoothSample,    symbolTable);
 9681|      2|            BuiltInVariable("gl_BaryCoordPullModelAMD",         EbvBaryCoordPullModel,       symbolTable);
 9682|      2|        }
 9683|       |
 9684|       |        // E_GL_AMD_texture_gather_bias_lod
 9685|     47|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9685:13): [True: 2, False: 45]
  ------------------
 9686|      2|            symbolTable.setFunctionExtensions("textureGatherLodAMD",                1, &E_GL_AMD_texture_gather_bias_lod);
 9687|      2|            symbolTable.setFunctionExtensions("textureGatherLodOffsetAMD",          1, &E_GL_AMD_texture_gather_bias_lod);
 9688|      2|            symbolTable.setFunctionExtensions("textureGatherLodOffsetsAMD",         1, &E_GL_AMD_texture_gather_bias_lod);
 9689|      2|            symbolTable.setFunctionExtensions("sparseTextureGatherLodAMD",          1, &E_GL_AMD_texture_gather_bias_lod);
 9690|      2|            symbolTable.setFunctionExtensions("sparseTextureGatherLodOffsetAMD",    1, &E_GL_AMD_texture_gather_bias_lod);
 9691|      2|            symbolTable.setFunctionExtensions("sparseTextureGatherLodOffsetsAMD",   1, &E_GL_AMD_texture_gather_bias_lod);
 9692|      2|        }
 9693|       |
 9694|       |        // E_GL_AMD_shader_image_load_store_lod
 9695|     47|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9695:13): [True: 2, False: 45]
  ------------------
 9696|      2|            symbolTable.setFunctionExtensions("imageLoadLodAMD",        1, &E_GL_AMD_shader_image_load_store_lod);
 9697|      2|            symbolTable.setFunctionExtensions("imageStoreLodAMD",       1, &E_GL_AMD_shader_image_load_store_lod);
 9698|      2|            symbolTable.setFunctionExtensions("sparseImageLoadLodAMD",  1, &E_GL_AMD_shader_image_load_store_lod);
 9699|      2|        }
 9700|     47|        if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (9700:13): [True: 2, False: 45]
  |  Branch (9700:38): [True: 2, False: 0]
  ------------------
 9701|      2|            symbolTable.setVariableExtensions("gl_FragFullyCoveredNV", 1, &E_GL_NV_conservative_raster_underestimation);
 9702|      2|            BuiltInVariable("gl_FragFullyCoveredNV", EbvFragFullyCoveredNV, symbolTable);
 9703|      2|        }
 9704|     47|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9704:14): [True: 2, False: 45]
  |  Branch (9704:39): [True: 2, False: 0]
  ------------------
 9705|     45|            (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (9705:14): [True: 45, False: 0]
  |  Branch (9705:39): [True: 0, False: 45]
  ------------------
 9706|      2|            symbolTable.setVariableExtensions("gl_FragmentSizeNV",        1, &E_GL_NV_shading_rate_image);
 9707|      2|            symbolTable.setVariableExtensions("gl_InvocationsPerPixelNV", 1, &E_GL_NV_shading_rate_image);
 9708|      2|            BuiltInVariable("gl_FragmentSizeNV",        EbvFragmentSizeNV, symbolTable);
 9709|      2|            BuiltInVariable("gl_InvocationsPerPixelNV", EbvInvocationsPerPixelNV, symbolTable);
 9710|      2|            symbolTable.setVariableExtensions("gl_BaryCoordNV",        1, &E_GL_NV_fragment_shader_barycentric);
 9711|      2|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspNV", 1, &E_GL_NV_fragment_shader_barycentric);
 9712|      2|            BuiltInVariable("gl_BaryCoordNV",        EbvBaryCoordNV,        symbolTable);
 9713|      2|            BuiltInVariable("gl_BaryCoordNoPerspNV", EbvBaryCoordNoPerspNV, symbolTable);
 9714|      2|            symbolTable.setVariableExtensions("gl_BaryCoordEXT",        1, &E_GL_EXT_fragment_shader_barycentric);
 9715|      2|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspEXT", 1, &E_GL_EXT_fragment_shader_barycentric);
 9716|      2|            BuiltInVariable("gl_BaryCoordEXT",        EbvBaryCoordEXT,        symbolTable);
 9717|      2|            BuiltInVariable("gl_BaryCoordNoPerspEXT", EbvBaryCoordNoPerspEXT, symbolTable);
 9718|      2|        }
 9719|       |
 9720|     47|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9720:14): [True: 2, False: 45]
  |  Branch (9720:39): [True: 2, False: 0]
  ------------------
 9721|     45|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9721:14): [True: 45, False: 0]
  |  Branch (9721:39): [True: 0, False: 45]
  ------------------
 9722|      2|            symbolTable.setVariableExtensions("gl_FragSizeEXT",            1, &E_GL_EXT_fragment_invocation_density);
 9723|      2|            symbolTable.setVariableExtensions("gl_FragInvocationCountEXT", 1, &E_GL_EXT_fragment_invocation_density);
 9724|      2|            BuiltInVariable("gl_FragSizeEXT",            EbvFragSizeEXT, symbolTable);
 9725|      2|            BuiltInVariable("gl_FragInvocationCountEXT", EbvFragInvocationCountEXT, symbolTable);
 9726|      2|        }
 9727|       |
 9728|     47|        symbolTable.setVariableExtensions("gl_FragDepthEXT", 1, &E_GL_EXT_frag_depth);
 9729|       |
 9730|     47|        symbolTable.setFunctionExtensions("clockARB",     1, &E_GL_ARB_shader_clock);
 9731|     47|        symbolTable.setFunctionExtensions("clock2x32ARB", 1, &E_GL_ARB_shader_clock);
 9732|       |
 9733|     47|        symbolTable.setFunctionExtensions("clockRealtimeEXT", 1, &E_GL_EXT_shader_realtime_clock);
 9734|     47|        symbolTable.setFunctionExtensions("clockRealtime2x32EXT", 1, &E_GL_EXT_shader_realtime_clock);
 9735|       |
 9736|     47|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9736:13): [True: 45, False: 2]
  |  Branch (9736:38): [True: 45, False: 0]
  ------------------
 9737|     45|            symbolTable.setVariableExtensions("gl_PrimitiveID",  Num_AEP_geometry_shader, AEP_geometry_shader);
 9738|     45|            symbolTable.setVariableExtensions("gl_Layer",        Num_AEP_geometry_shader, AEP_geometry_shader);
 9739|     45|        }
 9740|       |
 9741|     47|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9741:13): [True: 45, False: 2]
  |  Branch (9741:38): [True: 45, False: 0]
  ------------------
 9742|     45|            symbolTable.setFunctionExtensions("imageAtomicAdd",      1, &E_GL_OES_shader_image_atomic);
 9743|     45|            symbolTable.setFunctionExtensions("imageAtomicMin",      1, &E_GL_OES_shader_image_atomic);
 9744|     45|            symbolTable.setFunctionExtensions("imageAtomicMax",      1, &E_GL_OES_shader_image_atomic);
 9745|     45|            symbolTable.setFunctionExtensions("imageAtomicAnd",      1, &E_GL_OES_shader_image_atomic);
 9746|     45|            symbolTable.setFunctionExtensions("imageAtomicOr",       1, &E_GL_OES_shader_image_atomic);
 9747|     45|            symbolTable.setFunctionExtensions("imageAtomicXor",      1, &E_GL_OES_shader_image_atomic);
 9748|     45|            symbolTable.setFunctionExtensions("imageAtomicExchange", 1, &E_GL_OES_shader_image_atomic);
 9749|     45|            symbolTable.setFunctionExtensions("imageAtomicCompSwap", 1, &E_GL_OES_shader_image_atomic);
 9750|     45|        }
 9751|       |
 9752|     47|        if (profile != EEsProfile && version < 330 ) {
  ------------------
  |  Branch (9752:13): [True: 2, False: 45]
  |  Branch (9752:38): [True: 0, False: 2]
  ------------------
 9753|      0|            const int numBitEncodingExts = 3;
 9754|      0|            const char* bitEncodingExts[numBitEncodingExts] = { E_GL_ARB_shader_bit_encoding,
 9755|      0|                                                                E_GL_ARB_gpu_shader5,
 9756|      0|                                                                E_GL_NV_gpu_shader5};
 9757|      0|            symbolTable.setFunctionExtensions("floatBitsToInt", numBitEncodingExts, bitEncodingExts);
 9758|      0|            symbolTable.setFunctionExtensions("floatBitsToUint", numBitEncodingExts, bitEncodingExts);
 9759|      0|            symbolTable.setFunctionExtensions("intBitsToFloat", numBitEncodingExts, bitEncodingExts);
 9760|      0|            symbolTable.setFunctionExtensions("uintBitsToFloat", numBitEncodingExts, bitEncodingExts);
 9761|       |
 9762|      0|        }
 9763|       |
 9764|     47|        if (profile != EEsProfile && version < 430 ) {
  ------------------
  |  Branch (9764:13): [True: 2, False: 45]
  |  Branch (9764:38): [True: 0, False: 2]
  ------------------
 9765|      0|            symbolTable.setFunctionExtensions("imageSize", 1, &E_GL_ARB_shader_image_size);
 9766|      0|        }
 9767|       |
 9768|       |        // GL_ARB_shader_storage_buffer_object
 9769|     47|        if (profile != EEsProfile && version < 430 ) {
  ------------------
  |  Branch (9769:13): [True: 2, False: 45]
  |  Branch (9769:38): [True: 0, False: 2]
  ------------------
 9770|      0|            symbolTable.setFunctionExtensions("atomicAdd", 1, &E_GL_ARB_shader_storage_buffer_object);
 9771|      0|            symbolTable.setFunctionExtensions("atomicMin", 1, &E_GL_ARB_shader_storage_buffer_object);
 9772|      0|            symbolTable.setFunctionExtensions("atomicMax", 1, &E_GL_ARB_shader_storage_buffer_object);
 9773|      0|            symbolTable.setFunctionExtensions("atomicAnd", 1, &E_GL_ARB_shader_storage_buffer_object);
 9774|      0|            symbolTable.setFunctionExtensions("atomicOr", 1, &E_GL_ARB_shader_storage_buffer_object);
 9775|      0|            symbolTable.setFunctionExtensions("atomicXor", 1, &E_GL_ARB_shader_storage_buffer_object);
 9776|      0|            symbolTable.setFunctionExtensions("atomicExchange", 1, &E_GL_ARB_shader_storage_buffer_object);
 9777|      0|            symbolTable.setFunctionExtensions("atomicCompSwap", 1, &E_GL_ARB_shader_storage_buffer_object);
 9778|      0|        }
 9779|       |
 9780|       |        // GL_ARB_shading_language_packing
 9781|     47|        if (profile != EEsProfile && version < 400 ) {
  ------------------
  |  Branch (9781:13): [True: 2, False: 45]
  |  Branch (9781:38): [True: 0, False: 2]
  ------------------
 9782|      0|            const int numPackingExts = 3;
 9783|      0|            const char* packingExts[numPackingExts] = { E_GL_ARB_shading_language_packing,
 9784|      0|                                                                E_GL_ARB_gpu_shader5,
 9785|      0|                                                                E_GL_NV_gpu_shader5};
 9786|      0|            symbolTable.setFunctionExtensions("packUnorm2x16", numPackingExts, packingExts);
 9787|      0|            symbolTable.setFunctionExtensions("unpackUnorm2x16", numPackingExts, packingExts);
 9788|      0|            symbolTable.setFunctionExtensions("packSnorm4x8", numPackingExts, packingExts);
 9789|      0|            symbolTable.setFunctionExtensions("packUnorm4x8", numPackingExts, packingExts);
 9790|      0|            symbolTable.setFunctionExtensions("unpackSnorm4x8", numPackingExts, packingExts);
 9791|      0|            symbolTable.setFunctionExtensions("unpackUnorm4x8", numPackingExts, packingExts);
 9792|      0|        }
 9793|     47|        if (profile != EEsProfile && version < 420 ) {
  ------------------
  |  Branch (9793:13): [True: 2, False: 45]
  |  Branch (9793:38): [True: 0, False: 2]
  ------------------
 9794|      0|            symbolTable.setFunctionExtensions("packSnorm2x16", 1, &E_GL_ARB_shading_language_packing);
 9795|      0|            symbolTable.setFunctionExtensions("unpackSnorm2x16", 1, &E_GL_ARB_shading_language_packing);
 9796|      0|            symbolTable.setFunctionExtensions("unpackHalf2x16", 1, &E_GL_ARB_shading_language_packing);
 9797|      0|            symbolTable.setFunctionExtensions("packHalf2x16", 1, &E_GL_ARB_shading_language_packing);
 9798|      0|        }
 9799|       |
 9800|     47|        symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
 9801|     47|        BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
 9802|     47|        symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
 9803|     47|        BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
 9804|     47|        if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (9804:13): [True: 2, False: 45]
  ------------------
 9805|      2|            symbolTable.setVariableExtensions("gl_ViewID_OVR", Num_OVR_multiview_EXTs, OVR_multiview_EXTs);
 9806|      2|            BuiltInVariable("gl_ViewID_OVR", EbvViewIndex, symbolTable);
 9807|      2|        }
 9808|       |
 9809|       |        // GL_ARB_shader_ballot
 9810|     47|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9810:13): [True: 2, False: 45]
  ------------------
 9811|      2|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
 9812|      2|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9813|      2|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
 9814|      2|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9815|      2|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9816|      2|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9817|      2|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9818|       |
 9819|      2|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
 9820|      2|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
 9821|      2|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
 9822|      2|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
 9823|      2|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
 9824|      2|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
 9825|       |
 9826|      2|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9826:17): [True: 0, False: 2]
  ------------------
 9827|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
 9828|      0|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
 9829|      0|                if (language == EShLangFragment)
  ------------------
  |  Branch (9829:21): [True: 0, False: 0]
  ------------------
 9830|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
 9831|      0|            }
 9832|      2|            else
 9833|      2|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
 9834|      2|        }
 9835|       |
 9836|       |        // GL_EXT_expect_assume
 9837|     47|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9837:14): [True: 45, False: 2]
  |  Branch (9837:39): [True: 0, False: 45]
  ------------------
 9838|     47|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (9838:14): [True: 2, False: 45]
  |  Branch (9838:39): [True: 2, False: 0]
  ------------------
 9839|      2|            symbolTable.setFunctionExtensions("assumeEXT", 1, &E_GL_EXT_expect_assume);
 9840|      2|            symbolTable.setFunctionExtensions("expectEXT", 1, &E_GL_EXT_expect_assume);
 9841|      2|        }
 9842|       |
 9843|       |        // GL_KHR_shader_subgroup
 9844|     47|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9844:14): [True: 45, False: 2]
  |  Branch (9844:39): [True: 0, False: 45]
  ------------------
 9845|     47|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (9845:14): [True: 2, False: 45]
  |  Branch (9845:39): [True: 2, False: 0]
  ------------------
 9846|      2|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
 9847|      2|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
 9848|      2|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9849|      2|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9850|      2|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9851|      2|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9852|      2|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9853|       |
 9854|      2|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
 9855|      2|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
 9856|      2|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
 9857|      2|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
 9858|      2|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
 9859|      2|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
 9860|      2|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
 9861|       |
 9862|      2|            symbolTable.setFunctionExtensions("subgroupBarrier",                 1, &E_GL_KHR_shader_subgroup_basic);
 9863|      2|            symbolTable.setFunctionExtensions("subgroupMemoryBarrier",           1, &E_GL_KHR_shader_subgroup_basic);
 9864|      2|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierBuffer",     1, &E_GL_KHR_shader_subgroup_basic);
 9865|      2|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierImage",      1, &E_GL_KHR_shader_subgroup_basic);
 9866|      2|            symbolTable.setFunctionExtensions("subgroupElect",                   1, &E_GL_KHR_shader_subgroup_basic);
 9867|      2|            symbolTable.setFunctionExtensions("subgroupAll",                     1, &E_GL_KHR_shader_subgroup_vote);
 9868|      2|            symbolTable.setFunctionExtensions("subgroupAny",                     1, &E_GL_KHR_shader_subgroup_vote);
 9869|      2|            symbolTable.setFunctionExtensions("subgroupAllEqual",                1, &E_GL_KHR_shader_subgroup_vote);
 9870|      2|            symbolTable.setFunctionExtensions("subgroupBroadcast",               1, &E_GL_KHR_shader_subgroup_ballot);
 9871|      2|            symbolTable.setFunctionExtensions("subgroupBroadcastFirst",          1, &E_GL_KHR_shader_subgroup_ballot);
 9872|      2|            symbolTable.setFunctionExtensions("subgroupBallot",                  1, &E_GL_KHR_shader_subgroup_ballot);
 9873|      2|            symbolTable.setFunctionExtensions("subgroupInverseBallot",           1, &E_GL_KHR_shader_subgroup_ballot);
 9874|      2|            symbolTable.setFunctionExtensions("subgroupBallotBitExtract",        1, &E_GL_KHR_shader_subgroup_ballot);
 9875|      2|            symbolTable.setFunctionExtensions("subgroupBallotBitCount",          1, &E_GL_KHR_shader_subgroup_ballot);
 9876|      2|            symbolTable.setFunctionExtensions("subgroupBallotInclusiveBitCount", 1, &E_GL_KHR_shader_subgroup_ballot);
 9877|      2|            symbolTable.setFunctionExtensions("subgroupBallotExclusiveBitCount", 1, &E_GL_KHR_shader_subgroup_ballot);
 9878|      2|            symbolTable.setFunctionExtensions("subgroupBallotFindLSB",           1, &E_GL_KHR_shader_subgroup_ballot);
 9879|      2|            symbolTable.setFunctionExtensions("subgroupBallotFindMSB",           1, &E_GL_KHR_shader_subgroup_ballot);
 9880|      2|            symbolTable.setFunctionExtensions("subgroupShuffle",                 1, &E_GL_KHR_shader_subgroup_shuffle);
 9881|      2|            symbolTable.setFunctionExtensions("subgroupShuffleXor",              1, &E_GL_KHR_shader_subgroup_shuffle);
 9882|      2|            symbolTable.setFunctionExtensions("subgroupShuffleUp",               1, &E_GL_KHR_shader_subgroup_shuffle_relative);
 9883|      2|            symbolTable.setFunctionExtensions("subgroupShuffleDown",             1, &E_GL_KHR_shader_subgroup_shuffle_relative);
 9884|      2|            symbolTable.setFunctionExtensions("subgroupRotate",                  1, &E_GL_KHR_shader_subgroup_rotate);
 9885|      2|            symbolTable.setFunctionExtensions("subgroupClusteredRotate",         1, &E_GL_KHR_shader_subgroup_rotate);
 9886|      2|            symbolTable.setFunctionExtensions("subgroupAdd",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9887|      2|            symbolTable.setFunctionExtensions("subgroupMul",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9888|      2|            symbolTable.setFunctionExtensions("subgroupMin",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9889|      2|            symbolTable.setFunctionExtensions("subgroupMax",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9890|      2|            symbolTable.setFunctionExtensions("subgroupAnd",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9891|      2|            symbolTable.setFunctionExtensions("subgroupOr",                      1, &E_GL_KHR_shader_subgroup_arithmetic);
 9892|      2|            symbolTable.setFunctionExtensions("subgroupXor",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9893|      2|            symbolTable.setFunctionExtensions("subgroupInclusiveAdd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9894|      2|            symbolTable.setFunctionExtensions("subgroupInclusiveMul",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9895|      2|            symbolTable.setFunctionExtensions("subgroupInclusiveMin",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9896|      2|            symbolTable.setFunctionExtensions("subgroupInclusiveMax",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9897|      2|            symbolTable.setFunctionExtensions("subgroupInclusiveAnd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9898|      2|            symbolTable.setFunctionExtensions("subgroupInclusiveOr",             1, &E_GL_KHR_shader_subgroup_arithmetic);
 9899|      2|            symbolTable.setFunctionExtensions("subgroupInclusiveXor",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9900|      2|            symbolTable.setFunctionExtensions("subgroupExclusiveAdd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9901|      2|            symbolTable.setFunctionExtensions("subgroupExclusiveMul",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9902|      2|            symbolTable.setFunctionExtensions("subgroupExclusiveMin",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9903|      2|            symbolTable.setFunctionExtensions("subgroupExclusiveMax",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9904|      2|            symbolTable.setFunctionExtensions("subgroupExclusiveAnd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9905|      2|            symbolTable.setFunctionExtensions("subgroupExclusiveOr",             1, &E_GL_KHR_shader_subgroup_arithmetic);
 9906|      2|            symbolTable.setFunctionExtensions("subgroupExclusiveXor",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9907|      2|            symbolTable.setFunctionExtensions("subgroupClusteredAdd",            1, &E_GL_KHR_shader_subgroup_clustered);
 9908|      2|            symbolTable.setFunctionExtensions("subgroupClusteredMul",            1, &E_GL_KHR_shader_subgroup_clustered);
 9909|      2|            symbolTable.setFunctionExtensions("subgroupClusteredMin",            1, &E_GL_KHR_shader_subgroup_clustered);
 9910|      2|            symbolTable.setFunctionExtensions("subgroupClusteredMax",            1, &E_GL_KHR_shader_subgroup_clustered);
 9911|      2|            symbolTable.setFunctionExtensions("subgroupClusteredAnd",            1, &E_GL_KHR_shader_subgroup_clustered);
 9912|      2|            symbolTable.setFunctionExtensions("subgroupClusteredOr",             1, &E_GL_KHR_shader_subgroup_clustered);
 9913|      2|            symbolTable.setFunctionExtensions("subgroupClusteredXor",            1, &E_GL_KHR_shader_subgroup_clustered);
 9914|      2|            symbolTable.setFunctionExtensions("subgroupQuadBroadcast",           1, &E_GL_KHR_shader_subgroup_quad);
 9915|      2|            symbolTable.setFunctionExtensions("subgroupQuadSwapHorizontal",      1, &E_GL_KHR_shader_subgroup_quad);
 9916|      2|            symbolTable.setFunctionExtensions("subgroupQuadSwapVertical",        1, &E_GL_KHR_shader_subgroup_quad);
 9917|      2|            symbolTable.setFunctionExtensions("subgroupQuadSwapDiagonal",        1, &E_GL_KHR_shader_subgroup_quad);
 9918|      2|            symbolTable.setFunctionExtensions("subgroupPartitionNV",                          1, &E_GL_NV_shader_subgroup_partitioned);
 9919|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedAddNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
 9920|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedMulNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
 9921|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedMinNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
 9922|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedMaxNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
 9923|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedAndNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
 9924|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedOrNV",                      1, &E_GL_NV_shader_subgroup_partitioned);
 9925|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedXorNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
 9926|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveAddNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9927|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMulNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9928|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMinNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9929|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMaxNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9930|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveAndNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9931|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveOrNV",             1, &E_GL_NV_shader_subgroup_partitioned);
 9932|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveXorNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9933|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveAddNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9934|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMulNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9935|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMinNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9936|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMaxNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9937|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveAndNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9938|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveOrNV",             1, &E_GL_NV_shader_subgroup_partitioned);
 9939|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveXorNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9940|       |
 9941|       |            // GL_NV_shader_sm_builtins
 9942|      2|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
 9943|      2|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
 9944|      2|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
 9945|      2|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
 9946|      2|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
 9947|      2|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
 9948|      2|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
 9949|      2|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
 9950|       |
 9951|       |            // GL_ARM_shader_core_builtins
 9952|      2|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
 9953|      2|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9954|      2|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9955|      2|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9956|      2|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9957|       |
 9958|      2|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
 9959|      2|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
 9960|      2|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
 9961|      2|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
 9962|      2|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
 9963|      2|        }
 9964|       |
 9965|     47|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9965:13): [True: 45, False: 2]
  ------------------
 9966|     45|            symbolTable.setFunctionExtensions("shadow2DEXT",        1, &E_GL_EXT_shadow_samplers);
 9967|     45|            symbolTable.setFunctionExtensions("shadow2DProjEXT",    1, &E_GL_EXT_shadow_samplers);
 9968|     45|        }
 9969|       |
 9970|     47|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9970:13): [True: 0, False: 47]
  ------------------
 9971|      0|            symbolTable.setVariableExtensions("gl_ScopeDevice",             1, &E_GL_KHR_memory_scope_semantics);
 9972|      0|            symbolTable.setVariableExtensions("gl_ScopeWorkgroup",          1, &E_GL_KHR_memory_scope_semantics);
 9973|      0|            symbolTable.setVariableExtensions("gl_ScopeSubgroup",           1, &E_GL_KHR_memory_scope_semantics);
 9974|      0|            symbolTable.setVariableExtensions("gl_ScopeInvocation",         1, &E_GL_KHR_memory_scope_semantics);
 9975|       |
 9976|      0|            symbolTable.setVariableExtensions("gl_SemanticsRelaxed",        1, &E_GL_KHR_memory_scope_semantics);
 9977|      0|            symbolTable.setVariableExtensions("gl_SemanticsAcquire",        1, &E_GL_KHR_memory_scope_semantics);
 9978|      0|            symbolTable.setVariableExtensions("gl_SemanticsRelease",        1, &E_GL_KHR_memory_scope_semantics);
 9979|      0|            symbolTable.setVariableExtensions("gl_SemanticsAcquireRelease", 1, &E_GL_KHR_memory_scope_semantics);
 9980|      0|            symbolTable.setVariableExtensions("gl_SemanticsMakeAvailable",  1, &E_GL_KHR_memory_scope_semantics);
 9981|      0|            symbolTable.setVariableExtensions("gl_SemanticsMakeVisible",    1, &E_GL_KHR_memory_scope_semantics);
 9982|      0|            symbolTable.setVariableExtensions("gl_SemanticsVolatile",       1, &E_GL_KHR_memory_scope_semantics);
 9983|       |
 9984|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsNone",    1, &E_GL_KHR_memory_scope_semantics);
 9985|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsBuffer",  1, &E_GL_KHR_memory_scope_semantics);
 9986|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsShared",  1, &E_GL_KHR_memory_scope_semantics);
 9987|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsImage",   1, &E_GL_KHR_memory_scope_semantics);
 9988|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsOutput",  1, &E_GL_KHR_memory_scope_semantics);
 9989|      0|        }
 9990|       |
 9991|     47|        symbolTable.setFunctionExtensions("helperInvocationEXT",            1, &E_GL_EXT_demote_to_helper_invocation);
 9992|       |
 9993|     47|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9993:14): [True: 45, False: 2]
  |  Branch (9993:39): [True: 0, False: 45]
  ------------------
 9994|     47|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (9994:14): [True: 2, False: 45]
  |  Branch (9994:39): [True: 2, False: 0]
  ------------------
 9995|      2|            symbolTable.setVariableExtensions("gl_ShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9996|      2|            BuiltInVariable("gl_ShadingRateEXT", EbvShadingRateKHR, symbolTable);
 9997|       |
 9998|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9999|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10000|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10001|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10002|      2|        }
10003|       |
10004|       |        // GL_EXT_shader_quad_control
10005|     47|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (10005:14): [True: 2, False: 45]
  |  Branch (10005:39): [True: 2, False: 0]
  ------------------
10006|     45|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (10006:14): [True: 45, False: 0]
  |  Branch (10006:39): [True: 0, False: 45]
  ------------------
10007|      2|            symbolTable.setFunctionExtensions("subgroupQuadAll",                     1,  &E_GL_KHR_shader_subgroup_vote);
10008|      2|            symbolTable.setFunctionExtensions("subgroupQuadAny",                     1,  &E_GL_KHR_shader_subgroup_vote);
10009|      2|        }
10010|       |
10011|       |        // GL_EXT_shader_tile_image
10012|     47|        symbolTable.setFunctionExtensions("stencilAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10013|     47|        symbolTable.setFunctionExtensions("depthAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10014|     47|        symbolTable.setFunctionExtensions("colorAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10015|       |
10016|     47|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10016:14): [True: 45, False: 2]
  |  Branch (10016:39): [True: 0, False: 45]
  ------------------
10017|     47|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10017:14): [True: 2, False: 45]
  |  Branch (10017:39): [True: 2, False: 0]
  ------------------
10018|       |
10019|      2|            symbolTable.setFunctionExtensions("textureWeightedQCOM",      1, &E_GL_QCOM_image_processing);
10020|      2|            symbolTable.setFunctionExtensions("textureBoxFilterQCOM",     1, &E_GL_QCOM_image_processing);
10021|      2|            symbolTable.setFunctionExtensions("textureBlockMatchSADQCOM", 1, &E_GL_QCOM_image_processing);
10022|      2|            symbolTable.setFunctionExtensions("textureBlockMatchSSDQCOM", 1, &E_GL_QCOM_image_processing);
10023|       |
10024|      2|            symbolTable.setFunctionExtensions("textureBlockMatchWindowSSDQCOM", 1, &E_GL_QCOM_image_processing2);
10025|      2|            symbolTable.setFunctionExtensions("textureBlockMatchWindowSADQCOM", 1, &E_GL_QCOM_image_processing2);
10026|      2|            symbolTable.setFunctionExtensions("textureBlockMatchGatherSSDQCOM", 1, &E_GL_QCOM_image_processing2);
10027|      2|            symbolTable.setFunctionExtensions("textureBlockMatchGatherSADQCOM", 1, &E_GL_QCOM_image_processing2);
10028|      2|        }
10029|       |
10030|     47|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10030:14): [True: 45, False: 2]
  |  Branch (10030:39): [True: 0, False: 45]
  ------------------
10031|     47|            (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10031:14): [True: 2, False: 45]
  |  Branch (10031:39): [True: 0, False: 2]
  ------------------
10032|      0|            BuiltInVariable("gl_TileOffsetQCOM",    EbvTileOffsetQCOM,      symbolTable);
10033|      0|            BuiltInVariable("gl_TileDimensionQCOM", EbvTileDimensionQCOM,   symbolTable);
10034|      0|            BuiltInVariable("gl_TileApronSizeQCOM", EbvTileApronSizeQCOM,   symbolTable);
10035|       |
10036|      0|            symbolTable.setVariableExtensions("gl_TileOffsetQCOM",        1, &E_GL_QCOM_tile_shading);
10037|      0|            symbolTable.setVariableExtensions("gl_TileDimensionQCOM",     1, &E_GL_QCOM_tile_shading);
10038|      0|            symbolTable.setVariableExtensions("gl_TileApronSizeQCOM",     1, &E_GL_QCOM_tile_shading);
10039|      0|        }
10040|     47|        break;
10041|       |
10042|      4|    case EShLangCompute:
  ------------------
  |  Branch (10042:5): [True: 4, False: 143]
  ------------------
10043|      4|        BuiltInVariable("gl_NumWorkGroups",         EbvNumWorkGroups,        symbolTable);
10044|      4|        BuiltInVariable("gl_WorkGroupSize",         EbvWorkGroupSize,        symbolTable);
10045|      4|        BuiltInVariable("gl_WorkGroupID",           EbvWorkGroupId,          symbolTable);
10046|      4|        BuiltInVariable("gl_LocalInvocationID",     EbvLocalInvocationId,    symbolTable);
10047|      4|        BuiltInVariable("gl_GlobalInvocationID",    EbvGlobalInvocationId,   symbolTable);
10048|      4|        BuiltInVariable("gl_LocalInvocationIndex",  EbvLocalInvocationIndex, symbolTable);
10049|      4|        BuiltInVariable("gl_DeviceIndex",           EbvDeviceIndex,          symbolTable);
10050|      4|        BuiltInVariable("gl_ViewIndex",             EbvViewIndex,            symbolTable);
10051|       |
10052|      4|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (10052:14): [True: 4, False: 0]
  |  Branch (10052:39): [True: 4, False: 0]
  ------------------
10053|      4|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (10053:14): [True: 0, False: 0]
  |  Branch (10053:39): [True: 0, False: 0]
  ------------------
10054|      4|            symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
10055|      4|            symbolTable.setVariableExtensions("gl_ViewIndex",    1, &E_GL_EXT_multiview);
10056|      4|        }
10057|       |
10058|      4|        if (profile != EEsProfile && version < 430) {
  ------------------
  |  Branch (10058:13): [True: 4, False: 0]
  |  Branch (10058:38): [True: 0, False: 4]
  ------------------
10059|      0|            symbolTable.setVariableExtensions("gl_NumWorkGroups",        1, &E_GL_ARB_compute_shader);
10060|      0|            symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_ARB_compute_shader);
10061|      0|            symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_ARB_compute_shader);
10062|      0|            symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_ARB_compute_shader);
10063|      0|            symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_ARB_compute_shader);
10064|      0|            symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_ARB_compute_shader);
10065|       |
10066|      0|            symbolTable.setVariableExtensions("gl_MaxComputeWorkGroupCount",       1, &E_GL_ARB_compute_shader);
10067|      0|            symbolTable.setVariableExtensions("gl_MaxComputeWorkGroupSize",        1, &E_GL_ARB_compute_shader);
10068|      0|            symbolTable.setVariableExtensions("gl_MaxComputeUniformComponents",    1, &E_GL_ARB_compute_shader);
10069|      0|            symbolTable.setVariableExtensions("gl_MaxComputeTextureImageUnits",    1, &E_GL_ARB_compute_shader);
10070|      0|            symbolTable.setVariableExtensions("gl_MaxComputeImageUniforms",        1, &E_GL_ARB_compute_shader);
10071|      0|            symbolTable.setVariableExtensions("gl_MaxComputeAtomicCounters",       1, &E_GL_ARB_compute_shader);
10072|      0|            symbolTable.setVariableExtensions("gl_MaxComputeAtomicCounterBuffers", 1, &E_GL_ARB_compute_shader);
10073|       |
10074|      0|            symbolTable.setFunctionExtensions("barrier",                    1, &E_GL_ARB_compute_shader);
10075|      0|            symbolTable.setFunctionExtensions("memoryBarrierAtomicCounter", 1, &E_GL_ARB_compute_shader);
10076|      0|            symbolTable.setFunctionExtensions("memoryBarrierBuffer",        1, &E_GL_ARB_compute_shader);
10077|      0|            symbolTable.setFunctionExtensions("memoryBarrierImage",         1, &E_GL_ARB_compute_shader);
10078|      0|            symbolTable.setFunctionExtensions("memoryBarrierShared",        1, &E_GL_ARB_compute_shader);
10079|      0|            symbolTable.setFunctionExtensions("groupMemoryBarrier",         1, &E_GL_ARB_compute_shader);
10080|      0|        }
10081|       |
10082|       |
10083|      4|        symbolTable.setFunctionExtensions("controlBarrier",                 1, &E_GL_KHR_memory_scope_semantics);
10084|      4|        symbolTable.setFunctionExtensions("debugPrintfEXT",                 1, &E_GL_EXT_debug_printf);
10085|      4|        symbolTable.setFunctionExtensions("abortEXT",                       1, &E_GL_EXT_abort);
10086|       |
10087|       |        // GL_ARB_shader_ballot
10088|      4|        if (profile != EEsProfile) {
  ------------------
  |  Branch (10088:13): [True: 4, False: 0]
  ------------------
10089|      4|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10090|      4|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10091|      4|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10092|      4|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10093|      4|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10094|      4|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10095|      4|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10096|       |
10097|      4|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10098|      4|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10099|      4|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10100|      4|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10101|      4|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10102|      4|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10103|       |
10104|      4|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10104:17): [True: 2, False: 2]
  ------------------
10105|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10106|      2|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10107|      2|                if (language == EShLangFragment)
  ------------------
  |  Branch (10107:21): [True: 0, False: 2]
  ------------------
10108|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10109|      2|            }
10110|      2|            else
10111|      2|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10112|      4|        }
10113|       |
10114|       |        // GL_KHR_shader_subgroup
10115|      4|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10115:14): [True: 0, False: 4]
  |  Branch (10115:39): [True: 0, False: 0]
  ------------------
10116|      4|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10116:14): [True: 4, False: 0]
  |  Branch (10116:39): [True: 4, False: 0]
  ------------------
10117|      4|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10118|      4|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10119|      4|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10120|      4|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10121|      4|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10122|      4|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10123|      4|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10124|       |
10125|      4|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10126|      4|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10127|      4|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10128|      4|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10129|      4|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10130|      4|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10131|      4|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10132|       |
10133|       |            // GL_NV_shader_sm_builtins
10134|      4|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10135|      4|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10136|      4|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10137|      4|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10138|      4|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10139|      4|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10140|      4|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10141|      4|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10142|       |
10143|       |            // GL_ARM_shader_core_builtins
10144|      4|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10145|      4|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10146|      4|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10147|      4|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10148|      4|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10149|       |
10150|      4|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10151|      4|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10152|      4|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10153|      4|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10154|      4|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10155|      4|        }
10156|       |
10157|       |        // GL_KHR_shader_subgroup
10158|      4|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10158:14): [True: 0, False: 4]
  |  Branch (10158:39): [True: 0, False: 0]
  ------------------
10159|      4|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10159:14): [True: 4, False: 0]
  |  Branch (10159:39): [True: 4, False: 0]
  ------------------
10160|      4|            symbolTable.setVariableExtensions("gl_NumSubgroups", 1, &E_GL_KHR_shader_subgroup_basic);
10161|      4|            symbolTable.setVariableExtensions("gl_SubgroupID",   1, &E_GL_KHR_shader_subgroup_basic);
10162|       |
10163|      4|            BuiltInVariable("gl_NumSubgroups", EbvNumSubgroups, symbolTable);
10164|      4|            BuiltInVariable("gl_SubgroupID",   EbvSubgroupID,   symbolTable);
10165|       |
10166|      4|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
10167|      4|        }
10168|       |
10169|      4|        {
10170|      4|            const char *coopExt[2] = { E_GL_NV_cooperative_matrix, E_GL_NV_integer_cooperative_matrix };
10171|      4|            symbolTable.setFunctionExtensions("coopMatLoadNV",   2, coopExt);
10172|      4|            symbolTable.setFunctionExtensions("coopMatStoreNV",  2, coopExt);
10173|      4|            symbolTable.setFunctionExtensions("coopMatMulAddNV", 2, coopExt);
10174|      4|        }
10175|       |
10176|      4|        {
10177|      4|            auto coopMatKHRCallback = [](const char *name) -> std::vector<const char *> {
10178|      4|                std::vector<const char *> ret;
10179|      4|                if (strstr(name, "u64") != nullptr) {
10180|      4|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10181|      4|                } else {
10182|      4|                    ret.push_back(E_GL_KHR_cooperative_matrix);
10183|      4|                }
10184|      4|                return ret;
10185|      4|            };
10186|      4|            auto coopMat2NVCallback = [](const char *name) -> std::vector<const char *> {
10187|      4|                std::vector<const char *> ret;
10188|      4|                if (strstr(name, "u64") != nullptr) {
10189|      4|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10190|      4|                } else {
10191|      4|                    ret.push_back(E_GL_NV_cooperative_matrix2);
10192|      4|                }
10193|      4|                return ret;
10194|      4|            };
10195|       |
10196|      4|            symbolTable.setFunctionExtensionsCallback("coopMatLoad",   coopMatKHRCallback);
10197|      4|            symbolTable.setFunctionExtensionsCallback("coopMatStore",  coopMatKHRCallback);
10198|      4|            symbolTable.setFunctionExtensions("coopMatMulAdd", 1, &E_GL_KHR_cooperative_matrix);
10199|       |
10200|      4|            symbolTable.setFunctionExtensionsCallback("coopMatLoadTensorNV",   coopMat2NVCallback);
10201|      4|            symbolTable.setFunctionExtensionsCallback("coopMatStoreTensorNV",   coopMat2NVCallback);
10202|       |
10203|      4|            symbolTable.setFunctionExtensions("coopMatReduceNV",   1, &E_GL_NV_cooperative_matrix2);
10204|      4|            symbolTable.setFunctionExtensions("coopMatPerElementNV",  1, &E_GL_NV_cooperative_matrix2);
10205|      4|            symbolTable.setFunctionExtensions("coopMatTransposeNV",   1, &E_GL_NV_cooperative_matrix2);
10206|       |            
10207|      4|            symbolTable.setFunctionExtensions("createTensorLayoutNV",           1, &E_GL_NV_cooperative_matrix2);
10208|      4|            symbolTable.setFunctionExtensions("setTensorLayoutBlockSizeNV",     1, &E_GL_NV_cooperative_matrix2);
10209|      4|            symbolTable.setFunctionExtensions("setTensorLayoutDimensionNV",     1, &E_GL_NV_cooperative_matrix2);
10210|      4|            symbolTable.setFunctionExtensions("setTensorLayoutStrideNV",        1, &E_GL_NV_cooperative_matrix2);
10211|      4|            symbolTable.setFunctionExtensions("sliceTensorLayoutNV",            1, &E_GL_NV_cooperative_matrix2);
10212|      4|            symbolTable.setFunctionExtensions("setTensorLayoutClampValueNV",    1, &E_GL_NV_cooperative_matrix2);
10213|       |
10214|      4|            symbolTable.setFunctionExtensions("createTensorViewNV",             1, &E_GL_NV_cooperative_matrix2);
10215|      4|            symbolTable.setFunctionExtensions("setTensorViewDimensionsNV",      1, &E_GL_NV_cooperative_matrix2);
10216|      4|            symbolTable.setFunctionExtensions("setTensorViewStrideNV",          1, &E_GL_NV_cooperative_matrix2);
10217|      4|            symbolTable.setFunctionExtensions("setTensorViewClipNV",            1, &E_GL_NV_cooperative_matrix2);
10218|      4|        }
10219|       |
10220|      4|        {
10221|      4|            symbolTable.setFunctionExtensions("tensorReadARM",   1, &E_GL_ARM_tensors);
10222|      4|            symbolTable.setFunctionExtensions("tensorWriteARM",  1, &E_GL_ARM_tensors);
10223|      4|            symbolTable.setFunctionExtensions("tensorSizeARM",   1, &E_GL_ARM_tensors);
10224|      4|        }
10225|      4|        {
10226|      4|            auto coopVecCallback = [](const char *name) -> std::vector<const char *> {
10227|      4|                std::vector<const char *> ret;
10228|       |                // This looks for u64 as the last parameter (the offset)
10229|      4|                if (strstr(name, "u641;") != nullptr) {
10230|      4|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10231|      4|                } else {
10232|      4|                    ret.push_back(E_GL_NV_cooperative_vector);
10233|      4|                }
10234|      4|                return ret;
10235|      4|            };
10236|      4|            symbolTable.setFunctionExtensionsCallback("coopVecMatMulNV", coopVecCallback);
10237|      4|            symbolTable.setFunctionExtensionsCallback("coopVecMatMulAddNV", coopVecCallback);
10238|      4|            symbolTable.setFunctionExtensionsCallback("coopVecLoadNV", coopVecCallback);
10239|      4|            symbolTable.setFunctionExtensionsCallback("coopVecStoreNV", coopVecCallback);
10240|      4|            symbolTable.setFunctionExtensionsCallback("coopVecOuterProductAccumulateNV", coopVecCallback);
10241|      4|            symbolTable.setFunctionExtensionsCallback("coopVecReduceSumAccumulateNV", coopVecCallback);
10242|      4|        }
10243|       |
10244|      4|        {
10245|      4|          symbolTable.setFunctionExtensions("bitcastQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10246|      4|          symbolTable.setFunctionExtensions("extractSubArrayQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10247|      4|          symbolTable.setFunctionExtensions("vectorToCoopmatQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10248|      4|          symbolTable.setFunctionExtensions("coopmatToVectorQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10249|      4|        }
10250|       |
10251|      4|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (10251:14): [True: 4, False: 0]
  |  Branch (10251:39): [True: 4, False: 0]
  |  Branch (10251:59): [True: 0, False: 0]
  |  Branch (10251:84): [True: 0, False: 0]
  ------------------
10252|      4|            const char* const derivativeExts[] = { E_GL_NV_compute_shader_derivatives, E_GL_KHR_compute_shader_derivatives };
10253|      4|            if (language == EShLangCompute) {
  ------------------
  |  Branch (10253:17): [True: 4, False: 0]
  ------------------
10254|      4|                symbolTable.setFunctionExtensions("dFdx",                   2, derivativeExts);
10255|      4|                symbolTable.setFunctionExtensions("dFdy",                   2, derivativeExts);
10256|      4|                symbolTable.setFunctionExtensions("fwidth",                 2, derivativeExts);
10257|      4|                symbolTable.setFunctionExtensions("dFdxFine",               2, derivativeExts);
10258|      4|                symbolTable.setFunctionExtensions("dFdyFine",               2, derivativeExts);
10259|      4|                symbolTable.setFunctionExtensions("fwidthFine",             2, derivativeExts);
10260|      4|                symbolTable.setFunctionExtensions("dFdxCoarse",             2, derivativeExts);
10261|      4|                symbolTable.setFunctionExtensions("dFdyCoarse",             2, derivativeExts);
10262|      4|                symbolTable.setFunctionExtensions("fwidthCoarse",           2, derivativeExts);
10263|      4|            } else if (language == EShLangTask || language == EShLangMesh) {
  ------------------
  |  Branch (10263:24): [True: 0, False: 0]
  |  Branch (10263:51): [True: 0, False: 0]
  ------------------
10264|      0|                symbolTable.setFunctionExtensions("dFdx",                   1, &E_GL_KHR_compute_shader_derivatives);
10265|      0|                symbolTable.setFunctionExtensions("dFdy",                   1, &E_GL_KHR_compute_shader_derivatives);
10266|      0|                symbolTable.setFunctionExtensions("fwidth",                 1, &E_GL_KHR_compute_shader_derivatives);
10267|      0|                symbolTable.setFunctionExtensions("dFdxFine",               1, &E_GL_KHR_compute_shader_derivatives);
10268|      0|                symbolTable.setFunctionExtensions("dFdyFine",               1, &E_GL_KHR_compute_shader_derivatives);
10269|      0|                symbolTable.setFunctionExtensions("fwidthFine",             1, &E_GL_KHR_compute_shader_derivatives);
10270|      0|                symbolTable.setFunctionExtensions("dFdxCoarse",             1, &E_GL_KHR_compute_shader_derivatives);
10271|      0|                symbolTable.setFunctionExtensions("dFdyCoarse",             1, &E_GL_KHR_compute_shader_derivatives);
10272|      0|                symbolTable.setFunctionExtensions("fwidthCoarse",           1, &E_GL_KHR_compute_shader_derivatives);
10273|      0|            }
10274|      4|        }
10275|       |
10276|      4|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10276:14): [True: 0, False: 4]
  |  Branch (10276:39): [True: 0, False: 0]
  ------------------
10277|      4|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10277:14): [True: 4, False: 0]
  |  Branch (10277:39): [True: 4, False: 0]
  ------------------
10278|      4|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10279|      4|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10280|      4|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10281|      4|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10282|      4|        }
10283|       |
10284|      4|        if ((profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10284:14): [True: 4, False: 0]
  |  Branch (10284:39): [True: 0, False: 4]
  ------------------
10285|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
10286|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
10287|      0|        }
10288|       |
10289|       |        // GL_EXT_integer_dot_product
10290|      4|        if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (10290:14): [True: 0, False: 4]
  |  Branch (10290:39): [True: 0, False: 0]
  ------------------
10291|      4|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10291:14): [True: 4, False: 0]
  |  Branch (10291:39): [True: 4, False: 0]
  ------------------
10292|      4|            symbolTable.setFunctionExtensions("dotEXT", 1, &E_GL_EXT_integer_dot_product);
10293|      4|            symbolTable.setFunctionExtensions("dotPacked4x8EXT", 1, &E_GL_EXT_integer_dot_product);
10294|      4|            symbolTable.setFunctionExtensions("dotAccSatEXT", 1, &E_GL_EXT_integer_dot_product);
10295|      4|            symbolTable.setFunctionExtensions("dotPacked4x8AccSatEXT", 1, &E_GL_EXT_integer_dot_product);
10296|      4|        }
10297|       |
10298|      4|        {
10299|      4|            symbolTable.setFunctionExtensions("bfloat16BitsToIntEXT", 1, &E_GL_EXT_bfloat16);
10300|      4|            symbolTable.setFunctionExtensions("bfloat16BitsToUintEXT", 1, &E_GL_EXT_bfloat16);
10301|      4|            symbolTable.setFunctionExtensions("intBitsToBFloat16EXT", 1, &E_GL_EXT_bfloat16);
10302|      4|            symbolTable.setFunctionExtensions("uintBitsToBFloat16EXT", 1, &E_GL_EXT_bfloat16);
10303|       |
10304|      4|            symbolTable.setFunctionExtensions("floate5m2BitsToIntEXT", 1, &E_GL_EXT_float_e5m2);
10305|      4|            symbolTable.setFunctionExtensions("floate5m2BitsToUintEXT", 1, &E_GL_EXT_float_e5m2);
10306|      4|            symbolTable.setFunctionExtensions("intBitsToFloate5m2EXT", 1, &E_GL_EXT_float_e5m2);
10307|      4|            symbolTable.setFunctionExtensions("uintBitsToFloate5m2EXT", 1, &E_GL_EXT_float_e5m2);
10308|       |
10309|      4|            symbolTable.setFunctionExtensions("floate4m3BitsToIntEXT", 1, &E_GL_EXT_float_e4m3);
10310|      4|            symbolTable.setFunctionExtensions("floate4m3BitsToUintEXT", 1, &E_GL_EXT_float_e4m3);
10311|      4|            symbolTable.setFunctionExtensions("intBitsToFloate4m3EXT", 1, &E_GL_EXT_float_e4m3);
10312|      4|            symbolTable.setFunctionExtensions("uintBitsToFloate4m3EXT", 1, &E_GL_EXT_float_e4m3);
10313|       |
10314|      4|            const char *float8exts[] = {E_GL_EXT_float_e5m2, E_GL_EXT_float_e4m3};
10315|      4|            symbolTable.setFunctionExtensions("saturatedConvertEXT", 2, float8exts);
10316|      4|        }
10317|       |
10318|       |        // E_SPV_QCOM_tile_shading
10319|      4|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10319:14): [True: 0, False: 4]
  |  Branch (10319:39): [True: 0, False: 0]
  ------------------
10320|      4|            (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10320:14): [True: 4, False: 0]
  |  Branch (10320:39): [True: 0, False: 4]
  ------------------
10321|      0|            BuiltInVariable("gl_TileOffsetQCOM",        EbvTileOffsetQCOM,      symbolTable);
10322|      0|            BuiltInVariable("gl_TileDimensionQCOM",     EbvTileDimensionQCOM,   symbolTable);
10323|      0|            BuiltInVariable("gl_TileApronSizeQCOM",     EbvTileApronSizeQCOM,   symbolTable);
10324|       |
10325|      0|            symbolTable.setVariableExtensions("gl_TileOffsetQCOM",        1, &E_GL_QCOM_tile_shading);
10326|      0|            symbolTable.setVariableExtensions("gl_TileDimensionQCOM",     1, &E_GL_QCOM_tile_shading);
10327|      0|            symbolTable.setVariableExtensions("gl_TileApronSizeQCOM",     1, &E_GL_QCOM_tile_shading);
10328|      0|        }
10329|      4|        break;
10330|       |
10331|      4|    case EShLangRayGen:
  ------------------
  |  Branch (10331:5): [True: 4, False: 143]
  ------------------
10332|      8|    case EShLangIntersect:
  ------------------
  |  Branch (10332:5): [True: 4, False: 143]
  ------------------
10333|     12|    case EShLangAnyHit:
  ------------------
  |  Branch (10333:5): [True: 4, False: 143]
  ------------------
10334|     16|    case EShLangClosestHit:
  ------------------
  |  Branch (10334:5): [True: 4, False: 143]
  ------------------
10335|     20|    case EShLangMiss:
  ------------------
  |  Branch (10335:5): [True: 4, False: 143]
  ------------------
10336|     24|    case EShLangCallable:
  ------------------
  |  Branch (10336:5): [True: 4, False: 143]
  ------------------
10337|     24|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (10337:13): [True: 24, False: 0]
  |  Branch (10337:38): [True: 0, False: 24]
  ------------------
10338|      0|            const char *rtexts[] = { E_GL_NV_ray_tracing, E_GL_EXT_ray_tracing };
10339|      0|            symbolTable.setVariableExtensions("gl_LaunchIDNV", 1, &E_GL_NV_ray_tracing);
10340|      0|            symbolTable.setVariableExtensions("gl_LaunchIDEXT", 1, &E_GL_EXT_ray_tracing);
10341|      0|            symbolTable.setVariableExtensions("gl_LaunchSizeNV", 1, &E_GL_NV_ray_tracing);
10342|      0|            symbolTable.setVariableExtensions("gl_LaunchSizeEXT", 1, &E_GL_EXT_ray_tracing);
10343|      0|            symbolTable.setVariableExtensions("gl_PrimitiveID", 2, rtexts);
10344|      0|            symbolTable.setVariableExtensions("gl_InstanceID", 2, rtexts);
10345|      0|            symbolTable.setVariableExtensions("gl_InstanceCustomIndexNV", 1, &E_GL_NV_ray_tracing);
10346|      0|            symbolTable.setVariableExtensions("gl_InstanceCustomIndexEXT", 1, &E_GL_EXT_ray_tracing);
10347|      0|            symbolTable.setVariableExtensions("gl_GeometryIndexEXT", 1, &E_GL_EXT_ray_tracing);
10348|      0|            symbolTable.setVariableExtensions("gl_WorldRayOriginNV", 1, &E_GL_NV_ray_tracing);
10349|      0|            symbolTable.setVariableExtensions("gl_WorldRayOriginEXT", 1, &E_GL_EXT_ray_tracing);
10350|      0|            symbolTable.setVariableExtensions("gl_WorldRayDirectionNV", 1, &E_GL_NV_ray_tracing);
10351|      0|            symbolTable.setVariableExtensions("gl_WorldRayDirectionEXT", 1, &E_GL_EXT_ray_tracing);
10352|      0|            symbolTable.setVariableExtensions("gl_ObjectRayOriginNV", 1, &E_GL_NV_ray_tracing);
10353|      0|            symbolTable.setVariableExtensions("gl_ObjectRayOriginEXT", 1, &E_GL_EXT_ray_tracing);
10354|      0|            symbolTable.setVariableExtensions("gl_ObjectRayDirectionNV", 1, &E_GL_NV_ray_tracing);
10355|      0|            symbolTable.setVariableExtensions("gl_ObjectRayDirectionEXT", 1, &E_GL_EXT_ray_tracing);
10356|      0|            symbolTable.setVariableExtensions("gl_RayTminNV", 1, &E_GL_NV_ray_tracing);
10357|      0|            symbolTable.setVariableExtensions("gl_RayTminEXT", 1, &E_GL_EXT_ray_tracing);
10358|      0|            symbolTable.setVariableExtensions("gl_RayTmaxNV", 1, &E_GL_NV_ray_tracing);
10359|      0|            symbolTable.setVariableExtensions("gl_RayTmaxEXT", 1, &E_GL_EXT_ray_tracing);
10360|      0|            symbolTable.setVariableExtensions("gl_CullMaskEXT", 1, &E_GL_EXT_ray_cull_mask);
10361|      0|            symbolTable.setVariableExtensions("gl_HitTNV", 1, &E_GL_NV_ray_tracing);
10362|      0|            symbolTable.setVariableExtensions("gl_HitTEXT", 1, &E_GL_EXT_ray_tracing);
10363|      0|            symbolTable.setVariableExtensions("gl_HitKindNV", 1, &E_GL_NV_ray_tracing);
10364|      0|            symbolTable.setVariableExtensions("gl_HitKindEXT", 1, &E_GL_EXT_ray_tracing);
10365|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorldNV", 1, &E_GL_NV_ray_tracing);
10366|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorldEXT", 1, &E_GL_EXT_ray_tracing);
10367|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorld3x4EXT", 1, &E_GL_EXT_ray_tracing);
10368|      0|            symbolTable.setVariableExtensions("gl_WorldToObjectNV", 1, &E_GL_NV_ray_tracing);
10369|      0|            symbolTable.setVariableExtensions("gl_WorldToObjectEXT", 1, &E_GL_EXT_ray_tracing);
10370|      0|            symbolTable.setVariableExtensions("gl_WorldToObject3x4EXT", 1, &E_GL_EXT_ray_tracing);
10371|      0|            symbolTable.setVariableExtensions("gl_IncomingRayFlagsNV", 1, &E_GL_NV_ray_tracing);
10372|      0|            symbolTable.setVariableExtensions("gl_IncomingRayFlagsEXT", 1, &E_GL_EXT_ray_tracing);
10373|      0|            symbolTable.setVariableExtensions("gl_CurrentRayTimeNV", 1, &E_GL_NV_ray_tracing_motion_blur);
10374|      0|            symbolTable.setVariableExtensions("gl_HitTriangleVertexPositionsEXT", 1, &E_GL_EXT_ray_tracing_position_fetch);
10375|      0|            symbolTable.setVariableExtensions("gl_HitMicroTriangleVertexPositionsNV", 1, &E_GL_NV_displacement_micromap);
10376|      0|            symbolTable.setVariableExtensions("gl_HitMicroTriangleVertexBarycentricsNV", 1, &E_GL_NV_displacement_micromap);
10377|      0|            symbolTable.setVariableExtensions("gl_ClusterIDNV", 1, &E_GL_NV_cluster_acceleration_structure);
10378|      0|            symbolTable.setVariableExtensions("gl_HitKindSphereNV", 1, &E_GL_NV_linear_swept_spheres);
10379|      0|            symbolTable.setVariableExtensions("gl_HitKindLSSNV", 1, &E_GL_NV_linear_swept_spheres);
10380|      0|            symbolTable.setVariableExtensions("gl_HitSpherePositionNV", 1, &E_GL_NV_linear_swept_spheres);
10381|      0|            symbolTable.setVariableExtensions("gl_HitSphereRadiusNV", 1, &E_GL_NV_linear_swept_spheres);
10382|      0|            symbolTable.setVariableExtensions("gl_HitLSSPositionNV", 1, &E_GL_NV_linear_swept_spheres);
10383|      0|            symbolTable.setVariableExtensions("gl_HitLSSRadiiNV", 1, &E_GL_NV_linear_swept_spheres);
10384|       |
10385|      0|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
10386|       |
10387|       |
10388|      0|            symbolTable.setFunctionExtensions("traceNV", 1, &E_GL_NV_ray_tracing);
10389|      0|            symbolTable.setFunctionExtensions("traceRayMotionNV", 1, &E_GL_NV_ray_tracing_motion_blur);
10390|      0|            symbolTable.setFunctionExtensions("traceRayEXT", 1, &E_GL_EXT_ray_tracing);
10391|      0|            symbolTable.setFunctionExtensions("reportIntersectionNV", 1, &E_GL_NV_ray_tracing);
10392|      0|            symbolTable.setFunctionExtensions("reportIntersectionEXT", 1, &E_GL_EXT_ray_tracing);
10393|      0|            symbolTable.setFunctionExtensions("ignoreIntersectionNV", 1, &E_GL_NV_ray_tracing);
10394|      0|            symbolTable.setFunctionExtensions("terminateRayNV", 1, &E_GL_NV_ray_tracing);
10395|      0|            symbolTable.setFunctionExtensions("executeCallableNV", 1, &E_GL_NV_ray_tracing);
10396|      0|            symbolTable.setFunctionExtensions("executeCallableEXT", 1, &E_GL_EXT_ray_tracing);
10397|       |
10398|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayNV", 1, &E_GL_NV_shader_invocation_reorder);
10399|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10400|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitNV", 1, &E_GL_NV_shader_invocation_reorder);
10401|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10402|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitWithIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10403|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitWithIndexMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10404|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissNV", 1, &E_GL_NV_shader_invocation_reorder);
10405|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10406|      0|            symbolTable.setFunctionExtensions("hitObjectRecordEmptyNV", 1, &E_GL_NV_shader_invocation_reorder);
10407|      0|            symbolTable.setFunctionExtensions("hitObjectExecuteShaderNV", 1, &E_GL_NV_shader_invocation_reorder);
10408|      0|            symbolTable.setFunctionExtensions("hitObjectIsEmptyNV", 1, &E_GL_NV_shader_invocation_reorder);
10409|      0|            symbolTable.setFunctionExtensions("hitObjectIsMissNV", 1, &E_GL_NV_shader_invocation_reorder);
10410|      0|            symbolTable.setFunctionExtensions("hitObjectIsHitNV", 1, &E_GL_NV_shader_invocation_reorder);
10411|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMinNV", 1, &E_GL_NV_shader_invocation_reorder);
10412|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMaxNV", 1, &E_GL_NV_shader_invocation_reorder);
10413|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayOriginNV", 1, &E_GL_NV_shader_invocation_reorder);
10414|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayDirectionNV", 1, &E_GL_NV_shader_invocation_reorder);
10415|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayOriginNV", 1, &E_GL_NV_shader_invocation_reorder);
10416|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayDirectionNV", 1, &E_GL_NV_shader_invocation_reorder);
10417|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldToObjectNV", 1, &E_GL_NV_shader_invocation_reorder);
10418|      0|            symbolTable.setFunctionExtensions("hitObjectGetbjectToWorldNV", 1, &E_GL_NV_shader_invocation_reorder);
10419|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceCustomIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10420|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceIdNV", 1, &E_GL_NV_shader_invocation_reorder);
10421|      0|            symbolTable.setFunctionExtensions("hitObjectGetGeometryIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10422|      0|            symbolTable.setFunctionExtensions("hitObjectGetPrimitiveIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10423|      0|            symbolTable.setFunctionExtensions("hitObjectGetHitKindNV", 1, &E_GL_NV_shader_invocation_reorder);
10424|      0|            symbolTable.setFunctionExtensions("hitObjectGetAttributesNV", 1, &E_GL_NV_shader_invocation_reorder);
10425|      0|            symbolTable.setFunctionExtensions("hitObjectGetCurrentTimeNV", 1, &E_GL_NV_shader_invocation_reorder);
10426|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderBindingTableRecordIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10427|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderRecordBufferHandleNV", 1, &E_GL_NV_shader_invocation_reorder);
10428|      0|            symbolTable.setFunctionExtensions("hitObjectGetClusterIdNV", 1, &E_GL_NV_cluster_acceleration_structure);
10429|      0|            symbolTable.setFunctionExtensions("reorderThreadNV", 1, &E_GL_NV_shader_invocation_reorder);
10430|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
10431|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
10432|      0|            symbolTable.setFunctionExtensions("hitObjectGetSpherePositionNV", 1, &E_GL_NV_linear_swept_spheres);
10433|      0|            symbolTable.setFunctionExtensions("hitObjectGetSphereRadiusNV", 1, &E_GL_NV_linear_swept_spheres);
10434|      0|            symbolTable.setFunctionExtensions("hitObjectGetLSSPositionsNV", 1, &E_GL_NV_linear_swept_spheres);
10435|      0|            symbolTable.setFunctionExtensions("hitObjectGetLSSRadiiNV", 1, &E_GL_NV_linear_swept_spheres);
10436|      0|            symbolTable.setFunctionExtensions("hitObjectIsSphereHitNV", 1, &E_GL_NV_linear_swept_spheres);
10437|      0|            symbolTable.setFunctionExtensions("hitObjectIsLSSHitNV", 1, &E_GL_NV_linear_swept_spheres);
10438|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10439|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayMotionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10440|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10441|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissMotionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10442|      0|            symbolTable.setFunctionExtensions("hitObjectRecordEmptyEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10443|      0|            symbolTable.setFunctionExtensions("hitObjectExecuteShaderEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10444|      0|            symbolTable.setFunctionExtensions("hitObjectIsEmptyEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10445|      0|            symbolTable.setFunctionExtensions("hitObjectIsMissEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10446|      0|            symbolTable.setFunctionExtensions("hitObjectIsHitEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10447|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMinEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10448|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMaxEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10449|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayFlagsEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10450|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayOriginEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10451|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayDirectionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10452|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayOriginEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10453|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayDirectionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10454|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldToObjectEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10455|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectToWorldEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10456|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceCustomIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10457|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceIdEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10458|      0|            symbolTable.setFunctionExtensions("hitObjectGetGeometryIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10459|      0|            symbolTable.setFunctionExtensions("hitObjectGetPrimitiveIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10460|      0|            symbolTable.setFunctionExtensions("hitObjectGetHitKindEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10461|      0|            symbolTable.setFunctionExtensions("hitObjectGetAttributesEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10462|      0|            symbolTable.setFunctionExtensions("hitObjectGetCurrentTimeEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10463|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderBindingTableRecordIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10464|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderRecordBufferHandleEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10465|      0|            symbolTable.setFunctionExtensions("hitObjectSetShaderBindingTableRecordIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10466|      0|            symbolTable.setFunctionExtensions("reorderThreadEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10467|      0|            symbolTable.setFunctionExtensions("hitObjectReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10468|      0|            symbolTable.setFunctionExtensions("hitObjectTraceReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10469|      0|            symbolTable.setFunctionExtensions("hitObjectTraceMotionReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10470|      0|            symbolTable.setFunctionExtensions("hitObjectRecordFromQueryEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10471|      0|            symbolTable.setFunctionExtensions("hitObjectGetIntersectionTriangleVertexPositionsEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10472|       |
10473|       |
10474|      0|            BuiltInVariable("gl_LaunchIDNV",             EbvLaunchId,           symbolTable);
10475|      0|            BuiltInVariable("gl_LaunchIDEXT",            EbvLaunchId,           symbolTable);
10476|      0|            BuiltInVariable("gl_LaunchSizeNV",           EbvLaunchSize,         symbolTable);
10477|      0|            BuiltInVariable("gl_LaunchSizeEXT",          EbvLaunchSize,         symbolTable);
10478|      0|            BuiltInVariable("gl_PrimitiveID",            EbvPrimitiveId,        symbolTable);
10479|      0|            BuiltInVariable("gl_InstanceID",             EbvInstanceId,         symbolTable);
10480|      0|            BuiltInVariable("gl_InstanceCustomIndexNV",  EbvInstanceCustomIndex,symbolTable);
10481|      0|            BuiltInVariable("gl_InstanceCustomIndexEXT", EbvInstanceCustomIndex,symbolTable);
10482|      0|            BuiltInVariable("gl_GeometryIndexEXT",       EbvGeometryIndex,      symbolTable);
10483|      0|            BuiltInVariable("gl_WorldRayOriginNV",       EbvWorldRayOrigin,     symbolTable);
10484|      0|            BuiltInVariable("gl_WorldRayOriginEXT",      EbvWorldRayOrigin,     symbolTable);
10485|      0|            BuiltInVariable("gl_WorldRayDirectionNV",    EbvWorldRayDirection,  symbolTable);
10486|      0|            BuiltInVariable("gl_WorldRayDirectionEXT",   EbvWorldRayDirection,  symbolTable);
10487|      0|            BuiltInVariable("gl_ObjectRayOriginNV",      EbvObjectRayOrigin,    symbolTable);
10488|      0|            BuiltInVariable("gl_ObjectRayOriginEXT",     EbvObjectRayOrigin,    symbolTable);
10489|      0|            BuiltInVariable("gl_ObjectRayDirectionNV",   EbvObjectRayDirection, symbolTable);
10490|      0|            BuiltInVariable("gl_ObjectRayDirectionEXT",  EbvObjectRayDirection, symbolTable);
10491|      0|            BuiltInVariable("gl_RayTminNV",              EbvRayTmin,            symbolTable);
10492|      0|            BuiltInVariable("gl_RayTminEXT",             EbvRayTmin,            symbolTable);
10493|      0|            BuiltInVariable("gl_RayTmaxNV",              EbvRayTmax,            symbolTable);
10494|      0|            BuiltInVariable("gl_RayTmaxEXT",             EbvRayTmax,            symbolTable);
10495|      0|            BuiltInVariable("gl_CullMaskEXT",            EbvCullMask,           symbolTable);
10496|      0|            BuiltInVariable("gl_HitKindNV",              EbvHitKind,            symbolTable);
10497|      0|            BuiltInVariable("gl_HitKindEXT",             EbvHitKind,            symbolTable);
10498|      0|            BuiltInVariable("gl_ObjectToWorldNV",        EbvObjectToWorld,      symbolTable);
10499|      0|            BuiltInVariable("gl_ObjectToWorldEXT",       EbvObjectToWorld,      symbolTable);
10500|      0|            BuiltInVariable("gl_ObjectToWorld3x4EXT",    EbvObjectToWorld3x4,   symbolTable);
10501|      0|            BuiltInVariable("gl_WorldToObjectNV",        EbvWorldToObject,      symbolTable);
10502|      0|            BuiltInVariable("gl_WorldToObjectEXT",       EbvWorldToObject,      symbolTable);
10503|      0|            BuiltInVariable("gl_WorldToObject3x4EXT",    EbvWorldToObject3x4,   symbolTable);
10504|      0|            BuiltInVariable("gl_IncomingRayFlagsNV",     EbvIncomingRayFlags,   symbolTable);
10505|      0|            BuiltInVariable("gl_IncomingRayFlagsEXT",    EbvIncomingRayFlags,   symbolTable);
10506|      0|            BuiltInVariable("gl_DeviceIndex",            EbvDeviceIndex,        symbolTable);
10507|      0|            BuiltInVariable("gl_CurrentRayTimeNV",       EbvCurrentRayTimeNV,   symbolTable);
10508|      0|            BuiltInVariable("gl_HitTriangleVertexPositionsEXT", EbvPositionFetch, symbolTable);
10509|      0|            BuiltInVariable("gl_HitMicroTriangleVertexPositionsNV", EbvMicroTrianglePositionNV, symbolTable);
10510|      0|            BuiltInVariable("gl_HitMicroTriangleVertexBarycentricsNV", EbvMicroTriangleBaryNV, symbolTable);
10511|      0|            BuiltInVariable("gl_HitKindFrontFacingMicroTriangleNV", EbvHitKindFrontFacingMicroTriangleNV, symbolTable);
10512|      0|            BuiltInVariable("gl_HitKindBackFacingMicroTriangleNV", EbvHitKindBackFacingMicroTriangleNV, symbolTable);
10513|      0|            BuiltInVariable("gl_ClusterIDNV",            EbvClusterIDNV,         symbolTable);
10514|      0|            BuiltInVariable("gl_HitIsSphereNV", EbvHitIsSphereNV, symbolTable);
10515|      0|            BuiltInVariable("gl_HitIsLSSNV", EbvHitIsLSSNV, symbolTable);
10516|      0|            BuiltInVariable("gl_HitSpherePositionNV", EbvHitSpherePositionNV, symbolTable);
10517|      0|            BuiltInVariable("gl_HitSphereRadiusNV", EbvHitSphereRadiusNV, symbolTable);
10518|      0|            BuiltInVariable("gl_HitLSSPositionsNV", EbvHitLSSPositionsNV, symbolTable);
10519|      0|            BuiltInVariable("gl_HitLSSRadiiNV", EbvHitLSSRadiiNV, symbolTable);
10520|       |
10521|       |            // gl_HitT variables are aliases of their gl_RayTmax counterparts.
10522|      0|            RetargetVariable("gl_HitTNV",                "gl_RayTmaxNV",        symbolTable);
10523|      0|            RetargetVariable("gl_HitTEXT",               "gl_RayTmaxEXT",       symbolTable);
10524|       |
10525|       |            // GL_ARB_shader_ballot
10526|      0|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10527|      0|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10528|      0|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10529|      0|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10530|      0|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10531|      0|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10532|      0|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10533|       |
10534|      0|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10535|      0|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10536|      0|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10537|      0|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10538|      0|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10539|      0|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10540|       |
10541|      0|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10541:17): [True: 0, False: 0]
  ------------------
10542|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10543|      0|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10544|      0|                if (language == EShLangFragment)
  ------------------
  |  Branch (10544:21): [True: 0, False: 0]
  ------------------
10545|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10546|      0|            }
10547|      0|            else
10548|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10549|       |
10550|       |            // GL_KHR_shader_subgroup
10551|      0|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
10552|      0|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
10553|      0|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10554|      0|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10555|      0|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10556|      0|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10557|      0|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10558|      0|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10559|      0|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10560|       |
10561|      0|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
10562|      0|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
10563|      0|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10564|      0|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10565|      0|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10566|      0|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10567|      0|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10568|      0|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10569|      0|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10570|       |
10571|       |            // GL_NV_shader_sm_builtins
10572|      0|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10573|      0|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10574|      0|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10575|      0|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10576|      0|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10577|      0|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10578|      0|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10579|      0|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10580|       |
10581|       |            // GL_ARM_shader_core_builtins
10582|      0|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10583|      0|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10584|      0|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10585|      0|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10586|      0|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10587|       |
10588|      0|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10589|      0|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10590|      0|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10591|      0|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10592|      0|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10593|      0|        }
10594|     24|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10594:14): [True: 0, False: 24]
  |  Branch (10594:39): [True: 0, False: 0]
  ------------------
10595|     24|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10595:14): [True: 24, False: 0]
  |  Branch (10595:39): [True: 24, False: 0]
  ------------------
10596|     24|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10597|     24|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10598|     24|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10599|     24|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10600|     24|        }
10601|     24|        break;
10602|       |
10603|      4|    case EShLangMesh:
  ------------------
  |  Branch (10603:5): [True: 4, False: 143]
  ------------------
10604|      4|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (10604:14): [True: 4, False: 0]
  |  Branch (10604:39): [True: 4, False: 0]
  |  Branch (10604:59): [True: 0, False: 0]
  |  Branch (10604:84): [True: 0, False: 0]
  ------------------
10605|       |            // per-vertex builtins
10606|      4|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_Position",     1, &E_GL_NV_mesh_shader);
10607|      4|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_PointSize",    1, &E_GL_NV_mesh_shader);
10608|      4|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_ClipDistance", 1, &E_GL_NV_mesh_shader);
10609|      4|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_CullDistance", 1, &E_GL_NV_mesh_shader);
10610|       |
10611|      4|            BuiltInVariable("gl_MeshVerticesNV", "gl_Position",     EbvPosition,     symbolTable);
10612|      4|            BuiltInVariable("gl_MeshVerticesNV", "gl_PointSize",    EbvPointSize,    symbolTable);
10613|      4|            BuiltInVariable("gl_MeshVerticesNV", "gl_ClipDistance", EbvClipDistance, symbolTable);
10614|      4|            BuiltInVariable("gl_MeshVerticesNV", "gl_CullDistance", EbvCullDistance, symbolTable);
10615|       |
10616|      4|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_PositionPerViewNV",     1, &E_GL_NV_mesh_shader);
10617|      4|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_ClipDistancePerViewNV", 1, &E_GL_NV_mesh_shader);
10618|      4|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_CullDistancePerViewNV", 1, &E_GL_NV_mesh_shader);
10619|       |
10620|      4|            BuiltInVariable("gl_MeshVerticesNV", "gl_PositionPerViewNV",     EbvPositionPerViewNV,     symbolTable);
10621|      4|            BuiltInVariable("gl_MeshVerticesNV", "gl_ClipDistancePerViewNV", EbvClipDistancePerViewNV, symbolTable);
10622|      4|            BuiltInVariable("gl_MeshVerticesNV", "gl_CullDistancePerViewNV", EbvCullDistancePerViewNV, symbolTable);
10623|       |
10624|       |            // per-primitive builtins
10625|      4|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_PrimitiveID",   1, &E_GL_NV_mesh_shader);
10626|      4|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_Layer",         1, &E_GL_NV_mesh_shader);
10627|      4|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportIndex", 1, &E_GL_NV_mesh_shader);
10628|      4|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportMask",  1, &E_GL_NV_mesh_shader);
10629|       |
10630|      4|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_PrimitiveID",   EbvPrimitiveId,    symbolTable);
10631|      4|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_Layer",         EbvLayer,          symbolTable);
10632|      4|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportIndex", EbvViewportIndex,  symbolTable);
10633|      4|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportMask",  EbvViewportMaskNV, symbolTable);
10634|       |
10635|       |            // per-view per-primitive builtins
10636|      4|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_LayerPerViewNV",        1, &E_GL_NV_mesh_shader);
10637|      4|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportMaskPerViewNV", 1, &E_GL_NV_mesh_shader);
10638|       |
10639|      4|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_LayerPerViewNV",        EbvLayerPerViewNV,        symbolTable);
10640|      4|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportMaskPerViewNV", EbvViewportMaskPerViewNV, symbolTable);
10641|       |
10642|       |            // other builtins
10643|      4|            symbolTable.setVariableExtensions("gl_PrimitiveCountNV",     1, &E_GL_NV_mesh_shader);
10644|      4|            symbolTable.setVariableExtensions("gl_PrimitiveIndicesNV",   1, &E_GL_NV_mesh_shader);
10645|      4|            symbolTable.setVariableExtensions("gl_MeshViewCountNV",      1, &E_GL_NV_mesh_shader);
10646|      4|            symbolTable.setVariableExtensions("gl_MeshViewIndicesNV",    1, &E_GL_NV_mesh_shader);
10647|      4|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10647:17): [True: 4, False: 0]
  ------------------
10648|      4|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        Num_AEP_mesh_shader, AEP_mesh_shader);
10649|      4|                symbolTable.setVariableExtensions("gl_WorkGroupID",          Num_AEP_mesh_shader, AEP_mesh_shader);
10650|      4|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    Num_AEP_mesh_shader, AEP_mesh_shader);
10651|      4|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   Num_AEP_mesh_shader, AEP_mesh_shader);
10652|      4|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", Num_AEP_mesh_shader, AEP_mesh_shader);
10653|      4|            } else {
10654|      0|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_NV_mesh_shader);
10655|      0|                symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_NV_mesh_shader);
10656|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_NV_mesh_shader);
10657|      0|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_NV_mesh_shader);
10658|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_NV_mesh_shader);
10659|      0|            }
10660|      4|            BuiltInVariable("gl_PrimitiveCountNV",     EbvPrimitiveCountNV,     symbolTable);
10661|      4|            BuiltInVariable("gl_PrimitiveIndicesNV",   EbvPrimitiveIndicesNV,   symbolTable);
10662|      4|            BuiltInVariable("gl_MeshViewCountNV",      EbvMeshViewCountNV,      symbolTable);
10663|      4|            BuiltInVariable("gl_MeshViewIndicesNV",    EbvMeshViewIndicesNV,    symbolTable);
10664|      4|            BuiltInVariable("gl_WorkGroupSize",        EbvWorkGroupSize,        symbolTable);
10665|      4|            BuiltInVariable("gl_WorkGroupID",          EbvWorkGroupId,          symbolTable);
10666|      4|            BuiltInVariable("gl_LocalInvocationID",    EbvLocalInvocationId,    symbolTable);
10667|      4|            BuiltInVariable("gl_GlobalInvocationID",   EbvGlobalInvocationId,   symbolTable);
10668|      4|            BuiltInVariable("gl_LocalInvocationIndex", EbvLocalInvocationIndex, symbolTable);
10669|       |
10670|       |            // builtin constants
10671|      4|            symbolTable.setVariableExtensions("gl_MaxMeshOutputVerticesNV",   1, &E_GL_NV_mesh_shader);
10672|      4|            symbolTable.setVariableExtensions("gl_MaxMeshOutputPrimitivesNV", 1, &E_GL_NV_mesh_shader);
10673|      4|            symbolTable.setVariableExtensions("gl_MaxMeshWorkGroupSizeNV",    1, &E_GL_NV_mesh_shader);
10674|      4|            symbolTable.setVariableExtensions("gl_MaxMeshViewCountNV",        1, &E_GL_NV_mesh_shader);
10675|       |
10676|       |            // builtin functions
10677|      4|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10677:17): [True: 4, False: 0]
  ------------------
10678|      4|                symbolTable.setFunctionExtensions("barrier",                      Num_AEP_mesh_shader, AEP_mesh_shader);
10679|      4|                symbolTable.setFunctionExtensions("memoryBarrierShared",          Num_AEP_mesh_shader, AEP_mesh_shader);
10680|      4|                symbolTable.setFunctionExtensions("groupMemoryBarrier",           Num_AEP_mesh_shader, AEP_mesh_shader);
10681|      4|            } else {
10682|      0|                symbolTable.setFunctionExtensions("barrier",                      1, &E_GL_NV_mesh_shader);
10683|      0|                symbolTable.setFunctionExtensions("memoryBarrierShared",          1, &E_GL_NV_mesh_shader);
10684|      0|                symbolTable.setFunctionExtensions("groupMemoryBarrier",           1, &E_GL_NV_mesh_shader);
10685|      0|            }
10686|      4|            symbolTable.setFunctionExtensions("writePackedPrimitiveIndices4x8NV",  1, &E_GL_NV_mesh_shader);
10687|      4|        }
10688|       |
10689|      4|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (10689:13): [True: 4, False: 0]
  |  Branch (10689:38): [True: 4, False: 0]
  ------------------
10690|       |            // GL_EXT_Mesh_shader
10691|      4|            symbolTable.setVariableExtensions("gl_PrimitivePointIndicesEXT",    1, &E_GL_EXT_mesh_shader);
10692|      4|            symbolTable.setVariableExtensions("gl_PrimitiveLineIndicesEXT",     1, &E_GL_EXT_mesh_shader);
10693|      4|            symbolTable.setVariableExtensions("gl_PrimitiveTriangleIndicesEXT", 1, &E_GL_EXT_mesh_shader);
10694|      4|            symbolTable.setVariableExtensions("gl_NumWorkGroups",               1, &E_GL_EXT_mesh_shader);
10695|       |
10696|      4|            BuiltInVariable("gl_PrimitivePointIndicesEXT",    EbvPrimitivePointIndicesEXT,    symbolTable);
10697|      4|            BuiltInVariable("gl_PrimitiveLineIndicesEXT",     EbvPrimitiveLineIndicesEXT,     symbolTable);
10698|      4|            BuiltInVariable("gl_PrimitiveTriangleIndicesEXT", EbvPrimitiveTriangleIndicesEXT, symbolTable);
10699|      4|            BuiltInVariable("gl_NumWorkGroups",        EbvNumWorkGroups,        symbolTable);
10700|       |
10701|      4|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_Position",     1, &E_GL_EXT_mesh_shader);
10702|      4|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_PointSize",    1, &E_GL_EXT_mesh_shader);
10703|      4|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_ClipDistance", 1, &E_GL_EXT_mesh_shader);
10704|      4|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_CullDistance", 1, &E_GL_EXT_mesh_shader);
10705|       |            
10706|      4|            BuiltInVariable("gl_MeshVerticesEXT", "gl_Position",     EbvPosition,     symbolTable);
10707|      4|            BuiltInVariable("gl_MeshVerticesEXT", "gl_PointSize",    EbvPointSize,    symbolTable);
10708|      4|            BuiltInVariable("gl_MeshVerticesEXT", "gl_ClipDistance", EbvClipDistance, symbolTable);
10709|      4|            BuiltInVariable("gl_MeshVerticesEXT", "gl_CullDistance", EbvCullDistance, symbolTable);
10710|       |            
10711|      4|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_PrimitiveID",             1, &E_GL_EXT_mesh_shader);
10712|      4|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_Layer",                   1, &E_GL_EXT_mesh_shader);
10713|      4|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_ViewportIndex",           1, &E_GL_EXT_mesh_shader);
10714|      4|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_CullPrimitiveEXT",        1, &E_GL_EXT_mesh_shader);
10715|       |
10716|       |            // note: technically this member requires both GL_EXT_mesh_shader and GL_EXT_fragment_shading_rate
10717|       |            // since setVariableExtensions only needs *one of* the extensions to validate, it's more useful to specify EXT_fragment_shading_rate
10718|       |            // GL_EXT_mesh_shader will be required in practice by use of other fields of gl_MeshPrimitivesEXT
10719|      4|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_PrimitiveShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
10720|       |
10721|      4|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_PrimitiveID",              EbvPrimitiveId,    symbolTable);
10722|      4|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_Layer",                    EbvLayer,          symbolTable);
10723|      4|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_ViewportIndex",            EbvViewportIndex,  symbolTable);
10724|      4|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_CullPrimitiveEXT",         EbvCullPrimitiveEXT, symbolTable);
10725|      4|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_PrimitiveShadingRateEXT",  EbvPrimitiveShadingRateKHR, symbolTable);
10726|       |
10727|      4|            symbolTable.setFunctionExtensions("SetMeshOutputsEXT",  1, &E_GL_EXT_mesh_shader);
10728|       |
10729|       |            // GL_EXT_device_group
10730|      4|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
10731|      4|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
10732|       |
10733|       |            // GL_ARB_shader_draw_parameters
10734|      4|            symbolTable.setVariableExtensions("gl_DrawIDARB", 1, &E_GL_ARB_shader_draw_parameters);
10735|      4|            BuiltInVariable("gl_DrawIDARB", EbvDrawId, symbolTable);
10736|      4|            if (version >= 460) {
  ------------------
  |  Branch (10736:17): [True: 0, False: 4]
  ------------------
10737|      0|                BuiltInVariable("gl_DrawID", EbvDrawId, symbolTable);
10738|      0|            }
10739|       |            // GL_EXT_multiview
10740|      4|            BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
10741|      4|            symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
10742|       |
10743|       |            // GL_ARB_shader_ballot
10744|      4|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10745|      4|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10746|      4|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10747|      4|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10748|      4|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10749|      4|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10750|      4|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10751|       |
10752|      4|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10753|      4|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10754|      4|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10755|      4|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10756|      4|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10757|      4|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10758|       |
10759|      4|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10759:17): [True: 2, False: 2]
  ------------------
10760|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10761|      2|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10762|      2|                if (language == EShLangFragment)
  ------------------
  |  Branch (10762:21): [True: 0, False: 2]
  ------------------
10763|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10764|      2|            }
10765|      2|            else
10766|      2|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10767|      4|        }
10768|       |
10769|       |        // GL_KHR_shader_subgroup
10770|      4|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10770:14): [True: 0, False: 4]
  |  Branch (10770:39): [True: 0, False: 0]
  ------------------
10771|      4|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10771:14): [True: 4, False: 0]
  |  Branch (10771:39): [True: 4, False: 0]
  ------------------
10772|      4|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
10773|      4|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
10774|      4|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10775|      4|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10776|      4|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10777|      4|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10778|      4|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10779|      4|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10780|      4|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10781|       |
10782|      4|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
10783|      4|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
10784|      4|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10785|      4|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10786|      4|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10787|      4|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10788|      4|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10789|      4|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10790|      4|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10791|       |
10792|      4|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
10793|       |
10794|       |            // GL_NV_shader_sm_builtins
10795|      4|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10796|      4|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10797|      4|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10798|      4|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10799|      4|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10800|      4|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10801|      4|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10802|      4|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10803|       |
10804|       |            // GL_ARM_shader_core_builtins
10805|      4|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10806|      4|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10807|      4|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10808|      4|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10809|      4|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10810|       |
10811|      4|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10812|      4|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10813|      4|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10814|      4|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10815|      4|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10816|      4|        }
10817|       |
10818|      4|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10818:14): [True: 0, False: 4]
  |  Branch (10818:39): [True: 0, False: 0]
  ------------------
10819|      4|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10819:14): [True: 4, False: 0]
  |  Branch (10819:39): [True: 4, False: 0]
  ------------------
10820|      4|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10821|      4|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10822|      4|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10823|      4|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10824|      4|        }
10825|       |
10826|       |        // Builtins for GL_NV_displacment_micromap
10827|      4|        if ((profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10827:14): [True: 4, False: 0]
  |  Branch (10827:39): [True: 0, False: 4]
  ------------------
10828|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
10829|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
10830|      0|        }
10831|       |
10832|      4|        break;
10833|       |
10834|      4|    case EShLangTask:
  ------------------
  |  Branch (10834:5): [True: 4, False: 143]
  ------------------
10835|      4|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (10835:14): [True: 4, False: 0]
  |  Branch (10835:39): [True: 4, False: 0]
  |  Branch (10835:59): [True: 0, False: 0]
  |  Branch (10835:84): [True: 0, False: 0]
  ------------------
10836|      4|            symbolTable.setVariableExtensions("gl_TaskCountNV",          1, &E_GL_NV_mesh_shader);
10837|      4|            symbolTable.setVariableExtensions("gl_MeshViewCountNV",      1, &E_GL_NV_mesh_shader);
10838|      4|            symbolTable.setVariableExtensions("gl_MeshViewIndicesNV",    1, &E_GL_NV_mesh_shader);
10839|      4|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10839:17): [True: 4, False: 0]
  ------------------
10840|      4|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        Num_AEP_mesh_shader, AEP_mesh_shader);
10841|      4|                symbolTable.setVariableExtensions("gl_WorkGroupID",          Num_AEP_mesh_shader, AEP_mesh_shader);
10842|      4|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    Num_AEP_mesh_shader, AEP_mesh_shader);
10843|      4|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   Num_AEP_mesh_shader, AEP_mesh_shader);
10844|      4|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", Num_AEP_mesh_shader, AEP_mesh_shader);
10845|      4|            } else {
10846|      0|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_NV_mesh_shader);
10847|      0|                symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_NV_mesh_shader);
10848|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_NV_mesh_shader);
10849|      0|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_NV_mesh_shader);
10850|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_NV_mesh_shader);
10851|      0|            }
10852|       |
10853|      4|            BuiltInVariable("gl_TaskCountNV",          EbvTaskCountNV,          symbolTable);
10854|      4|            BuiltInVariable("gl_WorkGroupSize",        EbvWorkGroupSize,        symbolTable);
10855|      4|            BuiltInVariable("gl_WorkGroupID",          EbvWorkGroupId,          symbolTable);
10856|      4|            BuiltInVariable("gl_LocalInvocationID",    EbvLocalInvocationId,    symbolTable);
10857|      4|            BuiltInVariable("gl_GlobalInvocationID",   EbvGlobalInvocationId,   symbolTable);
10858|      4|            BuiltInVariable("gl_LocalInvocationIndex", EbvLocalInvocationIndex, symbolTable);
10859|      4|            BuiltInVariable("gl_MeshViewCountNV",      EbvMeshViewCountNV,      symbolTable);
10860|      4|            BuiltInVariable("gl_MeshViewIndicesNV",    EbvMeshViewIndicesNV,    symbolTable);
10861|       |
10862|      4|            symbolTable.setVariableExtensions("gl_MaxTaskWorkGroupSizeNV", 1, &E_GL_NV_mesh_shader);
10863|      4|            symbolTable.setVariableExtensions("gl_MaxMeshViewCountNV",     1, &E_GL_NV_mesh_shader);
10864|       |
10865|      4|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10865:17): [True: 4, False: 0]
  ------------------
10866|      4|                symbolTable.setFunctionExtensions("barrier",                   Num_AEP_mesh_shader, AEP_mesh_shader);
10867|      4|                symbolTable.setFunctionExtensions("memoryBarrierShared",       Num_AEP_mesh_shader, AEP_mesh_shader);
10868|      4|                symbolTable.setFunctionExtensions("groupMemoryBarrier",        Num_AEP_mesh_shader, AEP_mesh_shader);
10869|      4|            } else {
10870|      0|                symbolTable.setFunctionExtensions("barrier",                   1, &E_GL_NV_mesh_shader);
10871|      0|                symbolTable.setFunctionExtensions("memoryBarrierShared",       1, &E_GL_NV_mesh_shader);
10872|      0|                symbolTable.setFunctionExtensions("groupMemoryBarrier",        1, &E_GL_NV_mesh_shader);
10873|      0|            }
10874|      4|        }
10875|       |
10876|      4|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (10876:13): [True: 4, False: 0]
  |  Branch (10876:38): [True: 4, False: 0]
  ------------------
10877|       |            // GL_EXT_mesh_shader
10878|      4|            symbolTable.setFunctionExtensions("EmitMeshTasksEXT",          1, &E_GL_EXT_mesh_shader);
10879|      4|            symbolTable.setVariableExtensions("gl_NumWorkGroups",        1, &E_GL_EXT_mesh_shader);
10880|      4|            BuiltInVariable("gl_NumWorkGroups",        EbvNumWorkGroups,        symbolTable);
10881|       |
10882|       |            // GL_EXT_device_group
10883|      4|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
10884|      4|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
10885|       |
10886|       |            // GL_ARB_shader_draw_parameters
10887|      4|            symbolTable.setVariableExtensions("gl_DrawIDARB", 1, &E_GL_ARB_shader_draw_parameters);
10888|      4|            BuiltInVariable("gl_DrawIDARB", EbvDrawId, symbolTable);
10889|      4|            if (version >= 460) {
  ------------------
  |  Branch (10889:17): [True: 0, False: 4]
  ------------------
10890|      0|                BuiltInVariable("gl_DrawID", EbvDrawId, symbolTable);
10891|      0|            }
10892|       |
10893|       |            // GL_ARB_shader_ballot
10894|      4|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10895|      4|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10896|      4|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10897|      4|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10898|      4|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10899|      4|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10900|      4|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10901|       |
10902|      4|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10903|      4|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10904|      4|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10905|      4|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10906|      4|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10907|      4|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10908|       |
10909|      4|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10909:17): [True: 2, False: 2]
  ------------------
10910|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10911|      2|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10912|      2|                if (language == EShLangFragment)
  ------------------
  |  Branch (10912:21): [True: 0, False: 2]
  ------------------
10913|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10914|      2|            }
10915|      2|            else
10916|      2|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10917|      4|        }
10918|       |
10919|       |        // GL_KHR_shader_subgroup
10920|      4|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10920:14): [True: 0, False: 4]
  |  Branch (10920:39): [True: 0, False: 0]
  ------------------
10921|      4|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10921:14): [True: 4, False: 0]
  |  Branch (10921:39): [True: 4, False: 0]
  ------------------
10922|      4|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
10923|      4|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
10924|      4|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10925|      4|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10926|      4|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10927|      4|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10928|      4|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10929|      4|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10930|      4|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10931|       |
10932|      4|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
10933|      4|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
10934|      4|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10935|      4|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10936|      4|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10937|      4|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10938|      4|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10939|      4|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10940|      4|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10941|       |
10942|      4|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
10943|       |
10944|       |            // GL_NV_shader_sm_builtins
10945|      4|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10946|      4|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10947|      4|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10948|      4|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10949|      4|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10950|      4|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10951|      4|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10952|      4|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10953|       |
10954|       |            // GL_ARM_shader_core_builtins
10955|      4|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10956|      4|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10957|      4|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10958|      4|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10959|      4|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10960|       |
10961|      4|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10962|      4|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10963|      4|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10964|      4|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10965|      4|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10966|      4|        }
10967|      4|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10967:14): [True: 0, False: 4]
  |  Branch (10967:39): [True: 0, False: 0]
  ------------------
10968|      4|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10968:14): [True: 4, False: 0]
  |  Branch (10968:39): [True: 4, False: 0]
  ------------------
10969|      4|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10970|      4|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10971|      4|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10972|      4|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10973|      4|        }
10974|      4|        break;
10975|       |
10976|      0|    default:
  ------------------
  |  Branch (10976:5): [True: 0, False: 147]
  ------------------
10977|      0|        assert(false && "Language not supported");
10978|      0|        break;
10979|    147|    }
10980|       |
10981|       |    //
10982|       |    // Next, identify which built-ins have a mapping to an operator.
10983|       |    // If PureOperatorBuiltins is false, those that are not identified as such are
10984|       |    // expected to be resolved through a library of functions, versus as
10985|       |    // operations.
10986|       |    //
10987|       |
10988|    147|    relateTabledBuiltins(version, profile, spvVersion, language, symbolTable);
10989|       |
10990|    147|    symbolTable.relateToOperator("doubleBitsToInt64",  EOpDoubleBitsToInt64);
10991|    147|    symbolTable.relateToOperator("doubleBitsToUint64", EOpDoubleBitsToUint64);
10992|    147|    symbolTable.relateToOperator("int64BitsToDouble",  EOpInt64BitsToDouble);
10993|    147|    symbolTable.relateToOperator("uint64BitsToDouble", EOpUint64BitsToDouble);
10994|    147|    symbolTable.relateToOperator("halfBitsToInt16",  EOpFloat16BitsToInt16);
10995|    147|    symbolTable.relateToOperator("halfBitsToUint16", EOpFloat16BitsToUint16);
10996|    147|    symbolTable.relateToOperator("float16BitsToInt16",  EOpFloat16BitsToInt16);
10997|    147|    symbolTable.relateToOperator("float16BitsToUint16", EOpFloat16BitsToUint16);
10998|    147|    symbolTable.relateToOperator("int16BitsToFloat16",  EOpInt16BitsToFloat16);
10999|    147|    symbolTable.relateToOperator("uint16BitsToFloat16", EOpUint16BitsToFloat16);
11000|       |
11001|    147|    symbolTable.relateToOperator("int16BitsToHalf",  EOpInt16BitsToFloat16);
11002|    147|    symbolTable.relateToOperator("uint16BitsToHalf", EOpUint16BitsToFloat16);
11003|       |
11004|    147|    symbolTable.relateToOperator("packSnorm4x8",    EOpPackSnorm4x8);
11005|    147|    symbolTable.relateToOperator("unpackSnorm4x8",  EOpUnpackSnorm4x8);
11006|    147|    symbolTable.relateToOperator("packUnorm4x8",    EOpPackUnorm4x8);
11007|    147|    symbolTable.relateToOperator("unpackUnorm4x8",  EOpUnpackUnorm4x8);
11008|       |
11009|    147|    symbolTable.relateToOperator("packDouble2x32",    EOpPackDouble2x32);
11010|    147|    symbolTable.relateToOperator("unpackDouble2x32",  EOpUnpackDouble2x32);
11011|       |
11012|    147|    symbolTable.relateToOperator("packInt2x32",     EOpPackInt2x32);
11013|    147|    symbolTable.relateToOperator("unpackInt2x32",   EOpUnpackInt2x32);
11014|    147|    symbolTable.relateToOperator("packUint2x32",    EOpPackUint2x32);
11015|    147|    symbolTable.relateToOperator("unpackUint2x32",  EOpUnpackUint2x32);
11016|       |
11017|    147|    symbolTable.relateToOperator("packInt2x16",     EOpPackInt2x16);
11018|    147|    symbolTable.relateToOperator("unpackInt2x16",   EOpUnpackInt2x16);
11019|    147|    symbolTable.relateToOperator("packUint2x16",    EOpPackUint2x16);
11020|    147|    symbolTable.relateToOperator("unpackUint2x16",  EOpUnpackUint2x16);
11021|       |
11022|    147|    symbolTable.relateToOperator("packInt4x16",     EOpPackInt4x16);
11023|    147|    symbolTable.relateToOperator("unpackInt4x16",   EOpUnpackInt4x16);
11024|    147|    symbolTable.relateToOperator("packUint4x16",    EOpPackUint4x16);
11025|    147|    symbolTable.relateToOperator("unpackUint4x16",  EOpUnpackUint4x16);
11026|    147|    symbolTable.relateToOperator("packFloat2x16",   EOpPackFloat2x16);
11027|    147|    symbolTable.relateToOperator("unpackFloat2x16", EOpUnpackFloat2x16);
11028|       |
11029|    147|    symbolTable.relateToOperator("pack16",          EOpPack16);
11030|    147|    symbolTable.relateToOperator("pack32",          EOpPack32);
11031|    147|    symbolTable.relateToOperator("pack64",          EOpPack64);
11032|       |
11033|    147|    symbolTable.relateToOperator("unpack32",        EOpUnpack32);
11034|    147|    symbolTable.relateToOperator("unpack16",        EOpUnpack16);
11035|    147|    symbolTable.relateToOperator("unpack8",         EOpUnpack8);
11036|       |
11037|    147|    symbolTable.relateToOperator("controlBarrier",             EOpBarrier);
11038|    147|    symbolTable.relateToOperator("memoryBarrierAtomicCounter", EOpMemoryBarrierAtomicCounter);
11039|    147|    symbolTable.relateToOperator("memoryBarrierImage",         EOpMemoryBarrierImage);
11040|       |
11041|    147|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11041:9): [True: 0, False: 147]
  ------------------
11042|       |        //
11043|       |        // functions signature have been replaced to take uint operations on buffer variables
11044|       |        // remap atomic counter functions to atomic operations
11045|       |        //
11046|      0|        symbolTable.relateToOperator("memoryBarrierAtomicCounter", EOpMemoryBarrierBuffer);
11047|      0|    }
11048|       |
11049|    147|    symbolTable.relateToOperator("atomicLoad",     EOpAtomicLoad);
11050|    147|    symbolTable.relateToOperator("atomicStore",    EOpAtomicStore);
11051|       |
11052|    147|    symbolTable.relateToOperator("atomicCounterIncrement", EOpAtomicCounterIncrement);
11053|    147|    symbolTable.relateToOperator("atomicCounterDecrement", EOpAtomicCounterDecrement);
11054|    147|    symbolTable.relateToOperator("atomicCounter",          EOpAtomicCounter);
11055|       |
11056|    147|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11056:9): [True: 0, False: 147]
  ------------------
11057|       |        //
11058|       |        // functions signature have been replaced to take uint operations
11059|       |        // remap atomic counter functions to atomic operations
11060|       |        //
11061|       |        // these atomic counter functions do not match signatures of glsl
11062|       |        // atomic functions, so they will be remapped to semantically
11063|       |        // equivalent functions in the parser
11064|       |        //
11065|      0|        symbolTable.relateToOperator("atomicCounterIncrement", EOpNull);
11066|      0|        symbolTable.relateToOperator("atomicCounterDecrement", EOpNull);
11067|      0|        symbolTable.relateToOperator("atomicCounter", EOpNull);
11068|      0|    }
11069|       |
11070|    147|    symbolTable.relateToOperator("clockARB",     EOpReadClockSubgroupKHR);
11071|    147|    symbolTable.relateToOperator("clock2x32ARB", EOpReadClockSubgroupKHR);
11072|       |
11073|    147|    symbolTable.relateToOperator("clockRealtimeEXT",     EOpReadClockDeviceKHR);
11074|    147|    symbolTable.relateToOperator("clockRealtime2x32EXT", EOpReadClockDeviceKHR);
11075|       |
11076|    147|    if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (11076:9): [True: 54, False: 93]
  |  Branch (11076:34): [True: 54, False: 0]
  ------------------
11077|     54|        symbolTable.relateToOperator("atomicCounterAddARB",      EOpAtomicCounterAdd);
11078|     54|        symbolTable.relateToOperator("atomicCounterSubtractARB", EOpAtomicCounterSubtract);
11079|     54|        symbolTable.relateToOperator("atomicCounterMinARB",      EOpAtomicCounterMin);
11080|     54|        symbolTable.relateToOperator("atomicCounterMaxARB",      EOpAtomicCounterMax);
11081|     54|        symbolTable.relateToOperator("atomicCounterAndARB",      EOpAtomicCounterAnd);
11082|     54|        symbolTable.relateToOperator("atomicCounterOrARB",       EOpAtomicCounterOr);
11083|     54|        symbolTable.relateToOperator("atomicCounterXorARB",      EOpAtomicCounterXor);
11084|     54|        symbolTable.relateToOperator("atomicCounterExchangeARB", EOpAtomicCounterExchange);
11085|     54|        symbolTable.relateToOperator("atomicCounterCompSwapARB", EOpAtomicCounterCompSwap);
11086|     54|    }
11087|       |
11088|    147|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11088:9): [True: 54, False: 93]
  |  Branch (11088:34): [True: 0, False: 54]
  ------------------
11089|      0|        symbolTable.relateToOperator("atomicCounterAdd",      EOpAtomicCounterAdd);
11090|      0|        symbolTable.relateToOperator("atomicCounterSubtract", EOpAtomicCounterSubtract);
11091|      0|        symbolTable.relateToOperator("atomicCounterMin",      EOpAtomicCounterMin);
11092|      0|        symbolTable.relateToOperator("atomicCounterMax",      EOpAtomicCounterMax);
11093|      0|        symbolTable.relateToOperator("atomicCounterAnd",      EOpAtomicCounterAnd);
11094|      0|        symbolTable.relateToOperator("atomicCounterOr",       EOpAtomicCounterOr);
11095|      0|        symbolTable.relateToOperator("atomicCounterXor",      EOpAtomicCounterXor);
11096|      0|        symbolTable.relateToOperator("atomicCounterExchange", EOpAtomicCounterExchange);
11097|      0|        symbolTable.relateToOperator("atomicCounterCompSwap", EOpAtomicCounterCompSwap);
11098|      0|    }
11099|       |
11100|    147|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11100:9): [True: 0, False: 147]
  ------------------
11101|       |        //
11102|       |        // functions signature have been replaced to take 'uint' instead of 'atomic_uint'
11103|       |        // remap atomic counter functions to non-counter atomic ops so
11104|       |        // functions act as aliases to non-counter atomic ops
11105|       |        //
11106|      0|        symbolTable.relateToOperator("atomicCounterAdd", EOpAtomicAdd);
11107|      0|        symbolTable.relateToOperator("atomicCounterSubtract", EOpAtomicSubtract);
11108|      0|        symbolTable.relateToOperator("atomicCounterMin", EOpAtomicMin);
11109|      0|        symbolTable.relateToOperator("atomicCounterMax", EOpAtomicMax);
11110|      0|        symbolTable.relateToOperator("atomicCounterAnd", EOpAtomicAnd);
11111|      0|        symbolTable.relateToOperator("atomicCounterOr", EOpAtomicOr);
11112|      0|        symbolTable.relateToOperator("atomicCounterXor", EOpAtomicXor);
11113|      0|        symbolTable.relateToOperator("atomicCounterExchange", EOpAtomicExchange);
11114|      0|        symbolTable.relateToOperator("atomicCounterCompSwap", EOpAtomicCompSwap);
11115|      0|    }
11116|       |
11117|    147|    symbolTable.relateToOperator("fma",               EOpFma);
11118|    147|    symbolTable.relateToOperator("frexp",             EOpFrexp);
11119|    147|    symbolTable.relateToOperator("ldexp",             EOpLdexp);
11120|    147|    symbolTable.relateToOperator("uaddCarry",         EOpAddCarry);
11121|    147|    symbolTable.relateToOperator("usubBorrow",        EOpSubBorrow);
11122|    147|    symbolTable.relateToOperator("umulExtended",      EOpUMulExtended);
11123|    147|    symbolTable.relateToOperator("imulExtended",      EOpIMulExtended);
11124|    147|    symbolTable.relateToOperator("bitfieldExtract",   EOpBitfieldExtract);
11125|    147|    symbolTable.relateToOperator("bitfieldInsert",    EOpBitfieldInsert);
11126|    147|    symbolTable.relateToOperator("bitfieldReverse",   EOpBitFieldReverse);
11127|    147|    symbolTable.relateToOperator("bitCount",          EOpBitCount);
11128|    147|    symbolTable.relateToOperator("findLSB",           EOpFindLSB);
11129|    147|    symbolTable.relateToOperator("findMSB",           EOpFindMSB);
11130|       |
11131|    147|    symbolTable.relateToOperator("helperInvocationEXT",  EOpIsHelperInvocation);
11132|       |
11133|    147|    symbolTable.relateToOperator("countLeadingZeros",  EOpCountLeadingZeros);
11134|    147|    symbolTable.relateToOperator("countTrailingZeros", EOpCountTrailingZeros);
11135|    147|    symbolTable.relateToOperator("absoluteDifference", EOpAbsDifference);
11136|    147|    symbolTable.relateToOperator("addSaturate",        EOpAddSaturate);
11137|    147|    symbolTable.relateToOperator("subtractSaturate",   EOpSubSaturate);
11138|    147|    symbolTable.relateToOperator("average",            EOpAverage);
11139|    147|    symbolTable.relateToOperator("averageRounded",     EOpAverageRounded);
11140|    147|    symbolTable.relateToOperator("multiply32x16",      EOpMul32x16);
11141|    147|    symbolTable.relateToOperator("debugPrintfEXT",     EOpDebugPrintf);
11142|    147|    symbolTable.relateToOperator("assumeEXT",          EOpAssumeEXT);
11143|    147|    symbolTable.relateToOperator("expectEXT",          EOpExpectEXT);
11144|    147|    symbolTable.relateToOperator("abortEXT",           EOpAbortEXT);
11145|       |
11146|       |
11147|    147|    if (PureOperatorBuiltins) {
  ------------------
  |  Branch (11147:9): [True: 147, Folded]
  ------------------
11148|    147|        symbolTable.relateToOperator("imageSize",               EOpImageQuerySize);
11149|    147|        symbolTable.relateToOperator("imageSamples",            EOpImageQuerySamples);
11150|    147|        symbolTable.relateToOperator("imageLoad",               EOpImageLoad);
11151|    147|        symbolTable.relateToOperator("imageStore",              EOpImageStore);
11152|    147|        symbolTable.relateToOperator("imageAtomicAdd",          EOpImageAtomicAdd);
11153|    147|        symbolTable.relateToOperator("imageAtomicMin",          EOpImageAtomicMin);
11154|    147|        symbolTable.relateToOperator("imageAtomicMax",          EOpImageAtomicMax);
11155|    147|        symbolTable.relateToOperator("imageAtomicAnd",          EOpImageAtomicAnd);
11156|    147|        symbolTable.relateToOperator("imageAtomicOr",           EOpImageAtomicOr);
11157|    147|        symbolTable.relateToOperator("imageAtomicXor",          EOpImageAtomicXor);
11158|    147|        symbolTable.relateToOperator("imageAtomicExchange",     EOpImageAtomicExchange);
11159|    147|        symbolTable.relateToOperator("imageAtomicCompSwap",     EOpImageAtomicCompSwap);
11160|    147|        symbolTable.relateToOperator("imageAtomicLoad",         EOpImageAtomicLoad);
11161|    147|        symbolTable.relateToOperator("imageAtomicStore",        EOpImageAtomicStore);
11162|       |
11163|    147|        symbolTable.relateToOperator("subpassLoad",             EOpSubpassLoad);
11164|    147|        symbolTable.relateToOperator("subpassLoadMS",           EOpSubpassLoadMS);
11165|       |
11166|    147|        symbolTable.relateToOperator("textureGather",           EOpTextureGather);
11167|    147|        symbolTable.relateToOperator("textureGatherOffset",     EOpTextureGatherOffset);
11168|    147|        symbolTable.relateToOperator("textureGatherOffsets",    EOpTextureGatherOffsets);
11169|       |
11170|    147|        symbolTable.relateToOperator("noise1", EOpNoise);
11171|    147|        symbolTable.relateToOperator("noise2", EOpNoise);
11172|    147|        symbolTable.relateToOperator("noise3", EOpNoise);
11173|    147|        symbolTable.relateToOperator("noise4", EOpNoise);
11174|       |
11175|    147|        symbolTable.relateToOperator("textureFootprintNV",          EOpImageSampleFootprintNV);
11176|    147|        symbolTable.relateToOperator("textureFootprintClampNV",     EOpImageSampleFootprintClampNV);
11177|    147|        symbolTable.relateToOperator("textureFootprintLodNV",       EOpImageSampleFootprintLodNV);
11178|    147|        symbolTable.relateToOperator("textureFootprintGradNV",      EOpImageSampleFootprintGradNV);
11179|    147|        symbolTable.relateToOperator("textureFootprintGradClampNV", EOpImageSampleFootprintGradClampNV);
11180|       |
11181|    147|        if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (11181:13): [True: 147, False: 0]
  |  Branch (11181:36): [True: 0, False: 147]
  ------------------
11182|      0|            symbolTable.relateToOperator("ftransform", EOpFtransform);
11183|       |
11184|    147|        if (spvVersion.spv == 0 && (IncludeLegacy(version, profile, spvVersion) ||
  ------------------
  |  Branch (11184:13): [True: 147, False: 0]
  |  Branch (11184:37): [True: 0, False: 147]
  ------------------
11185|    147|            (profile == EEsProfile && version == 100))) {
  ------------------
  |  Branch (11185:14): [True: 93, False: 54]
  |  Branch (11185:39): [True: 93, False: 0]
  ------------------
11186|       |
11187|     93|            symbolTable.relateToOperator("texture1D",                EOpTexture);
11188|     93|            symbolTable.relateToOperator("texture1DGradARB",         EOpTextureGrad);
11189|     93|            symbolTable.relateToOperator("texture1DProj",            EOpTextureProj);
11190|     93|            symbolTable.relateToOperator("texture1DProjGradARB",     EOpTextureProjGrad);
11191|     93|            symbolTable.relateToOperator("texture1DLod",             EOpTextureLod);
11192|     93|            symbolTable.relateToOperator("texture1DProjLod",         EOpTextureProjLod);
11193|       |
11194|     93|            symbolTable.relateToOperator("texture2DRect",            EOpTexture);
11195|     93|            symbolTable.relateToOperator("texture2DRectProj",        EOpTextureProj);
11196|     93|            symbolTable.relateToOperator("texture2DRectGradARB",     EOpTextureGrad);
11197|     93|            symbolTable.relateToOperator("texture2DRectProjGradARB", EOpTextureProjGrad);
11198|     93|            symbolTable.relateToOperator("shadow2DRect",             EOpTexture);
11199|     93|            symbolTable.relateToOperator("shadow2DRectProj",         EOpTextureProj);
11200|     93|            symbolTable.relateToOperator("shadow2DRectGradARB",      EOpTextureGrad);
11201|     93|            symbolTable.relateToOperator("shadow2DRectProjGradARB",  EOpTextureProjGrad);
11202|       |
11203|     93|            symbolTable.relateToOperator("texture2D",                EOpTexture);
11204|     93|            symbolTable.relateToOperator("texture2DProj",            EOpTextureProj);
11205|     93|            symbolTable.relateToOperator("texture2DGradEXT",         EOpTextureGrad);
11206|     93|            symbolTable.relateToOperator("texture2DGradARB",         EOpTextureGrad);
11207|     93|            symbolTable.relateToOperator("texture2DProjGradEXT",     EOpTextureProjGrad);
11208|     93|            symbolTable.relateToOperator("texture2DProjGradARB",     EOpTextureProjGrad);
11209|     93|            symbolTable.relateToOperator("texture2DLod",             EOpTextureLod);
11210|     93|            symbolTable.relateToOperator("texture2DLodEXT",          EOpTextureLod);
11211|     93|            symbolTable.relateToOperator("texture2DProjLod",         EOpTextureProjLod);
11212|     93|            symbolTable.relateToOperator("texture2DProjLodEXT",      EOpTextureProjLod);
11213|       |
11214|     93|            symbolTable.relateToOperator("texture3D",                EOpTexture);
11215|     93|            symbolTable.relateToOperator("texture3DGradARB",         EOpTextureGrad);
11216|     93|            symbolTable.relateToOperator("texture3DProj",            EOpTextureProj);
11217|     93|            symbolTable.relateToOperator("texture3DProjGradARB",     EOpTextureProjGrad);
11218|     93|            symbolTable.relateToOperator("texture3DLod",             EOpTextureLod);
11219|     93|            symbolTable.relateToOperator("texture3DProjLod",         EOpTextureProjLod);
11220|     93|            symbolTable.relateToOperator("textureCube",              EOpTexture);
11221|     93|            symbolTable.relateToOperator("textureCubeGradEXT",       EOpTextureGrad);
11222|     93|            symbolTable.relateToOperator("textureCubeGradARB",       EOpTextureGrad);
11223|     93|            symbolTable.relateToOperator("textureCubeLod",           EOpTextureLod);
11224|     93|            symbolTable.relateToOperator("textureCubeLodEXT",        EOpTextureLod);
11225|     93|            symbolTable.relateToOperator("shadow1D",                 EOpTexture);
11226|     93|            symbolTable.relateToOperator("shadow1DGradARB",          EOpTextureGrad);
11227|     93|            symbolTable.relateToOperator("shadow2D",                 EOpTexture);
11228|     93|            symbolTable.relateToOperator("shadow2DGradARB",          EOpTextureGrad);
11229|     93|            symbolTable.relateToOperator("shadow1DProj",             EOpTextureProj);
11230|     93|            symbolTable.relateToOperator("shadow2DProj",             EOpTextureProj);
11231|     93|            symbolTable.relateToOperator("shadow1DProjGradARB",      EOpTextureProjGrad);
11232|     93|            symbolTable.relateToOperator("shadow2DProjGradARB",      EOpTextureProjGrad);
11233|     93|            symbolTable.relateToOperator("shadow1DLod",              EOpTextureLod);
11234|     93|            symbolTable.relateToOperator("shadow2DLod",              EOpTextureLod);
11235|     93|            symbolTable.relateToOperator("shadow1DProjLod",          EOpTextureProjLod);
11236|     93|            symbolTable.relateToOperator("shadow2DProjLod",          EOpTextureProjLod);
11237|     93|        }
11238|       |
11239|    147|        if (profile != EEsProfile) {
  ------------------
  |  Branch (11239:13): [True: 54, False: 93]
  ------------------
11240|     54|            symbolTable.relateToOperator("sparseTextureARB",                EOpSparseTexture);
11241|     54|            symbolTable.relateToOperator("sparseTextureLodARB",             EOpSparseTextureLod);
11242|     54|            symbolTable.relateToOperator("sparseTextureOffsetARB",          EOpSparseTextureOffset);
11243|     54|            symbolTable.relateToOperator("sparseTexelFetchARB",             EOpSparseTextureFetch);
11244|     54|            symbolTable.relateToOperator("sparseTexelFetchOffsetARB",       EOpSparseTextureFetchOffset);
11245|     54|            symbolTable.relateToOperator("sparseTextureLodOffsetARB",       EOpSparseTextureLodOffset);
11246|     54|            symbolTable.relateToOperator("sparseTextureGradARB",            EOpSparseTextureGrad);
11247|     54|            symbolTable.relateToOperator("sparseTextureGradOffsetARB",      EOpSparseTextureGradOffset);
11248|     54|            symbolTable.relateToOperator("sparseTextureGatherARB",          EOpSparseTextureGather);
11249|     54|            symbolTable.relateToOperator("sparseTextureGatherOffsetARB",    EOpSparseTextureGatherOffset);
11250|     54|            symbolTable.relateToOperator("sparseTextureGatherOffsetsARB",   EOpSparseTextureGatherOffsets);
11251|     54|            symbolTable.relateToOperator("sparseImageLoadARB",              EOpSparseImageLoad);
11252|     54|            symbolTable.relateToOperator("sparseTexelsResidentARB",         EOpSparseTexelsResident);
11253|       |
11254|     54|            symbolTable.relateToOperator("sparseTextureClampARB",           EOpSparseTextureClamp);
11255|     54|            symbolTable.relateToOperator("sparseTextureOffsetClampARB",     EOpSparseTextureOffsetClamp);
11256|     54|            symbolTable.relateToOperator("sparseTextureGradClampARB",       EOpSparseTextureGradClamp);
11257|     54|            symbolTable.relateToOperator("sparseTextureGradOffsetClampARB", EOpSparseTextureGradOffsetClamp);
11258|     54|            symbolTable.relateToOperator("textureClampARB",                 EOpTextureClamp);
11259|     54|            symbolTable.relateToOperator("textureOffsetClampARB",           EOpTextureOffsetClamp);
11260|     54|            symbolTable.relateToOperator("textureGradClampARB",             EOpTextureGradClamp);
11261|     54|            symbolTable.relateToOperator("textureGradOffsetClampARB",       EOpTextureGradOffsetClamp);
11262|       |
11263|     54|            symbolTable.relateToOperator("ballotARB",                       EOpBallot);
11264|     54|            symbolTable.relateToOperator("readInvocationARB",               EOpReadInvocation);
11265|     54|            symbolTable.relateToOperator("readFirstInvocationARB",          EOpReadFirstInvocation);
11266|       |
11267|     54|            if (version >= 430) {
  ------------------
  |  Branch (11267:17): [True: 54, False: 0]
  ------------------
11268|     54|                symbolTable.relateToOperator("anyInvocationARB",            EOpAnyInvocation);
11269|     54|                symbolTable.relateToOperator("allInvocationsARB",           EOpAllInvocations);
11270|     54|                symbolTable.relateToOperator("allInvocationsEqualARB",      EOpAllInvocationsEqual);
11271|     54|            }
11272|     54|            if (version >= 460) {
  ------------------
  |  Branch (11272:17): [True: 0, False: 54]
  ------------------
11273|      0|                symbolTable.relateToOperator("anyInvocation",               EOpAnyInvocation);
11274|      0|                symbolTable.relateToOperator("allInvocations",              EOpAllInvocations);
11275|      0|                symbolTable.relateToOperator("allInvocationsEqual",         EOpAllInvocationsEqual);
11276|      0|            }
11277|       |            // As per dependency between NV_gpu_shader5 and ARB_shader_group_vote
11278|       |            // anyInvocationARB = anyThreadNV
11279|       |            // allInvocationsARB = allThreadsNV
11280|       |            // allInvocationsEqualARB = allThreadsEqualNV
11281|       |            // Thus we reuse the Op's
11282|     54|            if (version >= 150) {
  ------------------
  |  Branch (11282:17): [True: 54, False: 0]
  ------------------
11283|     54|                symbolTable.relateToOperator("anyThreadNV",            EOpAnyInvocation);
11284|     54|                symbolTable.relateToOperator("allThreadsNV",           EOpAllInvocations);
11285|     54|                symbolTable.relateToOperator("allThreadsEqualNV",      EOpAllInvocationsEqual);
11286|     54|            }
11287|     54|            symbolTable.relateToOperator("minInvocationsAMD",                           EOpMinInvocations);
11288|     54|            symbolTable.relateToOperator("maxInvocationsAMD",                           EOpMaxInvocations);
11289|     54|            symbolTable.relateToOperator("addInvocationsAMD",                           EOpAddInvocations);
11290|     54|            symbolTable.relateToOperator("minInvocationsNonUniformAMD",                 EOpMinInvocationsNonUniform);
11291|     54|            symbolTable.relateToOperator("maxInvocationsNonUniformAMD",                 EOpMaxInvocationsNonUniform);
11292|     54|            symbolTable.relateToOperator("addInvocationsNonUniformAMD",                 EOpAddInvocationsNonUniform);
11293|     54|            symbolTable.relateToOperator("minInvocationsInclusiveScanAMD",              EOpMinInvocationsInclusiveScan);
11294|     54|            symbolTable.relateToOperator("maxInvocationsInclusiveScanAMD",              EOpMaxInvocationsInclusiveScan);
11295|     54|            symbolTable.relateToOperator("addInvocationsInclusiveScanAMD",              EOpAddInvocationsInclusiveScan);
11296|     54|            symbolTable.relateToOperator("minInvocationsInclusiveScanNonUniformAMD",    EOpMinInvocationsInclusiveScanNonUniform);
11297|     54|            symbolTable.relateToOperator("maxInvocationsInclusiveScanNonUniformAMD",    EOpMaxInvocationsInclusiveScanNonUniform);
11298|     54|            symbolTable.relateToOperator("addInvocationsInclusiveScanNonUniformAMD",    EOpAddInvocationsInclusiveScanNonUniform);
11299|     54|            symbolTable.relateToOperator("minInvocationsExclusiveScanAMD",              EOpMinInvocationsExclusiveScan);
11300|     54|            symbolTable.relateToOperator("maxInvocationsExclusiveScanAMD",              EOpMaxInvocationsExclusiveScan);
11301|     54|            symbolTable.relateToOperator("addInvocationsExclusiveScanAMD",              EOpAddInvocationsExclusiveScan);
11302|     54|            symbolTable.relateToOperator("minInvocationsExclusiveScanNonUniformAMD",    EOpMinInvocationsExclusiveScanNonUniform);
11303|     54|            symbolTable.relateToOperator("maxInvocationsExclusiveScanNonUniformAMD",    EOpMaxInvocationsExclusiveScanNonUniform);
11304|     54|            symbolTable.relateToOperator("addInvocationsExclusiveScanNonUniformAMD",    EOpAddInvocationsExclusiveScanNonUniform);
11305|     54|            symbolTable.relateToOperator("swizzleInvocationsAMD",                       EOpSwizzleInvocations);
11306|     54|            symbolTable.relateToOperator("swizzleInvocationsMaskedAMD",                 EOpSwizzleInvocationsMasked);
11307|     54|            symbolTable.relateToOperator("writeInvocationAMD",                          EOpWriteInvocation);
11308|     54|            symbolTable.relateToOperator("mbcntAMD",                                    EOpMbcnt);
11309|       |
11310|     54|            symbolTable.relateToOperator("min3",    EOpMin3);
11311|     54|            symbolTable.relateToOperator("max3",    EOpMax3);
11312|     54|            symbolTable.relateToOperator("mid3",    EOpMid3);
11313|       |
11314|     54|            symbolTable.relateToOperator("cubeFaceIndexAMD",    EOpCubeFaceIndex);
11315|     54|            symbolTable.relateToOperator("cubeFaceCoordAMD",    EOpCubeFaceCoord);
11316|     54|            symbolTable.relateToOperator("timeAMD",             EOpTime);
11317|       |
11318|     54|            symbolTable.relateToOperator("textureGatherLodAMD",                 EOpTextureGatherLod);
11319|     54|            symbolTable.relateToOperator("textureGatherLodOffsetAMD",           EOpTextureGatherLodOffset);
11320|     54|            symbolTable.relateToOperator("textureGatherLodOffsetsAMD",          EOpTextureGatherLodOffsets);
11321|     54|            symbolTable.relateToOperator("sparseTextureGatherLodAMD",           EOpSparseTextureGatherLod);
11322|     54|            symbolTable.relateToOperator("sparseTextureGatherLodOffsetAMD",     EOpSparseTextureGatherLodOffset);
11323|     54|            symbolTable.relateToOperator("sparseTextureGatherLodOffsetsAMD",    EOpSparseTextureGatherLodOffsets);
11324|       |
11325|     54|            symbolTable.relateToOperator("imageLoadLodAMD",                     EOpImageLoadLod);
11326|     54|            symbolTable.relateToOperator("imageStoreLodAMD",                    EOpImageStoreLod);
11327|     54|            symbolTable.relateToOperator("sparseImageLoadLodAMD",               EOpSparseImageLoadLod);
11328|       |
11329|     54|            symbolTable.relateToOperator("fragmentMaskFetchAMD",                EOpFragmentMaskFetch);
11330|     54|            symbolTable.relateToOperator("fragmentFetchAMD",                    EOpFragmentFetch);
11331|     54|        }
11332|       |
11333|       |        // GL_EXT_integer_dot_product
11334|    147|        if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (11334:14): [True: 93, False: 54]
  |  Branch (11334:39): [True: 0, False: 93]
  ------------------
11335|    147|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11335:14): [True: 54, False: 93]
  |  Branch (11335:39): [True: 54, False: 0]
  ------------------
11336|     54|            symbolTable.relateToOperator("dotEXT", EOpDot);
11337|     54|            symbolTable.relateToOperator("dotPacked4x8EXT", EOpDotPackedEXT);
11338|     54|            symbolTable.relateToOperator("dotAccSatEXT", EOpDotAccSatEXT);
11339|     54|            symbolTable.relateToOperator("dotPacked4x8AccSatEXT", EOpDotPackedAccSatEXT);
11340|     54|        }
11341|       |
11342|       |        // GL_EXT_bfloat16
11343|    147|        if ((profile == EEsProfile && version >= 320) ||
  ------------------
  |  Branch (11343:14): [True: 93, False: 54]
  |  Branch (11343:39): [True: 0, False: 93]
  ------------------
11344|    147|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11344:14): [True: 54, False: 93]
  |  Branch (11344:39): [True: 54, False: 0]
  ------------------
11345|     54|            symbolTable.relateToOperator("bfloat16BitsToIntEXT",  EOpFloatBitsToInt);
11346|     54|            symbolTable.relateToOperator("bfloat16BitsToUintEXT", EOpFloatBitsToUint);
11347|     54|            symbolTable.relateToOperator("intBitsToBFloat16EXT",  EOpIntBitsToFloat);
11348|     54|            symbolTable.relateToOperator("uintBitsToBFloat16EXT", EOpUintBitsToFloat);
11349|       |
11350|     54|            symbolTable.relateToOperator("floate5m2BitsToIntEXT",  EOpFloatBitsToInt);
11351|     54|            symbolTable.relateToOperator("floate5m2BitsToUintEXT", EOpFloatBitsToUint);
11352|     54|            symbolTable.relateToOperator("intBitsToFloate5m2EXT",  EOpIntBitsToFloat);
11353|     54|            symbolTable.relateToOperator("uintBitsToFloate5m2EXT", EOpUintBitsToFloat);
11354|       |
11355|     54|            symbolTable.relateToOperator("floate4m3BitsToIntEXT",  EOpFloatBitsToInt);
11356|     54|            symbolTable.relateToOperator("floate4m3BitsToUintEXT", EOpFloatBitsToUint);
11357|     54|            symbolTable.relateToOperator("intBitsToFloate4m3EXT",  EOpIntBitsToFloat);
11358|     54|            symbolTable.relateToOperator("uintBitsToFloate4m3EXT", EOpUintBitsToFloat);
11359|       |
11360|     54|            symbolTable.relateToOperator("saturatedConvertEXT", EOpConstructSaturated);
11361|     54|        }
11362|       |
11363|       |        // GL_KHR_shader_subgroup
11364|    147|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11364:14): [True: 93, False: 54]
  |  Branch (11364:39): [True: 0, False: 93]
  ------------------
11365|    147|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11365:14): [True: 54, False: 93]
  |  Branch (11365:39): [True: 54, False: 0]
  ------------------
11366|     54|            symbolTable.relateToOperator("subgroupBarrier",                 EOpSubgroupBarrier);
11367|     54|            symbolTable.relateToOperator("subgroupMemoryBarrier",           EOpSubgroupMemoryBarrier);
11368|     54|            symbolTable.relateToOperator("subgroupMemoryBarrierBuffer",     EOpSubgroupMemoryBarrierBuffer);
11369|     54|            symbolTable.relateToOperator("subgroupMemoryBarrierImage",      EOpSubgroupMemoryBarrierImage);
11370|     54|            symbolTable.relateToOperator("subgroupElect",                   EOpSubgroupElect);
11371|     54|            symbolTable.relateToOperator("subgroupAll",                     EOpSubgroupAll);
11372|     54|            symbolTable.relateToOperator("subgroupAny",                     EOpSubgroupAny);
11373|     54|            symbolTable.relateToOperator("subgroupAllEqual",                EOpSubgroupAllEqual);
11374|     54|            symbolTable.relateToOperator("subgroupBroadcast",               EOpSubgroupBroadcast);
11375|     54|            symbolTable.relateToOperator("subgroupBroadcastFirst",          EOpSubgroupBroadcastFirst);
11376|     54|            symbolTable.relateToOperator("subgroupBallot",                  EOpSubgroupBallot);
11377|     54|            symbolTable.relateToOperator("subgroupInverseBallot",           EOpSubgroupInverseBallot);
11378|     54|            symbolTable.relateToOperator("subgroupBallotBitExtract",        EOpSubgroupBallotBitExtract);
11379|     54|            symbolTable.relateToOperator("subgroupBallotBitCount",          EOpSubgroupBallotBitCount);
11380|     54|            symbolTable.relateToOperator("subgroupBallotInclusiveBitCount", EOpSubgroupBallotInclusiveBitCount);
11381|     54|            symbolTable.relateToOperator("subgroupBallotExclusiveBitCount", EOpSubgroupBallotExclusiveBitCount);
11382|     54|            symbolTable.relateToOperator("subgroupBallotFindLSB",           EOpSubgroupBallotFindLSB);
11383|     54|            symbolTable.relateToOperator("subgroupBallotFindMSB",           EOpSubgroupBallotFindMSB);
11384|     54|            symbolTable.relateToOperator("subgroupShuffle",                 EOpSubgroupShuffle);
11385|     54|            symbolTable.relateToOperator("subgroupShuffleXor",              EOpSubgroupShuffleXor);
11386|     54|            symbolTable.relateToOperator("subgroupShuffleUp",               EOpSubgroupShuffleUp);
11387|     54|            symbolTable.relateToOperator("subgroupShuffleDown",             EOpSubgroupShuffleDown);
11388|     54|            symbolTable.relateToOperator("subgroupRotate",                  EOpSubgroupRotate);
11389|     54|            symbolTable.relateToOperator("subgroupClusteredRotate",         EOpSubgroupClusteredRotate);
11390|     54|            symbolTable.relateToOperator("subgroupAdd",                     EOpSubgroupAdd);
11391|     54|            symbolTable.relateToOperator("subgroupMul",                     EOpSubgroupMul);
11392|     54|            symbolTable.relateToOperator("subgroupMin",                     EOpSubgroupMin);
11393|     54|            symbolTable.relateToOperator("subgroupMax",                     EOpSubgroupMax);
11394|     54|            symbolTable.relateToOperator("subgroupAnd",                     EOpSubgroupAnd);
11395|     54|            symbolTable.relateToOperator("subgroupOr",                      EOpSubgroupOr);
11396|     54|            symbolTable.relateToOperator("subgroupXor",                     EOpSubgroupXor);
11397|     54|            symbolTable.relateToOperator("subgroupInclusiveAdd",            EOpSubgroupInclusiveAdd);
11398|     54|            symbolTable.relateToOperator("subgroupInclusiveMul",            EOpSubgroupInclusiveMul);
11399|     54|            symbolTable.relateToOperator("subgroupInclusiveMin",            EOpSubgroupInclusiveMin);
11400|     54|            symbolTable.relateToOperator("subgroupInclusiveMax",            EOpSubgroupInclusiveMax);
11401|     54|            symbolTable.relateToOperator("subgroupInclusiveAnd",            EOpSubgroupInclusiveAnd);
11402|     54|            symbolTable.relateToOperator("subgroupInclusiveOr",             EOpSubgroupInclusiveOr);
11403|     54|            symbolTable.relateToOperator("subgroupInclusiveXor",            EOpSubgroupInclusiveXor);
11404|     54|            symbolTable.relateToOperator("subgroupExclusiveAdd",            EOpSubgroupExclusiveAdd);
11405|     54|            symbolTable.relateToOperator("subgroupExclusiveMul",            EOpSubgroupExclusiveMul);
11406|     54|            symbolTable.relateToOperator("subgroupExclusiveMin",            EOpSubgroupExclusiveMin);
11407|     54|            symbolTable.relateToOperator("subgroupExclusiveMax",            EOpSubgroupExclusiveMax);
11408|     54|            symbolTable.relateToOperator("subgroupExclusiveAnd",            EOpSubgroupExclusiveAnd);
11409|     54|            symbolTable.relateToOperator("subgroupExclusiveOr",             EOpSubgroupExclusiveOr);
11410|     54|            symbolTable.relateToOperator("subgroupExclusiveXor",            EOpSubgroupExclusiveXor);
11411|     54|            symbolTable.relateToOperator("subgroupClusteredAdd",            EOpSubgroupClusteredAdd);
11412|     54|            symbolTable.relateToOperator("subgroupClusteredMul",            EOpSubgroupClusteredMul);
11413|     54|            symbolTable.relateToOperator("subgroupClusteredMin",            EOpSubgroupClusteredMin);
11414|     54|            symbolTable.relateToOperator("subgroupClusteredMax",            EOpSubgroupClusteredMax);
11415|     54|            symbolTable.relateToOperator("subgroupClusteredAnd",            EOpSubgroupClusteredAnd);
11416|     54|            symbolTable.relateToOperator("subgroupClusteredOr",             EOpSubgroupClusteredOr);
11417|     54|            symbolTable.relateToOperator("subgroupClusteredXor",            EOpSubgroupClusteredXor);
11418|     54|            symbolTable.relateToOperator("subgroupQuadBroadcast",           EOpSubgroupQuadBroadcast);
11419|     54|            symbolTable.relateToOperator("subgroupQuadSwapHorizontal",      EOpSubgroupQuadSwapHorizontal);
11420|     54|            symbolTable.relateToOperator("subgroupQuadSwapVertical",        EOpSubgroupQuadSwapVertical);
11421|     54|            symbolTable.relateToOperator("subgroupQuadSwapDiagonal",        EOpSubgroupQuadSwapDiagonal);
11422|       |
11423|     54|            symbolTable.relateToOperator("subgroupPartitionNV",                          EOpSubgroupPartition);
11424|     54|            symbolTable.relateToOperator("subgroupPartitionedAddNV",                     EOpSubgroupPartitionedAdd);
11425|     54|            symbolTable.relateToOperator("subgroupPartitionedMulNV",                     EOpSubgroupPartitionedMul);
11426|     54|            symbolTable.relateToOperator("subgroupPartitionedMinNV",                     EOpSubgroupPartitionedMin);
11427|     54|            symbolTable.relateToOperator("subgroupPartitionedMaxNV",                     EOpSubgroupPartitionedMax);
11428|     54|            symbolTable.relateToOperator("subgroupPartitionedAndNV",                     EOpSubgroupPartitionedAnd);
11429|     54|            symbolTable.relateToOperator("subgroupPartitionedOrNV",                      EOpSubgroupPartitionedOr);
11430|     54|            symbolTable.relateToOperator("subgroupPartitionedXorNV",                     EOpSubgroupPartitionedXor);
11431|     54|            symbolTable.relateToOperator("subgroupPartitionedInclusiveAddNV",            EOpSubgroupPartitionedInclusiveAdd);
11432|     54|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMulNV",            EOpSubgroupPartitionedInclusiveMul);
11433|     54|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMinNV",            EOpSubgroupPartitionedInclusiveMin);
11434|     54|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMaxNV",            EOpSubgroupPartitionedInclusiveMax);
11435|     54|            symbolTable.relateToOperator("subgroupPartitionedInclusiveAndNV",            EOpSubgroupPartitionedInclusiveAnd);
11436|     54|            symbolTable.relateToOperator("subgroupPartitionedInclusiveOrNV",             EOpSubgroupPartitionedInclusiveOr);
11437|     54|            symbolTable.relateToOperator("subgroupPartitionedInclusiveXorNV",            EOpSubgroupPartitionedInclusiveXor);
11438|     54|            symbolTable.relateToOperator("subgroupPartitionedExclusiveAddNV",            EOpSubgroupPartitionedExclusiveAdd);
11439|     54|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMulNV",            EOpSubgroupPartitionedExclusiveMul);
11440|     54|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMinNV",            EOpSubgroupPartitionedExclusiveMin);
11441|     54|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMaxNV",            EOpSubgroupPartitionedExclusiveMax);
11442|     54|            symbolTable.relateToOperator("subgroupPartitionedExclusiveAndNV",            EOpSubgroupPartitionedExclusiveAnd);
11443|     54|            symbolTable.relateToOperator("subgroupPartitionedExclusiveOrNV",             EOpSubgroupPartitionedExclusiveOr);
11444|     54|            symbolTable.relateToOperator("subgroupPartitionedExclusiveXorNV",            EOpSubgroupPartitionedExclusiveXor);
11445|     54|        }
11446|       |
11447|    147|        if (profile == EEsProfile) {
  ------------------
  |  Branch (11447:13): [True: 93, False: 54]
  ------------------
11448|     93|            symbolTable.relateToOperator("shadow2DEXT",              EOpTexture);
11449|     93|            symbolTable.relateToOperator("shadow2DProjEXT",          EOpTextureProj);
11450|     93|        }
11451|       |
11452|       |        // GL_EXT_shader_quad_control
11453|    147|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11453:14): [True: 93, False: 54]
  |  Branch (11453:39): [True: 0, False: 93]
  ------------------
11454|    147|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11454:14): [True: 54, False: 93]
  |  Branch (11454:39): [True: 54, False: 0]
  ------------------
11455|     54|            symbolTable.relateToOperator("subgroupQuadAll",                     EOpSubgroupQuadAll);
11456|     54|            symbolTable.relateToOperator("subgroupQuadAny",                     EOpSubgroupQuadAny);
11457|     54|        }
11458|       |
11459|    147|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11459:14): [True: 93, False: 54]
  |  Branch (11459:39): [True: 0, False: 93]
  ------------------
11460|    147|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11460:14): [True: 54, False: 93]
  |  Branch (11460:39): [True: 54, False: 0]
  ------------------
11461|     54|            symbolTable.relateToOperator("textureWeightedQCOM",      EOpImageSampleWeightedQCOM);
11462|     54|            symbolTable.relateToOperator("textureBoxFilterQCOM",     EOpImageBoxFilterQCOM);
11463|     54|            symbolTable.relateToOperator("textureBlockMatchSADQCOM", EOpImageBlockMatchSADQCOM);
11464|     54|            symbolTable.relateToOperator("textureBlockMatchSSDQCOM", EOpImageBlockMatchSSDQCOM);
11465|       |
11466|     54|            symbolTable.relateToOperator("textureBlockMatchWindowSSDQCOM", EOpImageBlockMatchWindowSSDQCOM);
11467|     54|            symbolTable.relateToOperator("textureBlockMatchWindowSADQCOM", EOpImageBlockMatchWindowSADQCOM);
11468|     54|            symbolTable.relateToOperator("textureBlockMatchGatherSSDQCOM", EOpImageBlockMatchGatherSSDQCOM);
11469|     54|            symbolTable.relateToOperator("textureBlockMatchGatherSADQCOM", EOpImageBlockMatchGatherSADQCOM);
11470|     54|        }
11471|       |
11472|    147|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (11472:13): [True: 54, False: 93]
  |  Branch (11472:38): [True: 54, False: 0]
  ------------------
11473|     54|            symbolTable.relateToOperator("texture1DArray", EOpTexture);
11474|     54|            symbolTable.relateToOperator("texture2DArray", EOpTexture);
11475|     54|            symbolTable.relateToOperator("shadow1DArray", EOpTexture);
11476|     54|            symbolTable.relateToOperator("shadow2DArray", EOpTexture);
11477|       |
11478|     54|            symbolTable.relateToOperator("texture1DArrayLod", EOpTextureLod);
11479|     54|            symbolTable.relateToOperator("texture2DArrayLod", EOpTextureLod);
11480|     54|            symbolTable.relateToOperator("shadow1DArrayLod", EOpTextureLod);
11481|     54|        }
11482|       |
11483|    147|        symbolTable.relateToOperator("coopVecMatMulNV",              EOpCooperativeVectorMatMulNV);
11484|    147|        symbolTable.relateToOperator("coopVecMatMulAddNV",           EOpCooperativeVectorMatMulAddNV);
11485|    147|        symbolTable.relateToOperator("coopVecLoadNV",                EOpCooperativeVectorLoadNV);
11486|    147|        symbolTable.relateToOperator("coopVecStoreNV",               EOpCooperativeVectorStoreNV);
11487|    147|        symbolTable.relateToOperator("coopVecOuterProductAccumulateNV", EOpCooperativeVectorOuterProductAccumulateNV);
11488|    147|        symbolTable.relateToOperator("coopVecReduceSumAccumulateNV",    EOpCooperativeVectorReduceSumAccumulateNV);
11489|    147|    }
11490|       |
11491|    147|    switch(language) {
11492|     52|    case EShLangVertex:
  ------------------
  |  Branch (11492:5): [True: 52, False: 95]
  ------------------
11493|     52|        break;
11494|       |
11495|      4|    case EShLangTessControl:
  ------------------
  |  Branch (11495:5): [True: 4, False: 143]
  ------------------
11496|      8|    case EShLangTessEvaluation:
  ------------------
  |  Branch (11496:5): [True: 4, False: 143]
  ------------------
11497|      8|        break;
11498|       |
11499|      4|    case EShLangGeometry:
  ------------------
  |  Branch (11499:5): [True: 4, False: 143]
  ------------------
11500|      4|        symbolTable.relateToOperator("EmitStreamVertex",   EOpEmitStreamVertex);
11501|      4|        symbolTable.relateToOperator("EndStreamPrimitive", EOpEndStreamPrimitive);
11502|      4|        symbolTable.relateToOperator("EmitVertex",         EOpEmitVertex);
11503|      4|        symbolTable.relateToOperator("EndPrimitive",       EOpEndPrimitive);
11504|      4|        break;
11505|       |
11506|     47|    case EShLangFragment:
  ------------------
  |  Branch (11506:5): [True: 47, False: 100]
  ------------------
11507|     47|        if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (11507:13): [True: 2, False: 45]
  |  Branch (11507:38): [True: 2, False: 0]
  ------------------
11508|      2|            symbolTable.relateToOperator("dFdxFine",     EOpDPdxFine);
11509|      2|            symbolTable.relateToOperator("dFdyFine",     EOpDPdyFine);
11510|      2|            symbolTable.relateToOperator("fwidthFine",   EOpFwidthFine);
11511|      2|            symbolTable.relateToOperator("dFdxCoarse",   EOpDPdxCoarse);
11512|      2|            symbolTable.relateToOperator("dFdyCoarse",   EOpDPdyCoarse);
11513|      2|            symbolTable.relateToOperator("fwidthCoarse", EOpFwidthCoarse);
11514|      2|        }
11515|       |
11516|     47|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11516:13): [True: 2, False: 45]
  |  Branch (11516:38): [True: 0, False: 2]
  ------------------
11517|      0|            symbolTable.relateToOperator("rayQueryInitializeEXT",                                             EOpRayQueryInitialize);
11518|      0|            symbolTable.relateToOperator("rayQueryTerminateEXT",                                              EOpRayQueryTerminate);
11519|      0|            symbolTable.relateToOperator("rayQueryGenerateIntersectionEXT",                                   EOpRayQueryGenerateIntersection);
11520|      0|            symbolTable.relateToOperator("rayQueryConfirmIntersectionEXT",                                    EOpRayQueryConfirmIntersection);
11521|      0|            symbolTable.relateToOperator("rayQueryProceedEXT",                                                EOpRayQueryProceed);
11522|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTypeEXT",                                    EOpRayQueryGetIntersectionType);
11523|      0|            symbolTable.relateToOperator("rayQueryGetRayTMinEXT",                                             EOpRayQueryGetRayTMin);
11524|      0|            symbolTable.relateToOperator("rayQueryGetRayFlagsEXT",                                            EOpRayQueryGetRayFlags);
11525|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTEXT",                                       EOpRayQueryGetIntersectionT);
11526|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceCustomIndexEXT",                     EOpRayQueryGetIntersectionInstanceCustomIndex);
11527|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceIdEXT",                              EOpRayQueryGetIntersectionInstanceId);
11528|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT",  EOpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffset);
11529|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionGeometryIndexEXT",                           EOpRayQueryGetIntersectionGeometryIndex);
11530|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionPrimitiveIndexEXT",                          EOpRayQueryGetIntersectionPrimitiveIndex);
11531|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionBarycentricsEXT",                            EOpRayQueryGetIntersectionBarycentrics);
11532|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionFrontFaceEXT",                               EOpRayQueryGetIntersectionFrontFace);
11533|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionCandidateAABBOpaqueEXT",                     EOpRayQueryGetIntersectionCandidateAABBOpaque);
11534|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectRayDirectionEXT",                      EOpRayQueryGetIntersectionObjectRayDirection);
11535|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectRayOriginEXT",                         EOpRayQueryGetIntersectionObjectRayOrigin);
11536|      0|            symbolTable.relateToOperator("rayQueryGetWorldRayDirectionEXT",                                   EOpRayQueryGetWorldRayDirection);
11537|      0|            symbolTable.relateToOperator("rayQueryGetWorldRayOriginEXT",                                      EOpRayQueryGetWorldRayOrigin);
11538|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectToWorldEXT",                           EOpRayQueryGetIntersectionObjectToWorld);
11539|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionWorldToObjectEXT",                           EOpRayQueryGetIntersectionWorldToObject);
11540|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTriangleVertexPositionsEXT",                 EOpRayQueryGetIntersectionTriangleVertexPositionsEXT);
11541|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionClusterIdNV",                                EOpRayQueryGetIntersectionClusterIdNV);
11542|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionSpherePositionNV",                           EOpRayQueryGetIntersectionSpherePositionNV);
11543|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionSphereRadiusNV",                             EOpRayQueryGetIntersectionSphereRadiusNV);
11544|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSHitValueNV",                              EOpRayQueryGetIntersectionLSSHitValueNV);
11545|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSPositionsNV",                             EOpRayQueryGetIntersectionLSSPositionsNV);
11546|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSRadiiNV",                                 EOpRayQueryGetIntersectionLSSRadiiNV);
11547|      0|            symbolTable.relateToOperator("rayQueryIsSphereHitNV",                                             EOpRayQueryIsSphereHitNV);
11548|      0|            symbolTable.relateToOperator("rayQueryIsLSSHitNV",                                                EOpRayQueryIsLSSHitNV);
11549|      0|        }
11550|       |
11551|     47|        symbolTable.relateToOperator("interpolateAtCentroid", EOpInterpolateAtCentroid);
11552|     47|        symbolTable.relateToOperator("interpolateAtSample",   EOpInterpolateAtSample);
11553|     47|        symbolTable.relateToOperator("interpolateAtOffset",   EOpInterpolateAtOffset);
11554|       |
11555|     47|        if (profile != EEsProfile)
  ------------------
  |  Branch (11555:13): [True: 2, False: 45]
  ------------------
11556|      2|            symbolTable.relateToOperator("interpolateAtVertexAMD", EOpInterpolateAtVertex);
11557|       |
11558|     47|        symbolTable.relateToOperator("beginInvocationInterlockARB", EOpBeginInvocationInterlock);
11559|     47|        symbolTable.relateToOperator("endInvocationInterlockARB",   EOpEndInvocationInterlock);
11560|       |
11561|     47|        symbolTable.relateToOperator("stencilAttachmentReadEXT", EOpStencilAttachmentReadEXT);
11562|     47|        symbolTable.relateToOperator("depthAttachmentReadEXT",   EOpDepthAttachmentReadEXT);
11563|     47|        symbolTable.relateToOperator("colorAttachmentReadEXT",   EOpColorAttachmentReadEXT);
11564|       |
11565|     47|        break;
11566|       |
11567|      4|    case EShLangCompute:
  ------------------
  |  Branch (11567:5): [True: 4, False: 143]
  ------------------
11568|      4|        symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
11569|      4|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (11569:14): [True: 4, False: 0]
  |  Branch (11569:39): [True: 4, False: 0]
  ------------------
11570|      4|            (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (11570:14): [True: 0, False: 0]
  |  Branch (11570:39): [True: 0, False: 0]
  ------------------
11571|      4|            symbolTable.relateToOperator("dFdx",        EOpDPdx);
11572|      4|            symbolTable.relateToOperator("dFdy",        EOpDPdy);
11573|      4|            symbolTable.relateToOperator("fwidth",      EOpFwidth);
11574|      4|            symbolTable.relateToOperator("dFdxFine",    EOpDPdxFine);
11575|      4|            symbolTable.relateToOperator("dFdyFine",    EOpDPdyFine);
11576|      4|            symbolTable.relateToOperator("fwidthFine",  EOpFwidthFine);
11577|      4|            symbolTable.relateToOperator("dFdxCoarse",  EOpDPdxCoarse);
11578|      4|            symbolTable.relateToOperator("dFdyCoarse",  EOpDPdyCoarse);
11579|      4|            symbolTable.relateToOperator("fwidthCoarse",EOpFwidthCoarse);
11580|      4|        }
11581|      4|        symbolTable.relateToOperator("coopMatLoadNV",              EOpCooperativeMatrixLoadNV);
11582|      4|        symbolTable.relateToOperator("coopMatStoreNV",             EOpCooperativeMatrixStoreNV);
11583|      4|        symbolTable.relateToOperator("coopMatMulAddNV",            EOpCooperativeMatrixMulAddNV);
11584|       |
11585|      4|        symbolTable.relateToOperator("coopMatLoad",                EOpCooperativeMatrixLoad);
11586|      4|        symbolTable.relateToOperator("coopMatStore",               EOpCooperativeMatrixStore);
11587|      4|        symbolTable.relateToOperator("coopMatMulAdd",              EOpCooperativeMatrixMulAdd);
11588|       |
11589|      4|        symbolTable.relateToOperator("coopMatLoadTensorNV",        EOpCooperativeMatrixLoadTensorNV);
11590|      4|        symbolTable.relateToOperator("coopMatStoreTensorNV",       EOpCooperativeMatrixStoreTensorNV);
11591|       |
11592|      4|        symbolTable.relateToOperator("coopMatReduceNV",            EOpCooperativeMatrixReduceNV);
11593|      4|        symbolTable.relateToOperator("coopMatPerElementNV",        EOpCooperativeMatrixPerElementOpNV);
11594|      4|        symbolTable.relateToOperator("coopMatTransposeNV",         EOpCooperativeMatrixTransposeNV);
11595|       |
11596|      4|        symbolTable.relateToOperator("createTensorLayoutNV",         EOpCreateTensorLayoutNV);
11597|      4|        symbolTable.relateToOperator("setTensorLayoutBlockSizeNV",   EOpTensorLayoutSetBlockSizeNV);
11598|      4|        symbolTable.relateToOperator("setTensorLayoutDimensionNV",   EOpTensorLayoutSetDimensionNV);
11599|      4|        symbolTable.relateToOperator("setTensorLayoutStrideNV",      EOpTensorLayoutSetStrideNV);
11600|      4|        symbolTable.relateToOperator("sliceTensorLayoutNV",          EOpTensorLayoutSliceNV);
11601|      4|        symbolTable.relateToOperator("setTensorLayoutClampValueNV",  EOpTensorLayoutSetClampValueNV);
11602|       |
11603|      4|        symbolTable.relateToOperator("createTensorViewNV",           EOpCreateTensorViewNV);
11604|      4|        symbolTable.relateToOperator("setTensorViewDimensionsNV",    EOpTensorViewSetDimensionNV);
11605|      4|        symbolTable.relateToOperator("setTensorViewStrideNV",        EOpTensorViewSetStrideNV);
11606|      4|        symbolTable.relateToOperator("setTensorViewClipNV",          EOpTensorViewSetClipNV);
11607|       |
11608|      4|        symbolTable.relateToOperator("tensorReadARM",                EOpTensorReadARM);
11609|      4|        symbolTable.relateToOperator("tensorWriteARM",               EOpTensorWriteARM);
11610|      4|        symbolTable.relateToOperator("tensorSizeARM",                EOpTensorSizeARM);
11611|       |
11612|      4|        symbolTable.relateToOperator("bitcastQCOM", EOpBitCastArrayQCOM);
11613|      4|        symbolTable.relateToOperator("extractSubArrayQCOM", EOpExtractSubArrayQCOM);
11614|      4|        symbolTable.relateToOperator("vectorToCoopmatQCOM", EOpCompositeConstructCoopMatQCOM);
11615|      4|        symbolTable.relateToOperator("coopmatToVectorQCOM", EOpCompositeExtractCoopMatQCOM);
11616|       |
11617|      4|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11617:13): [True: 4, False: 0]
  |  Branch (11617:38): [True: 0, False: 4]
  ------------------
11618|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
11619|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
11620|      0|        }
11621|      4|        break;
11622|       |
11623|      4|    case EShLangRayGen:
  ------------------
  |  Branch (11623:5): [True: 4, False: 143]
  ------------------
11624|      4|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11624:13): [True: 4, False: 0]
  |  Branch (11624:38): [True: 0, False: 4]
  ------------------
11625|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
11626|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
11627|      0|        }
11628|      4|        [[fallthrough]];
11629|      8|    case EShLangClosestHit:
  ------------------
  |  Branch (11629:5): [True: 4, False: 143]
  ------------------
11630|     12|    case EShLangMiss:
  ------------------
  |  Branch (11630:5): [True: 4, False: 143]
  ------------------
11631|     12|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11631:13): [True: 12, False: 0]
  |  Branch (11631:38): [True: 0, False: 12]
  ------------------
11632|      0|            symbolTable.relateToOperator("traceNV", EOpTraceNV);
11633|      0|            symbolTable.relateToOperator("traceRayMotionNV", EOpTraceRayMotionNV);
11634|      0|            symbolTable.relateToOperator("traceRayEXT", EOpTraceKHR);
11635|      0|            symbolTable.relateToOperator("executeCallableNV", EOpExecuteCallableNV);
11636|      0|            symbolTable.relateToOperator("executeCallableEXT", EOpExecuteCallableKHR);
11637|       |
11638|      0|            symbolTable.relateToOperator("hitObjectTraceRayNV", EOpHitObjectTraceRayNV);
11639|      0|            symbolTable.relateToOperator("hitObjectTraceRayMotionNV", EOpHitObjectTraceRayMotionNV);
11640|      0|            symbolTable.relateToOperator("hitObjectRecordHitNV", EOpHitObjectRecordHitNV);
11641|      0|            symbolTable.relateToOperator("hitObjectRecordHitMotionNV", EOpHitObjectRecordHitMotionNV);
11642|      0|            symbolTable.relateToOperator("hitObjectRecordHitWithIndexNV", EOpHitObjectRecordHitWithIndexNV);
11643|      0|            symbolTable.relateToOperator("hitObjectRecordHitWithIndexMotionNV", EOpHitObjectRecordHitWithIndexMotionNV);
11644|      0|            symbolTable.relateToOperator("hitObjectRecordMissNV", EOpHitObjectRecordMissNV);
11645|      0|            symbolTable.relateToOperator("hitObjectRecordMissMotionNV", EOpHitObjectRecordMissMotionNV);
11646|      0|            symbolTable.relateToOperator("hitObjectRecordEmptyNV", EOpHitObjectRecordEmptyNV);
11647|      0|            symbolTable.relateToOperator("hitObjectExecuteShaderNV", EOpHitObjectExecuteShaderNV);
11648|      0|            symbolTable.relateToOperator("hitObjectIsEmptyNV", EOpHitObjectIsEmptyNV);
11649|      0|            symbolTable.relateToOperator("hitObjectIsMissNV", EOpHitObjectIsMissNV);
11650|      0|            symbolTable.relateToOperator("hitObjectIsHitNV", EOpHitObjectIsHitNV);
11651|      0|            symbolTable.relateToOperator("hitObjectGetRayTMinNV", EOpHitObjectGetRayTMinNV);
11652|      0|            symbolTable.relateToOperator("hitObjectGetRayTMaxNV", EOpHitObjectGetRayTMaxNV);
11653|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayOriginNV", EOpHitObjectGetObjectRayOriginNV);
11654|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayDirectionNV", EOpHitObjectGetObjectRayDirectionNV);
11655|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayOriginNV", EOpHitObjectGetWorldRayOriginNV);
11656|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayDirectionNV", EOpHitObjectGetWorldRayDirectionNV);
11657|      0|            symbolTable.relateToOperator("hitObjectGetWorldToObjectNV", EOpHitObjectGetWorldToObjectNV);
11658|      0|            symbolTable.relateToOperator("hitObjectGetObjectToWorldNV", EOpHitObjectGetObjectToWorldNV);
11659|      0|            symbolTable.relateToOperator("hitObjectGetInstanceCustomIndexNV", EOpHitObjectGetInstanceCustomIndexNV);
11660|      0|            symbolTable.relateToOperator("hitObjectGetInstanceIdNV", EOpHitObjectGetInstanceIdNV);
11661|      0|            symbolTable.relateToOperator("hitObjectGetGeometryIndexNV", EOpHitObjectGetGeometryIndexNV);
11662|      0|            symbolTable.relateToOperator("hitObjectGetPrimitiveIndexNV", EOpHitObjectGetPrimitiveIndexNV);
11663|      0|            symbolTable.relateToOperator("hitObjectGetHitKindNV", EOpHitObjectGetHitKindNV);
11664|      0|            symbolTable.relateToOperator("hitObjectGetAttributesNV", EOpHitObjectGetAttributesNV);
11665|      0|            symbolTable.relateToOperator("hitObjectGetCurrentTimeNV", EOpHitObjectGetCurrentTimeNV);
11666|      0|            symbolTable.relateToOperator("hitObjectGetShaderBindingTableRecordIndexNV", EOpHitObjectGetShaderBindingTableRecordIndexNV);
11667|      0|            symbolTable.relateToOperator("hitObjectGetShaderRecordBufferHandleNV", EOpHitObjectGetShaderRecordBufferHandleNV);
11668|      0|            symbolTable.relateToOperator("hitObjectGetClusterIdNV", EOpHitObjectGetClusterIdNV);
11669|      0|            symbolTable.relateToOperator("reorderThreadNV", EOpReorderThreadNV);
11670|      0|            symbolTable.relateToOperator("hitObjectGetSpherePositionNV", EOpHitObjectGetSpherePositionNV);
11671|      0|            symbolTable.relateToOperator("hitObjectGetSphereRadiusNV", EOpHitObjectGetSphereRadiusNV);
11672|      0|            symbolTable.relateToOperator("hitObjectGetLSSPositionsNV", EOpHitObjectGetLSSPositionsNV);
11673|      0|            symbolTable.relateToOperator("hitObjectGetLSSRadiiNV", EOpHitObjectGetLSSRadiiNV);
11674|      0|            symbolTable.relateToOperator("hitObjectIsSphereHitNV", EOpHitObjectIsSphereHitNV);
11675|      0|            symbolTable.relateToOperator("hitObjectIsLSSHitNV", EOpHitObjectIsLSSHitNV);
11676|      0|            symbolTable.relateToOperator("hitObjectTraceRayEXT", EOpHitObjectTraceRayEXT);
11677|      0|            symbolTable.relateToOperator("hitObjectTraceRayMotionEXT", EOpHitObjectTraceRayMotionEXT);
11678|      0|            symbolTable.relateToOperator("hitObjectRecordMissEXT", EOpHitObjectRecordMissEXT);
11679|      0|            symbolTable.relateToOperator("hitObjectRecordMissMotionEXT", EOpHitObjectRecordMissMotionEXT);
11680|      0|            symbolTable.relateToOperator("hitObjectRecordEmptyEXT", EOpHitObjectRecordEmptyEXT);
11681|      0|            symbolTable.relateToOperator("hitObjectExecuteShaderEXT", EOpHitObjectExecuteShaderEXT);
11682|      0|            symbolTable.relateToOperator("hitObjectIsEmptyEXT", EOpHitObjectIsEmptyEXT);
11683|      0|            symbolTable.relateToOperator("hitObjectIsMissEXT", EOpHitObjectIsMissEXT);
11684|      0|            symbolTable.relateToOperator("hitObjectIsHitEXT", EOpHitObjectIsHitEXT);
11685|      0|            symbolTable.relateToOperator("hitObjectGetRayTMinEXT", EOpHitObjectGetRayTMinEXT);
11686|      0|            symbolTable.relateToOperator("hitObjectGetRayTMaxEXT", EOpHitObjectGetRayTMaxEXT);
11687|      0|            symbolTable.relateToOperator("hitObjectGetRayFlagsEXT", EOpHitObjectGetRayFlagsEXT);
11688|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayOriginEXT", EOpHitObjectGetObjectRayOriginEXT);
11689|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayDirectionEXT", EOpHitObjectGetObjectRayDirectionEXT);
11690|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayOriginEXT", EOpHitObjectGetWorldRayOriginEXT);
11691|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayDirectionEXT", EOpHitObjectGetWorldRayDirectionEXT);
11692|      0|            symbolTable.relateToOperator("hitObjectGetWorldToObjectEXT", EOpHitObjectGetWorldToObjectEXT);
11693|      0|            symbolTable.relateToOperator("hitObjectGetObjectToWorldEXT", EOpHitObjectGetObjectToWorldEXT);
11694|      0|            symbolTable.relateToOperator("hitObjectGetInstanceCustomIndexEXT", EOpHitObjectGetInstanceCustomIndexEXT);
11695|      0|            symbolTable.relateToOperator("hitObjectGetInstanceIdEXT", EOpHitObjectGetInstanceIdEXT);
11696|      0|            symbolTable.relateToOperator("hitObjectGetGeometryIndexEXT", EOpHitObjectGetGeometryIndexEXT);
11697|      0|            symbolTable.relateToOperator("hitObjectGetPrimitiveIndexEXT", EOpHitObjectGetPrimitiveIndexEXT);
11698|      0|            symbolTable.relateToOperator("hitObjectGetHitKindEXT", EOpHitObjectGetHitKindEXT);
11699|      0|            symbolTable.relateToOperator("hitObjectGetAttributesEXT", EOpHitObjectGetAttributesEXT);
11700|      0|            symbolTable.relateToOperator("hitObjectGetCurrentTimeEXT", EOpHitObjectGetCurrentTimeEXT);
11701|      0|            symbolTable.relateToOperator("hitObjectGetShaderBindingTableRecordIndexEXT", EOpHitObjectGetShaderBindingTableRecordIndexEXT);
11702|      0|            symbolTable.relateToOperator("hitObjectGetShaderRecordBufferHandleEXT", EOpHitObjectGetShaderRecordBufferHandleEXT);
11703|      0|            symbolTable.relateToOperator("hitObjectSetShaderBindingTableRecordIndexEXT", EOpHitObjectSetShaderBindingTableRecordIndexEXT);
11704|      0|            symbolTable.relateToOperator("reorderThreadEXT", EOpReorderThreadEXT);
11705|      0|            symbolTable.relateToOperator("hitObjectReorderExecuteEXT", EOpHitObjectReorderExecuteEXT);
11706|      0|            symbolTable.relateToOperator("hitObjectTraceReorderExecuteEXT", EOpHitObjectTraceReorderExecuteEXT);
11707|      0|            symbolTable.relateToOperator("hitObjectTraceMotionReorderExecuteEXT", EOpHitObjectTraceMotionReorderExecuteEXT);
11708|      0|            symbolTable.relateToOperator("hitObjectRecordFromQueryEXT", EOpHitObjectRecordFromQueryEXT);
11709|      0|            symbolTable.relateToOperator("hitObjectGetIntersectionTriangleVertexPositionsEXT", EOpHitObjectGetIntersectionTriangleVertexPositionsEXT);
11710|      0|        }
11711|     12|        break;
11712|      4|    case EShLangIntersect:
  ------------------
  |  Branch (11712:5): [True: 4, False: 143]
  ------------------
11713|      4|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11713:13): [True: 4, False: 0]
  |  Branch (11713:38): [True: 0, False: 4]
  ------------------
11714|      0|            symbolTable.relateToOperator("reportIntersectionNV", EOpReportIntersection);
11715|      0|            symbolTable.relateToOperator("reportIntersectionEXT", EOpReportIntersection);
11716|      0|        }
11717|      4|        break;
11718|      4|    case EShLangAnyHit:
  ------------------
  |  Branch (11718:5): [True: 4, False: 143]
  ------------------
11719|      4|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11719:13): [True: 4, False: 0]
  |  Branch (11719:38): [True: 0, False: 4]
  ------------------
11720|      0|            symbolTable.relateToOperator("ignoreIntersectionNV", EOpIgnoreIntersectionNV);
11721|      0|            symbolTable.relateToOperator("terminateRayNV", EOpTerminateRayNV);
11722|      0|        }
11723|      4|        break;
11724|      4|    case EShLangCallable:
  ------------------
  |  Branch (11724:5): [True: 4, False: 143]
  ------------------
11725|      4|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11725:13): [True: 4, False: 0]
  |  Branch (11725:38): [True: 0, False: 4]
  ------------------
11726|      0|            symbolTable.relateToOperator("executeCallableNV", EOpExecuteCallableNV);
11727|      0|            symbolTable.relateToOperator("executeCallableEXT", EOpExecuteCallableKHR);
11728|      0|        }
11729|      4|        break;
11730|      4|    case EShLangMesh:
  ------------------
  |  Branch (11730:5): [True: 4, False: 143]
  ------------------
11731|      4|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (11731:14): [True: 4, False: 0]
  |  Branch (11731:39): [True: 4, False: 0]
  |  Branch (11731:59): [True: 0, False: 0]
  |  Branch (11731:84): [True: 0, False: 0]
  ------------------
11732|      4|            symbolTable.relateToOperator("writePackedPrimitiveIndices4x8NV", EOpWritePackedPrimitiveIndices4x8NV);
11733|      4|            symbolTable.relateToOperator("memoryBarrierShared", EOpMemoryBarrierShared);
11734|      4|            symbolTable.relateToOperator("groupMemoryBarrier", EOpGroupMemoryBarrier);
11735|      4|            symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
11736|      4|        }
11737|       |
11738|      4|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (11738:13): [True: 4, False: 0]
  |  Branch (11738:38): [True: 4, False: 0]
  ------------------
11739|      4|            symbolTable.relateToOperator("SetMeshOutputsEXT", EOpSetMeshOutputsEXT);
11740|      4|        }
11741|       |
11742|      4|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11742:13): [True: 4, False: 0]
  |  Branch (11742:38): [True: 0, False: 4]
  ------------------
11743|       |            // Builtins for GL_NV_displacement_micromap.
11744|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
11745|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
11746|      0|        }
11747|      4|        break;
11748|      4|    case EShLangTask:
  ------------------
  |  Branch (11748:5): [True: 4, False: 143]
  ------------------
11749|      4|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (11749:14): [True: 4, False: 0]
  |  Branch (11749:39): [True: 4, False: 0]
  |  Branch (11749:59): [True: 0, False: 0]
  |  Branch (11749:84): [True: 0, False: 0]
  ------------------
11750|      4|            symbolTable.relateToOperator("memoryBarrierShared", EOpMemoryBarrierShared);
11751|      4|            symbolTable.relateToOperator("groupMemoryBarrier", EOpGroupMemoryBarrier);
11752|      4|            symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
11753|      4|        }
11754|      4|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (11754:13): [True: 4, False: 0]
  |  Branch (11754:38): [True: 4, False: 0]
  ------------------
11755|      4|            symbolTable.relateToOperator("EmitMeshTasksEXT", EOpEmitMeshTasksEXT);
11756|      4|        }
11757|      4|        break;
11758|       |
11759|      0|    default:
  ------------------
  |  Branch (11759:5): [True: 0, False: 147]
  ------------------
11760|       |        assert(false && "Language not supported");
11761|    147|    }
11762|    147|}
_ZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableERK16TBuiltInResource:
11774|     47|{
11775|     47|    if (profile != EEsProfile && version >= 430 && version < 440) {
  ------------------
  |  Branch (11775:9): [True: 2, False: 45]
  |  Branch (11775:34): [True: 2, False: 0]
  |  Branch (11775:52): [True: 0, False: 2]
  ------------------
11776|      0|        symbolTable.setVariableExtensions("gl_MaxTransformFeedbackBuffers", 1, &E_GL_ARB_enhanced_layouts);
11777|      0|        symbolTable.setVariableExtensions("gl_MaxTransformFeedbackInterleavedComponents", 1, &E_GL_ARB_enhanced_layouts);
11778|      0|    }
11779|     47|    if (profile != EEsProfile && version >= 130 && version < 420) {
  ------------------
  |  Branch (11779:9): [True: 2, False: 45]
  |  Branch (11779:34): [True: 2, False: 0]
  |  Branch (11779:52): [True: 0, False: 2]
  ------------------
11780|      0|        symbolTable.setVariableExtensions("gl_MinProgramTexelOffset", 1, &E_GL_ARB_shading_language_420pack);
11781|      0|        symbolTable.setVariableExtensions("gl_MaxProgramTexelOffset", 1, &E_GL_ARB_shading_language_420pack);
11782|      0|    }
11783|     47|    if (profile != EEsProfile && version >= 150 && version < 410)
  ------------------
  |  Branch (11783:9): [True: 2, False: 45]
  |  Branch (11783:34): [True: 2, False: 0]
  |  Branch (11783:52): [True: 0, False: 2]
  ------------------
11784|      0|        symbolTable.setVariableExtensions("gl_MaxViewports", 1, &E_GL_ARB_viewport_array);
11785|       |
11786|     47|    switch(language) {
11787|      0|    case EShLangFragment:
  ------------------
  |  Branch (11787:5): [True: 0, False: 47]
  ------------------
11788|       |        // Set up gl_FragData based on current array size.
11789|      0|        if (version == 100 || IncludeLegacy(version, profile, spvVersion) || (! ForwardCompatibility && profile != EEsProfile && version < 420)) {
  ------------------
  |  Branch (11789:13): [True: 0, False: 0]
  |  Branch (11789:31): [True: 0, False: 0]
  |  Branch (11789:79): [True: 0, Folded]
  |  Branch (11789:105): [True: 0, False: 0]
  |  Branch (11789:130): [True: 0, False: 0]
  ------------------
11790|      0|            TPrecisionQualifier pq = profile == EEsProfile ? EpqMedium : EpqNone;
  ------------------
  |  Branch (11790:38): [True: 0, False: 0]
  ------------------
11791|      0|            TType fragData(EbtFloat, EvqFragColor, pq, 4);
11792|      0|            TArraySizes* arraySizes = new TArraySizes;
11793|      0|            arraySizes->addInnerSize(resources.maxDrawBuffers);
11794|      0|            fragData.transferArraySizes(arraySizes);
11795|      0|            symbolTable.insert(*new TVariable(NewPoolTString("gl_FragData"), fragData));
11796|      0|            SpecialQualifier("gl_FragData", EvqFragColor, EbvFragData, symbolTable);
11797|      0|        }
11798|       |
11799|       |        // GL_EXT_blend_func_extended
11800|      0|        if (profile == EEsProfile && version >= 100) {
  ------------------
  |  Branch (11800:13): [True: 0, False: 0]
  |  Branch (11800:38): [True: 0, False: 0]
  ------------------
11801|      0|           symbolTable.setVariableExtensions("gl_MaxDualSourceDrawBuffersEXT",    1, &E_GL_EXT_blend_func_extended);
11802|      0|           symbolTable.setVariableExtensions("gl_SecondaryFragColorEXT",    1, &E_GL_EXT_blend_func_extended);
11803|      0|           symbolTable.setVariableExtensions("gl_SecondaryFragDataEXT",    1, &E_GL_EXT_blend_func_extended);
11804|      0|           SpecialQualifier("gl_SecondaryFragColorEXT", EvqVaryingOut, EbvSecondaryFragColorEXT, symbolTable);
11805|      0|           SpecialQualifier("gl_SecondaryFragDataEXT", EvqVaryingOut, EbvSecondaryFragDataEXT, symbolTable);
11806|      0|        }
11807|       |
11808|      0|        break;
11809|       |
11810|      0|    case EShLangTessControl:
  ------------------
  |  Branch (11810:5): [True: 0, False: 47]
  ------------------
11811|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (11811:5): [True: 0, False: 47]
  ------------------
11812|       |        // Because of the context-dependent array size (gl_MaxPatchVertices),
11813|       |        // these variables were added later than the others and need to be mapped now.
11814|       |
11815|       |        // standard members
11816|      0|        BuiltInVariable("gl_in", "gl_Position",     EbvPosition,     symbolTable);
11817|      0|        BuiltInVariable("gl_in", "gl_PointSize",    EbvPointSize,    symbolTable);
11818|      0|        BuiltInVariable("gl_in", "gl_ClipDistance", EbvClipDistance, symbolTable);
11819|      0|        BuiltInVariable("gl_in", "gl_CullDistance", EbvCullDistance, symbolTable);
11820|       |
11821|       |        // compatibility members
11822|      0|        BuiltInVariable("gl_in", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
11823|      0|        BuiltInVariable("gl_in", "gl_FrontColor",          EbvFrontColor,          symbolTable);
11824|      0|        BuiltInVariable("gl_in", "gl_BackColor",           EbvBackColor,           symbolTable);
11825|      0|        BuiltInVariable("gl_in", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
11826|      0|        BuiltInVariable("gl_in", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
11827|      0|        BuiltInVariable("gl_in", "gl_TexCoord",            EbvTexCoord,            symbolTable);
11828|      0|        BuiltInVariable("gl_in", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
11829|       |
11830|      0|        symbolTable.setVariableExtensions("gl_in", "gl_SecondaryPositionNV", 1, &E_GL_NV_stereo_view_rendering);
11831|      0|        symbolTable.setVariableExtensions("gl_in", "gl_PositionPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
11832|       |
11833|      0|        BuiltInVariable("gl_in", "gl_SecondaryPositionNV", EbvSecondaryPositionNV, symbolTable);
11834|      0|        BuiltInVariable("gl_in", "gl_PositionPerViewNV",   EbvPositionPerViewNV,   symbolTable);
11835|       |
11836|       |        // extension requirements
11837|      0|        if (profile == EEsProfile) {
  ------------------
  |  Branch (11837:13): [True: 0, False: 0]
  ------------------
11838|      0|            symbolTable.setVariableExtensions("gl_in", "gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
11839|      0|        }
11840|       |
11841|      0|        break;
11842|       |
11843|     47|    default:
  ------------------
  |  Branch (11843:5): [True: 47, False: 0]
  ------------------
11844|     47|        break;
11845|     47|    }
11846|     47|}
Initialize.cpp:_ZZN7glslang9TBuiltIns17addTabledBuiltinsEi8EProfileRKNS_10SpvVersionEENK3$_0clERNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEERK4spanIKNS_12_GLOBAL__N_115BuiltInFunctionEE:
  510|    108|    const auto forEachFunction = [&](TString& decls, const span<const BuiltInFunction>& functions) {
  511|  4.27k|        for (const auto& fn : functions) {
  ------------------
  |  Branch (511:29): [True: 4.27k, False: 108]
  ------------------
  512|  4.27k|            if (ValidVersion(fn, version, profile, spvVersion)) {
  ------------------
  |  Branch (512:17): [True: 2.64k, False: 1.63k]
  ------------------
  513|  2.64k|                AddTabledBuiltin(decls, fn);
  514|  2.64k|                if (profile != EEsProfile) {
  ------------------
  |  Branch (514:21): [True: 340, False: 2.30k]
  ------------------
  515|    340|                    AddLongVectorBuiltin(decls, fn);
  516|    340|                }
  517|  2.64k|            }
  518|  4.27k|        }
  519|    108|    };
Initialize.cpp:_ZN7glslang12_GLOBAL__N_112ValidVersionERKNS0_15BuiltInFunctionEi8EProfileRKNS_10SpvVersionE:
  476|  4.27k|{
  477|       |    // nullptr means always valid
  478|  4.27k|    if (function.versioning.empty())
  ------------------
  |  Branch (478:9): [True: 2.50k, False: 1.76k]
  ------------------
  479|  2.50k|        return true;
  480|       |
  481|       |    // check for what is said about our current profile
  482|  3.53k|    for (const auto& v : function.versioning) {
  ------------------
  |  Branch (482:24): [True: 3.53k, False: 1.63k]
  ------------------
  483|  3.53k|        if ((v.profiles & profile) != 0) {
  ------------------
  |  Branch (483:13): [True: 1.76k, False: 1.76k]
  ------------------
  484|  1.76k|            if (v.minCoreVersion <= version || (v.numExtensions > 0 && v.minExtendedVersion <= version))
  ------------------
  |  Branch (484:17): [True: 136, False: 1.63k]
  |  Branch (484:49): [True: 0, False: 1.63k]
  |  Branch (484:72): [True: 0, False: 0]
  ------------------
  485|    136|                return true;
  486|  1.76k|        }
  487|  3.53k|    }
  488|       |
  489|  1.63k|    return false;
  490|  1.76k|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_116AddTabledBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionE:
  322|  2.64k|{
  323|  2.64k|    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.64k|    const ArgClass ClassFixed = (ArgClass)(ClassLS | ClassXLS | ClassLS2 | ClassFS | ClassFS2);
  329|  5.71k|    for (int fixed = 0; fixed < ((function.classes & ClassFixed) > 0 ? 2 : 1); ++fixed) {
  ------------------
  |  Branch (329:25): [True: 3.07k, False: 2.64k]
  |  Branch (329:34): [True: 1.28k, False: 4.43k]
  ------------------
  330|       |
  331|  3.07k|        if (fixed == 0 && (function.classes & ClassXLS))
  ------------------
  |  Branch (331:13): [True: 2.64k, False: 428]
  |  Branch (331:27): [True: 52, False: 2.59k]
  ------------------
  332|     52|            continue;
  333|       |
  334|       |        // walk the type strings in TypeString[]
  335|  51.3k|        for (int type = 0; type < TypeStringCount; ++type) {
  ------------------
  |  Branch (335:28): [True: 48.3k, False: 3.02k]
  ------------------
  336|       |            // skip types not selected: go from type to row number to type bit
  337|  48.3k|            if ((function.types & (1 << (type >> TypeStringRowShift))) == 0)
  ------------------
  |  Branch (337:17): [True: 34.3k, False: 13.9k]
  ------------------
  338|  34.3k|                continue;
  339|       |
  340|       |            // if we aren't on a scalar, and should be, skip
  341|  13.9k|            if ((function.classes & ClassV1) && !isScalarType(type))
  ------------------
  |  Branch (341:17): [True: 256, False: 13.7k]
  |  Branch (341:49): [True: 192, False: 64]
  ------------------
  342|    192|                continue;
  343|       |
  344|       |            // if we aren't on a 3-vector, and should be, skip
  345|  13.7k|            if ((function.classes & ClassV3) && (type & TypeStringColumnMask) != 2)
  ------------------
  |  Branch (345:17): [True: 208, False: 13.5k]
  |  Branch (345:49): [True: 156, False: 52]
  ------------------
  346|    156|                continue;
  347|       |
  348|       |            // skip replication of all arg scalars between the varying arg set and the fixed args
  349|  13.6k|            if (fixed == 1 && type == (type & TypeStringScalarMask) && (function.classes & ClassXLS) == 0)
  ------------------
  |  Branch (349:17): [True: 1.76k, False: 11.8k]
  |  Branch (349:31): [True: 440, False: 1.32k]
  |  Branch (349:72): [True: 388, False: 52]
  ------------------
  350|    388|                continue;
  351|       |
  352|       |            // skip scalars when we are told to
  353|  13.2k|            if ((function.classes & ClassNS) && isScalarType(type))
  ------------------
  |  Branch (353:17): [True: 3.63k, False: 9.61k]
  |  Branch (353:49): [True: 908, False: 2.72k]
  ------------------
  354|    908|                continue;
  355|       |
  356|       |            // return type
  357|  12.3k|            if (function.classes & ClassB)
  ------------------
  |  Branch (357:17): [True: 2.28k, False: 10.0k]
  ------------------
  358|  2.28k|                decls.append(TypeString[type & TypeStringColumnMask]);
  359|  10.0k|            else if (function.classes & ClassRS)
  ------------------
  |  Branch (359:22): [True: 936, False: 9.11k]
  ------------------
  360|    936|                decls.append(TypeString[type & TypeStringScalarMask]);
  361|  9.11k|            else
  362|  9.11k|                decls.append(TypeString[type]);
  363|  12.3k|            decls.append(" ");
  364|  12.3k|            decls.append(function.name);
  365|  12.3k|            decls.append("(");
  366|       |
  367|       |            // arguments
  368|  32.9k|            for (int arg = 0; arg < function.numArguments; ++arg) {
  ------------------
  |  Branch (368:31): [True: 20.6k, False: 12.3k]
  ------------------
  369|  20.6k|                if (arg == function.numArguments - 1 && (function.classes & ClassLO))
  ------------------
  |  Branch (369:21): [True: 12.3k, False: 8.26k]
  |  Branch (369:57): [True: 16, False: 12.3k]
  ------------------
  370|     16|                    decls.append("out ");
  371|  20.6k|                if (arg == 0) {
  ------------------
  |  Branch (371:21): [True: 12.3k, False: 8.26k]
  ------------------
  372|  12.3k|                    if (function.classes & ClassCVN)
  ------------------
  |  Branch (372:25): [True: 64, False: 12.2k]
  ------------------
  373|     64|                        decls.append("coherent volatile nontemporal ");
  374|  12.3k|                    if (function.classes & ClassFIO)
  ------------------
  |  Branch (374:25): [True: 64, False: 12.2k]
  ------------------
  375|     64|                        decls.append("inout ");
  376|  12.3k|                    if (function.classes & ClassFO)
  ------------------
  |  Branch (376:25): [True: 0, False: 12.3k]
  ------------------
  377|      0|                        decls.append("out ");
  378|  12.3k|                }
  379|  20.6k|                if ((function.classes & ClassLB) && arg == function.numArguments - 1)
  ------------------
  |  Branch (379:21): [True: 144, False: 20.4k]
  |  Branch (379:53): [True: 48, False: 96]
  ------------------
  380|     48|                    decls.append(TypeString[type & TypeStringColumnMask]);
  381|  20.5k|                else if (fixed && ((arg == function.numArguments - 1 && (function.classes & (ClassLS | ClassXLS |
  ------------------
  |  Branch (381:26): [True: 3.44k, False: 17.1k]
  |  Branch (381:37): [True: 1.37k, False: 2.07k]
  |  Branch (381:73): [True: 1.06k, False: 312]
  ------------------
  382|  1.37k|                                                                                                       ClassLS2))) ||
  383|  2.38k|                                   (arg == function.numArguments - 2 && (function.classes & ClassLS2))             ||
  ------------------
  |  Branch (383:37): [True: 1.37k, False: 1.01k]
  |  Branch (383:73): [True: 180, False: 1.19k]
  ------------------
  384|  2.20k|                                   (arg == 0                         && (function.classes & (ClassFS | ClassFS2))) ||
  ------------------
  |  Branch (384:37): [True: 1.37k, False: 832]
  |  Branch (384:73): [True: 312, False: 1.06k]
  ------------------
  385|  1.89k|                                   (arg == 1                         && (function.classes & ClassFS2))))
  ------------------
  |  Branch (385:37): [True: 676, False: 1.21k]
  |  Branch (385:73): [True: 156, False: 520]
  ------------------
  386|  1.70k|                    decls.append(TypeString[type & TypeStringScalarMask]);
  387|  18.8k|                else
  388|  18.8k|                    decls.append(TypeString[type]);
  389|  20.6k|                if (arg < function.numArguments - 1)
  ------------------
  |  Branch (389:21): [True: 8.26k, False: 12.3k]
  ------------------
  390|  8.26k|                    decls.append(",");
  391|  20.6k|            }
  392|  12.3k|            decls.append(");\n");
  393|  12.3k|        }
  394|  3.02k|    }
  395|  2.64k|}
Initialize.cpp:_ZZN7glslang12_GLOBAL__N_116AddTabledBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionEENK3$_0clEi:
  323|  3.88k|    const auto isScalarType = [](int type) { return (type & TypeStringColumnMask) == 0; };
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120AddLongVectorBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionE:
  401|    340|{
  402|    340|    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|    340|    const ArgClass ClassFixed = (ArgClass)(ClassLS | ClassXLS | ClassLS2 | ClassFS | ClassFS2);
  408|    724|    for (int fixed = 0; fixed < ((function.classes & ClassFixed) > 0 ? 2 : 1); ++fixed) {
  ------------------
  |  Branch (408:25): [True: 384, False: 340]
  |  Branch (408:34): [True: 132, False: 592]
  ------------------
  409|       |
  410|    384|        if (fixed == 0 && (function.classes & ClassXLS))
  ------------------
  |  Branch (410:13): [True: 340, False: 44]
  |  Branch (410:27): [True: 4, False: 336]
  ------------------
  411|      4|            continue;
  412|       |
  413|       |        // Iterate over the different scalar types (needed for ClassRS)
  414|  6.46k|        for (int type = 0; type < TypeStringCount; ++type) {
  ------------------
  |  Branch (414:28): [True: 6.08k, False: 380]
  ------------------
  415|  6.08k|            if (!isScalarType(type))
  ------------------
  |  Branch (415:17): [True: 4.56k, False: 1.52k]
  ------------------
  416|  4.56k|                continue;
  417|       |
  418|       |            // skip types not selected: go from type to row number to type bit
  419|  1.52k|            if ((function.types & (1 << (type >> TypeStringRowShift))) == 0)
  ------------------
  |  Branch (419:17): [True: 1.04k, False: 472]
  ------------------
  420|  1.04k|                continue;
  421|       |
  422|       |            // skip scalar-only
  423|    472|            if (function.classes & ClassV1)
  ------------------
  |  Branch (423:17): [True: 64, False: 408]
  ------------------
  424|     64|                continue;
  425|       |
  426|       |            // skip 3-vector
  427|    408|            if (function.classes & ClassV3)
  ------------------
  |  Branch (427:17): [True: 4, False: 404]
  ------------------
  428|      4|                continue;
  429|       |
  430|    404|            TString decl;
  431|       |            // return type
  432|    404|            if (function.classes & ClassB)
  ------------------
  |  Branch (432:17): [True: 88, False: 316]
  ------------------
  433|     88|                decl.append("vector");
  434|    316|            else if (function.classes & ClassRS)
  ------------------
  |  Branch (434:22): [True: 20, False: 296]
  ------------------
  435|     20|                decl.append(TypeString[type & TypeStringScalarMask]);
  436|    296|            else
  437|    296|                decl.append("vector");
  438|    404|            decl.append(" ");
  439|    404|            decl.append(function.name);
  440|    404|            decl.append("(");
  441|       |
  442|       |            // arguments
  443|  1.10k|            for (int arg = 0; arg < function.numArguments; ++arg) {
  ------------------
  |  Branch (443:31): [True: 700, False: 404]
  ------------------
  444|    700|                if (arg == function.numArguments - 1 && (function.classes & ClassLO))
  ------------------
  |  Branch (444:21): [True: 404, False: 296]
  |  Branch (444:57): [True: 4, False: 400]
  ------------------
  445|      4|                    decl.append("out ");
  446|    700|                if (arg == 0) {
  ------------------
  |  Branch (446:21): [True: 404, False: 296]
  ------------------
  447|    404|                    if (function.classes & ClassCVN)
  ------------------
  |  Branch (447:25): [True: 0, False: 404]
  ------------------
  448|      0|                        decl.append("coherent volatile nontemporal ");
  449|    404|                    if (function.classes & ClassFIO)
  ------------------
  |  Branch (449:25): [True: 0, False: 404]
  ------------------
  450|      0|                        decl.append("inout ");
  451|    404|                    if (function.classes & ClassFO)
  ------------------
  |  Branch (451:25): [True: 0, False: 404]
  ------------------
  452|      0|                        decl.append("out ");
  453|    404|                }
  454|    700|                if ((function.classes & ClassLB) && arg == function.numArguments - 1)
  ------------------
  |  Branch (454:21): [True: 36, False: 664]
  |  Branch (454:53): [True: 12, False: 24]
  ------------------
  455|     12|                    decl.append("vector");
  456|    688|                else if (fixed && ((arg == function.numArguments - 1 && (function.classes & (ClassLS | ClassXLS |
  ------------------
  |  Branch (456:26): [True: 136, False: 552]
  |  Branch (456:37): [True: 56, False: 80]
  |  Branch (456:73): [True: 48, False: 8]
  ------------------
  457|     56|                                                                                                       ClassLS2))) ||
  458|     88|                                   (arg == function.numArguments - 2 && (function.classes & ClassLS2))             ||
  ------------------
  |  Branch (458:37): [True: 56, False: 32]
  |  Branch (458:73): [True: 12, False: 44]
  ------------------
  459|     76|                                   (arg == 0                         && (function.classes & (ClassFS | ClassFS2))) ||
  ------------------
  |  Branch (459:37): [True: 56, False: 20]
  |  Branch (459:73): [True: 8, False: 48]
  ------------------
  460|     68|                                   (arg == 1                         && (function.classes & ClassFS2))))
  ------------------
  |  Branch (460:37): [True: 16, False: 52]
  |  Branch (460:73): [True: 4, False: 12]
  ------------------
  461|     72|                    decl.append(TypeString[type & TypeStringScalarMask]);
  462|    616|                else
  463|    616|                    decl.append("vector");
  464|    700|                if (arg < function.numArguments - 1)
  ------------------
  |  Branch (464:21): [True: 296, False: 404]
  ------------------
  465|    296|                    decl.append(",");
  466|    700|            }
  467|    404|            decl.append(");\n");
  468|       |
  469|    404|            decls.append(decl);
  470|    404|        }
  471|    380|    }
  472|    340|}
Initialize.cpp:_ZZN7glslang12_GLOBAL__N_120AddLongVectorBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionEENK3$_0clEi:
  402|  6.08k|    const auto isScalarType = [](int type) { return (type & TypeStringColumnMask) == 0; };
_ZN7glslang13IncludeLegacyEi8EProfileRKNS_10SpvVersionE:
  537|    411|{
  538|    411|    return profile != EEsProfile && (version <= 130 || (spvVersion.spv == 0 && version == 140 && ARBCompatibility) ||
  ------------------
  |  Branch (538:12): [True: 132, False: 279]
  |  Branch (538:38): [True: 0, False: 132]
  |  Branch (538:57): [True: 132, False: 0]
  |  Branch (538:80): [True: 0, False: 132]
  |  Branch (538:98): [True: 0, Folded]
  ------------------
  539|    132|           profile == ECompatibilityProfile);
  ------------------
  |  Branch (539:12): [True: 0, False: 132]
  ------------------
  540|    411|}
Initialize.cpp:_ZN7glslangL15BuiltInVariableEPKcNS_16TBuiltInVariableERNS_12TSymbolTableE:
 8936|  3.61k|{
 8937|  3.61k|    TSymbol* symbol = symbolTable.find(name);
 8938|  3.61k|    if (symbol == nullptr)
  ------------------
  |  Branch (8938:9): [True: 2.49k, False: 1.12k]
  ------------------
 8939|  2.49k|        return;
 8940|       |
 8941|  1.12k|    TQualifier& symQualifier = symbol->getWritableType().getQualifier();
 8942|  1.12k|    symQualifier.builtIn = builtIn;
 8943|  1.12k|}
Initialize.cpp:_ZN7glslangL16SpecialQualifierEPKcNS_17TStorageQualifierENS_16TBuiltInVariableERNS_12TSymbolTableE:
 8898|    680|{
 8899|    680|    TSymbol* symbol = symbolTable.find(name);
 8900|    680|    if (symbol == nullptr)
  ------------------
  |  Branch (8900:9): [True: 256, False: 424]
  ------------------
 8901|    256|        return;
 8902|       |
 8903|    424|    TQualifier& symQualifier = symbol->getWritableType().getQualifier();
 8904|    424|    symQualifier.storage = qualifier;
 8905|    424|    symQualifier.builtIn = builtIn;
 8906|    424|}
Initialize.cpp:_ZN7glslangL15BuiltInVariableEPKcS1_NS_16TBuiltInVariableERNS_12TSymbolTableE:
 8958|  2.11k|{
 8959|  2.11k|    TSymbol* symbol = symbolTable.find(blockName);
 8960|  2.11k|    if (symbol == nullptr)
  ------------------
  |  Branch (8960:9): [True: 1.91k, False: 204]
  ------------------
 8961|  1.91k|        return;
 8962|       |
 8963|    204|    TTypeList& structure = *symbol->getWritableType().getWritableStruct();
 8964|  1.03k|    for (int i = 0; i < (int)structure.size(); ++i) {
  ------------------
  |  Branch (8964:21): [True: 980, False: 56]
  ------------------
 8965|    980|        if (structure[i].type->getFieldName().compare(name) == 0) {
  ------------------
  |  Branch (8965:13): [True: 148, False: 832]
  ------------------
 8966|    148|            structure[i].type->getQualifier().builtIn = builtIn;
 8967|    148|            return;
 8968|    148|        }
 8969|    980|    }
 8970|    204|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsINSt3__15arrayINS0_15BuiltInFunctionELm79EEEEEvRKT_RNS_12TSymbolTableE:
  499|    147|{
  500|  11.6k|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 11.6k, False: 147]
  ------------------
  501|  11.6k|        symbolTable.relateToOperator(fn.name, fn.op);
  502|  11.6k|    }
  503|    147|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsINSt3__15arrayINS0_15BuiltInFunctionELm3EEEEEvRKT_RNS_12TSymbolTableE:
  499|    147|{
  500|    441|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 441, False: 147]
  ------------------
  501|    441|        symbolTable.relateToOperator(fn.name, fn.op);
  502|    441|    }
  503|    147|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsIA39_NS0_14CustomFunctionEEEvRKT_RNS_12TSymbolTableE:
  499|    147|{
  500|  5.73k|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 5.73k, False: 147]
  ------------------
  501|  5.73k|        symbolTable.relateToOperator(fn.name, fn.op);
  502|  5.73k|    }
  503|    147|}
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_0clEPKc:
10177|    672|            auto coopMatKHRCallback = [](const char *name) -> std::vector<const char *> {
10178|    672|                std::vector<const char *> ret;
10179|    672|                if (strstr(name, "u64") != nullptr) {
  ------------------
  |  Branch (10179:21): [True: 360, False: 312]
  ------------------
10180|    360|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10181|    360|                } else {
10182|    312|                    ret.push_back(E_GL_KHR_cooperative_matrix);
10183|    312|                }
10184|    672|                return ret;
10185|    672|            };
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_1clEPKc:
10186|     64|            auto coopMat2NVCallback = [](const char *name) -> std::vector<const char *> {
10187|     64|                std::vector<const char *> ret;
10188|     64|                if (strstr(name, "u64") != nullptr) {
  ------------------
  |  Branch (10188:21): [True: 32, False: 32]
  ------------------
10189|     32|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10190|     32|                } else {
10191|     32|                    ret.push_back(E_GL_NV_cooperative_matrix2);
10192|     32|                }
10193|     64|                return ret;
10194|     64|            };
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_2clEPKc:
10226|  1.93k|            auto coopVecCallback = [](const char *name) -> std::vector<const char *> {
10227|  1.93k|                std::vector<const char *> ret;
10228|       |                // This looks for u64 as the last parameter (the offset)
10229|  1.93k|                if (strstr(name, "u641;") != nullptr) {
  ------------------
  |  Branch (10229:21): [True: 968, False: 968]
  ------------------
10230|    968|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10231|    968|                } else {
10232|    968|                    ret.push_back(E_GL_NV_cooperative_vector);
10233|    968|                }
10234|  1.93k|                return ret;
10235|  1.93k|            };

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

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

_ZN7glslang13TIntermediate9addSymbolExRKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEES9_RKNS_5TTypeERKNS_16TConstUnionArrayEPNS_12TIntermTypedERKNS_10TSourceLocE:
   71|      4|{
   72|      4|    TIntermSymbol* node = new TIntermSymbol(id, name, getStage(), type, &mangledName);
   73|      4|    node->setLoc(loc);
   74|      4|    node->setConstArray(constArray);
   75|      4|    node->setConstSubtree(constSubtree);
   76|       |
   77|      4|    return node;
   78|      4|}
_ZN7glslang13TIntermediate9addSymbolERKNS_9TVariableE:
   92|      4|{
   93|      4|    glslang::TSourceLoc loc; // just a null location
   94|      4|    loc.init();
   95|       |
   96|      4|    return addSymbol(variable, loc);
   97|      4|}
_ZN7glslang13TIntermediate9addSymbolERKNS_9TVariableERKNS_10TSourceLocE:
  100|      4|{
  101|      4|    return addSymbol(variable.getUniqueId(), variable.getName(), variable.getMangledName(), variable.getType(), variable.getConstArray(), variable.getConstSubtree(), loc);
  102|      4|}
_ZNK7glslang13TIntermediate12addUnaryNodeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocE:
  260|      2|{
  261|      2|    TIntermUnary* node = new TIntermUnary(op);
  262|      2|    node->setLoc(loc.line != 0 ? loc : child->getLoc());
  ------------------
  |  Branch (262:18): [True: 2, False: 0]
  ------------------
  263|      2|    node->setOperand(child);
  264|       |
  265|      2|    return node;
  266|      2|}
_ZN7glslang13TIntermediate12addUnaryMathENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocE:
  357|     62|{
  358|     62|    if (child == nullptr)
  ------------------
  |  Branch (358:9): [True: 0, False: 62]
  ------------------
  359|      0|        return nullptr;
  360|       |
  361|     62|    if (child->getType().getBasicType() == EbtBlock)
  ------------------
  |  Branch (361:9): [True: 0, False: 62]
  ------------------
  362|      0|        return nullptr;
  363|       |
  364|     62|    switch (op) {
  365|      0|    case EOpLogicalNot:
  ------------------
  |  Branch (365:5): [True: 0, False: 62]
  ------------------
  366|      0|        if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (366:13): [True: 0, False: 0]
  ------------------
  367|      0|            break; // HLSL can promote logical not
  368|      0|        }
  369|       |
  370|      0|        if (child->getType().getBasicType() != EbtBool || child->getType().isMatrix() || child->getType().isArray() || child->getType().isVector()) {
  ------------------
  |  Branch (370:13): [True: 0, False: 0]
  |  Branch (370:59): [True: 0, False: 0]
  |  Branch (370:90): [True: 0, False: 0]
  |  Branch (370:120): [True: 0, False: 0]
  ------------------
  371|      0|            return nullptr;
  372|      0|        }
  373|      0|        break;
  374|       |
  375|      0|    case EOpPostIncrement:
  ------------------
  |  Branch (375:5): [True: 0, False: 62]
  ------------------
  376|      0|    case EOpPreIncrement:
  ------------------
  |  Branch (376:5): [True: 0, False: 62]
  ------------------
  377|      0|    case EOpPostDecrement:
  ------------------
  |  Branch (377:5): [True: 0, False: 62]
  ------------------
  378|      0|    case EOpPreDecrement:
  ------------------
  |  Branch (378:5): [True: 0, False: 62]
  ------------------
  379|      2|    case EOpNegative:
  ------------------
  |  Branch (379:5): [True: 2, False: 60]
  ------------------
  380|      2|        if (child->getType().getBasicType() == EbtStruct || child->getType().isArray())
  ------------------
  |  Branch (380:13): [True: 0, False: 2]
  |  Branch (380:61): [True: 0, False: 2]
  ------------------
  381|      0|            return nullptr;
  382|      2|        break;
  383|     60|    default: break; // some compilers want this
  ------------------
  |  Branch (383:5): [True: 60, False: 2]
  ------------------
  384|     62|    }
  385|       |
  386|       |    //
  387|       |    // Do we need to promote the operand?
  388|       |    //
  389|     62|    TBasicType newType = EbtVoid;
  390|     62|    switch (op) {
  391|      0|    case EOpConstructBool:   newType = EbtBool;   break;
  ------------------
  |  Branch (391:5): [True: 0, False: 62]
  ------------------
  392|      0|    case EOpConstructFloat:  newType = EbtFloat;  break;
  ------------------
  |  Branch (392:5): [True: 0, False: 62]
  ------------------
  393|     24|    case EOpConstructInt:    newType = EbtInt;    break;
  ------------------
  |  Branch (393:5): [True: 24, False: 38]
  ------------------
  394|     36|    case EOpConstructUint:   newType = EbtUint;   break;
  ------------------
  |  Branch (394:5): [True: 36, False: 26]
  ------------------
  395|      0|    case EOpConstructInt8:   newType = EbtInt8;   break;
  ------------------
  |  Branch (395:5): [True: 0, False: 62]
  ------------------
  396|      0|    case EOpConstructUint8:  newType = EbtUint8;  break;
  ------------------
  |  Branch (396:5): [True: 0, False: 62]
  ------------------
  397|      0|    case EOpConstructInt16:  newType = EbtInt16;  break;
  ------------------
  |  Branch (397:5): [True: 0, False: 62]
  ------------------
  398|      0|    case EOpConstructUint16: newType = EbtUint16; break;
  ------------------
  |  Branch (398:5): [True: 0, False: 62]
  ------------------
  399|      0|    case EOpConstructInt64:  newType = EbtInt64;  break;
  ------------------
  |  Branch (399:5): [True: 0, False: 62]
  ------------------
  400|      0|    case EOpConstructUint64: newType = EbtUint64; break;
  ------------------
  |  Branch (400:5): [True: 0, False: 62]
  ------------------
  401|      0|    case EOpConstructDouble: newType = EbtDouble; break;
  ------------------
  |  Branch (401:5): [True: 0, False: 62]
  ------------------
  402|      0|    case EOpConstructFloat16: newType = EbtFloat16; break;
  ------------------
  |  Branch (402:5): [True: 0, False: 62]
  ------------------
  403|      0|    case EOpConstructBFloat16: newType = EbtBFloat16; break;
  ------------------
  |  Branch (403:5): [True: 0, False: 62]
  ------------------
  404|      0|    case EOpConstructFloatE4M3: newType = EbtFloatE4M3; break;
  ------------------
  |  Branch (404:5): [True: 0, False: 62]
  ------------------
  405|      0|    case EOpConstructFloatE5M2: newType = EbtFloatE5M2; break;
  ------------------
  |  Branch (405:5): [True: 0, False: 62]
  ------------------
  406|      2|    default: break; // some compilers want this
  ------------------
  |  Branch (406:5): [True: 2, False: 60]
  ------------------
  407|     62|    }
  408|       |
  409|     62|    if (newType != EbtVoid) {
  ------------------
  |  Branch (409:9): [True: 60, False: 2]
  ------------------
  410|     60|        TType newTType(newType, EvqTemporary, child->getVectorSize(), child->getMatrixCols(), child->getMatrixRows(), child->isVector());
  411|     60|        if (child->getType().isLongVector()) {
  ------------------
  |  Branch (411:13): [True: 0, False: 60]
  ------------------
  412|      0|            newTType.shallowCopy(child->getType());
  413|      0|            newTType.setBasicType(newType);
  414|      0|            newTType.makeTemporary();
  415|      0|            newTType.getQualifier().clear();
  416|      0|        }
  417|       |
  418|     60|        child = addConversion(op, newTType, child);
  419|     60|        if (child == nullptr)
  ------------------
  |  Branch (419:13): [True: 0, False: 60]
  ------------------
  420|      0|            return nullptr;
  421|     60|    }
  422|       |
  423|       |    //
  424|       |    // For constructors, we are now done, it was all in the conversion.
  425|       |    // TODO: but, did this bypass constant folding?
  426|       |    //
  427|     62|    switch (op) {
  428|      0|        case EOpConstructInt8:
  ------------------
  |  Branch (428:9): [True: 0, False: 62]
  ------------------
  429|      0|        case EOpConstructUint8:
  ------------------
  |  Branch (429:9): [True: 0, False: 62]
  ------------------
  430|      0|        case EOpConstructInt16:
  ------------------
  |  Branch (430:9): [True: 0, False: 62]
  ------------------
  431|      0|        case EOpConstructUint16:
  ------------------
  |  Branch (431:9): [True: 0, False: 62]
  ------------------
  432|     24|        case EOpConstructInt:
  ------------------
  |  Branch (432:9): [True: 24, False: 38]
  ------------------
  433|     60|        case EOpConstructUint:
  ------------------
  |  Branch (433:9): [True: 36, False: 26]
  ------------------
  434|     60|        case EOpConstructInt64:
  ------------------
  |  Branch (434:9): [True: 0, False: 62]
  ------------------
  435|     60|        case EOpConstructUint64:
  ------------------
  |  Branch (435:9): [True: 0, False: 62]
  ------------------
  436|     60|        case EOpConstructBool:
  ------------------
  |  Branch (436:9): [True: 0, False: 62]
  ------------------
  437|     60|        case EOpConstructFloat:
  ------------------
  |  Branch (437:9): [True: 0, False: 62]
  ------------------
  438|     60|        case EOpConstructDouble:
  ------------------
  |  Branch (438:9): [True: 0, False: 62]
  ------------------
  439|     60|        case EOpConstructFloat16:
  ------------------
  |  Branch (439:9): [True: 0, False: 62]
  ------------------
  440|     60|        case EOpConstructBFloat16:
  ------------------
  |  Branch (440:9): [True: 0, False: 62]
  ------------------
  441|     60|        case EOpConstructFloatE5M2:
  ------------------
  |  Branch (441:9): [True: 0, False: 62]
  ------------------
  442|     60|        case EOpConstructFloatE4M3: {
  ------------------
  |  Branch (442:9): [True: 0, False: 62]
  ------------------
  443|     60|            TIntermUnary* unary_node = child->getAsUnaryNode();
  444|     60|            if (unary_node != nullptr)
  ------------------
  |  Branch (444:17): [True: 0, False: 60]
  ------------------
  445|      0|                unary_node->updatePrecision();
  446|     60|            return child;
  447|     60|        }
  448|      2|        default: break; // some compilers want this
  ------------------
  |  Branch (448:9): [True: 2, False: 60]
  ------------------
  449|     62|    }
  450|       |
  451|       |    //
  452|       |    // Make a new node for the operator.
  453|       |    //
  454|      2|    TIntermUnary* node = addUnaryNode(op, child, loc);
  455|       |
  456|      2|    if (! promote(node))
  ------------------
  |  Branch (456:9): [True: 0, False: 2]
  ------------------
  457|      0|        return nullptr;
  458|       |
  459|      2|    node->updatePrecision();
  460|       |
  461|       |    // If it's a (non-specialization) constant, it must be folded.
  462|      2|    if (node->getOperand()->getAsConstantUnion())
  ------------------
  |  Branch (462:9): [True: 2, False: 0]
  ------------------
  463|      2|        return node->getOperand()->getAsConstantUnion()->fold(op, node->getType());
  464|       |
  465|       |    // If it's a specialization constant, the result is too,
  466|       |    // if the operation is allowed for specialization constants.
  467|      0|    if (node->getOperand()->getType().getQualifier().isSpecConstant() && isSpecializationOperation(*node))
  ------------------
  |  Branch (467:9): [True: 0, False: 0]
  |  Branch (467:74): [True: 0, False: 0]
  ------------------
  468|      0|        node->getWritableType().getQualifier().makeSpecConstant();
  469|       |
  470|       |    // If must propagate nonuniform, make a nonuniform.
  471|      0|    if (node->getOperand()->getQualifier().isNonUniform() && isNonuniformPropagating(node->getOp()))
  ------------------
  |  Branch (471:9): [True: 0, False: 0]
  |  Branch (471:62): [True: 0, False: 0]
  ------------------
  472|      0|        node->getWritableType().getQualifier().nonUniform = true;
  473|       |
  474|      0|    return node;
  475|      2|}
_ZN7glslang13TIntermediate20setAggregateOperatorEP11TIntermNodeNS_9TOperatorERKNS_5TTypeERKNS_10TSourceLocE:
  517|     20|{
  518|     20|    TIntermAggregate* aggNode;
  519|       |
  520|       |    //
  521|       |    // Make sure we have an aggregate.  If not turn it into one.
  522|       |    //
  523|     20|    if (node != nullptr) {
  ------------------
  |  Branch (523:9): [True: 20, False: 0]
  ------------------
  524|     20|        aggNode = node->getAsAggregate();
  525|     20|        if (aggNode == nullptr || aggNode->getOp() != EOpNull) {
  ------------------
  |  Branch (525:13): [True: 0, False: 20]
  |  Branch (525:35): [True: 0, False: 20]
  ------------------
  526|       |            //
  527|       |            // Make an aggregate containing this node.
  528|       |            //
  529|      0|            aggNode = new TIntermAggregate();
  530|      0|            aggNode->getSequence().push_back(node);
  531|      0|        }
  532|     20|    } else
  533|      0|        aggNode = new TIntermAggregate();
  534|       |
  535|       |    //
  536|       |    // Set the operator.
  537|       |    //
  538|     20|    aggNode->setOperator(op);
  539|     20|    if (loc.line != 0 || node != nullptr)
  ------------------
  |  Branch (539:9): [True: 20, False: 0]
  |  Branch (539:26): [True: 0, False: 0]
  ------------------
  540|     20|        aggNode->setLoc(loc.line != 0 ? loc : node->getLoc());
  ------------------
  |  Branch (540:25): [True: 20, False: 0]
  ------------------
  541|       |
  542|     20|    aggNode->setType(type);
  543|       |
  544|     20|    return fold(aggNode);
  545|     20|}
_ZNK7glslang13TIntermediate19isConversionAllowedENS_9TOperatorEPNS_12TIntermTypedE:
  548|  1.07k|{
  549|       |    //
  550|       |    // Does the base type even allow the operation?
  551|       |    //
  552|  1.07k|    switch (node->getBasicType()) {
  553|      0|    case EbtVoid:
  ------------------
  |  Branch (553:5): [True: 0, False: 1.07k]
  ------------------
  554|      0|        return false;
  555|      0|    case EbtAtomicUint:
  ------------------
  |  Branch (555:5): [True: 0, False: 1.07k]
  ------------------
  556|      0|    case EbtSampler:
  ------------------
  |  Branch (556:5): [True: 0, False: 1.07k]
  ------------------
  557|      0|    case EbtAccStruct:
  ------------------
  |  Branch (557:5): [True: 0, False: 1.07k]
  ------------------
  558|       |        // opaque types can be passed to functions
  559|      0|        if (op == EOpFunction)
  ------------------
  |  Branch (559:13): [True: 0, False: 0]
  ------------------
  560|      0|            break;
  561|       |
  562|       |        // HLSL can assign samplers directly (no constructor)
  563|      0|        if (getSource() == EShSourceHlsl && node->getBasicType() == EbtSampler)
  ------------------
  |  Branch (563:13): [True: 0, False: 0]
  |  Branch (563:45): [True: 0, False: 0]
  ------------------
  564|      0|            break;
  565|       |
  566|       |        // samplers can get assigned via a sampler constructor
  567|       |        // (well, not yet, but code in the rest of this function is ready for it)
  568|      0|        if (node->getBasicType() == EbtSampler && op == EOpAssign &&
  ------------------
  |  Branch (568:13): [True: 0, False: 0]
  |  Branch (568:51): [True: 0, False: 0]
  ------------------
  569|      0|            node->getAsOperator() != nullptr && node->getAsOperator()->getOp() == EOpConstructTextureSampler)
  ------------------
  |  Branch (569:13): [True: 0, False: 0]
  |  Branch (569:49): [True: 0, False: 0]
  ------------------
  570|      0|            break;
  571|       |
  572|       |        // otherwise, opaque types can't even be operated on, let alone converted
  573|      0|        return false;
  574|  1.07k|    default:
  ------------------
  |  Branch (574:5): [True: 1.07k, False: 0]
  ------------------
  575|  1.07k|        break;
  576|  1.07k|    }
  577|       |
  578|  1.07k|    return true;
  579|  1.07k|}
_ZN7glslang13TIntermediate13addConversionENS_9TOperatorERKNS_5TTypeEPNS_12TIntermTypedE:
  834|  1.07k|{
  835|  1.07k|    if (!isConversionAllowed(op, node))
  ------------------
  |  Branch (835:9): [True: 0, False: 1.07k]
  ------------------
  836|      0|        return nullptr;
  837|       |
  838|       |    // Otherwise, if types are identical, no problem
  839|  1.07k|    if (type == node->getType())
  ------------------
  |  Branch (839:9): [True: 1.03k, False: 36]
  ------------------
  840|  1.03k|        return node;
  841|       |
  842|       |    // If one's a structure, then no conversions.
  843|     36|    if (type.isStruct() || node->isStruct())
  ------------------
  |  Branch (843:9): [True: 0, False: 36]
  |  Branch (843:28): [True: 0, False: 36]
  ------------------
  844|      0|        return nullptr;
  845|       |
  846|       |    // If one's an array, then no conversions.
  847|     36|    if (type.isArray() || node->getType().isArray())
  ------------------
  |  Branch (847:9): [True: 0, False: 36]
  |  Branch (847:27): [True: 0, False: 36]
  ------------------
  848|      0|        return nullptr;
  849|       |
  850|       |    // Reject implicit conversions to cooperative matrix types
  851|     36|    if (node->getType().isCoopMat() &&
  ------------------
  |  Branch (851:9): [True: 0, False: 36]
  ------------------
  852|      0|        op != EOpConstructCooperativeMatrixNV &&
  ------------------
  |  Branch (852:9): [True: 0, False: 0]
  ------------------
  853|      0|        op != EOpConstructCooperativeMatrixKHR &&
  ------------------
  |  Branch (853:9): [True: 0, False: 0]
  ------------------
  854|      0|        op != glslang::EOpCompositeConstructCoopMatQCOM)
  ------------------
  |  Branch (854:9): [True: 0, False: 0]
  ------------------
  855|      0|        return nullptr;
  856|       |
  857|     36|    if (node->getType().isTensorLayoutNV() ||
  ------------------
  |  Branch (857:9): [True: 0, False: 36]
  ------------------
  858|     36|        node->getType().isTensorViewNV())
  ------------------
  |  Branch (858:9): [True: 0, False: 36]
  ------------------
  859|      0|        return nullptr;
  860|       |
  861|       |    // Reject implicit conversions to cooperative vector types
  862|     36|    if (node->getType().isCoopVecNV() &&
  ------------------
  |  Branch (862:9): [True: 0, False: 36]
  ------------------
  863|      0|        op != EOpConstructCooperativeVectorNV)
  ------------------
  |  Branch (863:9): [True: 0, False: 0]
  ------------------
  864|      0|        return nullptr;
  865|       |
  866|       |    // Note: callers are responsible for other aspects of shape,
  867|       |    // like vector and matrix sizes.
  868|       |
  869|     36|    switch (op) {
  870|       |    //
  871|       |    // Explicit conversions (unary operations)
  872|       |    //
  873|      0|    case EOpConstructBool:
  ------------------
  |  Branch (873:5): [True: 0, False: 36]
  ------------------
  874|      0|    case EOpConstructFloat:
  ------------------
  |  Branch (874:5): [True: 0, False: 36]
  ------------------
  875|      0|    case EOpConstructInt:
  ------------------
  |  Branch (875:5): [True: 0, False: 36]
  ------------------
  876|     36|    case EOpConstructUint:
  ------------------
  |  Branch (876:5): [True: 36, False: 0]
  ------------------
  877|     36|    case EOpConstructDouble:
  ------------------
  |  Branch (877:5): [True: 0, False: 36]
  ------------------
  878|     36|    case EOpConstructFloat16:
  ------------------
  |  Branch (878:5): [True: 0, False: 36]
  ------------------
  879|     36|    case EOpConstructBFloat16:
  ------------------
  |  Branch (879:5): [True: 0, False: 36]
  ------------------
  880|     36|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (880:5): [True: 0, False: 36]
  ------------------
  881|     36|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (881:5): [True: 0, False: 36]
  ------------------
  882|     36|    case EOpConstructInt8:
  ------------------
  |  Branch (882:5): [True: 0, False: 36]
  ------------------
  883|     36|    case EOpConstructUint8:
  ------------------
  |  Branch (883:5): [True: 0, False: 36]
  ------------------
  884|     36|    case EOpConstructInt16:
  ------------------
  |  Branch (884:5): [True: 0, False: 36]
  ------------------
  885|     36|    case EOpConstructUint16:
  ------------------
  |  Branch (885:5): [True: 0, False: 36]
  ------------------
  886|     36|    case EOpConstructInt64:
  ------------------
  |  Branch (886:5): [True: 0, False: 36]
  ------------------
  887|     36|    case EOpConstructUint64:
  ------------------
  |  Branch (887:5): [True: 0, False: 36]
  ------------------
  888|     36|    case EOpConstructSaturated:
  ------------------
  |  Branch (888:5): [True: 0, False: 36]
  ------------------
  889|     36|        break;
  890|       |
  891|       |    //
  892|       |    // Implicit conversions
  893|       |    //
  894|      0|    case EOpLogicalNot:
  ------------------
  |  Branch (894:5): [True: 0, False: 36]
  ------------------
  895|       |
  896|      0|    case EOpFunctionCall:
  ------------------
  |  Branch (896:5): [True: 0, False: 36]
  ------------------
  897|       |
  898|      0|    case EOpReturn:
  ------------------
  |  Branch (898:5): [True: 0, False: 36]
  ------------------
  899|      0|    case EOpAssign:
  ------------------
  |  Branch (899:5): [True: 0, False: 36]
  ------------------
  900|      0|    case EOpAddAssign:
  ------------------
  |  Branch (900:5): [True: 0, False: 36]
  ------------------
  901|      0|    case EOpSubAssign:
  ------------------
  |  Branch (901:5): [True: 0, False: 36]
  ------------------
  902|      0|    case EOpMulAssign:
  ------------------
  |  Branch (902:5): [True: 0, False: 36]
  ------------------
  903|      0|    case EOpVectorTimesScalarAssign:
  ------------------
  |  Branch (903:5): [True: 0, False: 36]
  ------------------
  904|      0|    case EOpMatrixTimesScalarAssign:
  ------------------
  |  Branch (904:5): [True: 0, False: 36]
  ------------------
  905|      0|    case EOpDivAssign:
  ------------------
  |  Branch (905:5): [True: 0, False: 36]
  ------------------
  906|      0|    case EOpModAssign:
  ------------------
  |  Branch (906:5): [True: 0, False: 36]
  ------------------
  907|      0|    case EOpAndAssign:
  ------------------
  |  Branch (907:5): [True: 0, False: 36]
  ------------------
  908|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (908:5): [True: 0, False: 36]
  ------------------
  909|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (909:5): [True: 0, False: 36]
  ------------------
  910|       |
  911|      0|    case EOpAtan:
  ------------------
  |  Branch (911:5): [True: 0, False: 36]
  ------------------
  912|      0|    case EOpClamp:
  ------------------
  |  Branch (912:5): [True: 0, False: 36]
  ------------------
  913|      0|    case EOpCross:
  ------------------
  |  Branch (913:5): [True: 0, False: 36]
  ------------------
  914|      0|    case EOpDistance:
  ------------------
  |  Branch (914:5): [True: 0, False: 36]
  ------------------
  915|      0|    case EOpDot:
  ------------------
  |  Branch (915:5): [True: 0, False: 36]
  ------------------
  916|      0|    case EOpDst:
  ------------------
  |  Branch (916:5): [True: 0, False: 36]
  ------------------
  917|      0|    case EOpFaceForward:
  ------------------
  |  Branch (917:5): [True: 0, False: 36]
  ------------------
  918|      0|    case EOpFma:
  ------------------
  |  Branch (918:5): [True: 0, False: 36]
  ------------------
  919|      0|    case EOpFrexp:
  ------------------
  |  Branch (919:5): [True: 0, False: 36]
  ------------------
  920|      0|    case EOpLdexp:
  ------------------
  |  Branch (920:5): [True: 0, False: 36]
  ------------------
  921|      0|    case EOpMix:
  ------------------
  |  Branch (921:5): [True: 0, False: 36]
  ------------------
  922|      0|    case EOpLit:
  ------------------
  |  Branch (922:5): [True: 0, False: 36]
  ------------------
  923|      0|    case EOpMax:
  ------------------
  |  Branch (923:5): [True: 0, False: 36]
  ------------------
  924|      0|    case EOpMin:
  ------------------
  |  Branch (924:5): [True: 0, False: 36]
  ------------------
  925|      0|    case EOpMod:
  ------------------
  |  Branch (925:5): [True: 0, False: 36]
  ------------------
  926|      0|    case EOpModf:
  ------------------
  |  Branch (926:5): [True: 0, False: 36]
  ------------------
  927|      0|    case EOpPow:
  ------------------
  |  Branch (927:5): [True: 0, False: 36]
  ------------------
  928|      0|    case EOpReflect:
  ------------------
  |  Branch (928:5): [True: 0, False: 36]
  ------------------
  929|      0|    case EOpRefract:
  ------------------
  |  Branch (929:5): [True: 0, False: 36]
  ------------------
  930|      0|    case EOpSmoothStep:
  ------------------
  |  Branch (930:5): [True: 0, False: 36]
  ------------------
  931|      0|    case EOpStep:
  ------------------
  |  Branch (931:5): [True: 0, False: 36]
  ------------------
  932|       |
  933|      0|    case EOpSequence:
  ------------------
  |  Branch (933:5): [True: 0, False: 36]
  ------------------
  934|      0|    case EOpConstructStruct:
  ------------------
  |  Branch (934:5): [True: 0, False: 36]
  ------------------
  935|      0|    case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (935:5): [True: 0, False: 36]
  ------------------
  936|      0|    case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (936:5): [True: 0, False: 36]
  ------------------
  937|      0|    case EOpConstructCooperativeVectorNV:
  ------------------
  |  Branch (937:5): [True: 0, False: 36]
  ------------------
  938|       |
  939|      0|        if (type.isReference() || node->getType().isReference()) {
  ------------------
  |  Branch (939:13): [True: 0, False: 0]
  |  Branch (939:35): [True: 0, False: 0]
  ------------------
  940|       |            // types must match to assign a reference
  941|      0|            if (type == node->getType())
  ------------------
  |  Branch (941:17): [True: 0, False: 0]
  ------------------
  942|      0|                return node;
  943|      0|            else
  944|      0|                return nullptr;
  945|      0|        }
  946|       |
  947|      0|        if (type.getBasicType() == node->getType().getBasicType())
  ------------------
  |  Branch (947:13): [True: 0, False: 0]
  ------------------
  948|      0|            return node;
  949|       |
  950|      0|        if (! canImplicitlyPromote(node->getBasicType(), type.getBasicType(), op))
  ------------------
  |  Branch (950:13): [True: 0, False: 0]
  ------------------
  951|      0|            return nullptr;
  952|      0|        break;
  953|       |
  954|       |    // For GLSL, there are no conversions needed; the shift amount just needs to be an
  955|       |    // integer type, as do the base/result.
  956|       |    // HLSL can convert the shift from a bool to an int.
  957|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (957:5): [True: 0, False: 36]
  ------------------
  958|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (958:5): [True: 0, False: 36]
  ------------------
  959|      0|    {
  960|      0|        if (!(getSource() == EShSourceHlsl && node->getType().getBasicType() == EbtBool)) {
  ------------------
  |  Branch (960:15): [True: 0, False: 0]
  |  Branch (960:47): [True: 0, False: 0]
  ------------------
  961|      0|            if (isTypeInt(type.getBasicType()) && isTypeInt(node->getBasicType()))
  ------------------
  |  Branch (961:17): [True: 0, False: 0]
  |  Branch (961:51): [True: 0, False: 0]
  ------------------
  962|      0|                return node;
  963|      0|            else
  964|      0|                return nullptr;
  965|      0|        }
  966|      0|        break;
  967|      0|    }
  968|       |
  969|      0|    default:
  ------------------
  |  Branch (969:5): [True: 0, False: 36]
  ------------------
  970|       |        // default is to require a match; all exceptions should have case statements above
  971|       |
  972|      0|        if (type.getBasicType() == node->getType().getBasicType())
  ------------------
  |  Branch (972:13): [True: 0, False: 0]
  ------------------
  973|      0|            return node;
  974|      0|        else
  975|      0|            return nullptr;
  976|     36|    }
  977|       |
  978|     36|    bool canPromoteConstant = true;
  979|       |    // GL_EXT_shader_16bit_storage can't do OpConstantComposite with
  980|       |    // 16-bit types, so disable promotion for those types.
  981|       |    // Many issues with this, from JohnK:
  982|       |    //  - this isn't really right to discuss SPIR-V here
  983|       |    //  - this could easily be entirely about scalars, so is overstepping
  984|       |    //  - we should be looking at what the shader asked for, and saying whether or
  985|       |    //    not it can be done, in the parser, by calling requireExtensions(), not
  986|       |    //    changing language sementics on the fly by asking what extensions are in use
  987|       |    //  - at the time of this writing (14-Aug-2020), no test results are changed by this.
  988|     36|    switch (op) {
  989|      0|    case EOpConstructBFloat16:
  ------------------
  |  Branch (989:5): [True: 0, False: 36]
  ------------------
  990|      0|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (990:5): [True: 0, False: 36]
  ------------------
  991|      0|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (991:5): [True: 0, False: 36]
  ------------------
  992|      0|        canPromoteConstant = true;
  993|      0|        break;
  994|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (994:5): [True: 0, False: 36]
  ------------------
  995|      0|        canPromoteConstant = numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (995:30): [True: 0, False: 0]
  ------------------
  996|      0|                             numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_float16);
  ------------------
  |  Branch (996:30): [True: 0, False: 0]
  ------------------
  997|      0|        break;
  998|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (998:5): [True: 0, False: 36]
  ------------------
  999|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (999:5): [True: 0, False: 36]
  ------------------
 1000|      0|        canPromoteConstant = numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1000:30): [True: 0, False: 0]
  ------------------
 1001|      0|                             numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int8);
  ------------------
  |  Branch (1001:30): [True: 0, False: 0]
  ------------------
 1002|      0|        break;
 1003|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (1003:5): [True: 0, False: 36]
  ------------------
 1004|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (1004:5): [True: 0, False: 36]
  ------------------
 1005|      0|        canPromoteConstant = numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1005:30): [True: 0, False: 0]
  ------------------
 1006|      0|                             numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int16);
  ------------------
  |  Branch (1006:30): [True: 0, False: 0]
  ------------------
 1007|      0|        break;
 1008|     36|    default:
  ------------------
  |  Branch (1008:5): [True: 36, False: 0]
  ------------------
 1009|     36|        break;
 1010|     36|    }
 1011|       |
 1012|     36|    if (canPromoteConstant && node->getAsConstantUnion())
  ------------------
  |  Branch (1012:9): [True: 36, False: 0]
  |  Branch (1012:31): [True: 36, False: 0]
  ------------------
 1013|     36|        return promoteConstantUnion(type.getBasicType(), node->getAsConstantUnion());
 1014|       |
 1015|       |    //
 1016|       |    // Add a new newNode for the conversion.
 1017|       |    //
 1018|      0|    TIntermTyped* newNode = createConversion(type.getBasicType(), node);
 1019|       |
 1020|      0|    return newNode;
 1021|     36|}
_ZNK7glslang13TIntermediate22mapTypeToConstructorOpERKNS_5TTypeE:
 1860|     40|{
 1861|     40|    TOperator op = EOpNull;
 1862|       |
 1863|     40|    if (type.getQualifier().isNonUniform())
  ------------------
  |  Branch (1863:9): [True: 0, False: 40]
  ------------------
 1864|      0|        return EOpConstructNonuniform;
 1865|       |
 1866|     40|    if (type.isCoopMatNV())
  ------------------
  |  Branch (1866:9): [True: 0, False: 40]
  ------------------
 1867|      0|        return EOpConstructCooperativeMatrixNV;
 1868|       |
 1869|     40|    if (type.isCoopMatKHR())
  ------------------
  |  Branch (1869:9): [True: 0, False: 40]
  ------------------
 1870|      0|        return EOpConstructCooperativeMatrixKHR;
 1871|       |
 1872|     40|    if (type.isCoopVecOrLongVector())
  ------------------
  |  Branch (1872:9): [True: 0, False: 40]
  ------------------
 1873|      0|        return EOpConstructCooperativeVectorNV;
 1874|       |
 1875|     40|    switch (type.getBasicType()) {
 1876|      0|    case EbtStruct:
  ------------------
  |  Branch (1876:5): [True: 0, False: 40]
  ------------------
 1877|      0|        op = EOpConstructStruct;
 1878|      0|        break;
 1879|      0|    case EbtSampler:
  ------------------
  |  Branch (1879:5): [True: 0, False: 40]
  ------------------
 1880|      0|        if (type.getSampler().isCombined())
  ------------------
  |  Branch (1880:13): [True: 0, False: 0]
  ------------------
 1881|      0|            op = EOpConstructTextureSampler;
 1882|      0|        break;
 1883|      0|    case EbtFloat:
  ------------------
  |  Branch (1883:5): [True: 0, False: 40]
  ------------------
 1884|      0|        if (type.isMatrix()) {
  ------------------
  |  Branch (1884:13): [True: 0, False: 0]
  ------------------
 1885|      0|            switch (type.getMatrixCols()) {
 1886|      0|            case 2:
  ------------------
  |  Branch (1886:13): [True: 0, False: 0]
  ------------------
 1887|      0|                switch (type.getMatrixRows()) {
 1888|      0|                case 2: op = EOpConstructMat2x2; break;
  ------------------
  |  Branch (1888:17): [True: 0, False: 0]
  ------------------
 1889|      0|                case 3: op = EOpConstructMat2x3; break;
  ------------------
  |  Branch (1889:17): [True: 0, False: 0]
  ------------------
 1890|      0|                case 4: op = EOpConstructMat2x4; break;
  ------------------
  |  Branch (1890:17): [True: 0, False: 0]
  ------------------
 1891|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1891:17): [True: 0, False: 0]
  ------------------
 1892|      0|                }
 1893|      0|                break;
 1894|      0|            case 3:
  ------------------
  |  Branch (1894:13): [True: 0, False: 0]
  ------------------
 1895|      0|                switch (type.getMatrixRows()) {
 1896|      0|                case 2: op = EOpConstructMat3x2; break;
  ------------------
  |  Branch (1896:17): [True: 0, False: 0]
  ------------------
 1897|      0|                case 3: op = EOpConstructMat3x3; break;
  ------------------
  |  Branch (1897:17): [True: 0, False: 0]
  ------------------
 1898|      0|                case 4: op = EOpConstructMat3x4; break;
  ------------------
  |  Branch (1898:17): [True: 0, False: 0]
  ------------------
 1899|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1899:17): [True: 0, False: 0]
  ------------------
 1900|      0|                }
 1901|      0|                break;
 1902|      0|            case 4:
  ------------------
  |  Branch (1902:13): [True: 0, False: 0]
  ------------------
 1903|      0|                switch (type.getMatrixRows()) {
 1904|      0|                case 2: op = EOpConstructMat4x2; break;
  ------------------
  |  Branch (1904:17): [True: 0, False: 0]
  ------------------
 1905|      0|                case 3: op = EOpConstructMat4x3; break;
  ------------------
  |  Branch (1905:17): [True: 0, False: 0]
  ------------------
 1906|      0|                case 4: op = EOpConstructMat4x4; break;
  ------------------
  |  Branch (1906:17): [True: 0, False: 0]
  ------------------
 1907|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1907:17): [True: 0, False: 0]
  ------------------
 1908|      0|                }
 1909|      0|                break;
 1910|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (1910:13): [True: 0, False: 0]
  ------------------
 1911|      0|            }
 1912|      0|        } else {
 1913|      0|            switch(type.getVectorSize()) {
 1914|      0|            case 1: op = EOpConstructFloat; break;
  ------------------
  |  Branch (1914:13): [True: 0, False: 0]
  ------------------
 1915|      0|            case 2: op = EOpConstructVec2;  break;
  ------------------
  |  Branch (1915:13): [True: 0, False: 0]
  ------------------
 1916|      0|            case 3: op = EOpConstructVec3;  break;
  ------------------
  |  Branch (1916:13): [True: 0, False: 0]
  ------------------
 1917|      0|            case 4: op = EOpConstructVec4;  break;
  ------------------
  |  Branch (1917:13): [True: 0, False: 0]
  ------------------
 1918|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (1918:13): [True: 0, False: 0]
  ------------------
 1919|      0|            }
 1920|      0|        }
 1921|      0|        break;
 1922|     16|    case EbtInt:
  ------------------
  |  Branch (1922:5): [True: 16, False: 24]
  ------------------
 1923|     16|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (1923:13): [True: 0, False: 16]
  ------------------
 1924|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (1924:21): [True: 0, False: 0]
  ------------------
 1925|      0|            case 2:
  ------------------
  |  Branch (1925:13): [True: 0, False: 0]
  ------------------
 1926|      0|                switch (type.getMatrixRows()) {
 1927|      0|                case 2: op = EOpConstructIMat2x2; break;
  ------------------
  |  Branch (1927:17): [True: 0, False: 0]
  ------------------
 1928|      0|                case 3: op = EOpConstructIMat2x3; break;
  ------------------
  |  Branch (1928:17): [True: 0, False: 0]
  ------------------
 1929|      0|                case 4: op = EOpConstructIMat2x4; break;
  ------------------
  |  Branch (1929:17): [True: 0, False: 0]
  ------------------
 1930|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1930:17): [True: 0, False: 0]
  ------------------
 1931|      0|                }
 1932|      0|                break;
 1933|      0|            case 3:
  ------------------
  |  Branch (1933:13): [True: 0, False: 0]
  ------------------
 1934|      0|                switch (type.getMatrixRows()) {
 1935|      0|                case 2: op = EOpConstructIMat3x2; break;
  ------------------
  |  Branch (1935:17): [True: 0, False: 0]
  ------------------
 1936|      0|                case 3: op = EOpConstructIMat3x3; break;
  ------------------
  |  Branch (1936:17): [True: 0, False: 0]
  ------------------
 1937|      0|                case 4: op = EOpConstructIMat3x4; break;
  ------------------
  |  Branch (1937:17): [True: 0, False: 0]
  ------------------
 1938|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1938:17): [True: 0, False: 0]
  ------------------
 1939|      0|                }
 1940|      0|                break;
 1941|      0|            case 4:
  ------------------
  |  Branch (1941:13): [True: 0, False: 0]
  ------------------
 1942|      0|                switch (type.getMatrixRows()) {
 1943|      0|                case 2: op = EOpConstructIMat4x2; break;
  ------------------
  |  Branch (1943:17): [True: 0, False: 0]
  ------------------
 1944|      0|                case 3: op = EOpConstructIMat4x3; break;
  ------------------
  |  Branch (1944:17): [True: 0, False: 0]
  ------------------
 1945|      0|                case 4: op = EOpConstructIMat4x4; break;
  ------------------
  |  Branch (1945:17): [True: 0, False: 0]
  ------------------
 1946|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1946:17): [True: 0, False: 0]
  ------------------
 1947|      0|                }
 1948|      0|                break;
 1949|      0|            }
 1950|     16|        } else {
 1951|     16|            switch(type.getVectorSize()) {
 1952|      0|            case 1: op = EOpConstructInt;   break;
  ------------------
  |  Branch (1952:13): [True: 0, False: 16]
  ------------------
 1953|      0|            case 2: op = EOpConstructIVec2; break;
  ------------------
  |  Branch (1953:13): [True: 0, False: 16]
  ------------------
 1954|     16|            case 3: op = EOpConstructIVec3; break;
  ------------------
  |  Branch (1954:13): [True: 16, False: 0]
  ------------------
 1955|      0|            case 4: op = EOpConstructIVec4; break;
  ------------------
  |  Branch (1955:13): [True: 0, False: 16]
  ------------------
 1956|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (1956:13): [True: 0, False: 16]
  ------------------
 1957|     16|            }
 1958|     16|        }
 1959|     16|        break;
 1960|     24|    case EbtUint:
  ------------------
  |  Branch (1960:5): [True: 24, False: 16]
  ------------------
 1961|     24|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (1961:13): [True: 0, False: 24]
  ------------------
 1962|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (1962:21): [True: 0, False: 0]
  ------------------
 1963|      0|            case 2:
  ------------------
  |  Branch (1963:13): [True: 0, False: 0]
  ------------------
 1964|      0|                switch (type.getMatrixRows()) {
 1965|      0|                case 2: op = EOpConstructUMat2x2; break;
  ------------------
  |  Branch (1965:17): [True: 0, False: 0]
  ------------------
 1966|      0|                case 3: op = EOpConstructUMat2x3; break;
  ------------------
  |  Branch (1966:17): [True: 0, False: 0]
  ------------------
 1967|      0|                case 4: op = EOpConstructUMat2x4; break;
  ------------------
  |  Branch (1967:17): [True: 0, False: 0]
  ------------------
 1968|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1968:17): [True: 0, False: 0]
  ------------------
 1969|      0|                }
 1970|      0|                break;
 1971|      0|            case 3:
  ------------------
  |  Branch (1971:13): [True: 0, False: 0]
  ------------------
 1972|      0|                switch (type.getMatrixRows()) {
 1973|      0|                case 2: op = EOpConstructUMat3x2; break;
  ------------------
  |  Branch (1973:17): [True: 0, False: 0]
  ------------------
 1974|      0|                case 3: op = EOpConstructUMat3x3; break;
  ------------------
  |  Branch (1974:17): [True: 0, False: 0]
  ------------------
 1975|      0|                case 4: op = EOpConstructUMat3x4; break;
  ------------------
  |  Branch (1975:17): [True: 0, False: 0]
  ------------------
 1976|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1976:17): [True: 0, False: 0]
  ------------------
 1977|      0|                }
 1978|      0|                break;
 1979|      0|            case 4:
  ------------------
  |  Branch (1979:13): [True: 0, False: 0]
  ------------------
 1980|      0|                switch (type.getMatrixRows()) {
 1981|      0|                case 2: op = EOpConstructUMat4x2; break;
  ------------------
  |  Branch (1981:17): [True: 0, False: 0]
  ------------------
 1982|      0|                case 3: op = EOpConstructUMat4x3; break;
  ------------------
  |  Branch (1982:17): [True: 0, False: 0]
  ------------------
 1983|      0|                case 4: op = EOpConstructUMat4x4; break;
  ------------------
  |  Branch (1983:17): [True: 0, False: 0]
  ------------------
 1984|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1984:17): [True: 0, False: 0]
  ------------------
 1985|      0|                }
 1986|      0|                break;
 1987|      0|            }
 1988|     24|        } else {
 1989|     24|            switch(type.getVectorSize()) {
 1990|      0|            case 1: op = EOpConstructUint;  break;
  ------------------
  |  Branch (1990:13): [True: 0, False: 24]
  ------------------
 1991|      0|            case 2: op = EOpConstructUVec2; break;
  ------------------
  |  Branch (1991:13): [True: 0, False: 24]
  ------------------
 1992|     24|            case 3: op = EOpConstructUVec3; break;
  ------------------
  |  Branch (1992:13): [True: 24, False: 0]
  ------------------
 1993|      0|            case 4: op = EOpConstructUVec4; break;
  ------------------
  |  Branch (1993:13): [True: 0, False: 24]
  ------------------
 1994|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (1994:13): [True: 0, False: 24]
  ------------------
 1995|     24|            }
 1996|     24|        }
 1997|     24|        break;
 1998|     24|    case EbtBool:
  ------------------
  |  Branch (1998:5): [True: 0, False: 40]
  ------------------
 1999|      0|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (1999:13): [True: 0, False: 0]
  ------------------
 2000|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2000:21): [True: 0, False: 0]
  ------------------
 2001|      0|            case 2:
  ------------------
  |  Branch (2001:13): [True: 0, False: 0]
  ------------------
 2002|      0|                switch (type.getMatrixRows()) {
 2003|      0|                case 2: op = EOpConstructBMat2x2; break;
  ------------------
  |  Branch (2003:17): [True: 0, False: 0]
  ------------------
 2004|      0|                case 3: op = EOpConstructBMat2x3; break;
  ------------------
  |  Branch (2004:17): [True: 0, False: 0]
  ------------------
 2005|      0|                case 4: op = EOpConstructBMat2x4; break;
  ------------------
  |  Branch (2005:17): [True: 0, False: 0]
  ------------------
 2006|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2006:17): [True: 0, False: 0]
  ------------------
 2007|      0|                }
 2008|      0|                break;
 2009|      0|            case 3:
  ------------------
  |  Branch (2009:13): [True: 0, False: 0]
  ------------------
 2010|      0|                switch (type.getMatrixRows()) {
 2011|      0|                case 2: op = EOpConstructBMat3x2; break;
  ------------------
  |  Branch (2011:17): [True: 0, False: 0]
  ------------------
 2012|      0|                case 3: op = EOpConstructBMat3x3; break;
  ------------------
  |  Branch (2012:17): [True: 0, False: 0]
  ------------------
 2013|      0|                case 4: op = EOpConstructBMat3x4; break;
  ------------------
  |  Branch (2013:17): [True: 0, False: 0]
  ------------------
 2014|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2014:17): [True: 0, False: 0]
  ------------------
 2015|      0|                }
 2016|      0|                break;
 2017|      0|            case 4:
  ------------------
  |  Branch (2017:13): [True: 0, False: 0]
  ------------------
 2018|      0|                switch (type.getMatrixRows()) {
 2019|      0|                case 2: op = EOpConstructBMat4x2; break;
  ------------------
  |  Branch (2019:17): [True: 0, False: 0]
  ------------------
 2020|      0|                case 3: op = EOpConstructBMat4x3; break;
  ------------------
  |  Branch (2020:17): [True: 0, False: 0]
  ------------------
 2021|      0|                case 4: op = EOpConstructBMat4x4; break;
  ------------------
  |  Branch (2021:17): [True: 0, False: 0]
  ------------------
 2022|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2022:17): [True: 0, False: 0]
  ------------------
 2023|      0|                }
 2024|      0|                break;
 2025|      0|            }
 2026|      0|        } else {
 2027|      0|            switch(type.getVectorSize()) {
 2028|      0|            case 1:  op = EOpConstructBool;  break;
  ------------------
  |  Branch (2028:13): [True: 0, False: 0]
  ------------------
 2029|      0|            case 2:  op = EOpConstructBVec2; break;
  ------------------
  |  Branch (2029:13): [True: 0, False: 0]
  ------------------
 2030|      0|            case 3:  op = EOpConstructBVec3; break;
  ------------------
  |  Branch (2030:13): [True: 0, False: 0]
  ------------------
 2031|      0|            case 4:  op = EOpConstructBVec4; break;
  ------------------
  |  Branch (2031:13): [True: 0, False: 0]
  ------------------
 2032|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2032:13): [True: 0, False: 0]
  ------------------
 2033|      0|            }
 2034|      0|        }
 2035|      0|        break;
 2036|      0|    case EbtDouble:
  ------------------
  |  Branch (2036:5): [True: 0, False: 40]
  ------------------
 2037|      0|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2037:13): [True: 0, False: 0]
  ------------------
 2038|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2038:21): [True: 0, False: 0]
  ------------------
 2039|      0|            case 2:
  ------------------
  |  Branch (2039:13): [True: 0, False: 0]
  ------------------
 2040|      0|                switch (type.getMatrixRows()) {
 2041|      0|                case 2: op = EOpConstructDMat2x2; break;
  ------------------
  |  Branch (2041:17): [True: 0, False: 0]
  ------------------
 2042|      0|                case 3: op = EOpConstructDMat2x3; break;
  ------------------
  |  Branch (2042:17): [True: 0, False: 0]
  ------------------
 2043|      0|                case 4: op = EOpConstructDMat2x4; break;
  ------------------
  |  Branch (2043:17): [True: 0, False: 0]
  ------------------
 2044|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2044:17): [True: 0, False: 0]
  ------------------
 2045|      0|                }
 2046|      0|                break;
 2047|      0|            case 3:
  ------------------
  |  Branch (2047:13): [True: 0, False: 0]
  ------------------
 2048|      0|                switch (type.getMatrixRows()) {
 2049|      0|                case 2: op = EOpConstructDMat3x2; break;
  ------------------
  |  Branch (2049:17): [True: 0, False: 0]
  ------------------
 2050|      0|                case 3: op = EOpConstructDMat3x3; break;
  ------------------
  |  Branch (2050:17): [True: 0, False: 0]
  ------------------
 2051|      0|                case 4: op = EOpConstructDMat3x4; break;
  ------------------
  |  Branch (2051:17): [True: 0, False: 0]
  ------------------
 2052|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2052:17): [True: 0, False: 0]
  ------------------
 2053|      0|                }
 2054|      0|                break;
 2055|      0|            case 4:
  ------------------
  |  Branch (2055:13): [True: 0, False: 0]
  ------------------
 2056|      0|                switch (type.getMatrixRows()) {
 2057|      0|                case 2: op = EOpConstructDMat4x2; break;
  ------------------
  |  Branch (2057:17): [True: 0, False: 0]
  ------------------
 2058|      0|                case 3: op = EOpConstructDMat4x3; break;
  ------------------
  |  Branch (2058:17): [True: 0, False: 0]
  ------------------
 2059|      0|                case 4: op = EOpConstructDMat4x4; break;
  ------------------
  |  Branch (2059:17): [True: 0, False: 0]
  ------------------
 2060|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2060:17): [True: 0, False: 0]
  ------------------
 2061|      0|                }
 2062|      0|                break;
 2063|      0|            }
 2064|      0|        } else {
 2065|      0|            switch(type.getVectorSize()) {
 2066|      0|            case 1: op = EOpConstructDouble; break;
  ------------------
  |  Branch (2066:13): [True: 0, False: 0]
  ------------------
 2067|      0|            case 2: op = EOpConstructDVec2;  break;
  ------------------
  |  Branch (2067:13): [True: 0, False: 0]
  ------------------
 2068|      0|            case 3: op = EOpConstructDVec3;  break;
  ------------------
  |  Branch (2068:13): [True: 0, False: 0]
  ------------------
 2069|      0|            case 4: op = EOpConstructDVec4;  break;
  ------------------
  |  Branch (2069:13): [True: 0, False: 0]
  ------------------
 2070|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2070:13): [True: 0, False: 0]
  ------------------
 2071|      0|            }
 2072|      0|        }
 2073|      0|        break;
 2074|      0|    case EbtFloat16:
  ------------------
  |  Branch (2074:5): [True: 0, False: 40]
  ------------------
 2075|      0|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2075:13): [True: 0, False: 0]
  ------------------
 2076|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2076:21): [True: 0, False: 0]
  ------------------
 2077|      0|            case 2:
  ------------------
  |  Branch (2077:13): [True: 0, False: 0]
  ------------------
 2078|      0|                switch (type.getMatrixRows()) {
 2079|      0|                case 2: op = EOpConstructF16Mat2x2; break;
  ------------------
  |  Branch (2079:17): [True: 0, False: 0]
  ------------------
 2080|      0|                case 3: op = EOpConstructF16Mat2x3; break;
  ------------------
  |  Branch (2080:17): [True: 0, False: 0]
  ------------------
 2081|      0|                case 4: op = EOpConstructF16Mat2x4; break;
  ------------------
  |  Branch (2081:17): [True: 0, False: 0]
  ------------------
 2082|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2082:17): [True: 0, False: 0]
  ------------------
 2083|      0|                }
 2084|      0|                break;
 2085|      0|            case 3:
  ------------------
  |  Branch (2085:13): [True: 0, False: 0]
  ------------------
 2086|      0|                switch (type.getMatrixRows()) {
 2087|      0|                case 2: op = EOpConstructF16Mat3x2; break;
  ------------------
  |  Branch (2087:17): [True: 0, False: 0]
  ------------------
 2088|      0|                case 3: op = EOpConstructF16Mat3x3; break;
  ------------------
  |  Branch (2088:17): [True: 0, False: 0]
  ------------------
 2089|      0|                case 4: op = EOpConstructF16Mat3x4; break;
  ------------------
  |  Branch (2089:17): [True: 0, False: 0]
  ------------------
 2090|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2090:17): [True: 0, False: 0]
  ------------------
 2091|      0|                }
 2092|      0|                break;
 2093|      0|            case 4:
  ------------------
  |  Branch (2093:13): [True: 0, False: 0]
  ------------------
 2094|      0|                switch (type.getMatrixRows()) {
 2095|      0|                case 2: op = EOpConstructF16Mat4x2; break;
  ------------------
  |  Branch (2095:17): [True: 0, False: 0]
  ------------------
 2096|      0|                case 3: op = EOpConstructF16Mat4x3; break;
  ------------------
  |  Branch (2096:17): [True: 0, False: 0]
  ------------------
 2097|      0|                case 4: op = EOpConstructF16Mat4x4; break;
  ------------------
  |  Branch (2097:17): [True: 0, False: 0]
  ------------------
 2098|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2098:17): [True: 0, False: 0]
  ------------------
 2099|      0|                }
 2100|      0|                break;
 2101|      0|            }
 2102|      0|        }
 2103|      0|        else {
 2104|      0|            switch (type.getVectorSize()) {
 2105|      0|            case 1: op = EOpConstructFloat16;  break;
  ------------------
  |  Branch (2105:13): [True: 0, False: 0]
  ------------------
 2106|      0|            case 2: op = EOpConstructF16Vec2;  break;
  ------------------
  |  Branch (2106:13): [True: 0, False: 0]
  ------------------
 2107|      0|            case 3: op = EOpConstructF16Vec3;  break;
  ------------------
  |  Branch (2107:13): [True: 0, False: 0]
  ------------------
 2108|      0|            case 4: op = EOpConstructF16Vec4;  break;
  ------------------
  |  Branch (2108:13): [True: 0, False: 0]
  ------------------
 2109|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2109:13): [True: 0, False: 0]
  ------------------
 2110|      0|            }
 2111|      0|        }
 2112|      0|        break;
 2113|      0|    case EbtBFloat16:
  ------------------
  |  Branch (2113:5): [True: 0, False: 40]
  ------------------
 2114|      0|        switch (type.getVectorSize()) {
 2115|      0|        case 1: op = EOpConstructBFloat16;  break;
  ------------------
  |  Branch (2115:9): [True: 0, False: 0]
  ------------------
 2116|      0|        case 2: op = EOpConstructBF16Vec2;  break;
  ------------------
  |  Branch (2116:9): [True: 0, False: 0]
  ------------------
 2117|      0|        case 3: op = EOpConstructBF16Vec3;  break;
  ------------------
  |  Branch (2117:9): [True: 0, False: 0]
  ------------------
 2118|      0|        case 4: op = EOpConstructBF16Vec4;  break;
  ------------------
  |  Branch (2118:9): [True: 0, False: 0]
  ------------------
 2119|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2119:9): [True: 0, False: 0]
  ------------------
 2120|      0|        }
 2121|      0|        break;
 2122|      0|    case EbtFloatE5M2:
  ------------------
  |  Branch (2122:5): [True: 0, False: 40]
  ------------------
 2123|      0|        switch (type.getVectorSize()) {
 2124|      0|        case 1: op = EOpConstructFloatE5M2;  break;
  ------------------
  |  Branch (2124:9): [True: 0, False: 0]
  ------------------
 2125|      0|        case 2: op = EOpConstructFloatE5M2Vec2;  break;
  ------------------
  |  Branch (2125:9): [True: 0, False: 0]
  ------------------
 2126|      0|        case 3: op = EOpConstructFloatE5M2Vec3;  break;
  ------------------
  |  Branch (2126:9): [True: 0, False: 0]
  ------------------
 2127|      0|        case 4: op = EOpConstructFloatE5M2Vec4;  break;
  ------------------
  |  Branch (2127:9): [True: 0, False: 0]
  ------------------
 2128|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2128:9): [True: 0, False: 0]
  ------------------
 2129|      0|        }
 2130|      0|        break;
 2131|      0|    case EbtFloatE4M3:
  ------------------
  |  Branch (2131:5): [True: 0, False: 40]
  ------------------
 2132|      0|        switch (type.getVectorSize()) {
 2133|      0|        case 1: op = EOpConstructFloatE4M3;  break;
  ------------------
  |  Branch (2133:9): [True: 0, False: 0]
  ------------------
 2134|      0|        case 2: op = EOpConstructFloatE4M3Vec2;  break;
  ------------------
  |  Branch (2134:9): [True: 0, False: 0]
  ------------------
 2135|      0|        case 3: op = EOpConstructFloatE4M3Vec3;  break;
  ------------------
  |  Branch (2135:9): [True: 0, False: 0]
  ------------------
 2136|      0|        case 4: op = EOpConstructFloatE4M3Vec4;  break;
  ------------------
  |  Branch (2136:9): [True: 0, False: 0]
  ------------------
 2137|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2137:9): [True: 0, False: 0]
  ------------------
 2138|      0|        }
 2139|      0|        break;
 2140|      0|    case EbtInt8:
  ------------------
  |  Branch (2140:5): [True: 0, False: 40]
  ------------------
 2141|      0|        switch(type.getVectorSize()) {
 2142|      0|        case 1: op = EOpConstructInt8;   break;
  ------------------
  |  Branch (2142:9): [True: 0, False: 0]
  ------------------
 2143|      0|        case 2: op = EOpConstructI8Vec2; break;
  ------------------
  |  Branch (2143:9): [True: 0, False: 0]
  ------------------
 2144|      0|        case 3: op = EOpConstructI8Vec3; break;
  ------------------
  |  Branch (2144:9): [True: 0, False: 0]
  ------------------
 2145|      0|        case 4: op = EOpConstructI8Vec4; break;
  ------------------
  |  Branch (2145:9): [True: 0, False: 0]
  ------------------
 2146|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2146:9): [True: 0, False: 0]
  ------------------
 2147|      0|        }
 2148|      0|        break;
 2149|      0|    case EbtUint8:
  ------------------
  |  Branch (2149:5): [True: 0, False: 40]
  ------------------
 2150|      0|        switch(type.getVectorSize()) {
 2151|      0|        case 1: op = EOpConstructUint8;  break;
  ------------------
  |  Branch (2151:9): [True: 0, False: 0]
  ------------------
 2152|      0|        case 2: op = EOpConstructU8Vec2; break;
  ------------------
  |  Branch (2152:9): [True: 0, False: 0]
  ------------------
 2153|      0|        case 3: op = EOpConstructU8Vec3; break;
  ------------------
  |  Branch (2153:9): [True: 0, False: 0]
  ------------------
 2154|      0|        case 4: op = EOpConstructU8Vec4; break;
  ------------------
  |  Branch (2154:9): [True: 0, False: 0]
  ------------------
 2155|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2155:9): [True: 0, False: 0]
  ------------------
 2156|      0|        }
 2157|      0|        break;
 2158|      0|    case EbtInt16:
  ------------------
  |  Branch (2158:5): [True: 0, False: 40]
  ------------------
 2159|      0|        switch(type.getVectorSize()) {
 2160|      0|        case 1: op = EOpConstructInt16;   break;
  ------------------
  |  Branch (2160:9): [True: 0, False: 0]
  ------------------
 2161|      0|        case 2: op = EOpConstructI16Vec2; break;
  ------------------
  |  Branch (2161:9): [True: 0, False: 0]
  ------------------
 2162|      0|        case 3: op = EOpConstructI16Vec3; break;
  ------------------
  |  Branch (2162:9): [True: 0, False: 0]
  ------------------
 2163|      0|        case 4: op = EOpConstructI16Vec4; break;
  ------------------
  |  Branch (2163:9): [True: 0, False: 0]
  ------------------
 2164|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2164:9): [True: 0, False: 0]
  ------------------
 2165|      0|        }
 2166|      0|        break;
 2167|      0|    case EbtUint16:
  ------------------
  |  Branch (2167:5): [True: 0, False: 40]
  ------------------
 2168|      0|        switch(type.getVectorSize()) {
 2169|      0|        case 1: op = EOpConstructUint16;  break;
  ------------------
  |  Branch (2169:9): [True: 0, False: 0]
  ------------------
 2170|      0|        case 2: op = EOpConstructU16Vec2; break;
  ------------------
  |  Branch (2170:9): [True: 0, False: 0]
  ------------------
 2171|      0|        case 3: op = EOpConstructU16Vec3; break;
  ------------------
  |  Branch (2171:9): [True: 0, False: 0]
  ------------------
 2172|      0|        case 4: op = EOpConstructU16Vec4; break;
  ------------------
  |  Branch (2172:9): [True: 0, False: 0]
  ------------------
 2173|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2173:9): [True: 0, False: 0]
  ------------------
 2174|      0|        }
 2175|      0|        break;
 2176|      0|    case EbtInt64:
  ------------------
  |  Branch (2176:5): [True: 0, False: 40]
  ------------------
 2177|      0|        switch(type.getVectorSize()) {
 2178|      0|        case 1: op = EOpConstructInt64;   break;
  ------------------
  |  Branch (2178:9): [True: 0, False: 0]
  ------------------
 2179|      0|        case 2: op = EOpConstructI64Vec2; break;
  ------------------
  |  Branch (2179:9): [True: 0, False: 0]
  ------------------
 2180|      0|        case 3: op = EOpConstructI64Vec3; break;
  ------------------
  |  Branch (2180:9): [True: 0, False: 0]
  ------------------
 2181|      0|        case 4: op = EOpConstructI64Vec4; break;
  ------------------
  |  Branch (2181:9): [True: 0, False: 0]
  ------------------
 2182|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2182:9): [True: 0, False: 0]
  ------------------
 2183|      0|        }
 2184|      0|        break;
 2185|      0|    case EbtUint64:
  ------------------
  |  Branch (2185:5): [True: 0, False: 40]
  ------------------
 2186|      0|        switch(type.getVectorSize()) {
 2187|      0|        case 1: op = EOpConstructUint64;  break;
  ------------------
  |  Branch (2187:9): [True: 0, False: 0]
  ------------------
 2188|      0|        case 2: op = EOpConstructU64Vec2; break;
  ------------------
  |  Branch (2188:9): [True: 0, False: 0]
  ------------------
 2189|      0|        case 3: op = EOpConstructU64Vec3; break;
  ------------------
  |  Branch (2189:9): [True: 0, False: 0]
  ------------------
 2190|      0|        case 4: op = EOpConstructU64Vec4; break;
  ------------------
  |  Branch (2190:9): [True: 0, False: 0]
  ------------------
 2191|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2191:9): [True: 0, False: 0]
  ------------------
 2192|      0|        }
 2193|      0|        break;
 2194|      0|    case EbtReference:
  ------------------
  |  Branch (2194:5): [True: 0, False: 40]
  ------------------
 2195|      0|        op = EOpConstructReference;
 2196|      0|        break;
 2197|       |
 2198|      0|    case EbtAccStruct:
  ------------------
  |  Branch (2198:5): [True: 0, False: 40]
  ------------------
 2199|      0|        op = EOpConstructAccStruct;
 2200|      0|        break;
 2201|      0|    default:
  ------------------
  |  Branch (2201:5): [True: 0, False: 40]
  ------------------
 2202|      0|        break;
 2203|     40|    }
 2204|       |
 2205|     40|    return op;
 2206|     40|}
_ZN7glslang13TIntermediate13growAggregateEP11TIntermNodeS2_:
 2216|  3.29k|{
 2217|  3.29k|    if (left == nullptr && right == nullptr)
  ------------------
  |  Branch (2217:9): [True: 3.24k, False: 44]
  |  Branch (2217:28): [True: 3.17k, False: 74]
  ------------------
 2218|  3.17k|        return nullptr;
 2219|       |
 2220|    118|    TIntermAggregate* aggNode = nullptr;
 2221|    118|    if (left != nullptr)
  ------------------
  |  Branch (2221:9): [True: 44, False: 74]
  ------------------
 2222|     44|        aggNode = left->getAsAggregate();
 2223|    118|    if (aggNode == nullptr || aggNode->getOp() != EOpNull) {
  ------------------
  |  Branch (2223:9): [True: 94, False: 24]
  |  Branch (2223:31): [True: 0, False: 24]
  ------------------
 2224|     94|        aggNode = new TIntermAggregate;
 2225|     94|        if (left != nullptr)
  ------------------
  |  Branch (2225:13): [True: 20, False: 74]
  ------------------
 2226|     20|            aggNode->getSequence().push_back(left);
 2227|     94|    }
 2228|       |
 2229|    118|    if (right != nullptr)
  ------------------
  |  Branch (2229:9): [True: 118, False: 0]
  ------------------
 2230|    118|        aggNode->getSequence().push_back(right);
 2231|       |
 2232|    118|    return aggNode;
 2233|  3.29k|}
_ZN7glslang13TIntermediate13growAggregateEP11TIntermNodeS2_RKNS_10TSourceLocE:
 2236|  3.21k|{
 2237|  3.21k|    TIntermAggregate* aggNode = growAggregate(left, right);
 2238|  3.21k|    if (aggNode)
  ------------------
  |  Branch (2238:9): [True: 40, False: 3.17k]
  ------------------
 2239|     40|        aggNode->setLoc(loc);
 2240|       |
 2241|  3.21k|    return aggNode;
 2242|  3.21k|}
_ZNK7glslang13TIntermediate16addConstantUnionERKNS_16TConstUnionArrayERKNS_5TTypeERKNS_10TSourceLocEb:
 2467|  2.12k|{
 2468|  2.12k|    TIntermConstantUnion* node = new TIntermConstantUnion(unionArray, t);
 2469|  2.12k|    node->getQualifier().storage = EvqConst;
 2470|  2.12k|    node->setLoc(loc);
 2471|  2.12k|    if (literal)
  ------------------
  |  Branch (2471:9): [True: 2.07k, False: 56]
  ------------------
 2472|  2.07k|        node->setLiteral();
 2473|       |
 2474|  2.12k|    return node;
 2475|  2.12k|}
_ZNK7glslang13TIntermediate16addConstantUnionEiRKNS_10TSourceLocEb:
 2509|  1.82k|{
 2510|  1.82k|    TConstUnionArray unionArray(1);
 2511|  1.82k|    unionArray[0].setIConst(i);
 2512|       |
 2513|  1.82k|    return addConstantUnion(unionArray, TType(EbtInt, EvqConst), loc, literal);
 2514|  1.82k|}
_ZNK7glslang13TIntermediate16addConstantUnionEjRKNS_10TSourceLocEb:
 2517|    244|{
 2518|    244|    TConstUnionArray unionArray(1);
 2519|    244|    unionArray[0].setUConst(u);
 2520|       |
 2521|    244|    return addConstantUnion(unionArray, TType(EbtUint, EvqConst), loc, literal);
 2522|    244|}
_ZN7glslang13TIntermediate11postProcessEP11TIntermNode11EShLanguage:
 2814|      1|{
 2815|      1|    if (root == nullptr)
  ------------------
  |  Branch (2815:9): [True: 0, False: 1]
  ------------------
 2816|      0|        return true;
 2817|       |
 2818|       |    // Finish off the top-level sequence
 2819|      1|    TIntermAggregate* aggRoot = root->getAsAggregate();
 2820|      1|    if (aggRoot && aggRoot->getOp() == EOpNull)
  ------------------
  |  Branch (2820:9): [True: 1, False: 0]
  |  Branch (2820:20): [True: 1, False: 0]
  ------------------
 2821|      1|        aggRoot->setOperator(EOpSequence);
 2822|       |
 2823|       |    // Propagate 'noContraction' label in backward from 'precise' variables.
 2824|      1|    glslang::PropagateNoContraction(*this);
 2825|       |
 2826|      1|    if (invertY && getSource() == EShSourceGlsl &&
  ------------------
  |  Branch (2826:9): [True: 0, False: 1]
  |  Branch (2826:20): [True: 0, False: 0]
  ------------------
 2827|      0|        (language == EShLangVertex ||
  ------------------
  |  Branch (2827:10): [True: 0, False: 0]
  ------------------
 2828|      0|         language == EShLangGeometry ||
  ------------------
  |  Branch (2828:10): [True: 0, False: 0]
  ------------------
 2829|      0|         language == EShLangTessEvaluation)) {
  ------------------
  |  Branch (2829:10): [True: 0, False: 0]
  ------------------
 2830|      0|        invertPositions(root);
 2831|      0|    }
 2832|       |
 2833|      1|    switch (textureSamplerTransformMode) {
  ------------------
  |  Branch (2833:13): [True: 1, False: 0]
  ------------------
 2834|      1|    case EShTexSampTransKeep:
  ------------------
  |  Branch (2834:5): [True: 1, False: 0]
  ------------------
 2835|      1|        break;
 2836|      0|    case EShTexSampTransUpgradeTextureRemoveSampler:
  ------------------
  |  Branch (2836:5): [True: 0, False: 1]
  ------------------
 2837|      0|        performTextureUpgradeAndSamplerRemovalTransformation(root);
 2838|      0|        break;
 2839|      0|    case EShTexSampTransCount:
  ------------------
  |  Branch (2839:5): [True: 0, False: 1]
  ------------------
 2840|      0|        assert(0);
 2841|      0|        break;
 2842|      1|    }
 2843|       |
 2844|      1|    return true;
 2845|      1|}
_ZN7glslang13TIntermediate21addSymbolLinkageNodesERPNS_16TIntermAggregateE11EShLanguageRNS_12TSymbolTableE:
 2848|     74|{
 2849|       |    // Add top-level nodes for declarations that must be checked cross
 2850|       |    // compilation unit by a linker, yet might not have been referenced
 2851|       |    // by the AST.
 2852|       |    //
 2853|       |    // Almost entirely, translation of symbols is driven by what's present
 2854|       |    // in the AST traversal, not by translating the symbol table.
 2855|       |    //
 2856|       |    // However, there are some special cases:
 2857|       |    //  - From the specification: "Special built-in inputs gl_VertexID and
 2858|       |    //    gl_InstanceID are also considered active vertex attributes."
 2859|       |    //  - Linker-based type mismatch error reporting needs to see all
 2860|       |    //    uniforms/ins/outs variables and blocks.
 2861|       |    //  - ftransform() can make gl_Vertex and gl_ModelViewProjectionMatrix active.
 2862|       |    //
 2863|       |
 2864|       |    // if (ftransformUsed) {
 2865|       |        // TODO: 1.1 lowering functionality: track ftransform() usage
 2866|       |    //    addSymbolLinkageNode(root, symbolTable, "gl_Vertex");
 2867|       |    //    addSymbolLinkageNode(root, symbolTable, "gl_ModelViewProjectionMatrix");
 2868|       |    //}
 2869|       |
 2870|     74|    if (language == EShLangVertex) {
  ------------------
  |  Branch (2870:9): [True: 74, False: 0]
  ------------------
 2871|     74|        addSymbolLinkageNode(linkage, symbolTable, "gl_VertexID");
 2872|     74|        if ((version < 140 && requestedExtensions.find(E_GL_EXT_draw_instanced) != requestedExtensions.end()) || version >= 140)
  ------------------
  |  Branch (2872:13): [True: 29, False: 45]
  |  Branch (2872:14): [True: 45, False: 29]
  |  Branch (2872:31): [True: 0, False: 45]
  |  Branch (2872:114): [True: 29, False: 45]
  ------------------
 2873|     29|            addSymbolLinkageNode(linkage, symbolTable, "gl_InstanceID");
 2874|     74|    }
 2875|       |
 2876|       |    // Add a child to the root node for the linker objects
 2877|     74|    linkage->setOperator(EOpLinkerObjects);
 2878|     74|    treeRoot = growAggregate(treeRoot, linkage);
 2879|     74|}
_ZN7glslang13TIntermediate20addSymbolLinkageNodeERPNS_16TIntermAggregateERNS_12TSymbolTableERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 2887|    103|{
 2888|    103|    TSymbol* symbol = symbolTable.find(name);
 2889|    103|    if (symbol)
  ------------------
  |  Branch (2889:9): [True: 4, False: 99]
  ------------------
 2890|      4|        addSymbolLinkageNode(linkage, *symbol->getAsVariable());
 2891|    103|}
_ZN7glslang13TIntermediate20addSymbolLinkageNodeERPNS_16TIntermAggregateERKNS_7TSymbolE:
 2894|      4|{
 2895|      4|    const TVariable* variable = symbol.getAsVariable();
 2896|      4|    if (! variable) {
  ------------------
  |  Branch (2896:9): [True: 0, False: 4]
  ------------------
 2897|       |        // This must be a member of an anonymous block, and we need to add the whole block
 2898|      0|        const TAnonMember* anon = symbol.getAsAnonMember();
 2899|      0|        variable = &anon->getAnonContainer();
 2900|      0|    }
 2901|      4|    TIntermSymbol* node = addSymbol(*variable);
 2902|      4|    linkage = growAggregate(linkage, node);
 2903|      4|}
_ZNK7glslang15TIntermOperator13isConstructorEv:
 3151|     40|{
 3152|     40|    return op > EOpConstructGuardStart && op < EOpConstructGuardEnd;
  ------------------
  |  Branch (3152:12): [True: 40, False: 0]
  |  Branch (3152:43): [True: 40, False: 0]
  ------------------
 3153|     40|}
_ZN7glslang13TIntermediate7promoteEPNS_15TIntermOperatorE:
 3163|      2|{
 3164|      2|    if (node == nullptr)
  ------------------
  |  Branch (3164:9): [True: 0, False: 2]
  ------------------
 3165|      0|        return false;
 3166|       |
 3167|      2|    if (node->getAsUnaryNode())
  ------------------
  |  Branch (3167:9): [True: 2, False: 0]
  ------------------
 3168|      2|        return promoteUnary(*node->getAsUnaryNode());
 3169|       |
 3170|      0|    if (node->getAsBinaryNode())
  ------------------
  |  Branch (3170:9): [True: 0, False: 0]
  ------------------
 3171|      0|        return promoteBinary(*node->getAsBinaryNode());
 3172|       |
 3173|      0|    if (node->getAsAggregate())
  ------------------
  |  Branch (3173:9): [True: 0, False: 0]
  ------------------
 3174|      0|        return promoteAggregate(*node->getAsAggregate());
 3175|       |
 3176|      0|    return false;
 3177|      0|}
_ZN7glslang13TIntermediate12promoteUnaryERNS_12TIntermUnaryE:
 3183|      2|{
 3184|      2|    const TOperator op    = node.getOp();
 3185|      2|    TIntermTyped* operand = node.getOperand();
 3186|       |
 3187|      2|    switch (op) {
 3188|      0|    case EOpLogicalNot:
  ------------------
  |  Branch (3188:5): [True: 0, False: 2]
  ------------------
 3189|       |        // Convert operand to a boolean type
 3190|      0|        if (operand->getBasicType() != EbtBool) {
  ------------------
  |  Branch (3190:13): [True: 0, False: 0]
  ------------------
 3191|       |            // Add constructor to boolean type. If that fails, we can't do it, so return false.
 3192|      0|            TIntermTyped* converted = addConversion(op, TType(EbtBool), operand);
 3193|      0|            if (converted == nullptr)
  ------------------
  |  Branch (3193:17): [True: 0, False: 0]
  ------------------
 3194|      0|                return false;
 3195|       |
 3196|       |            // Use the result of converting the node to a bool.
 3197|      0|            node.setOperand(operand = converted); // also updates stack variable
 3198|      0|        }
 3199|      0|        break;
 3200|      0|    case EOpBitwiseNot:
  ------------------
  |  Branch (3200:5): [True: 0, False: 2]
  ------------------
 3201|      0|        if (!isTypeInt(operand->getBasicType()))
  ------------------
  |  Branch (3201:13): [True: 0, False: 0]
  ------------------
 3202|      0|            return false;
 3203|      0|        break;
 3204|      2|    case EOpNegative:
  ------------------
  |  Branch (3204:5): [True: 2, False: 0]
  ------------------
 3205|      2|    case EOpPostIncrement:
  ------------------
  |  Branch (3205:5): [True: 0, False: 2]
  ------------------
 3206|      2|    case EOpPostDecrement:
  ------------------
  |  Branch (3206:5): [True: 0, False: 2]
  ------------------
 3207|      2|    case EOpPreIncrement:
  ------------------
  |  Branch (3207:5): [True: 0, False: 2]
  ------------------
 3208|      2|    case EOpPreDecrement:
  ------------------
  |  Branch (3208:5): [True: 0, False: 2]
  ------------------
 3209|      2|        if (!isTypeInt(operand->getBasicType()) &&
  ------------------
  |  Branch (3209:13): [True: 0, False: 2]
  ------------------
 3210|      0|            operand->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (3210:13): [True: 0, False: 0]
  ------------------
 3211|      0|            operand->getBasicType() != EbtFloat16 &&
  ------------------
  |  Branch (3211:13): [True: 0, False: 0]
  ------------------
 3212|      0|            operand->getBasicType() != EbtDouble)
  ------------------
  |  Branch (3212:13): [True: 0, False: 0]
  ------------------
 3213|       |
 3214|      0|            return false;
 3215|      2|        break;
 3216|      2|    default:
  ------------------
  |  Branch (3216:5): [True: 0, False: 2]
  ------------------
 3217|       |        // HLSL uses this path for initial function signature finding for built-ins
 3218|       |        // taking a single argument, which generally don't participate in
 3219|       |        // operator-based type promotion (type conversion will occur later).
 3220|       |        // For now, scalar argument cases are relying on the setType() call below.
 3221|      0|        if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (3221:13): [True: 0, False: 0]
  ------------------
 3222|      0|            break;
 3223|       |
 3224|       |        // GLSL only allows integer arguments for the cases identified above in the
 3225|       |        // case statements.
 3226|      0|        if (operand->getBasicType() != EbtFloat)
  ------------------
  |  Branch (3226:13): [True: 0, False: 0]
  ------------------
 3227|      0|            return false;
 3228|      2|    }
 3229|       |
 3230|      2|    node.setType(operand->getType());
 3231|      2|    node.getWritableType().getQualifier().makeTemporary();
 3232|       |
 3233|      2|    return true;
 3234|      2|}
_ZN7glslang12TIntermUnary15updatePrecisionEv:
 3238|      2|{
 3239|      2|    if (getBasicType() == EbtInt || getBasicType() == EbtUint ||
  ------------------
  |  Branch (3239:9): [True: 2, False: 0]
  |  Branch (3239:37): [True: 0, False: 0]
  ------------------
 3240|      2|        getBasicType() == EbtFloat) {
  ------------------
  |  Branch (3240:9): [True: 0, False: 0]
  ------------------
 3241|      2|        if (operand->getQualifier().precision > getQualifier().precision)
  ------------------
  |  Branch (3241:13): [True: 0, False: 2]
  ------------------
 3242|      0|            getQualifier().precision = operand->getQualifier().precision;
 3243|      2|    }
 3244|      2|}
_ZNK7glslang13TIntermediate20promoteConstantUnionENS_10TBasicTypeEPNS_20TIntermConstantUnionE:
 3896|     36|{
 3897|     36|    const TConstUnionArray& rightUnionArray = node->getConstArray();
 3898|     36|    int size = node->getType().computeNumComponents();
 3899|       |
 3900|     36|    TConstUnionArray leftUnionArray(size);
 3901|       |
 3902|     72|    for (int i=0; i < size; i++) {
  ------------------
  |  Branch (3902:19): [True: 36, False: 36]
  ------------------
 3903|       |
 3904|     36|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
 3905|     36|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
 3906|       |
 3907|     36|#define TO_ALL(Get)   \
 3908|     36|        switch (promoteTo) { \
 3909|     36|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
 3910|     36|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
 3911|     36|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
 3912|     36|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
 3913|     36|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
 3914|     36|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
 3915|     36|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
 3916|     36|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
 3917|     36|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
 3918|     36|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
 3919|     36|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
 3920|     36|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
 3921|     36|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
 3922|     36|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
 3923|     36|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
 3924|     36|        default: return node; \
 3925|     36|        }
 3926|       |
 3927|     36|        switch (node->getType().getBasicType()) {
 3928|      0|        case EbtFloat: TO_ALL(getDConst); break;
  ------------------
  |  | 3908|      0|        switch (promoteTo) { \
  |  | 3909|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3915:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3916|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3916:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3917|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3917:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3918|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3918:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3919|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3919:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3920|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3920:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3921|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3921:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3922|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3922:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3923|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3905|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3923:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3924|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3924:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3925|      0|        }
  ------------------
  |  Branch (3928:9): [True: 0, False: 36]
  ------------------
 3929|     36|        case EbtInt: TO_ALL(getIConst); break;
  ------------------
  |  | 3908|     36|        switch (promoteTo) { \
  |  | 3909|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 36]
  |  |  ------------------
  |  | 3910|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 36]
  |  |  ------------------
  |  | 3911|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 36]
  |  |  ------------------
  |  | 3912|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 36]
  |  |  ------------------
  |  | 3913|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 36]
  |  |  ------------------
  |  | 3914|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 36]
  |  |  ------------------
  |  | 3915|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3915:9): [True: 0, False: 36]
  |  |  ------------------
  |  | 3916|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3916:9): [True: 0, False: 36]
  |  |  ------------------
  |  | 3917|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3917:9): [True: 0, False: 36]
  |  |  ------------------
  |  | 3918|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3918:9): [True: 0, False: 36]
  |  |  ------------------
  |  | 3919|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3919:9): [True: 0, False: 36]
  |  |  ------------------
  |  | 3920|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3920:9): [True: 0, False: 36]
  |  |  ------------------
  |  | 3921|     36|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|     36|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3921:9): [True: 36, False: 0]
  |  |  ------------------
  |  | 3922|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3922:9): [True: 0, False: 36]
  |  |  ------------------
  |  | 3923|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3905|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3923:9): [True: 0, False: 36]
  |  |  ------------------
  |  | 3924|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3924:9): [True: 0, False: 36]
  |  |  ------------------
  |  | 3925|     36|        }
  ------------------
  |  Branch (3929:9): [True: 36, False: 0]
  ------------------
 3930|      0|        case EbtUint: TO_ALL(getUConst); break;
  ------------------
  |  | 3908|      0|        switch (promoteTo) { \
  |  | 3909|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3915:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3916|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3916:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3917|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3917:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3918|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3918:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3919|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3919:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3920|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3920:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3921|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3921:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3922|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3922:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3923|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3905|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3923:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3924|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3924:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3925|      0|        }
  ------------------
  |  Branch (3930:9): [True: 0, False: 36]
  ------------------
 3931|      0|        case EbtBool: TO_ALL(getBConst); break;
  ------------------
  |  | 3908|      0|        switch (promoteTo) { \
  |  | 3909|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3915:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3916|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3916:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3917|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3917:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3918|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3918:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3919|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3919:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3920|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3920:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3921|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3921:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3922|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3922:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3923|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3905|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3923:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3924|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3924:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3925|      0|        }
  ------------------
  |  Branch (3931:9): [True: 0, False: 36]
  ------------------
 3932|      0|        case EbtFloat16: TO_ALL(getDConst); break;
  ------------------
  |  | 3908|      0|        switch (promoteTo) { \
  |  | 3909|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3915:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3916|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3916:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3917|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3917:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3918|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3918:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3919|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3919:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3920|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3920:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3921|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3921:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3922|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3922:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3923|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3905|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3923:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3924|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3924:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3925|      0|        }
  ------------------
  |  Branch (3932:9): [True: 0, False: 36]
  ------------------
 3933|      0|        case EbtBFloat16: TO_ALL(getDConst); break;
  ------------------
  |  | 3908|      0|        switch (promoteTo) { \
  |  | 3909|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3915:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3916|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3916:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3917|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3917:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3918|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3918:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3919|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3919:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3920|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3920:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3921|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3921:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3922|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3922:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3923|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3905|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3923:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3924|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3924:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3925|      0|        }
  ------------------
  |  Branch (3933:9): [True: 0, False: 36]
  ------------------
 3934|      0|        case EbtFloatE5M2: TO_ALL(getDConst); break;
  ------------------
  |  | 3908|      0|        switch (promoteTo) { \
  |  | 3909|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3915:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3916|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3916:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3917|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3917:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3918|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3918:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3919|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3919:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3920|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3920:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3921|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3921:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3922|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3922:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3923|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3905|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3923:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3924|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3924:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3925|      0|        }
  ------------------
  |  Branch (3934:9): [True: 0, False: 36]
  ------------------
 3935|      0|        case EbtFloatE4M3: TO_ALL(getDConst); break;
  ------------------
  |  | 3908|      0|        switch (promoteTo) { \
  |  | 3909|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3915:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3916|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3916:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3917|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3917:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3918|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3918:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3919|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3919:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3920|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3920:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3921|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3921:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3922|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3922:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3923|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3905|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3923:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3924|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3924:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3925|      0|        }
  ------------------
  |  Branch (3935:9): [True: 0, False: 36]
  ------------------
 3936|      0|        case EbtDouble: TO_ALL(getDConst); break;
  ------------------
  |  | 3908|      0|        switch (promoteTo) { \
  |  | 3909|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3915:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3916|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3916:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3917|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3917:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3918|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3918:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3919|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3919:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3920|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3920:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3921|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3921:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3922|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3922:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3923|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3905|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3923:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3924|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3924:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3925|      0|        }
  ------------------
  |  Branch (3936:9): [True: 0, False: 36]
  ------------------
 3937|      0|        case EbtInt8: TO_ALL(getI8Const); break;
  ------------------
  |  | 3908|      0|        switch (promoteTo) { \
  |  | 3909|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3915:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3916|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3916:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3917|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3917:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3918|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3918:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3919|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3919:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3920|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3920:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3921|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3921:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3922|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3922:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3923|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3905|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3923:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3924|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3924:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3925|      0|        }
  ------------------
  |  Branch (3937:9): [True: 0, False: 36]
  ------------------
 3938|      0|        case EbtInt16: TO_ALL(getI16Const); break;
  ------------------
  |  | 3908|      0|        switch (promoteTo) { \
  |  | 3909|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3915:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3916|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3916:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3917|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3917:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3918|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3918:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3919|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3919:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3920|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3920:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3921|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3921:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3922|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3922:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3923|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3905|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3923:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3924|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3924:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3925|      0|        }
  ------------------
  |  Branch (3938:9): [True: 0, False: 36]
  ------------------
 3939|      0|        case EbtInt64: TO_ALL(getI64Const); break;
  ------------------
  |  | 3908|      0|        switch (promoteTo) { \
  |  | 3909|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3915:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3916|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3916:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3917|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3917:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3918|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3918:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3919|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3919:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3920|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3920:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3921|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3921:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3922|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3922:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3923|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3905|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3923:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3924|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3924:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3925|      0|        }
  ------------------
  |  Branch (3939:9): [True: 0, False: 36]
  ------------------
 3940|      0|        case EbtUint8: TO_ALL(getU8Const); break;
  ------------------
  |  | 3908|      0|        switch (promoteTo) { \
  |  | 3909|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3915:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3916|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3916:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3917|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3917:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3918|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3918:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3919|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3919:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3920|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3920:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3921|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3921:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3922|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3922:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3923|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3905|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3923:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3924|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3924:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3925|      0|        }
  ------------------
  |  Branch (3940:9): [True: 0, False: 36]
  ------------------
 3941|      0|        case EbtUint16: TO_ALL(getU16Const); break;
  ------------------
  |  | 3908|      0|        switch (promoteTo) { \
  |  | 3909|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3915:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3916|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3916:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3917|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3917:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3918|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3918:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3919|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3919:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3920|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3920:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3921|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3921:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3922|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3922:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3923|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3905|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3923:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3924|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3924:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3925|      0|        }
  ------------------
  |  Branch (3941:9): [True: 0, False: 36]
  ------------------
 3942|      0|        case EbtUint64: TO_ALL(getU64Const); break;
  ------------------
  |  | 3908|      0|        switch (promoteTo) { \
  |  | 3909|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3915:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3916|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3916:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3917|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3917:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3918|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3918:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3919|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3919:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3920|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3920:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3921|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3921:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3922|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3904|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3922:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3923|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3905|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3923:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3924|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3924:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3925|      0|        }
  ------------------
  |  Branch (3942:9): [True: 0, False: 36]
  ------------------
 3943|      0|        default: return node;
  ------------------
  |  Branch (3943:9): [True: 0, False: 36]
  ------------------
 3944|     36|        }
 3945|     36|    }
 3946|       |
 3947|     36|    const TType& t = node->getType();
 3948|       |
 3949|     36|    return addConstantUnion(leftUnionArray, TType(promoteTo, t.getQualifier().storage, t.getVectorSize(), t.getMatrixCols(), t.getMatrixRows()),
 3950|     36|                            node->getLoc());
 3951|     36|}

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

_ZN7glslang13TParseContextC2ERNS_12TSymbolTableERNS_13TIntermediateEbi8EProfileRKNS_10SpvVersionE11EShLanguageR9TInfoSinkb11EShMessagesPKNSt3__112basic_stringIcNSD_11char_traitsIcEENS_14pool_allocatorIcEEEE:
   59|    346|            TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language,
   60|    346|                              infoSink, forwardCompatible, messages, entryPoint),
   61|    346|            inMain(false),
   62|    346|            blockName(nullptr),
   63|    346|            limits(resources.limits),
   64|    346|            atomicUintOffsets(nullptr), anyIndexLimits(false),
   65|    346|            khrDerivativeLayoutQualifierSpecified(false)
   66|    346|{
   67|       |    // decide whether precision qualifiers should be ignored or respected
   68|    346|    if (isEsProfile() || spvVersion.vulkan > 0) {
  ------------------
  |  Branch (68:9): [True: 282, False: 64]
  |  Branch (68:26): [True: 30, False: 34]
  ------------------
   69|    312|        precisionManager.respectPrecisionQualifiers();
   70|    312|        if (! parsingBuiltins && language == EShLangFragment && !isEsProfile() && spvVersion.vulkan > 0)
  ------------------
  |  Branch (70:13): [True: 45, False: 267]
  |  Branch (70:34): [True: 0, False: 45]
  |  Branch (70:65): [True: 0, False: 0]
  |  Branch (70:83): [True: 0, False: 0]
  ------------------
   71|      0|            precisionManager.warnAboutDefaults();
   72|    312|    }
   73|       |
   74|    346|    setPrecisionDefaults();
   75|       |
   76|    346|    globalUniformDefaults.clear();
   77|    346|    globalUniformDefaults.layoutMatrix = ElmColumnMajor;
   78|    346|    globalUniformDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd140 : ElpShared;
  ------------------
  |  Branch (78:43): [True: 0, False: 346]
  ------------------
   79|       |
   80|    346|    globalBufferDefaults.clear();
   81|    346|    globalBufferDefaults.layoutMatrix = ElmColumnMajor;
   82|    346|    globalBufferDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd430 : ElpShared;
  ------------------
  |  Branch (82:42): [True: 0, False: 346]
  ------------------
   83|       |
   84|    346|    globalInputDefaults.clear();
   85|    346|    globalOutputDefaults.clear();
   86|       |
   87|    346|    globalSharedDefaults.clear();
   88|    346|    globalSharedDefaults.layoutMatrix = ElmColumnMajor;
   89|    346|    globalSharedDefaults.layoutPacking = ElpStd430;
   90|       |
   91|       |    // "Shaders in the transform
   92|       |    // feedback capturing mode have an initial global default of
   93|       |    //     layout(xfb_buffer = 0) out;"
   94|    346|    if (language == EShLangVertex ||
  ------------------
  |  Branch (94:9): [True: 198, False: 148]
  ------------------
   95|    148|        language == EShLangTessControl ||
  ------------------
  |  Branch (95:9): [True: 4, False: 144]
  ------------------
   96|    144|        language == EShLangTessEvaluation ||
  ------------------
  |  Branch (96:9): [True: 4, False: 140]
  ------------------
   97|    140|        language == EShLangGeometry)
  ------------------
  |  Branch (97:9): [True: 4, False: 136]
  ------------------
   98|    210|        globalOutputDefaults.layoutXfbBuffer = 0;
   99|       |
  100|    346|    if (language == EShLangGeometry)
  ------------------
  |  Branch (100:9): [True: 4, False: 342]
  ------------------
  101|      4|        globalOutputDefaults.layoutStream = 0;
  102|       |
  103|    346|    if (entryPoint != nullptr && entryPoint->size() > 0 && *entryPoint != "main")
  ------------------
  |  Branch (103:9): [True: 346, False: 0]
  |  Branch (103:34): [True: 0, False: 346]
  |  Branch (103:60): [True: 0, False: 0]
  ------------------
  104|      0|        infoSink.info.message(EPrefixError, "Source entry point must be \"main\"");
  105|    346|}
_ZN7glslang13TParseContextD2Ev:
  108|    346|{
  109|    346|    delete [] atomicUintOffsets;
  110|    346|}
_ZN7glslang13TParseContext20setPrecisionDefaultsEv:
  115|    346|{
  116|       |    // Set all precision defaults to EpqNone, which is correct for all types
  117|       |    // when not obeying precision qualifiers, and correct for types that don't
  118|       |    // have defaults (thus getting an error on use) when obeying precision
  119|       |    // qualifiers.
  120|       |
  121|  12.1k|    for (int type = 0; type < EbtNumTypes; ++type)
  ------------------
  |  Branch (121:24): [True: 11.7k, False: 346]
  ------------------
  122|  11.7k|        defaultPrecision[type] = EpqNone;
  123|       |
  124|  3.38M|    for (int type = 0; type < maxSamplerIndex; ++type)
  ------------------
  |  Branch (124:24): [True: 3.38M, False: 346]
  ------------------
  125|  3.38M|        defaultSamplerPrecision[type] = EpqNone;
  126|       |
  127|       |    // replace with real precision defaults for those that have them
  128|    346|    if (obeyPrecisionQualifiers()) {
  ------------------
  |  Branch (128:9): [True: 312, False: 34]
  ------------------
  129|    312|        if (isEsProfile()) {
  ------------------
  |  Branch (129:13): [True: 282, False: 30]
  ------------------
  130|       |            // Most don't have defaults, a few default to lowp.
  131|    282|            TSampler sampler;
  132|    282|            sampler.set(EbtFloat, Esd2D);
  133|    282|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  134|    282|            sampler.set(EbtFloat, EsdCube);
  135|    282|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  136|    282|            sampler.set(EbtFloat, Esd2D);
  137|    282|            sampler.setExternal(true);
  138|    282|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  139|    282|        }
  140|       |
  141|       |        // If we are parsing built-in computational variables/functions, it is meaningful to record
  142|       |        // whether the built-in has no precision qualifier, as that ambiguity
  143|       |        // is used to resolve the precision from the supplied arguments/operands instead.
  144|       |        // So, we don't actually want to replace EpqNone with a default precision for built-ins.
  145|    312|        if (! parsingBuiltins) {
  ------------------
  |  Branch (145:13): [True: 45, False: 267]
  ------------------
  146|     45|            if (isEsProfile() && language == EShLangFragment) {
  ------------------
  |  Branch (146:17): [True: 45, False: 0]
  |  Branch (146:34): [True: 0, False: 45]
  ------------------
  147|      0|                defaultPrecision[EbtInt] = EpqMedium;
  148|      0|                defaultPrecision[EbtUint] = EpqMedium;
  149|     45|            } else {
  150|     45|                defaultPrecision[EbtInt] = EpqHigh;
  151|     45|                defaultPrecision[EbtUint] = EpqHigh;
  152|     45|                defaultPrecision[EbtFloat] = EpqHigh;
  153|     45|            }
  154|       |
  155|     45|            if (!isEsProfile()) {
  ------------------
  |  Branch (155:17): [True: 0, False: 45]
  ------------------
  156|       |                // Non-ES profile
  157|       |                // All sampler precisions default to highp.
  158|      0|                for (int type = 0; type < maxSamplerIndex; ++type)
  ------------------
  |  Branch (158:36): [True: 0, False: 0]
  ------------------
  159|      0|                    defaultSamplerPrecision[type] = EpqHigh;
  160|      0|            }
  161|     45|        }
  162|       |
  163|    312|        defaultPrecision[EbtSampler] = EpqLow;
  164|    312|        defaultPrecision[EbtAtomicUint] = EpqHigh;
  165|    312|    }
  166|    346|}
_ZN7glslang13TParseContext9setLimitsERK16TBuiltInResource:
  169|     47|{
  170|     47|    resources = r;
  171|     47|    intermediate.setLimits(r);
  172|       |
  173|     47|    anyIndexLimits = ! limits.generalAttributeMatrixVectorIndexing ||
  ------------------
  |  Branch (173:22): [True: 0, False: 47]
  ------------------
  174|     47|                     ! limits.generalConstantMatrixVectorIndexing ||
  ------------------
  |  Branch (174:22): [True: 0, False: 47]
  ------------------
  175|     47|                     ! limits.generalSamplerIndexing ||
  ------------------
  |  Branch (175:22): [True: 0, False: 47]
  ------------------
  176|     47|                     ! limits.generalUniformIndexing ||
  ------------------
  |  Branch (176:22): [True: 0, False: 47]
  ------------------
  177|     47|                     ! limits.generalVariableIndexing ||
  ------------------
  |  Branch (177:22): [True: 0, False: 47]
  ------------------
  178|     47|                     ! limits.generalVaryingIndexing;
  ------------------
  |  Branch (178:22): [True: 0, False: 47]
  ------------------
  179|       |
  180|       |
  181|       |    // "Each binding point tracks its own current default offset for
  182|       |    // inheritance of subsequent variables using the same binding. The initial state of compilation is that all
  183|       |    // binding points have an offset of 0."
  184|     47|    atomicUintOffsets = new int[resources.maxAtomicCounterBindings];
  185|     94|    for (int b = 0; b < resources.maxAtomicCounterBindings; ++b)
  ------------------
  |  Branch (185:21): [True: 47, False: 47]
  ------------------
  186|     47|        atomicUintOffsets[b] = 0;
  187|     47|}
_ZN7glslang13TParseContext18parseShaderStringsERNS_10TPpContextERNS_13TInputScannerEb:
  197|    346|{
  198|    346|    currentScanner = &input;
  199|    346|    ppContext.setInput(input, versionWillBeError);
  200|    346|    yyparse(this);
  201|       |
  202|    346|    finish();
  203|       |
  204|    346|    return numErrors == 0;
  205|    346|}
_ZN7glslang13TParseContext11parserErrorEPKc:
  212|     58|{
  213|     58|    if (! getScanner()->atEndOfInput() || numErrors == 0)
  ------------------
  |  Branch (213:9): [True: 12, False: 46]
  |  Branch (213:43): [True: 0, False: 46]
  ------------------
  214|     12|        error(getCurrentLoc(), "", "", s, "");
  215|     46|    else
  216|     46|        error(getCurrentLoc(), "compilation terminated", "", "");
  217|     58|}
_ZNK7glslang13TParseContext15isIoResizeArrayERKNS_5TTypeE:
  747|     36|{
  748|     36|    return type.isArray() &&
  ------------------
  |  Branch (748:12): [True: 24, False: 12]
  ------------------
  749|     24|           ((language == EShLangGeometry    && type.getQualifier().storage == EvqVaryingIn) ||
  ------------------
  |  Branch (749:14): [True: 4, False: 20]
  |  Branch (749:48): [True: 4, False: 0]
  ------------------
  750|     20|            (language == EShLangTessControl && type.getQualifier().storage == EvqVaryingOut &&
  ------------------
  |  Branch (750:14): [True: 4, False: 16]
  |  Branch (750:48): [True: 4, False: 0]
  ------------------
  751|      4|                ! type.getQualifier().patch) ||
  ------------------
  |  Branch (751:17): [True: 4, False: 0]
  ------------------
  752|     16|            (language == EShLangFragment && type.getQualifier().storage == EvqVaryingIn &&
  ------------------
  |  Branch (752:14): [True: 0, False: 16]
  |  Branch (752:45): [True: 0, False: 0]
  ------------------
  753|      0|                (type.getQualifier().pervertexNV || type.getQualifier().pervertexEXT)) ||
  ------------------
  |  Branch (753:18): [True: 0, False: 0]
  |  Branch (753:53): [True: 0, False: 0]
  ------------------
  754|     16|            (language == EShLangMesh && type.getQualifier().storage == EvqVaryingOut &&
  ------------------
  |  Branch (754:14): [True: 16, False: 0]
  |  Branch (754:41): [True: 16, False: 0]
  ------------------
  755|     16|                !type.getQualifier().perTaskNV));
  ------------------
  |  Branch (755:17): [True: 16, False: 0]
  ------------------
  756|     36|}
_ZN7glslang13TParseContext14fixIoArraySizeERKNS_10TSourceLocERNS_5TTypeE:
  760|     12|{
  761|     12|    if (! type.isArray() || type.getQualifier().patch || symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (761:9): [True: 12, False: 0]
  |  Branch (761:29): [True: 0, False: 0]
  |  Branch (761:58): [True: 0, False: 0]
  ------------------
  762|     12|        return;
  763|       |
  764|     12|    assert(! isIoResizeArray(type));
  765|       |
  766|      0|    if (type.getQualifier().storage != EvqVaryingIn || type.getQualifier().patch)
  ------------------
  |  Branch (766:9): [True: 0, False: 0]
  |  Branch (766:56): [True: 0, False: 0]
  ------------------
  767|      0|        return;
  768|       |
  769|      0|    if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (769:9): [True: 0, False: 0]
  |  Branch (769:43): [True: 0, False: 0]
  ------------------
  770|      0|        if (type.getOuterArraySize() != resources.maxPatchVertices) {
  ------------------
  |  Branch (770:13): [True: 0, False: 0]
  ------------------
  771|      0|            if (type.isSizedArray())
  ------------------
  |  Branch (771:17): [True: 0, False: 0]
  ------------------
  772|      0|                error(loc, "tessellation input array size must be gl_MaxPatchVertices or implicitly sized", "[]", "");
  773|      0|            type.changeOuterArraySize(resources.maxPatchVertices);
  774|      0|        }
  775|      0|    }
  776|      0|}
_ZN7glslang13TParseContext12ioArrayCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  782|  3.08k|{
  783|  3.08k|    if (! type.isArray() && ! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (783:9): [True: 3.08k, False: 0]
  |  Branch (783:29): [True: 0, False: 3.08k]
  ------------------
  784|      0|        if (type.getQualifier().isArrayedIo(language) && !type.getQualifier().layoutPassthrough)
  ------------------
  |  Branch (784:13): [True: 0, False: 0]
  |  Branch (784:58): [True: 0, False: 0]
  ------------------
  785|      0|            error(loc, "type must be an array:", type.getStorageQualifierString(), identifier.c_str());
  786|      0|    }
  787|  3.08k|}
_ZN7glslang13TParseContext24checkIoArraysConsistencyERKNS_10TSourceLocEb:
  816|     24|{
  817|     24|    int requiredSize = 0;
  818|     24|    TString featureString;
  819|     24|    size_t listSize = ioArraySymbolResizeList.size();
  820|     24|    size_t i = 0;
  821|       |
  822|       |    // If tailOnly = true, only check the last array symbol in the list.
  823|     24|    if (tailOnly) {
  ------------------
  |  Branch (823:9): [True: 24, False: 0]
  ------------------
  824|     24|        i = listSize - 1;
  825|     24|    }
  826|     24|    for (bool firstIteration = true; i < listSize; ++i) {
  ------------------
  |  Branch (826:38): [True: 24, False: 0]
  ------------------
  827|     24|        TType &type = ioArraySymbolResizeList[i]->getWritableType();
  828|       |
  829|       |        // As I/O array sizes don't change, fetch requiredSize only once,
  830|       |        // except for mesh shaders which could have different I/O array sizes based on type qualifiers.
  831|     24|        if (firstIteration || (language == EShLangMesh)) {
  ------------------
  |  Branch (831:13): [True: 24, False: 0]
  |  Branch (831:31): [True: 0, False: 0]
  ------------------
  832|     24|            requiredSize = getIoArrayImplicitSize(type.getQualifier(), &featureString);
  833|     24|            if (requiredSize == 0)
  ------------------
  |  Branch (833:17): [True: 24, False: 0]
  ------------------
  834|     24|                break;
  835|      0|            firstIteration = false;
  836|      0|        }
  837|       |
  838|      0|        checkIoArrayConsistency(loc, requiredSize, featureString.c_str(), type,
  839|      0|                                ioArraySymbolResizeList[i]->getName());
  840|      0|    }
  841|     24|}
_ZNK7glslang13TParseContext22getIoArrayImplicitSizeERKNS_10TQualifierEPNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  844|     24|{
  845|     24|    int expectedSize = 0;
  846|     24|    TString str = "unknown";
  847|     24|    unsigned int maxVertices = intermediate.getVertices() != TQualifier::layoutNotSet ? intermediate.getVertices() : 0;
  ------------------
  |  Branch (847:32): [True: 0, False: 24]
  ------------------
  848|       |
  849|     24|    if (language == EShLangGeometry) {
  ------------------
  |  Branch (849:9): [True: 4, False: 20]
  ------------------
  850|      4|        expectedSize = TQualifier::mapGeometryToSize(intermediate.getInputPrimitive());
  851|      4|        str = TQualifier::getGeometryString(intermediate.getInputPrimitive());
  852|      4|    }
  853|     20|    else if (language == EShLangTessControl) {
  ------------------
  |  Branch (853:14): [True: 4, False: 16]
  ------------------
  854|      4|        expectedSize = maxVertices;
  855|      4|        str = "vertices";
  856|     16|    } else if (language == EShLangFragment) {
  ------------------
  |  Branch (856:16): [True: 0, False: 16]
  ------------------
  857|       |        // Number of vertices for Fragment shader is always three.
  858|      0|        expectedSize = 3;
  859|      0|        str = "vertices";
  860|     16|    } else if (language == EShLangMesh) {
  ------------------
  |  Branch (860:16): [True: 16, False: 0]
  ------------------
  861|     16|        unsigned int maxPrimitives =
  862|     16|            intermediate.getPrimitives() != TQualifier::layoutNotSet ? intermediate.getPrimitives() : 0;
  ------------------
  |  Branch (862:13): [True: 0, False: 16]
  ------------------
  863|     16|        if (qualifier.builtIn == EbvPrimitiveIndicesNV) {
  ------------------
  |  Branch (863:13): [True: 0, False: 16]
  ------------------
  864|      0|            expectedSize = maxPrimitives * TQualifier::mapGeometryToSize(intermediate.getOutputPrimitive());
  865|      0|            str = "max_primitives*";
  866|      0|            str += TQualifier::getGeometryString(intermediate.getOutputPrimitive());
  867|      0|        }
  868|     16|        else if (qualifier.builtIn == EbvPrimitiveTriangleIndicesEXT || qualifier.builtIn == EbvPrimitiveLineIndicesEXT ||
  ------------------
  |  Branch (868:18): [True: 0, False: 16]
  |  Branch (868:73): [True: 0, False: 16]
  ------------------
  869|     16|                 qualifier.builtIn == EbvPrimitivePointIndicesEXT) {
  ------------------
  |  Branch (869:18): [True: 0, False: 16]
  ------------------
  870|      0|            expectedSize = maxPrimitives;
  871|      0|            str = "max_primitives";
  872|      0|        }
  873|     16|        else if (qualifier.isPerPrimitive()) {
  ------------------
  |  Branch (873:18): [True: 8, False: 8]
  ------------------
  874|      8|            expectedSize = maxPrimitives;
  875|      8|            str = "max_primitives";
  876|      8|        }
  877|      8|        else {
  878|      8|            expectedSize = maxVertices;
  879|      8|            str = "max_vertices";
  880|      8|        }
  881|     16|    }
  882|     24|    if (featureString)
  ------------------
  |  Branch (882:9): [True: 24, False: 0]
  ------------------
  883|     24|        *featureString = str;
  884|     24|    return expectedSize;
  885|     24|}
_ZN7glslang13TParseContext15handleUnaryMathERKNS_10TSourceLocEPKcNS_9TOperatorEPNS_12TIntermTypedE:
  954|      2|{
  955|      2|    rValueErrorCheck(loc, str, childNode);
  956|       |
  957|      2|    bool allowed = true;
  958|      2|    if ((childNode->getType().contains16BitFloat() && !float16Arithmetic()) ||
  ------------------
  |  Branch (958:10): [True: 0, False: 2]
  |  Branch (958:55): [True: 0, False: 0]
  ------------------
  959|      2|        (childNode->getType().contains16BitInt() && !int16Arithmetic()) ||
  ------------------
  |  Branch (959:10): [True: 0, False: 2]
  |  Branch (959:53): [True: 0, False: 0]
  ------------------
  960|      2|        (childNode->getType().contains8BitInt() && !int8Arithmetic()) ||
  ------------------
  |  Branch (960:10): [True: 0, False: 2]
  |  Branch (960:52): [True: 0, False: 0]
  ------------------
  961|      2|        (childNode->getType().containsBFloat16()) ||
  ------------------
  |  Branch (961:9): [True: 0, False: 2]
  ------------------
  962|      2|        (childNode->getType().contains8BitFloat())) {
  ------------------
  |  Branch (962:9): [True: 0, False: 2]
  ------------------
  963|      0|        allowed = false;
  964|      0|    }
  965|       |
  966|      2|    TIntermTyped* result = nullptr;
  967|      2|    if (allowed)
  ------------------
  |  Branch (967:9): [True: 2, False: 0]
  ------------------
  968|      2|        result = intermediate.addUnaryMath(op, childNode, loc);
  969|       |
  970|      2|    if (result)
  ------------------
  |  Branch (970:9): [True: 2, False: 0]
  ------------------
  971|      2|        return result;
  972|      0|    else {
  973|      0|        bool enhanced = intermediate.getEnhancedMsgs();
  974|      0|        unaryOpError(loc, str, childNode->getCompleteString(enhanced));
  975|      0|    }
  976|       |
  977|      0|    return childNode;
  978|      2|}
_ZN7glslang13TParseContext24handleFunctionDeclaratorERKNS_10TSourceLocERNS_9TFunctionEb:
 1198|  72.0k|{
 1199|       |    // ES can't declare prototypes inside functions
 1200|  72.0k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (1200:9): [True: 0, False: 72.0k]
  ------------------
 1201|      0|        requireProfile(loc, ~EEsProfile, "local function declaration");
 1202|       |
 1203|       |    //
 1204|       |    // Multiple declarations of the same function name are allowed.
 1205|       |    //
 1206|       |    // If this is a definition, the definition production code will check for redefinitions
 1207|       |    // (we don't know at this point if it's a definition or not).
 1208|       |    //
 1209|       |    // Redeclarations (full signature match) are allowed.  But, return types and parameter qualifiers must also match.
 1210|       |    //  - except ES 100, which only allows a single prototype
 1211|       |    //
 1212|       |    // ES 100 does not allow redefining, but does allow overloading of built-in functions.
 1213|       |    // ES 300 does not allow redefining or overloading of built-in functions.
 1214|       |    //
 1215|  72.0k|    bool builtIn;
 1216|  72.0k|    TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn);
 1217|  72.0k|    if (symbol && symbol->getAsFunction() && builtIn)
  ------------------
  |  Branch (1217:9): [True: 494, False: 71.5k]
  |  Branch (1217:19): [True: 494, False: 0]
  |  Branch (1217:46): [True: 494, False: 0]
  ------------------
 1218|    494|        requireProfile(loc, ~EEsProfile, "redefinition of built-in function");
 1219|       |    // Check the validity of using spirv_literal qualifier
 1220|   257k|    for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (1220:21): [True: 185k, False: 72.0k]
  ------------------
 1221|   185k|        if (function[i].type->getQualifier().isSpirvLiteral() && function.getBuiltInOp() != EOpSpirvInst)
  ------------------
  |  Branch (1221:13): [True: 0, False: 185k]
  |  Branch (1221:66): [True: 0, False: 0]
  ------------------
 1222|      0|            error(loc, "'spirv_literal' can only be used on functions defined with 'spirv_instruction' for argument",
 1223|      0|                  function.getName().c_str(), "%d", i + 1);
 1224|   185k|    }
 1225|       |
 1226|       |    // For function declaration with SPIR-V instruction qualifier, always ignore the built-in function and
 1227|       |    // respect this redeclared one.
 1228|  72.0k|    if (symbol && builtIn && function.getBuiltInOp() == EOpSpirvInst)
  ------------------
  |  Branch (1228:9): [True: 494, False: 71.5k]
  |  Branch (1228:19): [True: 494, False: 0]
  |  Branch (1228:30): [True: 0, False: 494]
  ------------------
 1229|      0|        symbol = nullptr;
 1230|  72.0k|    const TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr;
  ------------------
  |  Branch (1230:32): [True: 494, False: 71.5k]
  ------------------
 1231|  72.0k|    if (prevDec) {
  ------------------
  |  Branch (1231:9): [True: 494, False: 71.5k]
  ------------------
 1232|    494|        if (prevDec->isPrototyped() && prototype)
  ------------------
  |  Branch (1232:13): [True: 0, False: 494]
  |  Branch (1232:40): [True: 0, False: 0]
  ------------------
 1233|      0|            profileRequires(loc, EEsProfile, 300, nullptr, "multiple prototypes for same function");
 1234|    494|        if (prevDec->getSpirvInstruction() != function.getSpirvInstruction()) {
  ------------------
  |  Branch (1234:13): [True: 0, False: 494]
  ------------------
 1235|      0|            error(loc, "overloaded functions must have the same qualifiers", function.getName().c_str(),
 1236|      0|                  "spirv_instruction");
 1237|      0|        }
 1238|    494|        bool parameterTypesDiffer = false;
 1239|  1.74k|        for (int i = 0; i < prevDec->getParamCount(); ++i) {
  ------------------
  |  Branch (1239:25): [True: 1.24k, False: 494]
  ------------------
 1240|  1.24k|            if ((*prevDec)[i].type->getQualifier().storage != function[i].type->getQualifier().storage)
  ------------------
  |  Branch (1240:17): [True: 0, False: 1.24k]
  ------------------
 1241|      0|                error(loc, "overloaded functions must have the same parameter storage qualifiers for argument", function[i].type->getStorageQualifierString(), "%d", i+1);
 1242|       |
 1243|  1.24k|            if ((*prevDec)[i].type->getQualifier().precision != function[i].type->getQualifier().precision)
  ------------------
  |  Branch (1243:17): [True: 0, False: 1.24k]
  ------------------
 1244|      0|                error(loc, "overloaded functions must have the same parameter precision qualifiers for argument", function[i].type->getPrecisionQualifierString(), "%d", i+1);
 1245|       |
 1246|  1.24k|            if (*(*prevDec)[i].type != *function[i].type)
  ------------------
  |  Branch (1246:17): [True: 0, False: 1.24k]
  ------------------
 1247|      0|                parameterTypesDiffer = true;
 1248|  1.24k|        }
 1249|    494|        if (!parameterTypesDiffer && prevDec->getType() != function.getType())
  ------------------
  |  Branch (1249:13): [True: 494, False: 0]
  |  Branch (1249:38): [True: 0, False: 494]
  ------------------
 1250|      0|            error(loc, "overloaded functions must have the same return type", function.getName().c_str(), "");
 1251|    494|    }
 1252|       |
 1253|  72.0k|    arrayObjectCheck(loc, function.getType(), "array in function return type");
 1254|       |
 1255|  72.0k|    if (prototype) {
  ------------------
  |  Branch (1255:9): [True: 72.0k, False: 0]
  ------------------
 1256|       |        // All built-in functions are defined, even though they don't have a body.
 1257|       |        // Count their prototype as a definition instead.
 1258|  72.0k|        if (symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (1258:13): [True: 72.0k, False: 0]
  ------------------
 1259|  72.0k|            function.setDefined();
 1260|      0|        else {
 1261|      0|            if (prevDec && ! builtIn)
  ------------------
  |  Branch (1261:17): [True: 0, False: 0]
  |  Branch (1261:28): [True: 0, False: 0]
  ------------------
 1262|      0|                symbol->getAsFunction()->setPrototyped();  // need a writable one, but like having prevDec as a const
 1263|      0|            function.setPrototyped();
 1264|      0|        }
 1265|  72.0k|    }
 1266|       |
 1267|       |    // This insert won't actually insert it if it's a duplicate signature, but it will still check for
 1268|       |    // other forms of name collisions.
 1269|  72.0k|    if (! symbolTable.insert(function))
  ------------------
  |  Branch (1269:9): [True: 0, False: 72.0k]
  ------------------
 1270|      0|        error(loc, "function name is redeclaration of existing name", function.getName().c_str(), "");
 1271|       |
 1272|       |    //
 1273|       |    // If this is a redeclaration, it could also be a definition,
 1274|       |    // in which case, we need to use the parameter names from this one, and not the one that's
 1275|       |    // being redeclared.  So, pass back this declaration, not the one in the symbol table.
 1276|       |    //
 1277|  72.0k|    return &function;
 1278|  72.0k|}
_ZN7glslang13TParseContext18handleFunctionCallERKNS_10TSourceLocEPNS_9TFunctionEP11TIntermNode:
 1383|     20|{
 1384|     20|    TIntermTyped* result = nullptr;
 1385|       |
 1386|     20|    if (spvVersion.vulkan != 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (1386:9): [True: 6, False: 14]
  |  Branch (1386:35): [True: 0, False: 6]
  ------------------
 1387|       |        // allow calls that are invalid in Vulkan Semantics to be invisibily
 1388|       |        // remapped to equivalent valid functions
 1389|      0|        result = vkRelaxedRemapFunctionCall(loc, function, arguments);
 1390|      0|        if (result)
  ------------------
  |  Branch (1390:13): [True: 0, False: 0]
  ------------------
 1391|      0|            return result;
 1392|      0|    }
 1393|       |
 1394|     20|    if (function->getBuiltInOp() == EOpArrayLength)
  ------------------
  |  Branch (1394:9): [True: 0, False: 20]
  ------------------
 1395|      0|        result = handleLengthMethod(loc, function, arguments);
 1396|     20|    else if (function->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1396:14): [True: 20, False: 0]
  ------------------
 1397|       |        //
 1398|       |        // Then this should be a constructor.
 1399|       |        // Don't go through the symbol table for constructors.
 1400|       |        // Their parameters will be verified algorithmically.
 1401|       |        //
 1402|     20|        TType type(EbtVoid);  // use this to get the type back
 1403|     20|        if (! constructorError(loc, arguments, *function, function->getBuiltInOp(), type)) {
  ------------------
  |  Branch (1403:13): [True: 20, False: 0]
  ------------------
 1404|       |            //
 1405|       |            // It's a constructor, of type 'type'.
 1406|       |            //
 1407|     20|            result = addConstructor(loc, arguments, type);
 1408|     20|            if (result == nullptr)
  ------------------
  |  Branch (1408:17): [True: 0, False: 20]
  ------------------
 1409|      0|                error(loc, "cannot construct with these arguments", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str(), "");
 1410|     20|        }
 1411|     20|    } else {
 1412|       |        //
 1413|       |        // Find it in the symbol table.
 1414|       |        //
 1415|      0|        const TFunction* fnCandidate;
 1416|      0|        bool builtIn {false};
 1417|      0|        fnCandidate = findFunction(loc, *function, builtIn);
 1418|      0|        if (fnCandidate) {
  ------------------
  |  Branch (1418:13): [True: 0, False: 0]
  ------------------
 1419|       |            // This is a declared function that might map to
 1420|       |            //  - a built-in operator,
 1421|       |            //  - a built-in function not mapped to an operator, or
 1422|       |            //  - a user function.
 1423|       |
 1424|       |            // Error check for a function requiring specific extensions present.
 1425|      0|            if (builtIn &&
  ------------------
  |  Branch (1425:17): [True: 0, False: 0]
  ------------------
 1426|      0|                (fnCandidate->getBuiltInOp() == EOpSubgroupQuadAll || fnCandidate->getBuiltInOp() == EOpSubgroupQuadAny))
  ------------------
  |  Branch (1426:18): [True: 0, False: 0]
  |  Branch (1426:71): [True: 0, False: 0]
  ------------------
 1427|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_quad_control, fnCandidate->getName().c_str());
 1428|       |
 1429|      0|            if (builtIn && fnCandidate->getNumExtensions())
  ------------------
  |  Branch (1429:17): [True: 0, False: 0]
  |  Branch (1429:28): [True: 0, False: 0]
  ------------------
 1430|      0|                requireExtensions(loc, fnCandidate->getNumExtensions(), fnCandidate->getExtensions(), fnCandidate->getName().c_str());
 1431|       |
 1432|      0|            if (builtIn && fnCandidate->getType().contains16BitFloat())
  ------------------
  |  Branch (1432:17): [True: 0, False: 0]
  |  Branch (1432:28): [True: 0, False: 0]
  ------------------
 1433|      0|                requireFloat16Arithmetic(loc, "built-in function", "float16 types can only be in uniform block or buffer storage");
 1434|      0|            if (builtIn && fnCandidate->getType().contains16BitInt())
  ------------------
  |  Branch (1434:17): [True: 0, False: 0]
  |  Branch (1434:28): [True: 0, False: 0]
  ------------------
 1435|      0|                requireInt16Arithmetic(loc, "built-in function", "(u)int16 types can only be in uniform block or buffer storage");
 1436|      0|            if (builtIn && fnCandidate->getType().contains8BitInt())
  ------------------
  |  Branch (1436:17): [True: 0, False: 0]
  |  Branch (1436:28): [True: 0, False: 0]
  ------------------
 1437|      0|                requireInt8Arithmetic(loc, "built-in function", "(u)int8 types can only be in uniform block or buffer storage");
 1438|      0|            if (builtIn && (fnCandidate->getBuiltInOp() == EOpTextureFetch || fnCandidate->getBuiltInOp() == EOpTextureQuerySize)) {
  ------------------
  |  Branch (1438:17): [True: 0, False: 0]
  |  Branch (1438:29): [True: 0, False: 0]
  |  Branch (1438:79): [True: 0, False: 0]
  ------------------
 1439|      0|                if ((*fnCandidate)[0].type->getSampler().isMultiSample() && version <= 140)
  ------------------
  |  Branch (1439:21): [True: 0, False: 0]
  |  Branch (1439:77): [True: 0, False: 0]
  ------------------
 1440|      0|                    requireExtensions(loc, 1, &E_GL_ARB_texture_multisample, fnCandidate->getName().c_str());
 1441|      0|            }
 1442|      0|            bool hasLongVectorArg = false;
 1443|      0|            if (arguments != nullptr) {
  ------------------
  |  Branch (1443:17): [True: 0, False: 0]
  ------------------
 1444|       |                // Make sure qualifications work for these arguments.
 1445|      0|                TIntermAggregate* aggregate = arguments->getAsAggregate();
 1446|      0|                for (int i = 0; i < fnCandidate->getParamCount(); ++i) {
  ------------------
  |  Branch (1446:33): [True: 0, False: 0]
  ------------------
 1447|       |                    // At this early point there is a slight ambiguity between whether an aggregate 'arguments'
 1448|       |                    // is the single argument itself or its children are the arguments.  Only one argument
 1449|       |                    // means take 'arguments' itself as the one argument.
 1450|      0|                    if ((*fnCandidate)[i].defaultValue) {
  ------------------
  |  Branch (1450:25): [True: 0, False: 0]
  ------------------
 1451|      0|                        if (!aggregate) {
  ------------------
  |  Branch (1451:29): [True: 0, False: 0]
  ------------------
 1452|       |                            // Only one argument was passed (rest are default arguments) so arguments isn't a TIntermAggregate.
 1453|       |                            // But the function takes at least one more argument, so a TIntermAggregate is needed.
 1454|      0|                            aggregate = new TIntermAggregate;
 1455|      0|                            aggregate->getSequence().push_back(arguments);
 1456|      0|                            arguments = aggregate;
 1457|      0|                        }
 1458|      0|                        if (i >= static_cast<int>(aggregate->getSequence().size())) {
  ------------------
  |  Branch (1458:29): [True: 0, False: 0]
  ------------------
 1459|       |                            // Append the default value if there are no more arguments left in the aggregate.
 1460|      0|                            TIntermConstantUnion *defaultValue = nullptr;
 1461|      0|                            if (const auto *constUnion = (*fnCandidate)[i].defaultValue->getAsConstantUnion()) {
  ------------------
  |  Branch (1461:45): [True: 0, False: 0]
  ------------------
 1462|      0|                                defaultValue = new TIntermConstantUnion(constUnion->getConstArray(), constUnion->getType());
 1463|      0|                            }
 1464|      0|                            assert(defaultValue && "unsupported default value construct");
 1465|      0|                            aggregate->getSequence().push_back(defaultValue);
 1466|      0|                        }
 1467|      0|                    }
 1468|      0|                    TIntermNode* arg = fnCandidate->getParamCount() == 1 ? arguments : (aggregate ? aggregate->getSequence()[i] : arguments);
  ------------------
  |  Branch (1468:40): [True: 0, False: 0]
  |  Branch (1468:89): [True: 0, False: 0]
  ------------------
 1469|      0|                    TQualifier& formalQualifier = (*fnCandidate)[i].type->getQualifier();
 1470|      0|                    if (formalQualifier.isParamOutput()) {
  ------------------
  |  Branch (1470:25): [True: 0, False: 0]
  ------------------
 1471|      0|                        if (lValueErrorCheck(arguments->getLoc(), "assign", arg->getAsTyped()))
  ------------------
  |  Branch (1471:29): [True: 0, False: 0]
  ------------------
 1472|      0|                            error(arguments->getLoc(), "Non-L-value cannot be passed for 'out' or 'inout' parameters.", "out", "");
 1473|      0|                    }
 1474|      0|                    if (formalQualifier.isSpirvLiteral()) {
  ------------------
  |  Branch (1474:25): [True: 0, False: 0]
  ------------------
 1475|      0|                        if (!arg->getAsTyped()->getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (1475:29): [True: 0, False: 0]
  ------------------
 1476|      0|                            error(arguments->getLoc(),
 1477|      0|                                  "Non front-end constant expressions cannot be passed for 'spirv_literal' parameters.",
 1478|      0|                                  "spirv_literal", "");
 1479|      0|                        }
 1480|      0|                    }
 1481|      0|                    const TType& argType = arg->getAsTyped()->getType();
 1482|      0|                    const TQualifier& argQualifier = argType.getQualifier();
 1483|      0|                    bool containsBindlessSampler = intermediate.getBindlessMode() && argType.containsSampler();
  ------------------
  |  Branch (1483:52): [True: 0, False: 0]
  |  Branch (1483:86): [True: 0, False: 0]
  ------------------
 1484|      0|                    if (argQualifier.isMemory() && !containsBindlessSampler && (argType.containsOpaque() || argType.isReference())) {
  ------------------
  |  Branch (1484:25): [True: 0, False: 0]
  |  Branch (1484:52): [True: 0, False: 0]
  |  Branch (1484:81): [True: 0, False: 0]
  |  Branch (1484:109): [True: 0, False: 0]
  ------------------
 1485|      0|                        const char* message = "argument cannot drop memory qualifier when passed to formal parameter";
 1486|      0|                        if (argQualifier.volatil && ! formalQualifier.volatil)
  ------------------
  |  Branch (1486:29): [True: 0, False: 0]
  |  Branch (1486:53): [True: 0, False: 0]
  ------------------
 1487|      0|                            error(arguments->getLoc(), message, "volatile", "");
 1488|      0|                        if (argQualifier.coherent && ! (formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1488:29): [True: 0, False: 0]
  |  Branch (1488:57): [True: 0, False: 0]
  |  Branch (1488:91): [True: 0, False: 0]
  ------------------
 1489|      0|                            error(arguments->getLoc(), message, "coherent", "");
 1490|      0|                        if (argQualifier.devicecoherent && ! (formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1490:29): [True: 0, False: 0]
  |  Branch (1490:63): [True: 0, False: 0]
  |  Branch (1490:97): [True: 0, False: 0]
  ------------------
 1491|      0|                            error(arguments->getLoc(), message, "devicecoherent", "");
 1492|      0|                        if (argQualifier.queuefamilycoherent && ! (formalQualifier.queuefamilycoherent || formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1492:29): [True: 0, False: 0]
  |  Branch (1492:68): [True: 0, False: 0]
  |  Branch (1492:107): [True: 0, False: 0]
  |  Branch (1492:141): [True: 0, False: 0]
  ------------------
 1493|      0|                            error(arguments->getLoc(), message, "queuefamilycoherent", "");
 1494|      0|                        if (argQualifier.workgroupcoherent && ! (formalQualifier.workgroupcoherent || formalQualifier.queuefamilycoherent || formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1494:29): [True: 0, False: 0]
  |  Branch (1494:66): [True: 0, False: 0]
  |  Branch (1494:103): [True: 0, False: 0]
  |  Branch (1494:142): [True: 0, False: 0]
  |  Branch (1494:176): [True: 0, False: 0]
  ------------------
 1495|      0|                            error(arguments->getLoc(), message, "workgroupcoherent", "");
 1496|      0|                        if (argQualifier.subgroupcoherent && ! (formalQualifier.subgroupcoherent || formalQualifier.workgroupcoherent || formalQualifier.queuefamilycoherent || formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1496:29): [True: 0, False: 0]
  |  Branch (1496:65): [True: 0, False: 0]
  |  Branch (1496:101): [True: 0, False: 0]
  |  Branch (1496:138): [True: 0, False: 0]
  |  Branch (1496:177): [True: 0, False: 0]
  |  Branch (1496:211): [True: 0, False: 0]
  ------------------
 1497|      0|                            error(arguments->getLoc(), message, "subgroupcoherent", "");
 1498|      0|                        if (argQualifier.readonly && ! formalQualifier.readonly)
  ------------------
  |  Branch (1498:29): [True: 0, False: 0]
  |  Branch (1498:54): [True: 0, False: 0]
  ------------------
 1499|      0|                            error(arguments->getLoc(), message, "readonly", "");
 1500|      0|                        if (argQualifier.writeonly && ! formalQualifier.writeonly)
  ------------------
  |  Branch (1500:29): [True: 0, False: 0]
  |  Branch (1500:55): [True: 0, False: 0]
  ------------------
 1501|      0|                            error(arguments->getLoc(), message, "writeonly", "");
 1502|      0|                        if (argQualifier.nontemporal && ! formalQualifier.nontemporal)
  ------------------
  |  Branch (1502:29): [True: 0, False: 0]
  |  Branch (1502:57): [True: 0, False: 0]
  ------------------
 1503|      0|                            error(arguments->getLoc(), message, "nontemporal", "");
 1504|       |                        // Don't check 'restrict', it is different than the rest:
 1505|       |                        // "...but only restrict can be taken away from a calling argument, by a formal parameter that
 1506|       |                        // lacks the restrict qualifier..."
 1507|      0|                    }
 1508|      0|                    if (!builtIn && argQualifier.getFormat() != formalQualifier.getFormat()) {
  ------------------
  |  Branch (1508:25): [True: 0, False: 0]
  |  Branch (1508:37): [True: 0, False: 0]
  ------------------
 1509|       |                        // we have mismatched formats, which should only be allowed if writeonly
 1510|       |                        // and at least one format is unknown
 1511|      0|                        if (!formalQualifier.isWriteOnly() || (formalQualifier.getFormat() != ElfNone &&
  ------------------
  |  Branch (1511:29): [True: 0, False: 0]
  |  Branch (1511:64): [True: 0, False: 0]
  ------------------
 1512|      0|                                                                  argQualifier.getFormat() != ElfNone))
  ------------------
  |  Branch (1512:67): [True: 0, False: 0]
  ------------------
 1513|      0|                            error(arguments->getLoc(), "image formats must match", "format", "");
 1514|      0|                    }
 1515|      0|                    if (builtIn && arg->getAsTyped()->getType().contains16BitFloat())
  ------------------
  |  Branch (1515:25): [True: 0, False: 0]
  |  Branch (1515:36): [True: 0, False: 0]
  ------------------
 1516|      0|                        requireFloat16Arithmetic(arguments->getLoc(), "built-in function", "float16 types can only be in uniform block or buffer storage");
 1517|      0|                    if (builtIn && arg->getAsTyped()->getType().contains16BitInt())
  ------------------
  |  Branch (1517:25): [True: 0, False: 0]
  |  Branch (1517:36): [True: 0, False: 0]
  ------------------
 1518|      0|                        requireInt16Arithmetic(arguments->getLoc(), "built-in function", "(u)int16 types can only be in uniform block or buffer storage");
 1519|      0|                    if (builtIn && arg->getAsTyped()->getType().contains8BitInt())
  ------------------
  |  Branch (1519:25): [True: 0, False: 0]
  |  Branch (1519:36): [True: 0, False: 0]
  ------------------
 1520|      0|                        requireInt8Arithmetic(arguments->getLoc(), "built-in function", "(u)int8 types can only be in uniform block or buffer storage");
 1521|       |
 1522|       |                    // Check that coopVecOuterProductAccumulateNV vector component types match
 1523|      0|                    if (builtIn && fnCandidate->getBuiltInOp() == EOpCooperativeVectorOuterProductAccumulateNV &&
  ------------------
  |  Branch (1523:25): [True: 0, False: 0]
  |  Branch (1523:36): [True: 0, False: 0]
  ------------------
 1524|      0|                        i == 1 && arg->getAsTyped()->getType().getBasicType() != aggregate->getSequence()[0]->getAsTyped()->getType().getBasicType())
  ------------------
  |  Branch (1524:25): [True: 0, False: 0]
  |  Branch (1524:35): [True: 0, False: 0]
  ------------------
 1525|      0|                        error(arguments->getLoc(), "cooperative vector basic types must match", fnCandidate->getName().c_str(), "");
 1526|       |
 1527|       |                    // Check that coopVecLoadNV and coopVecStoreNV buffer parameter is in buffer or shared storage
 1528|      0|                    if (builtIn && (fnCandidate->getBuiltInOp() == EOpCooperativeVectorLoadNV ||
  ------------------
  |  Branch (1528:25): [True: 0, False: 0]
  |  Branch (1528:37): [True: 0, False: 0]
  ------------------
 1529|      0|                                    fnCandidate->getBuiltInOp() == EOpCooperativeVectorStoreNV) &&
  ------------------
  |  Branch (1529:37): [True: 0, False: 0]
  ------------------
 1530|      0|                        i == 1) {
  ------------------
  |  Branch (1530:25): [True: 0, False: 0]
  ------------------
 1531|      0|                        TStorageQualifier storage = arg->getAsTyped()->getType().getQualifier().storage;
 1532|      0|                        if (storage != EvqBuffer && storage != EvqShared) {
  ------------------
  |  Branch (1532:29): [True: 0, False: 0]
  |  Branch (1532:53): [True: 0, False: 0]
  ------------------
 1533|      0|                            error(arguments->getLoc(), "buffer argument must be in buffer or shared storage", 
 1534|      0|                                  fnCandidate->getName().c_str(), "");
 1535|      0|                        }
 1536|      0|                    }
 1537|       |
 1538|      0|                    if (argType.isLongVector()) {
  ------------------
  |  Branch (1538:25): [True: 0, False: 0]
  ------------------
 1539|      0|                        hasLongVectorArg = true;
 1540|      0|                    }
 1541|       |
 1542|       |                    // TODO 4.5 functionality:  A shader will fail to compile
 1543|       |                    // if the value passed to the memargument of an atomic memory function does not correspond to a buffer or
 1544|       |                    // shared variable. It is acceptable to pass an element of an array or a single component of a vector to the
 1545|       |                    // memargument of an atomic memory function, as long as the underlying array or vector is a buffer or
 1546|       |                    // shared variable.
 1547|      0|                }
 1548|       |
 1549|       |                // Convert 'in' arguments
 1550|      0|                addInputArgumentConversions(*fnCandidate, arguments);  // arguments may be modified if it's just a single argument node
 1551|      0|            }
 1552|       |
 1553|      0|            if (builtIn && fnCandidate->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1553:17): [True: 0, False: 0]
  |  Branch (1553:28): [True: 0, False: 0]
  ------------------
 1554|       |                // A function call mapped to a built-in operation.
 1555|      0|                result = handleBuiltInFunctionCall(loc, arguments, *fnCandidate);
 1556|      0|            } else if (fnCandidate->getBuiltInOp() == EOpSpirvInst) {
  ------------------
  |  Branch (1556:24): [True: 0, False: 0]
  ------------------
 1557|       |                // When SPIR-V instruction qualifier is specified, the function call is still mapped to a built-in operation.
 1558|      0|                result = handleBuiltInFunctionCall(loc, arguments, *fnCandidate);
 1559|      0|            } else {
 1560|       |                // This is a function call not mapped to built-in operator.
 1561|       |                // It could still be a built-in function, but only if PureOperatorBuiltins == false.
 1562|      0|                result = intermediate.setAggregateOperator(arguments, EOpFunctionCall, fnCandidate->getType(), loc);
 1563|      0|                TIntermAggregate* call = result->getAsAggregate();
 1564|      0|                call->setName(fnCandidate->getMangledName());
 1565|       |
 1566|       |                // this is how we know whether the given function is a built-in function or a user-defined function
 1567|       |                // if builtIn == false, it's a userDefined -> could be an overloaded built-in function also
 1568|       |                // if builtIn == true, it's definitely a built-in function with EOpNull
 1569|      0|                if (! builtIn) {
  ------------------
  |  Branch (1569:21): [True: 0, False: 0]
  ------------------
 1570|      0|                    call->setUserDefined();
 1571|      0|                    if (symbolTable.atGlobalLevel()) {
  ------------------
  |  Branch (1571:25): [True: 0, False: 0]
  ------------------
 1572|      0|                        requireProfile(loc, ~EEsProfile, "calling user function from global scope");
 1573|      0|                        intermediate.addToCallGraph(infoSink, "main(", fnCandidate->getMangledName());
 1574|      0|                    } else
 1575|      0|                        intermediate.addToCallGraph(infoSink, currentCaller, fnCandidate->getMangledName());
 1576|      0|                }
 1577|       |
 1578|      0|                if (builtIn)
  ------------------
  |  Branch (1578:21): [True: 0, False: 0]
  ------------------
 1579|      0|                    nonOpBuiltInCheck(loc, *fnCandidate, *call);
 1580|      0|                else
 1581|      0|                    userFunctionCallCheck(loc, *call);
 1582|      0|            }
 1583|       |
 1584|      0|            if (hasLongVectorArg && fnCandidate->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1584:17): [True: 0, False: 0]
  |  Branch (1584:37): [True: 0, False: 0]
  ------------------
 1585|      0|                TType longVectorResultType(EbtVoid);
 1586|      0|                handleLongVectorBuiltin(loc, fnCandidate, &longVectorResultType, arguments);
 1587|      0|                result->setType(longVectorResultType);
 1588|      0|            }
 1589|       |
 1590|       |            // Convert 'out' arguments.  If it was a constant folded built-in, it won't be an aggregate anymore.
 1591|       |            // Built-ins with a single argument aren't called with an aggregate, but they also don't have an output.
 1592|       |            // Also, build the qualifier list for user function calls, which are always called with an aggregate.
 1593|      0|            if (result->getAsAggregate()) {
  ------------------
  |  Branch (1593:17): [True: 0, False: 0]
  ------------------
 1594|      0|                TQualifierList& qualifierList = result->getAsAggregate()->getQualifierList();
 1595|      0|                for (int i = 0; i < fnCandidate->getParamCount(); ++i) {
  ------------------
  |  Branch (1595:33): [True: 0, False: 0]
  ------------------
 1596|      0|                    TStorageQualifier qual = (*fnCandidate)[i].type->getQualifier().storage;
 1597|      0|                    qualifierList.push_back(qual);
 1598|      0|                }
 1599|      0|                result = addOutputArgumentConversions(*fnCandidate, *result->getAsAggregate());
 1600|      0|            }
 1601|       |
 1602|      0|            handleCoopMat2FunctionCall(loc, fnCandidate, result, arguments);
 1603|       |
 1604|      0|            handleVector2CoopMatConversionCall(loc, fnCandidate, result, arguments);
 1605|       |
 1606|      0|            if (result->getAsTyped()->getType().isCoopVecOrLongVector() &&
  ------------------
  |  Branch (1606:17): [True: 0, False: 0]
  ------------------
 1607|      0|               !result->getAsTyped()->getType().isParameterized()) {
  ------------------
  |  Branch (1607:16): [True: 0, False: 0]
  ------------------
 1608|      0|                if (auto unaryNode = result->getAsUnaryNode())
  ------------------
  |  Branch (1608:26): [True: 0, False: 0]
  ------------------
 1609|      0|                    result->setType(unaryNode->getOperand()->getAsTyped()->getType());
 1610|      0|                else
 1611|      0|                    result->setType(result->getAsAggregate()->getSequence()[0]->getAsTyped()->getType());
 1612|      0|            }
 1613|       |
 1614|      0|            if (fnCandidate->getBuiltInOp() == EOpConstructSaturated) {
  ------------------
  |  Branch (1614:17): [True: 0, False: 0]
  ------------------
 1615|       |                // result type is taken from the first parameter
 1616|      0|                result->setType(result->getAsAggregate()->getSequence()[0]->getAsTyped()->getType());
 1617|      0|            }
 1618|      0|        }
 1619|      0|    }
 1620|       |
 1621|       |    // generic error recovery
 1622|       |    // TODO: simplification: localize all the error recoveries that look like this, and taking type into account to reduce cascades
 1623|     20|    if (result == nullptr)
  ------------------
  |  Branch (1623:9): [True: 0, False: 20]
  ------------------
 1624|      0|        result = intermediate.addConstantUnion(0.0, EbtFloat, loc);
 1625|       |
 1626|     20|    return result;
 1627|     20|}
_ZN7glslang13TParseContext21handleConstructorCallERKNS_10TSourceLocERKNS_11TPublicTypeE:
 4036|     20|{
 4037|     20|    TType type(publicType);
 4038|     20|    type.getQualifier().precision = EpqNone;
 4039|       |
 4040|     20|    if (type.isArray()) {
  ------------------
  |  Branch (4040:9): [True: 0, False: 20]
  ------------------
 4041|      0|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed constructor");
 4042|      0|        profileRequires(loc, EEsProfile, 300, nullptr, "arrayed constructor");
 4043|      0|    }
 4044|       |
 4045|       |    // Reuse EOpConstructTextureSampler for bindless image constructor
 4046|       |    // uvec2 imgHandle;
 4047|       |    // imageLoad(image1D(imgHandle), 0);
 4048|     20|    if (type.isImage() && extensionTurnedOn(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (4048:9): [True: 0, False: 20]
  |  Branch (4048:27): [True: 0, False: 0]
  ------------------
 4049|      0|    {
 4050|      0|        intermediate.setBindlessImageMode(currentCaller, AstRefTypeFunc);
 4051|      0|    }
 4052|       |
 4053|     20|    TOperator op = intermediate.mapTypeToConstructorOp(type);
 4054|       |
 4055|     20|    if (op == EOpNull) {
  ------------------
  |  Branch (4055:9): [True: 0, False: 20]
  ------------------
 4056|      0|      if (intermediate.getEnhancedMsgs() && type.getBasicType() == EbtSampler)
  ------------------
  |  Branch (4056:11): [True: 0, False: 0]
  |  Branch (4056:45): [True: 0, False: 0]
  ------------------
 4057|      0|            error(loc, "function not supported in this version; use texture() instead", "texture*D*", "");
 4058|      0|        else
 4059|      0|            error(loc, "cannot construct this type", type.getBasicString(), "");
 4060|      0|        op = EOpConstructFloat;
 4061|      0|        TType errorType(EbtFloat);
 4062|      0|        type.shallowCopy(errorType);
 4063|      0|    }
 4064|       |
 4065|     20|    TString empty("");
 4066|       |
 4067|     20|    return new TFunction(&empty, type, op);
 4068|     20|}
_ZN7glslang13TParseContext24handlePrecisionQualifierERKNS_10TSourceLocERNS_10TQualifierENS_19TPrecisionQualifierE:
 4072|  9.26k|{
 4073|  9.26k|    if (obeyPrecisionQualifiers())
  ------------------
  |  Branch (4073:9): [True: 5.15k, False: 4.11k]
  ------------------
 4074|  5.15k|        qualifier.precision = precision;
 4075|  9.26k|}
_ZN7glslang13TParseContext23checkPrecisionQualifierERKNS_10TSourceLocENS_19TPrecisionQualifierE:
 4080|  9.26k|{
 4081|  9.26k|    if (precisionManager.shouldWarnAboutDefaults()) {
  ------------------
  |  Branch (4081:9): [True: 0, False: 9.26k]
  ------------------
 4082|      0|        warn(loc, "all default precisions are highp; use precision statements to quiet warning, e.g.:\n"
 4083|      0|                  "         \"precision mediump int; precision highp float;\"", "", "");
 4084|      0|        precisionManager.defaultWarningGiven();
 4085|      0|    }
 4086|  9.26k|}
_ZN7glslang13TParseContext13variableCheckERPNS_12TIntermTypedE:
 4124|  2.09k|{
 4125|  2.09k|    TIntermSymbol* symbol = nodePtr->getAsSymbolNode();
 4126|  2.09k|    if (! symbol)
  ------------------
  |  Branch (4126:9): [True: 2.09k, False: 0]
  ------------------
 4127|  2.09k|        return;
 4128|       |
 4129|      0|    if (symbol->getType().getBasicType() == EbtVoid) {
  ------------------
  |  Branch (4129:9): [True: 0, False: 0]
  ------------------
 4130|      0|        const char *extraInfoFormat = "";
 4131|      0|        if (spvVersion.vulkan != 0 && symbol->getName() == "gl_VertexID") {
  ------------------
  |  Branch (4131:13): [True: 0, False: 0]
  |  Branch (4131:39): [True: 0, False: 0]
  ------------------
 4132|      0|          extraInfoFormat = "(Did you mean gl_VertexIndex?)";
 4133|      0|        } else if (spvVersion.vulkan != 0 && symbol->getName() == "gl_InstanceID") {
  ------------------
  |  Branch (4133:20): [True: 0, False: 0]
  |  Branch (4133:46): [True: 0, False: 0]
  ------------------
 4134|      0|          extraInfoFormat = "(Did you mean gl_InstanceIndex?)";
 4135|      0|        }
 4136|      0|        error(symbol->getLoc(), "undeclared identifier", symbol->getName().c_str(), extraInfoFormat);
 4137|       |
 4138|       |        // Add to symbol table to prevent future error messages on the same name
 4139|      0|        if (symbol->getName().size() > 0) {
  ------------------
  |  Branch (4139:13): [True: 0, False: 0]
  ------------------
 4140|      0|            TVariable* fakeVariable = new TVariable(&symbol->getName(), TType(EbtFloat));
 4141|      0|            symbolTable.insert(*fakeVariable);
 4142|       |
 4143|       |            // substitute a symbol node for this new variable
 4144|      0|            nodePtr = intermediate.addSymbol(*fakeVariable, symbol->getLoc());
 4145|      0|        }
 4146|      0|    } else {
 4147|      0|        switch (symbol->getQualifier().storage) {
 4148|      0|        case EvqPointCoord:
  ------------------
  |  Branch (4148:9): [True: 0, False: 0]
  ------------------
 4149|      0|            profileRequires(symbol->getLoc(), ENoProfile, 120, nullptr, "gl_PointCoord");
 4150|      0|            break;
 4151|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (4151:9): [True: 0, False: 0]
  ------------------
 4152|      0|        }
 4153|      0|    }
 4154|      0|}
_ZN7glslang13TParseContext16rValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE:
 4283|  1.03k|{
 4284|       |    // Let the base class check errors
 4285|  1.03k|    TParseContextBase::rValueErrorCheck(loc, op, node);
 4286|       |
 4287|  1.03k|    TIntermSymbol* symNode = node->getAsSymbolNode();
 4288|  1.03k|    if (!(symNode && symNode->getQualifier().isWriteOnly())) // base class checks
  ------------------
  |  Branch (4288:11): [True: 0, False: 1.03k]
  |  Branch (4288:22): [True: 0, False: 0]
  ------------------
 4289|  1.03k|        if (symNode && symNode->getQualifier().isExplicitInterpolation())
  ------------------
  |  Branch (4289:13): [True: 0, False: 1.03k]
  |  Branch (4289:24): [True: 0, False: 0]
  ------------------
 4290|      0|            error(loc, "can't read from explicitly-interpolated object: ", op, symNode->getName().c_str());
 4291|       |
 4292|       |    // local_size_{xyz} must be assigned or specialized before gl_WorkGroupSize can be assigned.
 4293|  1.03k|    if(node->getQualifier().builtIn == EbvWorkGroupSize &&
  ------------------
  |  Branch (4293:8): [True: 0, False: 1.03k]
  ------------------
 4294|      0|       !(intermediate.isLocalSizeSet() || intermediate.isLocalSizeSpecialized()))
  ------------------
  |  Branch (4294:10): [True: 0, False: 0]
  |  Branch (4294:43): [True: 0, False: 0]
  ------------------
 4295|      0|        error(loc, "can't read from gl_WorkGroupSize before a fixed workgroup size has been declared", op, "");
 4296|  1.03k|}
_ZN7glslang13TParseContext11globalCheckERKNS_10TSourceLocEPKc:
 4343|  8.98k|{
 4344|  8.98k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (4344:9): [True: 0, False: 8.98k]
  ------------------
 4345|      0|        error(loc, "not allowed in nested scope", token, "");
 4346|  8.98k|}
_ZN7glslang13TParseContext18reservedErrorCheckERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4352|  36.3k|{
 4353|       |    // "Identifiers starting with "gl_" are reserved for use by OpenGL, and may not be
 4354|       |    // declared in a shader; this results in a compile-time error."
 4355|  36.3k|    if (! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (4355:9): [True: 0, False: 36.3k]
  ------------------
 4356|       |        // The extension GL_EXT_conservative_depth allows us to declare "gl_FragDepth".
 4357|      0|        if (identifier == "gl_FragDepth" && extensionTurnedOn(E_GL_EXT_conservative_depth))
  ------------------
  |  Branch (4357:13): [True: 0, False: 0]
  |  Branch (4357:45): [True: 0, False: 0]
  ------------------
 4358|      0|            return;
 4359|       |
 4360|      0|        if (builtInName(identifier) && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics))
  ------------------
  |  Branch (4360:13): [True: 0, False: 0]
  |  Branch (4360:40): [True: 0, False: 0]
  ------------------
 4361|       |            // The extension GL_EXT_spirv_intrinsics allows us to declare identifiers starting with "gl_".
 4362|      0|            error(loc, "identifiers starting with \"gl_\" are reserved", identifier.c_str(), "");
 4363|       |
 4364|       |        // "__" are not supposed to be an error.  ES 300 (and desktop) added the clarification:
 4365|       |        // "In addition, all identifiers containing two consecutive underscores (__) are
 4366|       |        // reserved; using such a name does not itself result in an error, but may result
 4367|       |        // in undefined behavior."
 4368|       |        // however, before that, ES tests required an error.
 4369|      0|        if (identifier.find("__") != TString::npos && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics)) {
  ------------------
  |  Branch (4369:13): [True: 0, False: 0]
  |  Branch (4369:55): [True: 0, False: 0]
  ------------------
 4370|       |            // The extension GL_EXT_spirv_intrinsics allows us to declare identifiers starting with "__".
 4371|      0|            if (isEsProfile() && version < 300)
  ------------------
  |  Branch (4371:17): [True: 0, False: 0]
  |  Branch (4371:34): [True: 0, False: 0]
  ------------------
 4372|      0|                error(loc, "identifiers containing consecutive underscores (\"__\") are reserved, and an error if version < 300", identifier.c_str(), "");
 4373|      0|            else
 4374|      0|                warn(loc, "identifiers containing consecutive underscores (\"__\") are reserved", identifier.c_str(), "");
 4375|      0|        }
 4376|      0|    }
 4377|  36.3k|}
_ZN7glslang13TParseContext20reservedPpErrorCheckERKNS_10TSourceLocEPKcS5_:
 4383|      1|{
 4384|       |    // "__" are not supposed to be an error.  ES 300 (and desktop) added the clarification:
 4385|       |    // "All macro names containing two consecutive underscores ( __ ) are reserved;
 4386|       |    // defining such a name does not itself result in an error, but may result in
 4387|       |    // undefined behavior.  All macro names prefixed with "GL_" ("GL" followed by a
 4388|       |    // single underscore) are also reserved, and defining such a name results in a
 4389|       |    // compile-time error."
 4390|       |    // however, before that, ES tests required an error.
 4391|      1|    if (strncmp(identifier, "GL_", 3) == 0 && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics))
  ------------------
  |  Branch (4391:9): [True: 0, False: 1]
  |  Branch (4391:47): [True: 0, False: 0]
  ------------------
 4392|       |        // The extension GL_EXT_spirv_intrinsics allows us to declare macros prefixed with "GL_".
 4393|      0|        ppError(loc, "names beginning with \"GL_\" can't be (un)defined:", op,  identifier);
 4394|      1|    else if (strncmp(identifier, "defined", 8) == 0)
  ------------------
  |  Branch (4394:14): [True: 0, False: 1]
  ------------------
 4395|      0|        if (relaxedErrors())
  ------------------
  |  Branch (4395:13): [True: 0, False: 0]
  ------------------
 4396|      0|            ppWarn(loc, "\"defined\" is (un)defined:", op,  identifier);
 4397|      0|        else
 4398|      0|            ppError(loc, "\"defined\" can't be (un)defined:", op,  identifier);
 4399|      1|    else if (strstr(identifier, "__") != nullptr && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics)) {
  ------------------
  |  Branch (4399:14): [True: 0, False: 1]
  |  Branch (4399:53): [True: 0, False: 0]
  ------------------
 4400|       |        // The extension GL_EXT_spirv_intrinsics allows us to declare macros prefixed with "__".
 4401|      0|        if (isEsProfile() && version >= 300 &&
  ------------------
  |  Branch (4401:13): [True: 0, False: 0]
  |  Branch (4401:30): [True: 0, False: 0]
  ------------------
 4402|      0|            (strcmp(identifier, "__LINE__") == 0 ||
  ------------------
  |  Branch (4402:14): [True: 0, False: 0]
  ------------------
 4403|      0|             strcmp(identifier, "__FILE__") == 0 ||
  ------------------
  |  Branch (4403:14): [True: 0, False: 0]
  ------------------
 4404|      0|             strcmp(identifier, "__VERSION__") == 0))
  ------------------
  |  Branch (4404:14): [True: 0, False: 0]
  ------------------
 4405|      0|            ppError(loc, "predefined names can't be (un)defined:", op,  identifier);
 4406|      0|        else {
 4407|      0|            if (isEsProfile() && version < 300 && !relaxedErrors())
  ------------------
  |  Branch (4407:17): [True: 0, False: 0]
  |  Branch (4407:34): [True: 0, False: 0]
  |  Branch (4407:51): [True: 0, False: 0]
  ------------------
 4408|      0|                ppError(loc, "names containing consecutive underscores are reserved, and an error if version < 300:", op, identifier);
 4409|      0|            else
 4410|      0|                ppWarn(loc, "names containing consecutive underscores are reserved:", op, identifier);
 4411|      0|        }
 4412|      0|    }
 4413|      1|}
_ZN7glslang13TParseContext21lineContinuationCheckERKNS_10TSourceLocEb:
 4421|  31.1k|{
 4422|  31.1k|    const char* message = "line continuation";
 4423|       |
 4424|  31.1k|    bool lineContinuationAllowed = (isEsProfile() && version >= 300) ||
  ------------------
  |  Branch (4424:37): [True: 29.7k, False: 1.34k]
  |  Branch (4424:54): [True: 0, False: 29.7k]
  ------------------
 4425|  31.1k|                                   (!isEsProfile() && (version >= 420 || extensionTurnedOn(E_GL_ARB_shading_language_420pack)));
  ------------------
  |  Branch (4425:37): [True: 1.34k, False: 29.7k]
  |  Branch (4425:56): [True: 1.34k, False: 0]
  |  Branch (4425:74): [True: 0, False: 0]
  ------------------
 4426|       |
 4427|  31.1k|    if (endOfComment) {
  ------------------
  |  Branch (4427:9): [True: 24.5k, False: 6.60k]
  ------------------
 4428|  24.5k|        if (lineContinuationAllowed)
  ------------------
  |  Branch (4428:13): [True: 1.08k, False: 23.4k]
  ------------------
 4429|  1.08k|            warn(loc, "used at end of comment; the following line is still part of the comment", message, "");
 4430|  23.4k|        else
 4431|  23.4k|            warn(loc, "used at end of comment, but this version does not provide line continuation", message, "");
 4432|       |
 4433|  24.5k|        return lineContinuationAllowed;
 4434|  24.5k|    }
 4435|       |
 4436|  6.60k|    if (relaxedErrors()) {
  ------------------
  |  Branch (4436:9): [True: 6.60k, False: 0]
  ------------------
 4437|  6.60k|        if (! lineContinuationAllowed)
  ------------------
  |  Branch (4437:13): [True: 6.34k, False: 260]
  ------------------
 4438|  6.34k|            warn(loc, "not allowed in this version", message, "");
 4439|  6.60k|        return true;
 4440|  6.60k|    } else {
 4441|      0|        profileRequires(loc, EEsProfile, 300, nullptr, message);
 4442|      0|        profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, message);
 4443|      0|    }
 4444|       |
 4445|      0|    return lineContinuationAllowed;
 4446|  6.60k|}
_ZN7glslang13TParseContext11builtInNameERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4449|  3.17k|{
 4450|  3.17k|    return identifier.compare(0, 3, "gl_") == 0;
 4451|  3.17k|}
_ZN7glslang13TParseContext16constructorErrorERKNS_10TSourceLocEP11TIntermNodeRNS_9TFunctionENS_9TOperatorERNS_5TTypeE:
 4473|     20|{
 4474|       |    // See if the constructor does not establish the main type, only requalifies
 4475|       |    // it, in which case the type comes from the argument instead of from the
 4476|       |    // constructor function.
 4477|     20|    switch (op) {
 4478|      0|    case EOpConstructNonuniform:
  ------------------
  |  Branch (4478:5): [True: 0, False: 20]
  ------------------
 4479|      0|        if (node != nullptr && node->getAsTyped() != nullptr) {
  ------------------
  |  Branch (4479:13): [True: 0, False: 0]
  |  Branch (4479:32): [True: 0, False: 0]
  ------------------
 4480|      0|            type.shallowCopy(node->getAsTyped()->getType());
 4481|      0|            type.getQualifier().makeTemporary();
 4482|      0|            type.getQualifier().nonUniform = true;
 4483|      0|        }
 4484|      0|        break;
 4485|     20|    default:
  ------------------
  |  Branch (4485:5): [True: 20, False: 0]
  ------------------
 4486|     20|        type.shallowCopy(function.getType());
 4487|     20|        break;
 4488|     20|    }
 4489|       |
 4490|     20|    TString constructorString;
 4491|     20|    if (intermediate.getEnhancedMsgs())
  ------------------
  |  Branch (4491:9): [True: 0, False: 20]
  ------------------
 4492|      0|        constructorString.append(type.getCompleteString(true, false, false, true)).append(" constructor");
 4493|     20|    else
 4494|     20|        constructorString.append("constructor");
 4495|       |
 4496|       |    // See if it's a matrix
 4497|     20|    bool constructingMatrix = false;
 4498|     20|    switch (op) {
 4499|      0|    case EOpConstructTextureSampler:
  ------------------
  |  Branch (4499:5): [True: 0, False: 20]
  ------------------
 4500|      0|        return constructorTextureSamplerError(loc, function);
 4501|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (4501:5): [True: 0, False: 20]
  ------------------
 4502|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (4502:5): [True: 0, False: 20]
  ------------------
 4503|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (4503:5): [True: 0, False: 20]
  ------------------
 4504|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (4504:5): [True: 0, False: 20]
  ------------------
 4505|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (4505:5): [True: 0, False: 20]
  ------------------
 4506|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (4506:5): [True: 0, False: 20]
  ------------------
 4507|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (4507:5): [True: 0, False: 20]
  ------------------
 4508|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (4508:5): [True: 0, False: 20]
  ------------------
 4509|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (4509:5): [True: 0, False: 20]
  ------------------
 4510|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (4510:5): [True: 0, False: 20]
  ------------------
 4511|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (4511:5): [True: 0, False: 20]
  ------------------
 4512|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (4512:5): [True: 0, False: 20]
  ------------------
 4513|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (4513:5): [True: 0, False: 20]
  ------------------
 4514|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (4514:5): [True: 0, False: 20]
  ------------------
 4515|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (4515:5): [True: 0, False: 20]
  ------------------
 4516|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (4516:5): [True: 0, False: 20]
  ------------------
 4517|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (4517:5): [True: 0, False: 20]
  ------------------
 4518|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (4518:5): [True: 0, False: 20]
  ------------------
 4519|      0|    case EOpConstructF16Mat2x2:
  ------------------
  |  Branch (4519:5): [True: 0, False: 20]
  ------------------
 4520|      0|    case EOpConstructF16Mat2x3:
  ------------------
  |  Branch (4520:5): [True: 0, False: 20]
  ------------------
 4521|      0|    case EOpConstructF16Mat2x4:
  ------------------
  |  Branch (4521:5): [True: 0, False: 20]
  ------------------
 4522|      0|    case EOpConstructF16Mat3x2:
  ------------------
  |  Branch (4522:5): [True: 0, False: 20]
  ------------------
 4523|      0|    case EOpConstructF16Mat3x3:
  ------------------
  |  Branch (4523:5): [True: 0, False: 20]
  ------------------
 4524|      0|    case EOpConstructF16Mat3x4:
  ------------------
  |  Branch (4524:5): [True: 0, False: 20]
  ------------------
 4525|      0|    case EOpConstructF16Mat4x2:
  ------------------
  |  Branch (4525:5): [True: 0, False: 20]
  ------------------
 4526|      0|    case EOpConstructF16Mat4x3:
  ------------------
  |  Branch (4526:5): [True: 0, False: 20]
  ------------------
 4527|      0|    case EOpConstructF16Mat4x4:
  ------------------
  |  Branch (4527:5): [True: 0, False: 20]
  ------------------
 4528|      0|        constructingMatrix = true;
 4529|      0|        break;
 4530|     20|    default:
  ------------------
  |  Branch (4530:5): [True: 20, False: 0]
  ------------------
 4531|     20|        break;
 4532|     20|    }
 4533|       |
 4534|       |    //
 4535|       |    // Walk the arguments for first-pass checks and collection of information.
 4536|       |    //
 4537|       |
 4538|     20|    int size = 0;
 4539|     20|    bool constType = true;
 4540|     20|    bool specConstType = false;   // value is only valid if constType is true
 4541|     20|    bool full = false;
 4542|     20|    bool overFull = false;
 4543|     20|    bool matrixInMatrix = false;
 4544|     20|    bool arrayArg = false;
 4545|     20|    bool floatArgument = false;
 4546|     20|    bool intArgument = false;
 4547|     80|    for (int arg = 0; arg < function.getParamCount(); ++arg) {
  ------------------
  |  Branch (4547:23): [True: 60, False: 20]
  ------------------
 4548|     60|        if (function[arg].type->isArray()) {
  ------------------
  |  Branch (4548:13): [True: 0, False: 60]
  ------------------
 4549|      0|            if (function[arg].type->isUnsizedArray()) {
  ------------------
  |  Branch (4549:17): [True: 0, False: 0]
  ------------------
 4550|       |                // Can't construct from an unsized array.
 4551|      0|                error(loc, "array argument must be sized", constructorString.c_str(), "");
 4552|      0|                return true;
 4553|      0|            }
 4554|      0|            arrayArg = true;
 4555|      0|        }
 4556|     60|        if (constructingMatrix && function[arg].type->isMatrix())
  ------------------
  |  Branch (4556:13): [True: 0, False: 60]
  |  Branch (4556:35): [True: 0, False: 0]
  ------------------
 4557|      0|            matrixInMatrix = true;
 4558|       |
 4559|       |        // 'full' will go to true when enough args have been seen.  If we loop
 4560|       |        // again, there is an extra argument.
 4561|     60|        if (full) {
  ------------------
  |  Branch (4561:13): [True: 0, False: 60]
  ------------------
 4562|       |            // For vectors and matrices, it's okay to have too many components
 4563|       |            // available, but not okay to have unused arguments.
 4564|      0|            overFull = true;
 4565|      0|        }
 4566|       |
 4567|     60|        size += function[arg].type->computeNumComponents();
 4568|     60|        if (op != EOpConstructStruct && ! type.isArray() && size >= type.computeNumComponents())
  ------------------
  |  Branch (4568:13): [True: 60, False: 0]
  |  Branch (4568:41): [True: 60, False: 0]
  |  Branch (4568:61): [True: 20, False: 40]
  ------------------
 4569|     20|            full = true;
 4570|       |
 4571|     60|        if (! function[arg].type->getQualifier().isConstant())
  ------------------
  |  Branch (4571:13): [True: 0, False: 60]
  ------------------
 4572|      0|            constType = false;
 4573|     60|        if (function[arg].type->getQualifier().isSpecConstant())
  ------------------
  |  Branch (4573:13): [True: 0, False: 60]
  ------------------
 4574|      0|            specConstType = true;
 4575|     60|        if (function[arg].type->isFloatingDomain())
  ------------------
  |  Branch (4575:13): [True: 0, False: 60]
  ------------------
 4576|      0|            floatArgument = true;
 4577|     60|        if (function[arg].type->isIntegerDomain())
  ------------------
  |  Branch (4577:13): [True: 60, False: 0]
  ------------------
 4578|     60|            intArgument = true;
 4579|     60|        if (type.isStruct()) {
  ------------------
  |  Branch (4579:13): [True: 0, False: 60]
  ------------------
 4580|      0|            if (function[arg].type->contains16BitFloat()) {
  ------------------
  |  Branch (4580:17): [True: 0, False: 0]
  ------------------
 4581|      0|                requireFloat16Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 16-bit type");
 4582|      0|            }
 4583|      0|            if (function[arg].type->contains16BitInt()) {
  ------------------
  |  Branch (4583:17): [True: 0, False: 0]
  ------------------
 4584|      0|                requireInt16Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 16-bit type");
 4585|      0|            }
 4586|      0|            if (function[arg].type->contains8BitInt()) {
  ------------------
  |  Branch (4586:17): [True: 0, False: 0]
  ------------------
 4587|      0|                requireInt8Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 8-bit type");
 4588|      0|            }
 4589|      0|        }
 4590|     60|    }
 4591|     20|    if (op == EOpConstructNonuniform)
  ------------------
  |  Branch (4591:9): [True: 0, False: 20]
  ------------------
 4592|      0|        constType = false;
 4593|       |
 4594|     20|    switch (op) {
 4595|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (4595:5): [True: 0, False: 20]
  ------------------
 4596|      0|    case EOpConstructF16Vec2:
  ------------------
  |  Branch (4596:5): [True: 0, False: 20]
  ------------------
 4597|      0|    case EOpConstructF16Vec3:
  ------------------
  |  Branch (4597:5): [True: 0, False: 20]
  ------------------
 4598|      0|    case EOpConstructF16Vec4:
  ------------------
  |  Branch (4598:5): [True: 0, False: 20]
  ------------------
 4599|      0|        if (type.isArray())
  ------------------
  |  Branch (4599:13): [True: 0, False: 0]
  ------------------
 4600|      0|            requireFloat16Arithmetic(loc, constructorString.c_str(), "16-bit arrays not supported");
 4601|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (4601:13): [True: 0, False: 0]
  |  Branch (4601:32): [True: 0, False: 0]
  ------------------
 4602|      0|            requireFloat16Arithmetic(loc, constructorString.c_str(), "16-bit vectors only take vector types");
 4603|      0|        break;
 4604|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (4604:5): [True: 0, False: 20]
  ------------------
 4605|      0|    case EOpConstructU16Vec2:
  ------------------
  |  Branch (4605:5): [True: 0, False: 20]
  ------------------
 4606|      0|    case EOpConstructU16Vec3:
  ------------------
  |  Branch (4606:5): [True: 0, False: 20]
  ------------------
 4607|      0|    case EOpConstructU16Vec4:
  ------------------
  |  Branch (4607:5): [True: 0, False: 20]
  ------------------
 4608|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (4608:5): [True: 0, False: 20]
  ------------------
 4609|      0|    case EOpConstructI16Vec2:
  ------------------
  |  Branch (4609:5): [True: 0, False: 20]
  ------------------
 4610|      0|    case EOpConstructI16Vec3:
  ------------------
  |  Branch (4610:5): [True: 0, False: 20]
  ------------------
 4611|      0|    case EOpConstructI16Vec4:
  ------------------
  |  Branch (4611:5): [True: 0, False: 20]
  ------------------
 4612|      0|        if (type.isArray())
  ------------------
  |  Branch (4612:13): [True: 0, False: 0]
  ------------------
 4613|      0|            requireInt16Arithmetic(loc, constructorString.c_str(), "16-bit arrays not supported");
 4614|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (4614:13): [True: 0, False: 0]
  |  Branch (4614:32): [True: 0, False: 0]
  ------------------
 4615|      0|            requireInt16Arithmetic(loc, constructorString.c_str(), "16-bit vectors only take vector types");
 4616|      0|        break;
 4617|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (4617:5): [True: 0, False: 20]
  ------------------
 4618|      0|    case EOpConstructU8Vec2:
  ------------------
  |  Branch (4618:5): [True: 0, False: 20]
  ------------------
 4619|      0|    case EOpConstructU8Vec3:
  ------------------
  |  Branch (4619:5): [True: 0, False: 20]
  ------------------
 4620|      0|    case EOpConstructU8Vec4:
  ------------------
  |  Branch (4620:5): [True: 0, False: 20]
  ------------------
 4621|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (4621:5): [True: 0, False: 20]
  ------------------
 4622|      0|    case EOpConstructI8Vec2:
  ------------------
  |  Branch (4622:5): [True: 0, False: 20]
  ------------------
 4623|      0|    case EOpConstructI8Vec3:
  ------------------
  |  Branch (4623:5): [True: 0, False: 20]
  ------------------
 4624|      0|    case EOpConstructI8Vec4:
  ------------------
  |  Branch (4624:5): [True: 0, False: 20]
  ------------------
 4625|      0|        if (type.isArray())
  ------------------
  |  Branch (4625:13): [True: 0, False: 0]
  ------------------
 4626|      0|            requireInt8Arithmetic(loc, constructorString.c_str(), "8-bit arrays not supported");
 4627|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (4627:13): [True: 0, False: 0]
  |  Branch (4627:32): [True: 0, False: 0]
  ------------------
 4628|      0|            requireInt8Arithmetic(loc, constructorString.c_str(), "8-bit vectors only take vector types");
 4629|      0|        break;
 4630|     20|    default:
  ------------------
  |  Branch (4630:5): [True: 20, False: 0]
  ------------------
 4631|     20|        break;
 4632|     20|    }
 4633|       |
 4634|       |    // inherit constness from children
 4635|     20|    if (constType) {
  ------------------
  |  Branch (4635:9): [True: 20, False: 0]
  ------------------
 4636|     20|        bool makeSpecConst;
 4637|       |        // Finish pinning down spec-const semantics
 4638|     20|        if (specConstType) {
  ------------------
  |  Branch (4638:13): [True: 0, False: 20]
  ------------------
 4639|      0|            switch (op) {
 4640|      0|            case EOpConstructInt8:
  ------------------
  |  Branch (4640:13): [True: 0, False: 0]
  ------------------
 4641|      0|            case EOpConstructInt:
  ------------------
  |  Branch (4641:13): [True: 0, False: 0]
  ------------------
 4642|      0|            case EOpConstructUint:
  ------------------
  |  Branch (4642:13): [True: 0, False: 0]
  ------------------
 4643|      0|            case EOpConstructBool:
  ------------------
  |  Branch (4643:13): [True: 0, False: 0]
  ------------------
 4644|      0|            case EOpConstructBVec2:
  ------------------
  |  Branch (4644:13): [True: 0, False: 0]
  ------------------
 4645|      0|            case EOpConstructBVec3:
  ------------------
  |  Branch (4645:13): [True: 0, False: 0]
  ------------------
 4646|      0|            case EOpConstructBVec4:
  ------------------
  |  Branch (4646:13): [True: 0, False: 0]
  ------------------
 4647|      0|            case EOpConstructIVec2:
  ------------------
  |  Branch (4647:13): [True: 0, False: 0]
  ------------------
 4648|      0|            case EOpConstructIVec3:
  ------------------
  |  Branch (4648:13): [True: 0, False: 0]
  ------------------
 4649|      0|            case EOpConstructIVec4:
  ------------------
  |  Branch (4649:13): [True: 0, False: 0]
  ------------------
 4650|      0|            case EOpConstructUVec2:
  ------------------
  |  Branch (4650:13): [True: 0, False: 0]
  ------------------
 4651|      0|            case EOpConstructUVec3:
  ------------------
  |  Branch (4651:13): [True: 0, False: 0]
  ------------------
 4652|      0|            case EOpConstructUVec4:
  ------------------
  |  Branch (4652:13): [True: 0, False: 0]
  ------------------
 4653|      0|            case EOpConstructUint8:
  ------------------
  |  Branch (4653:13): [True: 0, False: 0]
  ------------------
 4654|      0|            case EOpConstructInt16:
  ------------------
  |  Branch (4654:13): [True: 0, False: 0]
  ------------------
 4655|      0|            case EOpConstructUint16:
  ------------------
  |  Branch (4655:13): [True: 0, False: 0]
  ------------------
 4656|      0|            case EOpConstructInt64:
  ------------------
  |  Branch (4656:13): [True: 0, False: 0]
  ------------------
 4657|      0|            case EOpConstructUint64:
  ------------------
  |  Branch (4657:13): [True: 0, False: 0]
  ------------------
 4658|      0|            case EOpConstructI8Vec2:
  ------------------
  |  Branch (4658:13): [True: 0, False: 0]
  ------------------
 4659|      0|            case EOpConstructI8Vec3:
  ------------------
  |  Branch (4659:13): [True: 0, False: 0]
  ------------------
 4660|      0|            case EOpConstructI8Vec4:
  ------------------
  |  Branch (4660:13): [True: 0, False: 0]
  ------------------
 4661|      0|            case EOpConstructU8Vec2:
  ------------------
  |  Branch (4661:13): [True: 0, False: 0]
  ------------------
 4662|      0|            case EOpConstructU8Vec3:
  ------------------
  |  Branch (4662:13): [True: 0, False: 0]
  ------------------
 4663|      0|            case EOpConstructU8Vec4:
  ------------------
  |  Branch (4663:13): [True: 0, False: 0]
  ------------------
 4664|      0|            case EOpConstructI16Vec2:
  ------------------
  |  Branch (4664:13): [True: 0, False: 0]
  ------------------
 4665|      0|            case EOpConstructI16Vec3:
  ------------------
  |  Branch (4665:13): [True: 0, False: 0]
  ------------------
 4666|      0|            case EOpConstructI16Vec4:
  ------------------
  |  Branch (4666:13): [True: 0, False: 0]
  ------------------
 4667|      0|            case EOpConstructU16Vec2:
  ------------------
  |  Branch (4667:13): [True: 0, False: 0]
  ------------------
 4668|      0|            case EOpConstructU16Vec3:
  ------------------
  |  Branch (4668:13): [True: 0, False: 0]
  ------------------
 4669|      0|            case EOpConstructU16Vec4:
  ------------------
  |  Branch (4669:13): [True: 0, False: 0]
  ------------------
 4670|      0|            case EOpConstructI64Vec2:
  ------------------
  |  Branch (4670:13): [True: 0, False: 0]
  ------------------
 4671|      0|            case EOpConstructI64Vec3:
  ------------------
  |  Branch (4671:13): [True: 0, False: 0]
  ------------------
 4672|      0|            case EOpConstructI64Vec4:
  ------------------
  |  Branch (4672:13): [True: 0, False: 0]
  ------------------
 4673|      0|            case EOpConstructU64Vec2:
  ------------------
  |  Branch (4673:13): [True: 0, False: 0]
  ------------------
 4674|      0|            case EOpConstructU64Vec3:
  ------------------
  |  Branch (4674:13): [True: 0, False: 0]
  ------------------
 4675|      0|            case EOpConstructU64Vec4:
  ------------------
  |  Branch (4675:13): [True: 0, False: 0]
  ------------------
 4676|       |                // This was the list of valid ones, if they aren't converting from float
 4677|       |                // and aren't making an array.
 4678|      0|                makeSpecConst = ! floatArgument && ! type.isArray();
  ------------------
  |  Branch (4678:33): [True: 0, False: 0]
  |  Branch (4678:52): [True: 0, False: 0]
  ------------------
 4679|      0|                break;
 4680|       |
 4681|      0|            case EOpConstructVec2:
  ------------------
  |  Branch (4681:13): [True: 0, False: 0]
  ------------------
 4682|      0|            case EOpConstructVec3:
  ------------------
  |  Branch (4682:13): [True: 0, False: 0]
  ------------------
 4683|      0|            case EOpConstructVec4:
  ------------------
  |  Branch (4683:13): [True: 0, False: 0]
  ------------------
 4684|       |                // This was the list of valid ones, if they aren't converting from int
 4685|       |                // and aren't making an array.
 4686|      0|                makeSpecConst = ! intArgument && !type.isArray();
  ------------------
  |  Branch (4686:33): [True: 0, False: 0]
  |  Branch (4686:50): [True: 0, False: 0]
  ------------------
 4687|      0|                break;
 4688|       |
 4689|      0|            case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (4689:13): [True: 0, False: 0]
  ------------------
 4690|      0|            case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (4690:13): [True: 0, False: 0]
  ------------------
 4691|      0|            case EOpConstructStruct:
  ------------------
  |  Branch (4691:13): [True: 0, False: 0]
  ------------------
 4692|      0|                {
 4693|      0|                    const char *specConstantCompositeExt[] = { E_GL_EXT_spec_constant_composites };
 4694|      0|                    if (checkExtensionsRequested(loc, 1, specConstantCompositeExt, "spec constant aggregate constructor")) {
  ------------------
  |  Branch (4694:25): [True: 0, False: 0]
  ------------------
 4695|      0|                        makeSpecConst = true;
 4696|      0|                    } else {
 4697|      0|                        makeSpecConst = false;
 4698|      0|                    }
 4699|      0|                }
 4700|      0|                break;
 4701|       |
 4702|      0|            default:
  ------------------
  |  Branch (4702:13): [True: 0, False: 0]
  ------------------
 4703|       |                // anything else wasn't white-listed in the spec as a conversion
 4704|      0|                makeSpecConst = false;
 4705|      0|                break;
 4706|      0|            }
 4707|      0|        } else
 4708|     20|            makeSpecConst = false;
 4709|       |
 4710|     20|        if (makeSpecConst)
  ------------------
  |  Branch (4710:13): [True: 0, False: 20]
  ------------------
 4711|      0|            type.getQualifier().makeSpecConstant();
 4712|     20|        else if (specConstType)
  ------------------
  |  Branch (4712:18): [True: 0, False: 20]
  ------------------
 4713|      0|            type.getQualifier().makeTemporary();
 4714|     20|        else
 4715|     20|            type.getQualifier().storage = EvqConst;
 4716|     20|    }
 4717|       |
 4718|     20|    if (type.isArray()) {
  ------------------
  |  Branch (4718:9): [True: 0, False: 20]
  ------------------
 4719|      0|        if (function.getParamCount() == 0) {
  ------------------
  |  Branch (4719:13): [True: 0, False: 0]
  ------------------
 4720|      0|            error(loc, "array constructor must have at least one argument", constructorString.c_str(), "");
 4721|      0|            return true;
 4722|      0|        }
 4723|       |
 4724|      0|        if (type.isUnsizedArray()) {
  ------------------
  |  Branch (4724:13): [True: 0, False: 0]
  ------------------
 4725|       |            // auto adapt the constructor type to the number of arguments
 4726|      0|            type.changeOuterArraySize(function.getParamCount());
 4727|      0|        } else if (type.getOuterArraySize() != function.getParamCount()) {
  ------------------
  |  Branch (4727:20): [True: 0, False: 0]
  ------------------
 4728|      0|            error(loc, "array constructor needs one argument per array element", constructorString.c_str(), "");
 4729|      0|            return true;
 4730|      0|        }
 4731|       |
 4732|      0|        if (type.isArrayOfArrays()) {
  ------------------
  |  Branch (4732:13): [True: 0, False: 0]
  ------------------
 4733|       |            // Types have to match, but we're still making the type.
 4734|       |            // Finish making the type, and the comparison is done later
 4735|       |            // when checking for conversion.
 4736|      0|            TArraySizes& arraySizes = *type.getArraySizes();
 4737|       |
 4738|       |            // At least the dimensionalities have to match.
 4739|      0|            if (! function[0].type->isArray() ||
  ------------------
  |  Branch (4739:17): [True: 0, False: 0]
  ------------------
 4740|      0|                    arraySizes.getNumDims() != function[0].type->getArraySizes()->getNumDims() + 1) {
  ------------------
  |  Branch (4740:21): [True: 0, False: 0]
  ------------------
 4741|      0|                error(loc, "array constructor argument not correct type to construct array element", constructorString.c_str(), "");
 4742|      0|                return true;
 4743|      0|            }
 4744|       |
 4745|      0|            if (arraySizes.isInnerUnsized()) {
  ------------------
  |  Branch (4745:17): [True: 0, False: 0]
  ------------------
 4746|       |                // "Arrays of arrays ..., and the size for any dimension is optional"
 4747|       |                // That means we need to adopt (from the first argument) the other array sizes into the type.
 4748|      0|                for (int d = 1; d < arraySizes.getNumDims(); ++d) {
  ------------------
  |  Branch (4748:33): [True: 0, False: 0]
  ------------------
 4749|      0|                    if (arraySizes.getDimSize(d) == UnsizedArraySize) {
  ------------------
  |  Branch (4749:25): [True: 0, False: 0]
  ------------------
 4750|      0|                        arraySizes.setDimSize(d, function[0].type->getArraySizes()->getDimSize(d - 1));
 4751|      0|                    }
 4752|      0|                }
 4753|      0|            }
 4754|      0|        }
 4755|      0|    }
 4756|       |
 4757|     20|    if (arrayArg && op != EOpConstructStruct && ! type.isArrayOfArrays()) {
  ------------------
  |  Branch (4757:9): [True: 0, False: 20]
  |  Branch (4757:21): [True: 0, False: 0]
  |  Branch (4757:49): [True: 0, False: 0]
  ------------------
 4758|      0|        error(loc, "constructing non-array constituent from array argument", constructorString.c_str(), "");
 4759|      0|        return true;
 4760|      0|    }
 4761|       |
 4762|     20|    if (matrixInMatrix && ! type.isArray()) {
  ------------------
  |  Branch (4762:9): [True: 0, False: 20]
  |  Branch (4762:27): [True: 0, False: 0]
  ------------------
 4763|      0|        profileRequires(loc, ENoProfile, 120, nullptr, "constructing matrix from matrix");
 4764|       |
 4765|       |        // "If a matrix argument is given to a matrix constructor,
 4766|       |        // it is a compile-time error to have any other arguments."
 4767|      0|        if (function.getParamCount() != 1)
  ------------------
  |  Branch (4767:13): [True: 0, False: 0]
  ------------------
 4768|      0|            error(loc, "matrix constructed from matrix can only have one argument", constructorString.c_str(), "");
 4769|      0|        return false;
 4770|      0|    }
 4771|       |
 4772|     20|    if (overFull) {
  ------------------
  |  Branch (4772:9): [True: 0, False: 20]
  ------------------
 4773|      0|        error(loc, "too many arguments", constructorString.c_str(), "");
 4774|      0|        return true;
 4775|      0|    }
 4776|       |
 4777|     20|    if (op == EOpConstructStruct && ! type.isArray() && (int)type.getStruct()->size() != function.getParamCount()) {
  ------------------
  |  Branch (4777:9): [True: 0, False: 20]
  |  Branch (4777:37): [True: 0, False: 0]
  |  Branch (4777:57): [True: 0, False: 0]
  ------------------
 4778|      0|        error(loc, "Number of constructor parameters does not match the number of structure fields", constructorString.c_str(), "");
 4779|      0|        return true;
 4780|      0|    }
 4781|       |
 4782|     20|    if (type.isLongVector() && !isValidLongVectorElseError(loc, type)) {
  ------------------
  |  Branch (4782:9): [True: 0, False: 20]
  |  Branch (4782:32): [True: 0, False: 0]
  ------------------
 4783|      0|        return true;
 4784|      0|    }
 4785|       |
 4786|     20|    if ((op != EOpConstructStruct && size != 1 && size < type.computeNumComponents()) ||
  ------------------
  |  Branch (4786:10): [True: 20, False: 0]
  |  Branch (4786:38): [True: 20, False: 0]
  |  Branch (4786:51): [True: 0, False: 20]
  ------------------
 4787|     20|        (op == EOpConstructStruct && size < type.computeNumComponents())) {
  ------------------
  |  Branch (4787:10): [True: 0, False: 20]
  |  Branch (4787:38): [True: 0, False: 0]
  ------------------
 4788|      0|        error(loc, "not enough data provided for construction", constructorString.c_str(), "");
 4789|      0|        return true;
 4790|      0|    }
 4791|       |
 4792|     20|    if (type.isCoopMat() && function.getParamCount() != 1) {
  ------------------
  |  Branch (4792:9): [True: 0, False: 20]
  |  Branch (4792:29): [True: 0, False: 0]
  ------------------
 4793|      0|        error(loc, "wrong number of arguments", constructorString.c_str(), "");
 4794|      0|        return true;
 4795|      0|    }
 4796|     20|    if (type.isCoopMat() &&
  ------------------
  |  Branch (4796:9): [True: 0, False: 20]
  ------------------
 4797|      0|        !(function[0].type->isScalar() || function[0].type->isCoopMat())) {
  ------------------
  |  Branch (4797:11): [True: 0, False: 0]
  |  Branch (4797:43): [True: 0, False: 0]
  ------------------
 4798|      0|        error(loc, "Cooperative matrix constructor argument must be scalar or cooperative matrix", constructorString.c_str(), "");
 4799|      0|        return true;
 4800|      0|    }
 4801|       |
 4802|     20|    TIntermTyped* typed = node->getAsTyped();
 4803|     20|    if (type.isCoopMat() && typed->getType().isCoopMat() &&
  ------------------
  |  Branch (4803:9): [True: 0, False: 20]
  |  Branch (4803:29): [True: 0, False: 0]
  ------------------
 4804|      0|        ((extensionTurnedOn(E_GL_NV_cooperative_matrix2) && !type.sameCoopMatShape(typed->getType())) ||
  ------------------
  |  Branch (4804:11): [True: 0, False: 0]
  |  Branch (4804:61): [True: 0, False: 0]
  ------------------
 4805|      0|         (!extensionTurnedOn(E_GL_NV_cooperative_matrix2) && !type.sameCoopMatShapeAndUse(typed->getType())))) {
  ------------------
  |  Branch (4805:11): [True: 0, False: 0]
  |  Branch (4805:62): [True: 0, False: 0]
  ------------------
 4806|      0|        error(loc, "Cooperative matrix type parameters mismatch", constructorString.c_str(), "");
 4807|      0|        return true;
 4808|      0|    }
 4809|       |
 4810|     20|    if (typed == nullptr) {
  ------------------
  |  Branch (4810:9): [True: 0, False: 20]
  ------------------
 4811|      0|        error(loc, "constructor argument does not have a type", constructorString.c_str(), "");
 4812|      0|        return true;
 4813|      0|    }
 4814|     20|    if (op != EOpConstructStruct && op != EOpConstructNonuniform && typed->getBasicType() == EbtSampler) {
  ------------------
  |  Branch (4814:9): [True: 20, False: 0]
  |  Branch (4814:37): [True: 20, False: 0]
  |  Branch (4814:69): [True: 0, False: 20]
  ------------------
 4815|      0|        if (op == EOpConstructUVec2 && extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (4815:13): [True: 0, False: 0]
  |  Branch (4815:40): [True: 0, False: 0]
  ------------------
 4816|      0|            intermediate.setBindlessTextureMode(currentCaller, AstRefTypeFunc);
 4817|      0|        }
 4818|      0|        else {
 4819|      0|            error(loc, "cannot convert a sampler", constructorString.c_str(), "");
 4820|      0|            return true;
 4821|      0|        }
 4822|      0|    }
 4823|     20|    if (op != EOpConstructStruct && typed->isAtomic()) {
  ------------------
  |  Branch (4823:9): [True: 20, False: 0]
  |  Branch (4823:37): [True: 0, False: 20]
  ------------------
 4824|      0|        error(loc, "cannot convert an atomic_uint", constructorString.c_str(), "");
 4825|      0|        return true;
 4826|      0|    }
 4827|     20|    if (typed->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (4827:9): [True: 0, False: 20]
  ------------------
 4828|      0|        error(loc, "cannot convert a void", constructorString.c_str(), "");
 4829|      0|        return true;
 4830|      0|    }
 4831|       |
 4832|     20|    return false;
 4833|     20|}
_ZN7glslang13TParseContext14voidErrorCheckERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEENS_10TBasicTypeE:
 4921|  3.69k|{
 4922|  3.69k|    if (basicType == EbtVoid) {
  ------------------
  |  Branch (4922:9): [True: 0, False: 3.69k]
  ------------------
 4923|      0|        error(loc, "illegal use of type 'void'", identifier.c_str(), "");
 4924|      0|        return true;
 4925|      0|    }
 4926|       |
 4927|  3.69k|    return false;
 4928|  3.69k|}
_ZN7glslang13TParseContext12samplerCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_12TIntermTypedE:
 4945|  3.17k|{
 4946|       |    // Check that the appropriate extension is enabled if external sampler is used.
 4947|       |    // There are two extensions. The correct one must be used based on GLSL version.
 4948|  3.17k|    if (type.getBasicType() == EbtSampler && type.getSampler().isExternal()) {
  ------------------
  |  Branch (4948:9): [True: 0, False: 3.17k]
  |  Branch (4948:46): [True: 0, False: 0]
  ------------------
 4949|      0|        if (version < 300) {
  ------------------
  |  Branch (4949:13): [True: 0, False: 0]
  ------------------
 4950|      0|            requireExtensions(loc, 1, &E_GL_OES_EGL_image_external, "samplerExternalOES");
 4951|      0|        } else {
 4952|      0|            requireExtensions(loc, 1, &E_GL_OES_EGL_image_external_essl3, "samplerExternalOES");
 4953|      0|        }
 4954|      0|    }
 4955|  3.17k|    if (type.getSampler().isYuv()) {
  ------------------
  |  Branch (4955:9): [True: 0, False: 3.17k]
  ------------------
 4956|      0|        requireExtensions(loc, 1, &E_GL_EXT_YUV_target, "__samplerExternal2DY2YEXT");
 4957|      0|    }
 4958|       |
 4959|  3.17k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (4959:9): [True: 150, False: 3.02k]
  ------------------
 4960|    150|        return;
 4961|       |
 4962|  3.02k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtSampler)) {
  ------------------
  |  Branch (4962:9): [True: 0, False: 3.02k]
  |  Branch (4962:45): [True: 0, False: 0]
  ------------------
 4963|       |        // For bindless texture, sampler can be declared as an struct member
 4964|      0|        if (extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (4964:13): [True: 0, False: 0]
  ------------------
 4965|      0|            if (type.getSampler().isImage())
  ------------------
  |  Branch (4965:17): [True: 0, False: 0]
  ------------------
 4966|      0|                intermediate.setBindlessImageMode(currentCaller, AstRefTypeVar);
 4967|      0|            else
 4968|      0|                intermediate.setBindlessTextureMode(currentCaller, AstRefTypeVar);
 4969|      0|        }
 4970|      0|        else {
 4971|      0|            error(loc, "non-uniform struct contains a sampler or image:", type.getBasicTypeString().c_str(), identifier.c_str());
 4972|      0|        }
 4973|      0|    }
 4974|  3.02k|    else if (type.getBasicType() == EbtSampler && type.getQualifier().storage != EvqUniform) {
  ------------------
  |  Branch (4974:14): [True: 0, False: 3.02k]
  |  Branch (4974:51): [True: 0, False: 0]
  ------------------
 4975|       |        // For bindless texture, sampler can be declared as an input/output/block member
 4976|      0|        if (extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (4976:13): [True: 0, False: 0]
  ------------------
 4977|      0|            if (type.getSampler().isImage())
  ------------------
  |  Branch (4977:17): [True: 0, False: 0]
  ------------------
 4978|      0|                intermediate.setBindlessImageMode(currentCaller, AstRefTypeVar);
 4979|      0|            else
 4980|      0|                intermediate.setBindlessTextureMode(currentCaller, AstRefTypeVar);
 4981|      0|        }
 4982|      0|        else {
 4983|       |            // non-uniform sampler
 4984|       |            // not yet:  okay if it has an initializer
 4985|       |            // if (! initializer)
 4986|      0|            if (type.getSampler().isAttachmentEXT() && type.getQualifier().storage != EvqTileImageEXT)
  ------------------
  |  Branch (4986:17): [True: 0, False: 0]
  |  Branch (4986:56): [True: 0, False: 0]
  ------------------
 4987|      0|                 error(loc, "can only be used in tileImageEXT variables or function parameters:", type.getBasicTypeString().c_str(), identifier.c_str());
 4988|      0|            else if (type.getQualifier().storage != EvqTileImageEXT)
  ------------------
  |  Branch (4988:22): [True: 0, False: 0]
  ------------------
 4989|      0|                 error(loc, "sampler/image types can only be used in uniform variables or function parameters:", type.getBasicTypeString().c_str(), identifier.c_str());
 4990|      0|        }
 4991|      0|    }
 4992|  3.02k|    else if (type.isTensorARM() && type.getQualifier().storage != EvqUniform) {
  ------------------
  |  Branch (4992:14): [True: 0, False: 3.02k]
  |  Branch (4992:36): [True: 0, False: 0]
  ------------------
 4993|      0|        error(loc, "tensorARM types can only be used in uniform variables or function parameters:", "tensorARM", identifier.c_str());
 4994|      0|    }
 4995|  3.02k|}
_ZN7glslang13TParseContext15atomicUintCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4998|  3.17k|{
 4999|  3.17k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (4999:9): [True: 150, False: 3.02k]
  ------------------
 5000|    150|        return;
 5001|       |
 5002|  3.02k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtAtomicUint))
  ------------------
  |  Branch (5002:9): [True: 0, False: 3.02k]
  |  Branch (5002:45): [True: 0, False: 0]
  ------------------
 5003|      0|        error(loc, "non-uniform struct contains an atomic_uint:", type.getBasicTypeString().c_str(), identifier.c_str());
 5004|  3.02k|    else if (type.getBasicType() == EbtAtomicUint && type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5004:14): [True: 0, False: 3.02k]
  |  Branch (5004:54): [True: 0, False: 0]
  ------------------
 5005|      0|        error(loc, "atomic_uints can only be used in uniform variables or function parameters:", type.getBasicTypeString().c_str(), identifier.c_str());
 5006|  3.02k|}
_ZN7glslang13TParseContext14accStructCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5009|  3.17k|{
 5010|  3.17k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (5010:9): [True: 150, False: 3.02k]
  ------------------
 5011|    150|        return;
 5012|       |
 5013|  3.02k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtAccStruct))
  ------------------
  |  Branch (5013:9): [True: 0, False: 3.02k]
  |  Branch (5013:45): [True: 0, False: 0]
  ------------------
 5014|      0|        error(loc, "non-uniform struct contains an accelerationStructureNV:", type.getBasicTypeString().c_str(), identifier.c_str());
 5015|  3.02k|    else if (type.getBasicType() == EbtAccStruct && type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5015:14): [True: 0, False: 3.02k]
  |  Branch (5015:53): [True: 0, False: 0]
  ------------------
 5016|      0|        error(loc, "accelerationStructureNV can only be used in uniform variables or function parameters:",
 5017|      0|            type.getBasicTypeString().c_str(), identifier.c_str());
 5018|       |
 5019|  3.02k|}
_ZN7glslang13TParseContext17hitObjectEXTCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5022|  3.17k|{
 5023|  3.17k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtHitObjectEXT)) {
  ------------------
  |  Branch (5023:9): [True: 94, False: 3.07k]
  |  Branch (5023:45): [True: 0, False: 94]
  ------------------
 5024|      0|        error(loc, "struct is not allowed to contain hitObjectEXT:", type.getTypeName().c_str(), identifier.c_str());
 5025|  3.17k|    } else if (type.getBasicType() == EbtHitObjectEXT) {
  ------------------
  |  Branch (5025:16): [True: 0, False: 3.17k]
  ------------------
 5026|      0|        TStorageQualifier qualifier = type.getQualifier().storage;
 5027|      0|        if (qualifier != EvqGlobal && qualifier != EvqTemporary) {
  ------------------
  |  Branch (5027:13): [True: 0, False: 0]
  |  Branch (5027:39): [True: 0, False: 0]
  ------------------
 5028|      0|            error(loc, "hitObjectEXT can only be declared in global or function scope with no storage qualifier:", "hitObjectEXT", identifier.c_str());
 5029|      0|        }
 5030|      0|    }
 5031|  3.17k|}
_ZN7glslang13TParseContext16hitObjectNVCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5033|  3.17k|{
 5034|  3.17k|    if (type.getBasicType() == EbtStruct && ( containsFieldWithBasicType(type, EbtHitObjectNV))) {
  ------------------
  |  Branch (5034:9): [True: 94, False: 3.07k]
  |  Branch (5034:45): [True: 0, False: 94]
  ------------------
 5035|      0|        error(loc, "struct is not allowed to contain hitObjectNV:", type.getTypeName().c_str(), identifier.c_str());
 5036|  3.17k|    } else if ((type.getBasicType() == EbtHitObjectNV)) {
  ------------------
  |  Branch (5036:16): [True: 0, False: 3.17k]
  ------------------
 5037|      0|        TStorageQualifier qualifier = type.getQualifier().storage;
 5038|      0|        if (qualifier != EvqGlobal && qualifier != EvqTemporary) {
  ------------------
  |  Branch (5038:13): [True: 0, False: 0]
  |  Branch (5038:39): [True: 0, False: 0]
  ------------------
 5039|      0|            error(loc, "hitObjectNV can only be declared in global or function scope with no storage qualifier:", "hitObjectNV", identifier.c_str());
 5040|      0|        }
 5041|      0|    }
 5042|  3.17k|}
_ZN7glslang13TParseContext22transparentOpaqueCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5045|  3.17k|{
 5046|  3.17k|    if (parsingBuiltins)
  ------------------
  |  Branch (5046:9): [True: 3.17k, False: 0]
  ------------------
 5047|  3.17k|        return;
 5048|       |
 5049|      0|    if (type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5049:9): [True: 0, False: 0]
  ------------------
 5050|      0|        return;
 5051|       |
 5052|      0|    if (type.containsNonOpaque()) {
  ------------------
  |  Branch (5052:9): [True: 0, False: 0]
  ------------------
 5053|       |        // Vulkan doesn't allow transparent uniforms outside of blocks
 5054|      0|        if (spvVersion.vulkan > 0 && !spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (5054:13): [True: 0, False: 0]
  |  Branch (5054:38): [True: 0, False: 0]
  ------------------
 5055|      0|            vulkanRemoved(loc, "non-opaque uniforms outside a block");
 5056|       |        // OpenGL wants locations on these (unless they are getting automapped)
 5057|      0|        if (spvVersion.openGl > 0 && !type.getQualifier().hasLocation() && !intermediate.getAutoMapLocations())
  ------------------
  |  Branch (5057:13): [True: 0, False: 0]
  |  Branch (5057:38): [True: 0, False: 0]
  |  Branch (5057:76): [True: 0, False: 0]
  ------------------
 5058|      0|            error(loc, "non-opaque uniform variables need a layout(location=L)", identifier.c_str(), "");
 5059|      0|    }
 5060|      0|}
_ZN7glslang13TParseContext20memberQualifierCheckERNS_11TPublicTypeE:
 5066|    290|{
 5067|    290|    globalQualifierFixCheck(publicType.loc, publicType.qualifier, true);
 5068|    290|    checkNoShaderLayouts(publicType.loc, publicType.shaderQualifiers);
 5069|    290|    if (publicType.qualifier.isNonUniform()) {
  ------------------
  |  Branch (5069:9): [True: 0, False: 290]
  ------------------
 5070|      0|        error(publicType.loc, "not allowed on block or structure members", "nonuniformEXT", "");
 5071|      0|        publicType.qualifier.nonUniform = false;
 5072|      0|    }
 5073|    290|    if (publicType.qualifier.isPatch()) {
  ------------------
  |  Branch (5073:9): [True: 0, False: 290]
  ------------------
 5074|      0|        error(publicType.loc, "not allowed on block or structure members",
 5075|      0|              "patch", "");
 5076|      0|    }
 5077|    290|}
_ZN7glslang13TParseContext23globalQualifierFixCheckERKNS_10TSourceLocERNS_10TQualifierEbPKNS_11TPublicTypeE:
 5083|  6.73k|{
 5084|  6.73k|    bool nonuniformOkay = false;
 5085|       |
 5086|       |    // move from parameter/unknown qualifiers to pipeline in/out qualifiers
 5087|  6.73k|    switch (qualifier.storage) {
 5088|  1.48k|    case EvqIn:
  ------------------
  |  Branch (5088:5): [True: 1.48k, False: 5.24k]
  ------------------
 5089|  1.48k|        profileRequires(loc, ENoProfile, 130, nullptr, "in for stage inputs");
 5090|  1.48k|        profileRequires(loc, EEsProfile, 300, nullptr, "in for stage inputs");
 5091|  1.48k|        qualifier.storage = EvqVaryingIn;
 5092|  1.48k|        nonuniformOkay = true;
 5093|  1.48k|        break;
 5094|    172|    case EvqOut:
  ------------------
  |  Branch (5094:5): [True: 172, False: 6.56k]
  ------------------
 5095|    172|        profileRequires(loc, ENoProfile, 130, nullptr, "out for stage outputs");
 5096|    172|        profileRequires(loc, EEsProfile, 300, nullptr, "out for stage outputs");
 5097|    172|        qualifier.storage = EvqVaryingOut;
 5098|    172|        if (intermediate.isInvariantAll())
  ------------------
  |  Branch (5098:13): [True: 0, False: 172]
  ------------------
 5099|      0|            qualifier.invariant = true;
 5100|    172|        break;
 5101|      0|    case EvqInOut:
  ------------------
  |  Branch (5101:5): [True: 0, False: 6.73k]
  ------------------
 5102|      0|        qualifier.storage = EvqVaryingIn;
 5103|      0|        error(loc, "cannot use 'inout' at global scope", "", "");
 5104|      0|        break;
 5105|  3.69k|    case EvqGlobal:
  ------------------
  |  Branch (5105:5): [True: 3.69k, False: 3.04k]
  ------------------
 5106|  3.71k|    case EvqTemporary:
  ------------------
  |  Branch (5106:5): [True: 20, False: 6.71k]
  ------------------
 5107|  3.71k|        nonuniformOkay = true;
 5108|  3.71k|        break;
 5109|    150|    case EvqUniform:
  ------------------
  |  Branch (5109:5): [True: 150, False: 6.58k]
  ------------------
 5110|       |        // According to GLSL spec: The std430 qualifier is supported only for shader storage blocks; a shader using
 5111|       |        // the std430 qualifier on a uniform block will fail to compile.
 5112|       |        // Only check the global declaration: layout(std430) uniform;
 5113|    150|        if (blockName == nullptr &&
  ------------------
  |  Branch (5113:13): [True: 130, False: 20]
  ------------------
 5114|    130|            qualifier.layoutPacking == ElpStd430)
  ------------------
  |  Branch (5114:13): [True: 0, False: 130]
  ------------------
 5115|      0|        {
 5116|      0|            requireExtensions(loc, 1, &E_GL_EXT_scalar_block_layout, "default std430 layout for uniform");
 5117|      0|        }
 5118|       |
 5119|    150|        if (publicType != nullptr && publicType->isImage() &&
  ------------------
  |  Branch (5119:13): [True: 150, False: 0]
  |  Branch (5119:38): [True: 0, False: 150]
  ------------------
 5120|      0|            (qualifier.layoutFormat > ElfExtSizeGuard && qualifier.layoutFormat < ElfCount))
  ------------------
  |  Branch (5120:14): [True: 0, False: 0]
  |  Branch (5120:58): [True: 0, False: 0]
  ------------------
 5121|      0|            qualifier.layoutFormat = mapLegacyLayoutFormat(qualifier.layoutFormat, publicType->sampler.getBasicType());
 5122|       |
 5123|    150|        break;
 5124|  1.21k|    default:
  ------------------
  |  Branch (5124:5): [True: 1.21k, False: 5.52k]
  ------------------
 5125|  1.21k|        break;
 5126|  6.73k|    }
 5127|       |
 5128|  6.73k|    if (!nonuniformOkay && qualifier.isNonUniform())
  ------------------
  |  Branch (5128:9): [True: 1.53k, False: 5.20k]
  |  Branch (5128:28): [True: 0, False: 1.53k]
  ------------------
 5129|      0|        error(loc, "for non-parameter, can only apply to 'in' or no storage qualifier", "nonuniformEXT", "");
 5130|       |
 5131|  6.73k|    if (qualifier.isSpirvByReference())
  ------------------
  |  Branch (5131:9): [True: 0, False: 6.73k]
  ------------------
 5132|      0|        error(loc, "can only apply to parameter", "spirv_by_reference", "");
 5133|       |
 5134|  6.73k|    if (qualifier.isSpirvLiteral())
  ------------------
  |  Branch (5134:9): [True: 0, False: 6.73k]
  ------------------
 5135|      0|        error(loc, "can only apply to parameter", "spirv_literal", "");
 5136|       |
 5137|       |    // Storage qualifier isn't ready for memberQualifierCheck, we should skip invariantCheck for it.
 5138|  6.73k|    if (!isMemberCheck || structNestingLevel > 0)
  ------------------
  |  Branch (5138:9): [True: 6.44k, False: 290]
  |  Branch (5138:27): [True: 270, False: 20]
  ------------------
 5139|  6.71k|        invariantCheck(loc, qualifier);
 5140|       |
 5141|  6.73k|    if (qualifier.isFullQuads()) {
  ------------------
  |  Branch (5141:9): [True: 0, False: 6.73k]
  ------------------
 5142|      0|        if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (5142:13): [True: 0, False: 0]
  ------------------
 5143|      0|            error(loc, "can only apply to input layout", "full_quads ", "");
 5144|      0|        intermediate.setReqFullQuadsMode();
 5145|      0|    }
 5146|       |
 5147|  6.73k|    if (qualifier.isQuadDeriv()) {
  ------------------
  |  Branch (5147:9): [True: 0, False: 6.73k]
  ------------------
 5148|      0|        if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (5148:13): [True: 0, False: 0]
  ------------------
 5149|      0|            error(loc, "can only apply to input layout", "quad_derivatives", "");
 5150|      0|        intermediate.setQuadDerivMode();
 5151|      0|    }
 5152|  6.73k|}
_ZN7glslang13TParseContext24globalQualifierTypeCheckERKNS_10TSourceLocERKNS_10TQualifierERKNS_11TPublicTypeE:
 5158|  75.3k|{
 5159|  75.3k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (5159:9): [True: 0, False: 75.3k]
  ------------------
 5160|      0|        return;
 5161|       |
 5162|  75.3k|    if (!(publicType.userDef && publicType.userDef->isReference()) && !publicType.isTensorARM() && !parsingBuiltins) {
  ------------------
  |  Branch (5162:11): [True: 196, False: 75.1k]
  |  Branch (5162:33): [True: 0, False: 196]
  |  Branch (5162:71): [True: 75.3k, False: 0]
  |  Branch (5162:100): [True: 0, False: 75.3k]
  ------------------
 5163|      0|        if (qualifier.isMemoryQualifierImageAndSSBOOnly() && ! publicType.isImage() && publicType.qualifier.storage != EvqBuffer) {
  ------------------
  |  Branch (5163:13): [True: 0, False: 0]
  |  Branch (5163:62): [True: 0, False: 0]
  |  Branch (5163:88): [True: 0, False: 0]
  ------------------
 5164|      0|            error(loc, "memory qualifiers cannot be used on this type", "", "");
 5165|      0|        } else if (qualifier.isMemory() && (publicType.basicType != EbtSampler) && !publicType.qualifier.isUniformOrBuffer()) {
  ------------------
  |  Branch (5165:20): [True: 0, False: 0]
  |  Branch (5165:44): [True: 0, False: 0]
  |  Branch (5165:84): [True: 0, False: 0]
  ------------------
 5166|      0|            error(loc, "memory qualifiers cannot be used on this type", "", "");
 5167|      0|        }
 5168|      0|    }
 5169|       |
 5170|  75.3k|    if (qualifier.storage == EvqBuffer &&
  ------------------
  |  Branch (5170:9): [True: 0, False: 75.3k]
  ------------------
 5171|      0|        publicType.basicType != EbtBlock &&
  ------------------
  |  Branch (5171:9): [True: 0, False: 0]
  ------------------
 5172|      0|        !qualifier.hasBufferReference())
  ------------------
  |  Branch (5172:9): [True: 0, False: 0]
  ------------------
 5173|      0|        error(loc, "buffers can be declared only as blocks", "buffer", "");
 5174|       |
 5175|  75.3k|    if (qualifier.storage != EvqVaryingIn && publicType.basicType == EbtDouble &&
  ------------------
  |  Branch (5175:9): [True: 73.8k, False: 1.48k]
  |  Branch (5175:46): [True: 2.30k, False: 71.5k]
  ------------------
 5176|  2.30k|        extensionTurnedOn(E_GL_ARB_vertex_attrib_64bit) && language == EShLangVertex &&
  ------------------
  |  Branch (5176:9): [True: 0, False: 2.30k]
  |  Branch (5176:60): [True: 0, False: 0]
  ------------------
 5177|      0|        version < 400) {
  ------------------
  |  Branch (5177:9): [True: 0, False: 0]
  ------------------
 5178|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 410, E_GL_ARB_gpu_shader_fp64, "vertex-shader `double` type");
 5179|      0|    }
 5180|  75.3k|    if (qualifier.storage != EvqVaryingIn && qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (5180:9): [True: 73.8k, False: 1.48k]
  |  Branch (5180:46): [True: 73.7k, False: 140]
  ------------------
 5181|  73.7k|        return;
 5182|       |
 5183|  1.62k|    if (publicType.shaderQualifiers.hasBlendEquation())
  ------------------
  |  Branch (5183:9): [True: 0, False: 1.62k]
  ------------------
 5184|      0|        error(loc, "can only be applied to a standalone 'out'", "blend equation", "");
 5185|       |
 5186|       |    // now, knowing it is a shader in/out, do all the in/out semantic checks
 5187|       |
 5188|  1.62k|    if (isTypeInt(publicType.basicType) || publicType.basicType == EbtDouble) {
  ------------------
  |  Branch (5188:9): [True: 1.55k, False: 74]
  |  Branch (5188:44): [True: 0, False: 74]
  ------------------
 5189|  1.55k|        profileRequires(loc, EEsProfile, 300, nullptr, "non-float shader input/output");
 5190|  1.55k|        profileRequires(loc, ~EEsProfile, 130, nullptr, "non-float shader input/output");
 5191|  1.55k|    }
 5192|       |
 5193|  1.62k|    if (!qualifier.flat && !qualifier.isExplicitInterpolation() && !qualifier.isPervertexNV() && !qualifier.isPervertexEXT()) {
  ------------------
  |  Branch (5193:9): [True: 1.55k, False: 70]
  |  Branch (5193:28): [True: 1.55k, False: 0]
  |  Branch (5193:68): [True: 1.55k, False: 0]
  |  Branch (5193:98): [True: 1.55k, False: 0]
  ------------------
 5194|  1.55k|        if (isTypeInt(publicType.basicType) ||
  ------------------
  |  Branch (5194:13): [True: 1.48k, False: 74]
  ------------------
 5195|     74|            publicType.basicType == EbtDouble ||
  ------------------
  |  Branch (5195:13): [True: 0, False: 74]
  ------------------
 5196|     74|            (publicType.userDef && (   publicType.userDef->containsBasicType(EbtInt)
  ------------------
  |  Branch (5196:14): [True: 0, False: 74]
  |  Branch (5196:40): [True: 0, False: 0]
  ------------------
 5197|      0|                                    || publicType.userDef->containsBasicType(EbtUint)
  ------------------
  |  Branch (5197:40): [True: 0, False: 0]
  ------------------
 5198|      0|                                    || publicType.userDef->contains16BitInt()
  ------------------
  |  Branch (5198:40): [True: 0, False: 0]
  ------------------
 5199|      0|                                    || publicType.userDef->contains8BitInt()
  ------------------
  |  Branch (5199:40): [True: 0, False: 0]
  ------------------
 5200|      0|                                    || publicType.userDef->contains64BitInt()
  ------------------
  |  Branch (5200:40): [True: 0, False: 0]
  ------------------
 5201|  1.48k|                                    || publicType.userDef->containsDouble()))) {
  ------------------
  |  Branch (5201:40): [True: 0, False: 0]
  ------------------
 5202|  1.48k|            if (qualifier.storage == EvqVaryingIn && language == EShLangFragment)
  ------------------
  |  Branch (5202:17): [True: 1.37k, False: 108]
  |  Branch (5202:54): [True: 0, False: 1.37k]
  ------------------
 5203|      0|                error(loc, "must be qualified as flat", TType::getBasicString(publicType.basicType), GetStorageQualifierString(qualifier.storage));
 5204|  1.48k|            else if (qualifier.storage == EvqVaryingOut && language == EShLangVertex && version == 300)
  ------------------
  |  Branch (5204:22): [True: 108, False: 1.37k]
  |  Branch (5204:60): [True: 24, False: 84]
  |  Branch (5204:89): [True: 0, False: 24]
  ------------------
 5205|      0|                error(loc, "must be qualified as flat", TType::getBasicString(publicType.basicType), GetStorageQualifierString(qualifier.storage));
 5206|  1.48k|        }
 5207|  1.55k|    }
 5208|       |
 5209|  1.62k|    if (qualifier.isPatch() && qualifier.isInterpolation())
  ------------------
  |  Branch (5209:9): [True: 16, False: 1.60k]
  |  Branch (5209:32): [True: 0, False: 16]
  ------------------
 5210|      0|        error(loc, "cannot use interpolation qualifiers with patch", "patch", "");
 5211|       |
 5212|       |    // Only "patch in" is supported via GL_NV_gpu_shader5
 5213|  1.62k|    if (! symbolTable.atBuiltInLevel() && qualifier.isPatch() && 
  ------------------
  |  Branch (5213:9): [True: 0, False: 1.62k]
  |  Branch (5213:43): [True: 0, False: 0]
  ------------------
 5214|      0|        (language == EShLangGeometry) && qualifier.storage != EvqVaryingIn &&
  ------------------
  |  Branch (5214:9): [True: 0, False: 0]
  |  Branch (5214:42): [True: 0, False: 0]
  ------------------
 5215|      0|        extensionTurnedOn(E_GL_NV_gpu_shader5))
  ------------------
  |  Branch (5215:9): [True: 0, False: 0]
  ------------------
 5216|      0|            error(loc, "only 'patch in' is supported in this stage:", "patch", "geometry");
 5217|       |
 5218|  1.62k|    if (qualifier.isTaskPayload() && publicType.basicType == EbtBlock)
  ------------------
  |  Branch (5218:9): [True: 0, False: 1.62k]
  |  Branch (5218:38): [True: 0, False: 0]
  ------------------
 5219|      0|        error(loc, "taskPayloadSharedEXT variables should not be declared as interface blocks", "taskPayloadSharedEXT", "");
 5220|       |
 5221|  1.62k|    if (qualifier.isTaskMemory() && publicType.basicType != EbtBlock)
  ------------------
  |  Branch (5221:9): [True: 0, False: 1.62k]
  |  Branch (5221:37): [True: 0, False: 0]
  ------------------
 5222|      0|        error(loc, "taskNV variables can be declared only as blocks", "taskNV", "");
 5223|       |
 5224|  1.62k|    if (qualifier.storage == EvqVaryingIn) {
  ------------------
  |  Branch (5224:9): [True: 1.48k, False: 140]
  ------------------
 5225|  1.48k|        switch (language) {
 5226|    120|        case EShLangVertex:
  ------------------
  |  Branch (5226:9): [True: 120, False: 1.36k]
  ------------------
 5227|    120|            if (publicType.basicType == EbtStruct) {
  ------------------
  |  Branch (5227:17): [True: 0, False: 120]
  ------------------
 5228|      0|                error(loc, "cannot be a structure", GetStorageQualifierString(qualifier.storage), "");
 5229|      0|                return;
 5230|      0|            }
 5231|    120|            if (publicType.arraySizes) {
  ------------------
  |  Branch (5231:17): [True: 0, False: 120]
  ------------------
 5232|      0|                requireProfile(loc, ~EEsProfile, "vertex input arrays");
 5233|      0|                profileRequires(loc, ENoProfile, 150, nullptr, "vertex input arrays");
 5234|      0|            }
 5235|    120|            if (publicType.basicType == EbtDouble) {
  ------------------
  |  Branch (5235:17): [True: 0, False: 120]
  ------------------
 5236|      0|            	const char* const float64_attrib[] = {E_GL_NV_gpu_shader5, E_GL_ARB_vertex_attrib_64bit};
 5237|      0|                const int Num_float64_attrib = sizeof(float64_attrib) / sizeof(float64_attrib[0]);        
 5238|      0|                profileRequires(loc, ~EEsProfile, 410, Num_float64_attrib, float64_attrib, "vertex-shader `double` type input");
 5239|      0|			}
 5240|    120|            if (qualifier.isAuxiliary() || qualifier.isInterpolation() || qualifier.isMemory() || qualifier.invariant)
  ------------------
  |  Branch (5240:17): [True: 0, False: 120]
  |  Branch (5240:44): [True: 0, False: 120]
  |  Branch (5240:75): [True: 0, False: 120]
  |  Branch (5240:99): [True: 0, False: 120]
  ------------------
 5241|      0|                error(loc, "vertex input cannot be further qualified", "", "");
 5242|    120|            break;
 5243|    100|        case EShLangFragment:
  ------------------
  |  Branch (5243:9): [True: 100, False: 1.38k]
  ------------------
 5244|    100|            if (publicType.userDef) {
  ------------------
  |  Branch (5244:17): [True: 0, False: 100]
  ------------------
 5245|      0|                profileRequires(loc, EEsProfile, 300, nullptr, "fragment-shader struct input");
 5246|      0|                profileRequires(loc, ~EEsProfile, 150, nullptr, "fragment-shader struct input");
 5247|      0|                if (publicType.userDef->containsStructure())
  ------------------
  |  Branch (5247:21): [True: 0, False: 0]
  ------------------
 5248|      0|                    requireProfile(loc, ~EEsProfile, "fragment-shader struct input containing structure");
 5249|      0|                if (publicType.userDef->containsArray())
  ------------------
  |  Branch (5249:21): [True: 0, False: 0]
  ------------------
 5250|      0|                    requireProfile(loc, ~EEsProfile, "fragment-shader struct input containing an array");
 5251|      0|            }
 5252|    100|            break;
 5253|    120|       case EShLangCompute:
  ------------------
  |  Branch (5253:8): [True: 120, False: 1.36k]
  ------------------
 5254|    120|            if (! symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (5254:17): [True: 0, False: 120]
  ------------------
 5255|      0|                error(loc, "global storage input qualifier cannot be used in a compute shader", "in", "");
 5256|    120|            break;
 5257|    108|       case EShLangTessControl:
  ------------------
  |  Branch (5257:8): [True: 108, False: 1.37k]
  ------------------
 5258|    108|            if (qualifier.patch)
  ------------------
  |  Branch (5258:17): [True: 0, False: 108]
  ------------------
 5259|      0|                error(loc, "can only use on output in tessellation-control shader", "patch", "");
 5260|    108|            break;
 5261|  1.03k|        default:
  ------------------
  |  Branch (5261:9): [True: 1.03k, False: 448]
  ------------------
 5262|  1.03k|            break;
 5263|  1.48k|        }
 5264|  1.48k|    } else {
 5265|       |        // qualifier.storage == EvqVaryingOut
 5266|    140|        switch (language) {
 5267|     32|        case EShLangVertex:
  ------------------
  |  Branch (5267:9): [True: 32, False: 108]
  ------------------
 5268|     32|            if (publicType.userDef) {
  ------------------
  |  Branch (5268:17): [True: 0, False: 32]
  ------------------
 5269|      0|                profileRequires(loc, EEsProfile, 300, nullptr, "vertex-shader struct output");
 5270|      0|                profileRequires(loc, ~EEsProfile, 150, nullptr, "vertex-shader struct output");
 5271|      0|                if (publicType.userDef->containsStructure())
  ------------------
  |  Branch (5271:21): [True: 0, False: 0]
  ------------------
 5272|      0|                    requireProfile(loc, ~EEsProfile, "vertex-shader struct output containing structure");
 5273|      0|                if (publicType.userDef->containsArray())
  ------------------
  |  Branch (5273:21): [True: 0, False: 0]
  ------------------
 5274|      0|                    requireProfile(loc, ~EEsProfile, "vertex-shader struct output containing an array");
 5275|      0|            }
 5276|       |
 5277|     32|            break;
 5278|      4|        case EShLangFragment:
  ------------------
  |  Branch (5278:9): [True: 4, False: 136]
  ------------------
 5279|      4|            profileRequires(loc, EEsProfile, 300, nullptr, "fragment shader output");
 5280|      4|            if (publicType.basicType == EbtStruct) {
  ------------------
  |  Branch (5280:17): [True: 0, False: 4]
  ------------------
 5281|      0|                error(loc, "cannot be a structure", GetStorageQualifierString(qualifier.storage), "");
 5282|      0|                return;
 5283|      0|            }
 5284|      4|            if (publicType.matrixRows > 0) {
  ------------------
  |  Branch (5284:17): [True: 0, False: 4]
  ------------------
 5285|      0|                error(loc, "cannot be a matrix", GetStorageQualifierString(qualifier.storage), "");
 5286|      0|                return;
 5287|      0|            }
 5288|      4|            if (qualifier.isAuxiliary())
  ------------------
  |  Branch (5288:17): [True: 0, False: 4]
  ------------------
 5289|      0|                error(loc, "can't use auxiliary qualifier on a fragment output", "centroid/sample/patch", "");
 5290|      4|            if (qualifier.isInterpolation())
  ------------------
  |  Branch (5290:17): [True: 0, False: 4]
  ------------------
 5291|      0|                error(loc, "can't use interpolation qualifier on a fragment output", "flat/smooth/noperspective", "");
 5292|      4|            if (publicType.basicType == EbtDouble || publicType.basicType == EbtInt64 || publicType.basicType == EbtUint64)
  ------------------
  |  Branch (5292:17): [True: 0, False: 4]
  |  Branch (5292:54): [True: 0, False: 4]
  |  Branch (5292:90): [True: 0, False: 4]
  ------------------
 5293|      0|                error(loc, "cannot contain a double, int64, or uint64", GetStorageQualifierString(qualifier.storage), "");
 5294|      4|        break;
 5295|       |
 5296|      0|        case EShLangCompute:
  ------------------
  |  Branch (5296:9): [True: 0, False: 140]
  ------------------
 5297|      0|            error(loc, "global storage output qualifier cannot be used in a compute shader", "out", "");
 5298|      0|            break;
 5299|     28|        case EShLangTessEvaluation:
  ------------------
  |  Branch (5299:9): [True: 28, False: 112]
  ------------------
 5300|     28|            if (qualifier.patch)
  ------------------
  |  Branch (5300:17): [True: 0, False: 28]
  ------------------
 5301|      0|                error(loc, "can only use on input in tessellation-evaluation shader", "patch", "");
 5302|     28|            break;
 5303|     76|        default:
  ------------------
  |  Branch (5303:9): [True: 76, False: 64]
  ------------------
 5304|     76|            break;
 5305|    140|        }
 5306|    140|    }
 5307|  1.62k|}
_ZN7glslang13TParseContext15mergeQualifiersERKNS_10TSourceLocERNS_10TQualifierERKS4_b:
 5319|  27.3k|{
 5320|       |    // Multiple auxiliary qualifiers (mostly done later by 'individual qualifiers')
 5321|  27.3k|    if (src.isAuxiliary() && dst.isAuxiliary())
  ------------------
  |  Branch (5321:9): [True: 16, False: 27.3k]
  |  Branch (5321:30): [True: 0, False: 16]
  ------------------
 5322|      0|        error(loc, "can only have one auxiliary qualifier (centroid, patch, and sample)", "", "");
 5323|       |
 5324|       |    // Multiple interpolation qualifiers (mostly done later by 'individual qualifiers')
 5325|  27.3k|    if (src.isInterpolation() && dst.isInterpolation())
  ------------------
  |  Branch (5325:9): [True: 70, False: 27.3k]
  |  Branch (5325:34): [True: 0, False: 70]
  ------------------
 5326|      0|        error(loc, "can only have one interpolation qualifier (flat, smooth, noperspective, __explicitInterpAMD)", "", "");
 5327|       |
 5328|       |    // Ordering
 5329|  27.3k|    if (! force && ((!isEsProfile() && version < 420) ||
  ------------------
  |  Branch (5329:9): [True: 20.8k, False: 6.50k]
  |  Branch (5329:22): [True: 20.4k, False: 405]
  |  Branch (5329:40): [True: 0, False: 20.4k]
  ------------------
 5330|  20.8k|                    (isEsProfile() && version < 310))
  ------------------
  |  Branch (5330:22): [True: 405, False: 20.4k]
  |  Branch (5330:39): [True: 405, False: 0]
  ------------------
 5331|    405|                && ! extensionTurnedOn(E_GL_ARB_shading_language_420pack)) {
  ------------------
  |  Branch (5331:20): [True: 405, False: 0]
  ------------------
 5332|       |        // non-function parameters
 5333|    405|        if (src.isNoContraction() && (dst.invariant || dst.isInterpolation() || dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5333:13): [True: 0, False: 405]
  |  Branch (5333:39): [True: 0, False: 0]
  |  Branch (5333:56): [True: 0, False: 0]
  |  Branch (5333:81): [True: 0, False: 0]
  |  Branch (5333:102): [True: 0, False: 0]
  |  Branch (5333:133): [True: 0, False: 0]
  ------------------
 5334|      0|            error(loc, "precise qualifier must appear first", "", "");
 5335|    405|        if (src.invariant && (dst.isInterpolation() || dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5335:13): [True: 0, False: 405]
  |  Branch (5335:31): [True: 0, False: 0]
  |  Branch (5335:56): [True: 0, False: 0]
  |  Branch (5335:77): [True: 0, False: 0]
  |  Branch (5335:108): [True: 0, False: 0]
  ------------------
 5336|      0|            error(loc, "invariant qualifier must appear before interpolation, storage, and precision qualifiers ", "", "");
 5337|    405|        else if (src.isInterpolation() && (dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5337:18): [True: 0, False: 405]
  |  Branch (5337:44): [True: 0, False: 0]
  |  Branch (5337:65): [True: 0, False: 0]
  |  Branch (5337:96): [True: 0, False: 0]
  ------------------
 5338|      0|            error(loc, "interpolation qualifiers must appear before storage and precision qualifiers", "", "");
 5339|    405|        else if (src.isAuxiliary() && (dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5339:18): [True: 0, False: 405]
  |  Branch (5339:40): [True: 0, False: 0]
  |  Branch (5339:71): [True: 0, False: 0]
  ------------------
 5340|      0|            error(loc, "Auxiliary qualifiers (centroid, patch, and sample) must appear before storage and precision qualifiers", "", "");
 5341|    405|        else if (src.storage != EvqTemporary && (dst.precision != EpqNone))
  ------------------
  |  Branch (5341:18): [True: 405, False: 0]
  |  Branch (5341:49): [True: 0, False: 405]
  ------------------
 5342|      0|            error(loc, "precision qualifier must appear as last qualifier", "", "");
 5343|       |
 5344|       |        // function parameters
 5345|    405|        if (src.isNoContraction() && (dst.storage == EvqConst || dst.storage == EvqIn || dst.storage == EvqOut))
  ------------------
  |  Branch (5345:13): [True: 0, False: 405]
  |  Branch (5345:39): [True: 0, False: 0]
  |  Branch (5345:66): [True: 0, False: 0]
  |  Branch (5345:90): [True: 0, False: 0]
  ------------------
 5346|      0|            error(loc, "precise qualifier must appear first", "", "");
 5347|    405|        if (src.storage == EvqConst && (dst.storage == EvqIn || dst.storage == EvqOut))
  ------------------
  |  Branch (5347:13): [True: 0, False: 405]
  |  Branch (5347:41): [True: 0, False: 0]
  |  Branch (5347:65): [True: 0, False: 0]
  ------------------
 5348|      0|            error(loc, "in/out must appear before const", "", "");
 5349|    405|    }
 5350|       |
 5351|       |    // Storage qualification
 5352|  27.3k|    if (dst.storage == EvqTemporary || dst.storage == EvqGlobal)
  ------------------
  |  Branch (5352:9): [True: 18.7k, False: 8.62k]
  |  Branch (5352:40): [True: 6.50k, False: 2.12k]
  ------------------
 5353|  25.2k|        dst.storage = src.storage;
 5354|  2.12k|    else if ((dst.storage == EvqIn  && src.storage == EvqOut) ||
  ------------------
  |  Branch (5354:15): [True: 1.32k, False: 801]
  |  Branch (5354:40): [True: 0, False: 1.32k]
  ------------------
 5355|  2.12k|             (dst.storage == EvqOut && src.storage == EvqIn))
  ------------------
  |  Branch (5355:15): [True: 144, False: 1.97k]
  |  Branch (5355:40): [True: 0, False: 144]
  ------------------
 5356|      0|        dst.storage = EvqInOut;
 5357|  2.12k|    else if ((dst.storage == EvqIn    && src.storage == EvqConst) ||
  ------------------
  |  Branch (5357:15): [True: 1.32k, False: 801]
  |  Branch (5357:42): [True: 0, False: 1.32k]
  ------------------
 5358|  2.12k|             (dst.storage == EvqConst && src.storage == EvqIn))
  ------------------
  |  Branch (5358:15): [True: 637, False: 1.48k]
  |  Branch (5358:42): [True: 0, False: 637]
  ------------------
 5359|      0|        dst.storage = EvqConstReadOnly;
 5360|  2.12k|    else if (src.storage != EvqTemporary &&
  ------------------
  |  Branch (5360:14): [True: 1.80k, False: 320]
  ------------------
 5361|  1.80k|             src.storage != EvqGlobal)
  ------------------
  |  Branch (5361:14): [True: 0, False: 1.80k]
  ------------------
 5362|      0|        error(loc, "too many storage qualifiers", GetStorageQualifierString(src.storage), "");
 5363|       |
 5364|       |    // Precision qualifiers
 5365|  27.3k|    if (! force && src.precision != EpqNone && dst.precision != EpqNone)
  ------------------
  |  Branch (5365:9): [True: 20.8k, False: 6.50k]
  |  Branch (5365:20): [True: 1.07k, False: 19.8k]
  |  Branch (5365:48): [True: 0, False: 1.07k]
  ------------------
 5366|      0|        error(loc, "only one precision qualifier allowed", GetPrecisionQualifierString(src.precision), "");
 5367|  27.3k|    if (dst.precision == EpqNone || (force && src.precision != EpqNone))
  ------------------
  |  Branch (5367:9): [True: 27.3k, False: 90]
  |  Branch (5367:38): [True: 0, False: 90]
  |  Branch (5367:47): [True: 0, False: 0]
  ------------------
 5368|  27.3k|        dst.precision = src.precision;
 5369|       |
 5370|  27.3k|    if (!force && ((src.coherent && (dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5370:9): [True: 20.8k, False: 6.50k]
  |  Branch (5370:21): [True: 7.94k, False: 12.9k]
  |  Branch (5370:38): [True: 0, False: 7.94k]
  |  Branch (5370:60): [True: 0, False: 7.94k]
  |  Branch (5370:87): [True: 0, False: 7.94k]
  |  Branch (5370:112): [True: 0, False: 7.94k]
  |  Branch (5370:136): [True: 0, False: 7.94k]
  ------------------
 5371|  20.8k|                   (src.devicecoherent && (dst.coherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5371:21): [True: 0, False: 20.8k]
  |  Branch (5371:44): [True: 0, False: 0]
  |  Branch (5371:60): [True: 0, False: 0]
  |  Branch (5371:87): [True: 0, False: 0]
  |  Branch (5371:112): [True: 0, False: 0]
  |  Branch (5371:136): [True: 0, False: 0]
  ------------------
 5372|  20.8k|                   (src.queuefamilycoherent && (dst.coherent || dst.devicecoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5372:21): [True: 0, False: 20.8k]
  |  Branch (5372:49): [True: 0, False: 0]
  |  Branch (5372:65): [True: 0, False: 0]
  |  Branch (5372:87): [True: 0, False: 0]
  |  Branch (5372:112): [True: 0, False: 0]
  |  Branch (5372:136): [True: 0, False: 0]
  ------------------
 5373|  20.8k|                   (src.workgroupcoherent && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5373:21): [True: 0, False: 20.8k]
  |  Branch (5373:47): [True: 0, False: 0]
  |  Branch (5373:63): [True: 0, False: 0]
  |  Branch (5373:85): [True: 0, False: 0]
  |  Branch (5373:112): [True: 0, False: 0]
  |  Branch (5373:136): [True: 0, False: 0]
  ------------------
 5374|  20.8k|                   (src.subgroupcoherent  && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5374:21): [True: 0, False: 20.8k]
  |  Branch (5374:47): [True: 0, False: 0]
  |  Branch (5374:63): [True: 0, False: 0]
  |  Branch (5374:85): [True: 0, False: 0]
  |  Branch (5374:112): [True: 0, False: 0]
  |  Branch (5374:137): [True: 0, False: 0]
  ------------------
 5375|  20.8k|                   (src.shadercallcoherent && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent)))) {
  ------------------
  |  Branch (5375:21): [True: 0, False: 20.8k]
  |  Branch (5375:48): [True: 0, False: 0]
  |  Branch (5375:64): [True: 0, False: 0]
  |  Branch (5375:86): [True: 0, False: 0]
  |  Branch (5375:113): [True: 0, False: 0]
  |  Branch (5375:138): [True: 0, False: 0]
  ------------------
 5376|      0|        error(loc, "only one coherent/devicecoherent/queuefamilycoherent/workgroupcoherent/subgroupcoherent/shadercallcoherent qualifier allowed",
 5377|      0|            GetPrecisionQualifierString(src.precision), "");
 5378|      0|    }
 5379|       |
 5380|       |    // Layout qualifiers
 5381|  27.3k|    mergeObjectLayoutQualifiers(dst, src, false);
 5382|       |
 5383|       |    // individual qualifiers
 5384|  27.3k|    bool repeated = false;
 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
 5386|  27.3k|    MERGE_SINGLETON(invariant);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 27.3k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5387|  27.3k|    MERGE_SINGLETON(centroid);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 27.3k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5388|  27.3k|    MERGE_SINGLETON(smooth);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 27.3k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5389|  27.3k|    MERGE_SINGLETON(flat);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 108, False: 27.2k]
  |  |  |  Branch (5385:61): [True: 0, False: 108]
  |  |  ------------------
  ------------------
 5390|  27.3k|    MERGE_SINGLETON(specConstant);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 27.3k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5391|  27.3k|    MERGE_SINGLETON(noContraction);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 27.3k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5392|  27.3k|    MERGE_SINGLETON(nopersp);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 27.3k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5393|  27.3k|    MERGE_SINGLETON(explicitInterp);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 27.3k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5394|  27.3k|    MERGE_SINGLETON(perPrimitiveNV);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 8, False: 27.3k]
  |  |  |  Branch (5385:61): [True: 0, False: 8]
  |  |  ------------------
  ------------------
 5395|  27.3k|    MERGE_SINGLETON(perViewNV);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 27.3k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5396|  27.3k|    MERGE_SINGLETON(perTaskNV);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 27.3k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5397|  27.3k|    MERGE_SINGLETON(patch);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 16, False: 27.3k]
  |  |  |  Branch (5385:61): [True: 0, False: 16]
  |  |  ------------------
  ------------------
 5398|  27.3k|    MERGE_SINGLETON(sample);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 27.3k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5399|  27.3k|    MERGE_SINGLETON(coherent);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 8.55k, False: 18.8k]
  |  |  |  Branch (5385:61): [True: 0, False: 8.55k]
  |  |  ------------------
  ------------------
 5400|  27.3k|    MERGE_SINGLETON(devicecoherent);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 27.3k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5401|  27.3k|    MERGE_SINGLETON(queuefamilycoherent);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 27.3k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5402|  27.3k|    MERGE_SINGLETON(workgroupcoherent);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 27.3k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5403|  27.3k|    MERGE_SINGLETON(subgroupcoherent);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 27.3k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5404|  27.3k|    MERGE_SINGLETON(shadercallcoherent);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 27.3k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5405|  27.3k|    MERGE_SINGLETON(nonprivate);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 27.3k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5406|  27.3k|    MERGE_SINGLETON(volatil);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 16.0k, False: 11.3k]
  |  |  |  Branch (5385:61): [True: 0, False: 16.0k]
  |  |  ------------------
  ------------------
 5407|  27.3k|    MERGE_SINGLETON(nontemporal);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 440, False: 26.9k]
  |  |  |  Branch (5385:61): [True: 0, False: 440]
  |  |  ------------------
  ------------------
 5408|  27.3k|    MERGE_SINGLETON(restrict);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 27.3k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5409|  27.3k|    MERGE_SINGLETON(readonly);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 3.74k, False: 23.6k]
  |  |  |  Branch (5385:61): [True: 0, False: 3.74k]
  |  |  ------------------
  ------------------
 5410|  27.3k|    MERGE_SINGLETON(writeonly);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 2.49k, False: 24.8k]
  |  |  |  Branch (5385:61): [True: 0, False: 2.49k]
  |  |  ------------------
  ------------------
 5411|  27.3k|    MERGE_SINGLETON(nonUniform);
  ------------------
  |  | 5385|  27.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 27.3k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5412|       |
 5413|       |    // SPIR-V storage class qualifier (GL_EXT_spirv_intrinsics)
 5414|  27.3k|    dst.spirvStorageClass = src.spirvStorageClass;
 5415|       |
 5416|       |    // SPIR-V decorate qualifiers (GL_EXT_spirv_intrinsics)
 5417|  27.3k|    if (src.hasSpirvDecorate()) {
  ------------------
  |  Branch (5417:9): [True: 0, False: 27.3k]
  ------------------
 5418|      0|        if (dst.hasSpirvDecorate()) {
  ------------------
  |  Branch (5418:13): [True: 0, False: 0]
  ------------------
 5419|      0|            const TSpirvDecorate& srcSpirvDecorate = src.getSpirvDecorate();
 5420|      0|            TSpirvDecorate& dstSpirvDecorate = dst.getSpirvDecorate();
 5421|      0|            for (auto& decorate : srcSpirvDecorate.decorates) {
  ------------------
  |  Branch (5421:33): [True: 0, False: 0]
  ------------------
 5422|      0|                if (dstSpirvDecorate.decorates.find(decorate.first) != dstSpirvDecorate.decorates.end())
  ------------------
  |  Branch (5422:21): [True: 0, False: 0]
  ------------------
 5423|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate", "(decoration=%u)", decorate.first);
 5424|      0|                else
 5425|      0|                    dstSpirvDecorate.decorates.insert(decorate);
 5426|      0|            }
 5427|       |
 5428|      0|            for (auto& decorateId : srcSpirvDecorate.decorateIds) {
  ------------------
  |  Branch (5428:35): [True: 0, False: 0]
  ------------------
 5429|      0|                if (dstSpirvDecorate.decorateIds.find(decorateId.first) != dstSpirvDecorate.decorateIds.end())
  ------------------
  |  Branch (5429:21): [True: 0, False: 0]
  ------------------
 5430|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate_id", "(decoration=%u)", decorateId.first);
 5431|      0|                else
 5432|      0|                    dstSpirvDecorate.decorateIds.insert(decorateId);
 5433|      0|            }
 5434|       |
 5435|      0|            for (auto& decorateString : srcSpirvDecorate.decorateStrings) {
  ------------------
  |  Branch (5435:39): [True: 0, False: 0]
  ------------------
 5436|      0|                if (dstSpirvDecorate.decorates.find(decorateString.first) != dstSpirvDecorate.decorates.end())
  ------------------
  |  Branch (5436:21): [True: 0, False: 0]
  ------------------
 5437|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate_string", "(decoration=%u)", decorateString.first);
 5438|      0|                else
 5439|      0|                    dstSpirvDecorate.decorateStrings.insert(decorateString);
 5440|      0|            }
 5441|      0|        } else {
 5442|      0|            dst.spirvDecorate = src.spirvDecorate;
 5443|      0|        }
 5444|      0|    }
 5445|       |
 5446|  27.3k|    if (repeated)
  ------------------
  |  Branch (5446:9): [True: 0, False: 27.3k]
  ------------------
 5447|      0|        error(loc, "replicated qualifiers", "", "");
 5448|  27.3k|}
_ZN7glslang13TParseContext23computeSamplerTypeIndexERNS_8TSamplerE:
 5486|  22.9k|{
 5487|  22.9k|    int arrayIndex    = sampler.arrayed         ? 1 : 0;
  ------------------
  |  Branch (5487:25): [True: 6.67k, False: 16.2k]
  ------------------
 5488|  22.9k|    int shadowIndex   = sampler.shadow          ? 1 : 0;
  ------------------
  |  Branch (5488:25): [True: 2.74k, False: 20.2k]
  ------------------
 5489|  22.9k|    int externalIndex = sampler.isExternal()    ? 1 : 0;
  ------------------
  |  Branch (5489:25): [True: 552, False: 22.4k]
  ------------------
 5490|  22.9k|    int imageIndex    = sampler.isImageClass()  ? 1 : 0;
  ------------------
  |  Branch (5490:25): [True: 6.24k, False: 16.7k]
  ------------------
 5491|  22.9k|    int msIndex       = sampler.isMultiSample() ? 1 : 0;
  ------------------
  |  Branch (5491:25): [True: 1.36k, False: 21.5k]
  ------------------
 5492|       |
 5493|  22.9k|    int flattened = EsdNumDims * (EbtNumTypes * (2 * (2 * (2 * (2 * arrayIndex + msIndex) + imageIndex) + shadowIndex) +
 5494|  22.9k|                                                 externalIndex) + sampler.type) + sampler.dim;
 5495|  22.9k|    assert(flattened < maxSamplerIndex);
 5496|       |
 5497|  22.9k|    return flattened;
 5498|  22.9k|}
_ZN7glslang13TParseContext19getDefaultPrecisionERNS_11TPublicTypeE:
 5501|   261k|{
 5502|   261k|    if (publicType.basicType == EbtSampler)
  ------------------
  |  Branch (5502:9): [True: 22.1k, False: 239k]
  ------------------
 5503|  22.1k|        return defaultSamplerPrecision[computeSamplerTypeIndex(publicType.sampler)];
 5504|   239k|    else
 5505|   239k|        return defaultPrecision[publicType.basicType];
 5506|   261k|}
_ZN7glslang13TParseContext23precisionQualifierCheckERKNS_10TSourceLocENS_10TBasicTypeERNS_10TQualifierEb:
 5509|   261k|{
 5510|       |    // Built-in symbols are allowed some ambiguous precisions, to be pinned down
 5511|       |    // later by context.
 5512|   261k|    if (! obeyPrecisionQualifiers() || parsingBuiltins)
  ------------------
  |  Branch (5512:9): [True: 98.7k, False: 162k]
  |  Branch (5512:40): [True: 162k, False: 0]
  ------------------
 5513|   261k|        return;
 5514|       |
 5515|      0|    if (baseType == EbtAtomicUint && qualifier.precision != EpqNone && qualifier.precision != EpqHigh)
  ------------------
  |  Branch (5515:9): [True: 0, False: 0]
  |  Branch (5515:38): [True: 0, False: 0]
  |  Branch (5515:72): [True: 0, False: 0]
  ------------------
 5516|      0|        error(loc, "atomic counters can only be highp", "atomic_uint", "");
 5517|       |
 5518|      0|    if (hasTypeParameter)
  ------------------
  |  Branch (5518:9): [True: 0, False: 0]
  ------------------
 5519|      0|        return;
 5520|       |
 5521|      0|    if (baseType == EbtFloat || baseType == EbtUint || baseType == EbtInt || baseType == EbtSampler || baseType == EbtAtomicUint) {
  ------------------
  |  Branch (5521:9): [True: 0, False: 0]
  |  Branch (5521:33): [True: 0, False: 0]
  |  Branch (5521:56): [True: 0, False: 0]
  |  Branch (5521:78): [True: 0, False: 0]
  |  Branch (5521:104): [True: 0, False: 0]
  ------------------
 5522|      0|        if (qualifier.precision == EpqNone) {
  ------------------
  |  Branch (5522:13): [True: 0, False: 0]
  ------------------
 5523|      0|            if (relaxedErrors())
  ------------------
  |  Branch (5523:17): [True: 0, False: 0]
  ------------------
 5524|      0|                warn(loc, "type requires declaration of default precision qualifier", TType::getBasicString(baseType), "substituting 'mediump'");
 5525|      0|            else
 5526|      0|                error(loc, "type requires declaration of default precision qualifier", TType::getBasicString(baseType), "");
 5527|      0|            qualifier.precision = EpqMedium;
 5528|      0|            defaultPrecision[baseType] = EpqMedium;
 5529|      0|        }
 5530|      0|    } else if (qualifier.precision != EpqNone)
  ------------------
  |  Branch (5530:16): [True: 0, False: 0]
  ------------------
 5531|      0|        error(loc, "type cannot have precision qualifier", TType::getBasicString(baseType), "");
 5532|      0|}
_ZN7glslang13TParseContext18parameterTypeCheckERKNS_10TSourceLocENS_17TStorageQualifierERKNS_5TTypeE:
 5535|   185k|{
 5536|   185k|    if ((qualifier == EvqOut || qualifier == EvqInOut) && type.isOpaque() && !intermediate.getBindlessMode())
  ------------------
  |  Branch (5536:10): [True: 6.58k, False: 178k]
  |  Branch (5536:33): [True: 432, False: 178k]
  |  Branch (5536:59): [True: 0, False: 7.01k]
  |  Branch (5536:78): [True: 0, False: 0]
  ------------------
 5537|      0|        error(loc, "samplers and atomic_uints cannot be output parameters", type.getBasicTypeString().c_str(), "");
 5538|   185k|    if (!parsingBuiltins && type.contains16BitFloat())
  ------------------
  |  Branch (5538:9): [True: 0, False: 185k]
  |  Branch (5538:29): [True: 0, False: 0]
  ------------------
 5539|      0|        requireFloat16Arithmetic(loc, type.getBasicTypeString().c_str(), "float16 types can only be in uniform block or buffer storage");
 5540|   185k|    if (!parsingBuiltins && type.contains16BitInt())
  ------------------
  |  Branch (5540:9): [True: 0, False: 185k]
  |  Branch (5540:29): [True: 0, False: 0]
  ------------------
 5541|      0|        requireInt16Arithmetic(loc, type.getBasicTypeString().c_str(), "(u)int16 types can only be in uniform block or buffer storage");
 5542|   185k|    if (!parsingBuiltins && type.contains8BitInt())
  ------------------
  |  Branch (5542:9): [True: 0, False: 185k]
  |  Branch (5542:29): [True: 0, False: 0]
  ------------------
 5543|      0|        requireInt8Arithmetic(loc, type.getBasicTypeString().c_str(), "(u)int8 types can only be in uniform block or buffer storage");
 5544|   185k|}
_ZN7glslang13TParseContext26containsFieldWithBasicTypeERKNS_5TTypeENS_10TBasicTypeE:
 5547|    752|{
 5548|    752|    if (type.getBasicType() == basicType)
  ------------------
  |  Branch (5548:9): [True: 0, False: 752]
  ------------------
 5549|      0|        return true;
 5550|       |
 5551|    752|    if (type.getBasicType() == EbtStruct) {
  ------------------
  |  Branch (5551:9): [True: 188, False: 564]
  ------------------
 5552|    188|        const TTypeList& structure = *type.getStruct();
 5553|    752|        for (unsigned int i = 0; i < structure.size(); ++i) {
  ------------------
  |  Branch (5553:34): [True: 564, False: 188]
  ------------------
 5554|    564|            if (containsFieldWithBasicType(*structure[i].type, basicType))
  ------------------
  |  Branch (5554:17): [True: 0, False: 564]
  ------------------
 5555|      0|                return true;
 5556|    564|        }
 5557|    188|    }
 5558|       |
 5559|    752|    return false;
 5560|    752|}
_ZN7glslang13TParseContext14arraySizeCheckERKNS_10TSourceLocEPNS_12TIntermTypedERNS_10TArraySizeEPKcb:
 5567|    776|{
 5568|    776|    bool isConst = false;
 5569|    776|    sizePair.node = nullptr;
 5570|       |
 5571|    776|    int size = 1;
 5572|       |
 5573|    776|    TIntermConstantUnion* constant = expr->getAsConstantUnion();
 5574|    776|    if (constant) {
  ------------------
  |  Branch (5574:9): [True: 776, False: 0]
  ------------------
 5575|       |        // handle true (non-specialization) constant
 5576|    776|        size = constant->getConstArray()[0].getIConst();
 5577|    776|        isConst = true;
 5578|    776|    } else {
 5579|       |        // see if it's a specialization constant instead
 5580|      0|        if (expr->getQualifier().isSpecConstant()) {
  ------------------
  |  Branch (5580:13): [True: 0, False: 0]
  ------------------
 5581|      0|            isConst = true;
 5582|      0|            sizePair.node = expr;
 5583|      0|            TIntermSymbol* symbol = expr->getAsSymbolNode();
 5584|      0|            if (symbol && symbol->getConstArray().size() > 0)
  ------------------
  |  Branch (5584:17): [True: 0, False: 0]
  |  Branch (5584:27): [True: 0, False: 0]
  ------------------
 5585|      0|                size = symbol->getConstArray()[0].getIConst();
 5586|      0|        } else if (expr->getAsUnaryNode() && expr->getAsUnaryNode()->getOp() == glslang::EOpArrayLength &&
  ------------------
  |  Branch (5586:20): [True: 0, False: 0]
  |  Branch (5586:46): [True: 0, False: 0]
  ------------------
 5587|      0|                   expr->getAsUnaryNode()->getOperand()->getType().isCoopMatNV()) {
  ------------------
  |  Branch (5587:20): [True: 0, False: 0]
  ------------------
 5588|      0|            isConst = true;
 5589|      0|            size = 1;
 5590|      0|            sizePair.node = expr->getAsUnaryNode();
 5591|      0|        }
 5592|      0|    }
 5593|       |
 5594|    776|    sizePair.size = size;
 5595|       |
 5596|    776|    if (isTypeParameter) {
  ------------------
  |  Branch (5596:9): [True: 0, False: 776]
  ------------------
 5597|      0|        if (extensionTurnedOn(E_GL_NV_cooperative_matrix2)) {
  ------------------
  |  Branch (5597:13): [True: 0, False: 0]
  ------------------
 5598|      0|            if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint && expr->getBasicType() != EbtBool)) {
  ------------------
  |  Branch (5598:17): [True: 0, False: 0]
  |  Branch (5598:31): [True: 0, False: 0]
  |  Branch (5598:65): [True: 0, False: 0]
  |  Branch (5598:100): [True: 0, False: 0]
  ------------------
 5599|      0|                error(loc, sizeType, "", "must be a constant integer or boolean expression");
 5600|      0|                return;
 5601|      0|            }
 5602|      0|        } else {
 5603|      0|            if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint)) {
  ------------------
  |  Branch (5603:17): [True: 0, False: 0]
  |  Branch (5603:31): [True: 0, False: 0]
  |  Branch (5603:65): [True: 0, False: 0]
  ------------------
 5604|      0|                error(loc, sizeType, "", "must be a constant integer expression");
 5605|      0|                return;
 5606|      0|            }
 5607|      0|        }
 5608|      0|        if (size < 0) {
  ------------------
  |  Branch (5608:13): [True: 0, False: 0]
  ------------------
 5609|      0|            error(loc, sizeType, "", "must be a non-negative integer");
 5610|      0|            return;
 5611|      0|        }
 5612|    776|    } else {
 5613|    776|        if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint)) {
  ------------------
  |  Branch (5613:13): [True: 0, False: 776]
  |  Branch (5613:27): [True: 0, False: 776]
  |  Branch (5613:61): [True: 0, False: 0]
  ------------------
 5614|      0|            error(loc, sizeType, "", "must be a constant integer expression");
 5615|      0|            return;
 5616|      0|        }
 5617|    776|        if (size <= 0) {
  ------------------
  |  Branch (5617:13): [True: 0, False: 776]
  ------------------
 5618|      0|            error(loc, sizeType, "", "must be a positive integer");
 5619|      0|            return;
 5620|      0|        }
 5621|    776|    }
 5622|    776|}
_ZN7glslang13TParseContext19arrayQualifierErrorERKNS_10TSourceLocERKNS_10TQualifierE:
 5630|     96|{
 5631|     96|    if (qualifier.storage == EvqConst) {
  ------------------
  |  Branch (5631:9): [True: 0, False: 96]
  ------------------
 5632|      0|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "const array");
 5633|      0|        profileRequires(loc, EEsProfile, 300, nullptr, "const array");
 5634|      0|    }
 5635|       |
 5636|     96|    if (qualifier.storage == EvqVaryingIn && language == EShLangVertex) {
  ------------------
  |  Branch (5636:9): [True: 22, False: 74]
  |  Branch (5636:46): [True: 0, False: 22]
  ------------------
 5637|      0|        requireProfile(loc, ~EEsProfile, "vertex input arrays");
 5638|      0|        profileRequires(loc, ENoProfile, 150, nullptr, "vertex input arrays");
 5639|      0|    }
 5640|       |
 5641|     96|    return false;
 5642|     96|}
_ZN7glslang13TParseContext10arrayErrorERKNS_10TSourceLocERKNS_5TTypeE:
 5651|     96|{
 5652|     96|    if (type.getQualifier().storage == EvqVaryingOut && language == EShLangVertex) {
  ------------------
  |  Branch (5652:9): [True: 74, False: 22]
  |  Branch (5652:57): [True: 16, False: 58]
  ------------------
 5653|     16|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (5653:13): [True: 0, False: 16]
  ------------------
 5654|      0|            requireProfile(loc, ~EEsProfile, "vertex-shader array-of-array output");
 5655|     16|        else if (type.isStruct())
  ------------------
  |  Branch (5655:18): [True: 0, False: 16]
  ------------------
 5656|      0|            requireProfile(loc, ~EEsProfile, "vertex-shader array-of-struct output");
 5657|     16|    }
 5658|     96|    if (type.getQualifier().storage == EvqVaryingIn && language == EShLangFragment) {
  ------------------
  |  Branch (5658:9): [True: 22, False: 74]
  |  Branch (5658:56): [True: 6, False: 16]
  ------------------
 5659|      6|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (5659:13): [True: 0, False: 6]
  ------------------
 5660|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-array input");
 5661|      6|        else if (type.isStruct())
  ------------------
  |  Branch (5661:18): [True: 0, False: 6]
  ------------------
 5662|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-struct input");
 5663|      6|    }
 5664|     96|    if (type.getQualifier().storage == EvqVaryingOut && language == EShLangFragment) {
  ------------------
  |  Branch (5664:9): [True: 74, False: 22]
  |  Branch (5664:57): [True: 2, False: 72]
  ------------------
 5665|      2|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (5665:13): [True: 0, False: 2]
  ------------------
 5666|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-array output");
 5667|      2|    }
 5668|       |
 5669|     96|    return false;
 5670|     96|}
_ZN7glslang13TParseContext22arraySizeRequiredCheckERKNS_10TSourceLocERKNS_11TArraySizesE:
 5676|  5.52k|{
 5677|  5.52k|    if (!parsingBuiltins && arraySizes.hasUnsized())
  ------------------
  |  Branch (5677:9): [True: 0, False: 5.52k]
  |  Branch (5677:29): [True: 0, False: 0]
  ------------------
 5678|      0|        error(loc, "array size required", "", "");
 5679|  5.52k|}
_ZN7glslang13TParseContext16structArrayCheckERKNS_10TSourceLocERKNS_5TTypeE:
 5682|    102|{
 5683|    102|    const TTypeList& structure = *type.getStruct();
 5684|    424|    for (int m = 0; m < (int)structure.size(); ++m) {
  ------------------
  |  Branch (5684:21): [True: 322, False: 102]
  ------------------
 5685|    322|        const TType& member = *structure[m].type;
 5686|    322|        if (member.isArray())
  ------------------
  |  Branch (5686:13): [True: 0, False: 322]
  ------------------
 5687|      0|            arraySizeRequiredCheck(structure[m].loc, *member.getArraySizes());
 5688|    322|    }
 5689|    102|}
_ZN7glslang13TParseContext15arraySizesCheckERKNS_10TSourceLocERKNS_10TQualifierEPNS_11TArraySizesEPKNS_12TIntermTypedEb:
 5693|    220|{
 5694|    220|    assert(arraySizes);
 5695|       |
 5696|       |    // always allow special built-in ins/outs sized to topologies
 5697|    220|    if (parsingBuiltins)
  ------------------
  |  Branch (5697:9): [True: 220, False: 0]
  ------------------
 5698|    220|        return;
 5699|       |
 5700|       |    // initializer must be a sized array, in which case
 5701|       |    // allow the initializer to set any unknown array sizes
 5702|      0|    if (initializer != nullptr) {
  ------------------
  |  Branch (5702:9): [True: 0, False: 0]
  ------------------
 5703|      0|        if (initializer->getType().isUnsizedArray())
  ------------------
  |  Branch (5703:13): [True: 0, False: 0]
  ------------------
 5704|      0|            error(loc, "array initializer must be sized", "[]", "");
 5705|      0|        return;
 5706|      0|    }
 5707|       |
 5708|       |    // No environment allows any non-outer-dimension to be implicitly sized
 5709|      0|    if (arraySizes->isInnerUnsized()) {
  ------------------
  |  Branch (5709:9): [True: 0, False: 0]
  ------------------
 5710|      0|        error(loc, "only outermost dimension of an array of arrays can be implicitly sized", "[]", "");
 5711|      0|        arraySizes->clearInnerUnsized();
 5712|      0|    }
 5713|       |
 5714|      0|    if (arraySizes->isInnerSpecialization() &&
  ------------------
  |  Branch (5714:9): [True: 0, False: 0]
  ------------------
 5715|      0|        (qualifier.storage != EvqTemporary && qualifier.storage != EvqGlobal && qualifier.storage != EvqShared && qualifier.storage != EvqConst))
  ------------------
  |  Branch (5715:10): [True: 0, False: 0]
  |  Branch (5715:47): [True: 0, False: 0]
  |  Branch (5715:81): [True: 0, False: 0]
  |  Branch (5715:115): [True: 0, False: 0]
  ------------------
 5716|      0|        error(loc, "only outermost dimension of an array of arrays can be a specialization constant", "[]", "");
 5717|       |
 5718|       |    // desktop always allows outer-dimension-unsized variable arrays,
 5719|      0|    if (!isEsProfile())
  ------------------
  |  Branch (5719:9): [True: 0, False: 0]
  ------------------
 5720|      0|        return;
 5721|       |
 5722|       |    // for ES, if size isn't coming from an initializer, it has to be explicitly declared now,
 5723|       |    // with very few exceptions
 5724|       |
 5725|       |    // implicitly-sized io exceptions:
 5726|      0|    switch (language) {
 5727|      0|    case EShLangGeometry:
  ------------------
  |  Branch (5727:5): [True: 0, False: 0]
  ------------------
 5728|      0|        if (qualifier.storage == EvqVaryingIn)
  ------------------
  |  Branch (5728:13): [True: 0, False: 0]
  ------------------
 5729|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (5729:18): [True: 0, False: 0]
  |  Branch (5729:35): [True: 0, False: 0]
  ------------------
 5730|      0|                extensionsTurnedOn(Num_AEP_geometry_shader, AEP_geometry_shader))
  ------------------
  |  Branch (5730:17): [True: 0, False: 0]
  ------------------
 5731|      0|                return;
 5732|      0|        break;
 5733|      0|    case EShLangTessControl:
  ------------------
  |  Branch (5733:5): [True: 0, False: 0]
  ------------------
 5734|      0|        if ( qualifier.storage == EvqVaryingIn ||
  ------------------
  |  Branch (5734:14): [True: 0, False: 0]
  ------------------
 5735|      0|            (qualifier.storage == EvqVaryingOut && ! qualifier.isPatch()))
  ------------------
  |  Branch (5735:14): [True: 0, False: 0]
  |  Branch (5735:52): [True: 0, False: 0]
  ------------------
 5736|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (5736:18): [True: 0, False: 0]
  |  Branch (5736:35): [True: 0, False: 0]
  ------------------
 5737|      0|                extensionsTurnedOn(Num_AEP_tessellation_shader, AEP_tessellation_shader))
  ------------------
  |  Branch (5737:17): [True: 0, False: 0]
  ------------------
 5738|      0|                return;
 5739|      0|        break;
 5740|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (5740:5): [True: 0, False: 0]
  ------------------
 5741|      0|        if ((qualifier.storage == EvqVaryingIn && ! qualifier.isPatch()) ||
  ------------------
  |  Branch (5741:14): [True: 0, False: 0]
  |  Branch (5741:51): [True: 0, False: 0]
  ------------------
 5742|      0|             qualifier.storage == EvqVaryingOut)
  ------------------
  |  Branch (5742:14): [True: 0, False: 0]
  ------------------
 5743|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (5743:18): [True: 0, False: 0]
  |  Branch (5743:35): [True: 0, False: 0]
  ------------------
 5744|      0|                extensionsTurnedOn(Num_AEP_tessellation_shader, AEP_tessellation_shader))
  ------------------
  |  Branch (5744:17): [True: 0, False: 0]
  ------------------
 5745|      0|                return;
 5746|      0|        break;
 5747|      0|    case EShLangMesh:
  ------------------
  |  Branch (5747:5): [True: 0, False: 0]
  ------------------
 5748|      0|        if (qualifier.storage == EvqVaryingOut)
  ------------------
  |  Branch (5748:13): [True: 0, False: 0]
  ------------------
 5749|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (5749:18): [True: 0, False: 0]
  |  Branch (5749:35): [True: 0, False: 0]
  ------------------
 5750|      0|                extensionsTurnedOn(Num_AEP_mesh_shader, AEP_mesh_shader))
  ------------------
  |  Branch (5750:17): [True: 0, False: 0]
  ------------------
 5751|      0|                return;
 5752|      0|        break;
 5753|      0|    default:
  ------------------
  |  Branch (5753:5): [True: 0, False: 0]
  ------------------
 5754|      0|        break;
 5755|      0|    }
 5756|       |
 5757|       |    // last member of ssbo block exception:
 5758|      0|    if (qualifier.storage == EvqBuffer && lastMember)
  ------------------
  |  Branch (5758:9): [True: 0, False: 0]
  |  Branch (5758:43): [True: 0, False: 0]
  ------------------
 5759|      0|        return;
 5760|       |
 5761|      0|    if (qualifier.storage == EvqUniform && lastMember && extensionTurnedOn(E_GL_EXT_uniform_buffer_unsized_array))
  ------------------
  |  Branch (5761:9): [True: 0, False: 0]
  |  Branch (5761:44): [True: 0, False: 0]
  |  Branch (5761:58): [True: 0, False: 0]
  ------------------
 5762|      0|        return;
 5763|       |
 5764|      0|    arraySizeRequiredCheck(loc, *arraySizes);
 5765|      0|}
_ZN7glslang13TParseContext24arrayOfArrayVersionCheckERKNS_10TSourceLocEPKNS_11TArraySizesE:
 5768|  9.33k|{
 5769|  9.33k|    if (sizes == nullptr || sizes->getNumDims() == 1)
  ------------------
  |  Branch (5769:9): [True: 3.49k, False: 5.84k]
  |  Branch (5769:29): [True: 5.82k, False: 24]
  ------------------
 5770|  9.31k|        return;
 5771|       |
 5772|     24|    const char* feature = "arrays of arrays";
 5773|       |
 5774|     24|    requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, feature);
 5775|     24|    profileRequires(loc, EEsProfile, 310, nullptr, feature);
 5776|     24|    profileRequires(loc, ECoreProfile | ECompatibilityProfile, 430, nullptr, feature);
 5777|     24|}
_ZN7glslang13TParseContext12declareArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeERPNS_7TSymbolE:
 5784|     96|{
 5785|     96|    if (symbol == nullptr) {
  ------------------
  |  Branch (5785:9): [True: 96, False: 0]
  ------------------
 5786|     96|        bool currentScope;
 5787|     96|        symbol = symbolTable.find(identifier, nullptr, &currentScope);
 5788|       |
 5789|     96|        if (symbol && builtInName(identifier) && ! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (5789:13): [True: 0, False: 96]
  |  Branch (5789:23): [True: 0, False: 0]
  |  Branch (5789:50): [True: 0, False: 0]
  ------------------
 5790|       |            // bad shader (errors already reported) trying to redeclare a built-in name as an array
 5791|      0|            symbol = nullptr;
 5792|      0|            return;
 5793|      0|        }
 5794|     96|        if (symbol == nullptr || ! currentScope) {
  ------------------
  |  Branch (5794:13): [True: 96, False: 0]
  |  Branch (5794:34): [True: 0, False: 0]
  ------------------
 5795|       |            //
 5796|       |            // Successfully process a new definition.
 5797|       |            // (Redeclarations have to take place at the same scope; otherwise they are hiding declarations)
 5798|       |            //
 5799|     96|            symbol = new TVariable(&identifier, type);
 5800|     96|            symbolTable.insert(*symbol);
 5801|     96|            if (symbolTable.atGlobalLevel())
  ------------------
  |  Branch (5801:17): [True: 96, False: 0]
  ------------------
 5802|     96|                trackLinkage(*symbol);
 5803|       |
 5804|     96|            if (! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (5804:17): [True: 0, False: 96]
  ------------------
 5805|      0|                if (isIoResizeArray(type)) {
  ------------------
  |  Branch (5805:21): [True: 0, False: 0]
  ------------------
 5806|      0|                    ioArraySymbolResizeList.push_back(symbol);
 5807|      0|                    checkIoArraysConsistency(loc, true);
 5808|      0|                } else
 5809|      0|                    fixIoArraySize(loc, symbol->getWritableType());
 5810|      0|            }
 5811|       |
 5812|     96|            return;
 5813|     96|        }
 5814|      0|        if (symbol->getAsAnonMember()) {
  ------------------
  |  Branch (5814:13): [True: 0, False: 0]
  ------------------
 5815|      0|            error(loc, "cannot redeclare a user-block member array", identifier.c_str(), "");
 5816|      0|            symbol = nullptr;
 5817|      0|            return;
 5818|      0|        }
 5819|      0|    }
 5820|       |
 5821|       |    //
 5822|       |    // Process a redeclaration.
 5823|       |    //
 5824|       |
 5825|      0|    if (symbol == nullptr) {
  ------------------
  |  Branch (5825:9): [True: 0, False: 0]
  ------------------
 5826|      0|        error(loc, "array variable name expected", identifier.c_str(), "");
 5827|      0|        return;
 5828|      0|    }
 5829|       |
 5830|       |    // redeclareBuiltinVariable() should have already done the copyUp()
 5831|      0|    TType& existingType = symbol->getWritableType();
 5832|       |
 5833|      0|    if (! existingType.isArray()) {
  ------------------
  |  Branch (5833:9): [True: 0, False: 0]
  ------------------
 5834|      0|        error(loc, "redeclaring non-array as array", identifier.c_str(), "");
 5835|      0|        return;
 5836|      0|    }
 5837|       |
 5838|      0|    if (! existingType.sameElementType(type)) {
  ------------------
  |  Branch (5838:9): [True: 0, False: 0]
  ------------------
 5839|      0|        error(loc, "redeclaration of array with a different element type", identifier.c_str(), "");
 5840|      0|        return;
 5841|      0|    }
 5842|       |
 5843|      0|    if (! existingType.sameInnerArrayness(type)) {
  ------------------
  |  Branch (5843:9): [True: 0, False: 0]
  ------------------
 5844|      0|        error(loc, "redeclaration of array with a different array dimensions or sizes", identifier.c_str(), "");
 5845|      0|        return;
 5846|      0|    }
 5847|       |
 5848|      0|    if (existingType.isSizedArray()) {
  ------------------
  |  Branch (5848:9): [True: 0, False: 0]
  ------------------
 5849|       |        // be more leniant for input arrays to geometry shaders and tessellation control outputs, where the redeclaration is the same size
 5850|      0|        if (! (isIoResizeArray(type) && existingType.getOuterArraySize() == type.getOuterArraySize()))
  ------------------
  |  Branch (5850:16): [True: 0, False: 0]
  |  Branch (5850:41): [True: 0, False: 0]
  ------------------
 5851|      0|            error(loc, "redeclaration of array with size", identifier.c_str(), "");
 5852|      0|        return;
 5853|      0|    }
 5854|       |
 5855|      0|    arrayLimitCheck(loc, identifier, type.getOuterArraySize());
 5856|       |
 5857|      0|    existingType.updateArraySizes(type);
 5858|       |
 5859|      0|    if (isIoResizeArray(type))
  ------------------
  |  Branch (5859:9): [True: 0, False: 0]
  ------------------
 5860|      0|        checkIoArraysConsistency(loc);
 5861|      0|}
_ZN7glslang13TParseContext25checkAndResizeMeshViewDimERKNS_10TSourceLocERNS_5TTypeEb:
 5935|  3.22k|{
 5936|       |    // see if member is a per-view attribute
 5937|  3.22k|    if (!type.getQualifier().isPerView())
  ------------------
  |  Branch (5937:9): [True: 3.20k, False: 20]
  ------------------
 5938|  3.20k|        return;
 5939|       |
 5940|     20|    if ((isBlockMember && type.isArray()) || (!isBlockMember && type.isArrayOfArrays())) {
  ------------------
  |  Branch (5940:10): [True: 20, False: 0]
  |  Branch (5940:27): [True: 20, False: 0]
  |  Branch (5940:47): [True: 0, False: 0]
  |  Branch (5940:65): [True: 0, False: 0]
  ------------------
 5941|       |        // since we don't have the maxMeshViewCountNV set during parsing builtins, we hardcode the value.
 5942|     20|        int maxViewCount = parsingBuiltins ? 4 : resources.maxMeshViewCountNV;
  ------------------
  |  Branch (5942:28): [True: 20, False: 0]
  ------------------
 5943|       |        // For block members, outermost array dimension is the view dimension.
 5944|       |        // For non-block members, outermost array dimension is the vertex/primitive dimension
 5945|       |        // and 2nd outermost is the view dimension.
 5946|     20|        int viewDim = isBlockMember ? 0 : 1;
  ------------------
  |  Branch (5946:23): [True: 20, False: 0]
  ------------------
 5947|     20|        int viewDimSize = type.getArraySizes()->getDimSize(viewDim);
 5948|       |
 5949|     20|        if (viewDimSize != UnsizedArraySize && viewDimSize != maxViewCount)
  ------------------
  |  Branch (5949:13): [True: 0, False: 20]
  |  Branch (5949:48): [True: 0, False: 0]
  ------------------
 5950|      0|            error(loc, "mesh view output array size must be gl_MaxMeshViewCountNV or implicitly sized", "[]", "");
 5951|     20|        else if (viewDimSize == UnsizedArraySize)
  ------------------
  |  Branch (5951:18): [True: 20, False: 0]
  ------------------
 5952|     20|            type.getArraySizes()->setDimSize(viewDim, maxViewCount);
 5953|     20|    }
 5954|      0|    else {
 5955|      0|        error(loc, "requires a view array dimension", "perviewNV", "");
 5956|      0|    }
 5957|     20|}
_ZN7glslang13TParseContext17nonInitConstCheckERKNS_10TSourceLocERNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeE:
 5977|  2.15k|{
 5978|       |    //
 5979|       |    // Make the qualifier make sense, given that there is not an initializer.
 5980|       |    //
 5981|  2.15k|    if (type.getQualifier().storage == EvqConst ||
  ------------------
  |  Branch (5981:9): [True: 0, False: 2.15k]
  ------------------
 5982|  2.15k|        type.getQualifier().storage == EvqConstReadOnly) {
  ------------------
  |  Branch (5982:9): [True: 0, False: 2.15k]
  ------------------
 5983|      0|        type.getQualifier().makeTemporary();
 5984|      0|        error(loc, "variables with qualifier 'const' must be initialized", identifier.c_str(), "");
 5985|      0|    }
 5986|  2.15k|}
_ZN7glslang13TParseContext24redeclareBuiltinVariableERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_10TQualifierERKNS_17TShaderQualifiersE:
 6000|  3.17k|{
 6001|  3.17k|    if (! builtInName(identifier) || symbolTable.atBuiltInLevel() || ! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (6001:9): [True: 0, False: 3.17k]
  |  Branch (6001:38): [True: 3.17k, False: 0]
  |  Branch (6001:70): [True: 0, False: 0]
  ------------------
 6002|  3.17k|        return nullptr;
 6003|       |
 6004|      0|    bool nonEsRedecls = (!isEsProfile() && (version >= 130 || identifier == "gl_TexCoord"));
  ------------------
  |  Branch (6004:26): [True: 0, False: 0]
  |  Branch (6004:45): [True: 0, False: 0]
  |  Branch (6004:63): [True: 0, False: 0]
  ------------------
 6005|      0|    bool    esRedecls = (isEsProfile() &&
  ------------------
  |  Branch (6005:26): [True: 0, False: 0]
  ------------------
 6006|      0|                         (version >= 320 || extensionsTurnedOn(Num_AEP_shader_io_blocks, AEP_shader_io_blocks) ||
  ------------------
  |  Branch (6006:27): [True: 0, False: 0]
  |  Branch (6006:45): [True: 0, False: 0]
  ------------------
 6007|      0|                          (identifier == "gl_FragDepth" && extensionTurnedOn(E_GL_EXT_conservative_depth))));
  ------------------
  |  Branch (6007:28): [True: 0, False: 0]
  |  Branch (6007:60): [True: 0, False: 0]
  ------------------
 6008|      0|    if (! esRedecls && ! nonEsRedecls)
  ------------------
  |  Branch (6008:9): [True: 0, False: 0]
  |  Branch (6008:24): [True: 0, False: 0]
  ------------------
 6009|      0|        return nullptr;
 6010|       |
 6011|       |    // Special case when using GL_ARB_separate_shader_objects
 6012|      0|    bool ssoPre150 = false;  // means the only reason this variable is redeclared is due to this combination
 6013|      0|    if (!isEsProfile() && version <= 140 && extensionTurnedOn(E_GL_ARB_separate_shader_objects)) {
  ------------------
  |  Branch (6013:9): [True: 0, False: 0]
  |  Branch (6013:27): [True: 0, False: 0]
  |  Branch (6013:45): [True: 0, False: 0]
  ------------------
 6014|      0|        if (identifier == "gl_Position"     ||
  ------------------
  |  Branch (6014:13): [True: 0, False: 0]
  ------------------
 6015|      0|            identifier == "gl_PointSize"    ||
  ------------------
  |  Branch (6015:13): [True: 0, False: 0]
  ------------------
 6016|      0|            identifier == "gl_ClipVertex"   ||
  ------------------
  |  Branch (6016:13): [True: 0, False: 0]
  ------------------
 6017|      0|            identifier == "gl_FogFragCoord")
  ------------------
  |  Branch (6017:13): [True: 0, False: 0]
  ------------------
 6018|      0|            ssoPre150 = true;
 6019|      0|    }
 6020|       |
 6021|       |    // Potentially redeclaring a built-in variable...
 6022|       |
 6023|      0|    if (ssoPre150 ||
  ------------------
  |  Branch (6023:9): [True: 0, False: 0]
  ------------------
 6024|      0|        (identifier == "gl_FragDepth"           && ((nonEsRedecls && version >= 420) || esRedecls)) ||
  ------------------
  |  Branch (6024:10): [True: 0, False: 0]
  |  Branch (6024:54): [True: 0, False: 0]
  |  Branch (6024:70): [True: 0, False: 0]
  |  Branch (6024:89): [True: 0, False: 0]
  ------------------
 6025|      0|        (identifier == "gl_FragCoord"           && ((nonEsRedecls && version >= 140) || esRedecls)) ||
  ------------------
  |  Branch (6025:10): [True: 0, False: 0]
  |  Branch (6025:54): [True: 0, False: 0]
  |  Branch (6025:70): [True: 0, False: 0]
  |  Branch (6025:89): [True: 0, False: 0]
  ------------------
 6026|      0|         identifier == "gl_ClipDistance"                                                            ||
  ------------------
  |  Branch (6026:10): [True: 0, False: 0]
  ------------------
 6027|      0|         identifier == "gl_CullDistance"                                                            ||
  ------------------
  |  Branch (6027:10): [True: 0, False: 0]
  ------------------
 6028|      0|         identifier == "gl_ShadingRateEXT"                                                          ||
  ------------------
  |  Branch (6028:10): [True: 0, False: 0]
  ------------------
 6029|      0|         identifier == "gl_PrimitiveShadingRateEXT"                                                 ||
  ------------------
  |  Branch (6029:10): [True: 0, False: 0]
  ------------------
 6030|      0|         identifier == "gl_FrontColor"                                                              ||
  ------------------
  |  Branch (6030:10): [True: 0, False: 0]
  ------------------
 6031|      0|         identifier == "gl_BackColor"                                                               ||
  ------------------
  |  Branch (6031:10): [True: 0, False: 0]
  ------------------
 6032|      0|         identifier == "gl_FrontSecondaryColor"                                                     ||
  ------------------
  |  Branch (6032:10): [True: 0, False: 0]
  ------------------
 6033|      0|         identifier == "gl_BackSecondaryColor"                                                      ||
  ------------------
  |  Branch (6033:10): [True: 0, False: 0]
  ------------------
 6034|      0|         identifier == "gl_SecondaryColor"                                                          ||
  ------------------
  |  Branch (6034:10): [True: 0, False: 0]
  ------------------
 6035|      0|        (identifier == "gl_Color"               && language == EShLangFragment)                     ||
  ------------------
  |  Branch (6035:10): [True: 0, False: 0]
  |  Branch (6035:52): [True: 0, False: 0]
  ------------------
 6036|      0|        (identifier == "gl_FragStencilRefARB"   && (nonEsRedecls && version >= 140)
  ------------------
  |  Branch (6036:10): [True: 0, False: 0]
  |  Branch (6036:53): [True: 0, False: 0]
  |  Branch (6036:69): [True: 0, False: 0]
  ------------------
 6037|      0|                                                && language == EShLangFragment)                     ||
  ------------------
  |  Branch (6037:52): [True: 0, False: 0]
  ------------------
 6038|      0|         identifier == "gl_SampleMask"                                                              ||
  ------------------
  |  Branch (6038:10): [True: 0, False: 0]
  ------------------
 6039|      0|         identifier == "gl_Layer"                                                                   ||
  ------------------
  |  Branch (6039:10): [True: 0, False: 0]
  ------------------
 6040|      0|         identifier == "gl_PrimitiveIndicesNV"                                                      ||
  ------------------
  |  Branch (6040:10): [True: 0, False: 0]
  ------------------
 6041|      0|         identifier == "gl_PrimitivePointIndicesEXT"                                                ||
  ------------------
  |  Branch (6041:10): [True: 0, False: 0]
  ------------------
 6042|      0|         identifier == "gl_PrimitiveLineIndicesEXT"                                                 ||
  ------------------
  |  Branch (6042:10): [True: 0, False: 0]
  ------------------
 6043|      0|         identifier == "gl_PrimitiveTriangleIndicesEXT"                                             ||
  ------------------
  |  Branch (6043:10): [True: 0, False: 0]
  ------------------
 6044|      0|         identifier == "gl_TexCoord") {
  ------------------
  |  Branch (6044:10): [True: 0, False: 0]
  ------------------
 6045|       |
 6046|       |        // Find the existing symbol, if any.
 6047|      0|        bool builtIn;
 6048|      0|        TSymbol* symbol = symbolTable.find(identifier, &builtIn);
 6049|       |
 6050|       |        // If the symbol was not found, this must be a version/profile/stage
 6051|       |        // that doesn't have it.
 6052|      0|        if (! symbol)
  ------------------
  |  Branch (6052:13): [True: 0, False: 0]
  ------------------
 6053|      0|            return nullptr;
 6054|       |
 6055|       |        // If it wasn't at a built-in level, then it's already been redeclared;
 6056|       |        // that is, this is a redeclaration of a redeclaration; reuse that initial
 6057|       |        // redeclaration.  Otherwise, make the new one.
 6058|      0|        if (builtIn) {
  ------------------
  |  Branch (6058:13): [True: 0, False: 0]
  ------------------
 6059|      0|            makeEditable(symbol);
 6060|      0|            symbolTable.amendSymbolIdLevel(*symbol);
 6061|      0|        }
 6062|       |
 6063|       |        // Now, modify the type of the copy, as per the type of the current redeclaration.
 6064|       |
 6065|      0|        TQualifier& symbolQualifier = symbol->getWritableType().getQualifier();
 6066|      0|        if (ssoPre150) {
  ------------------
  |  Branch (6066:13): [True: 0, False: 0]
  ------------------
 6067|      0|            if (intermediate.inIoAccessed(identifier))
  ------------------
  |  Branch (6067:17): [True: 0, False: 0]
  ------------------
 6068|      0|                error(loc, "cannot redeclare after use", identifier.c_str(), "");
 6069|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6069:17): [True: 0, False: 0]
  ------------------
 6070|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", symbol->getName().c_str());
 6071|      0|            if (qualifier.isMemory() || qualifier.isAuxiliary() || (language == EShLangVertex   && qualifier.storage != EvqVaryingOut) ||
  ------------------
  |  Branch (6071:17): [True: 0, False: 0]
  |  Branch (6071:41): [True: 0, False: 0]
  |  Branch (6071:69): [True: 0, False: 0]
  |  Branch (6071:100): [True: 0, False: 0]
  ------------------
 6072|      0|                                                                   (language == EShLangFragment && qualifier.storage != EvqVaryingIn))
  ------------------
  |  Branch (6072:69): [True: 0, False: 0]
  |  Branch (6072:100): [True: 0, False: 0]
  ------------------
 6073|      0|                error(loc, "cannot change storage, memory, or auxiliary qualification of", "redeclaration", symbol->getName().c_str());
 6074|      0|            if (! qualifier.smooth)
  ------------------
  |  Branch (6074:17): [True: 0, False: 0]
  ------------------
 6075|      0|                error(loc, "cannot change interpolation qualification of", "redeclaration", symbol->getName().c_str());
 6076|      0|        } else if (identifier == "gl_FrontColor"          ||
  ------------------
  |  Branch (6076:20): [True: 0, False: 0]
  ------------------
 6077|      0|                   identifier == "gl_BackColor"           ||
  ------------------
  |  Branch (6077:20): [True: 0, False: 0]
  ------------------
 6078|      0|                   identifier == "gl_FrontSecondaryColor" ||
  ------------------
  |  Branch (6078:20): [True: 0, False: 0]
  ------------------
 6079|      0|                   identifier == "gl_BackSecondaryColor"  ||
  ------------------
  |  Branch (6079:20): [True: 0, False: 0]
  ------------------
 6080|      0|                   identifier == "gl_SecondaryColor"      ||
  ------------------
  |  Branch (6080:20): [True: 0, False: 0]
  ------------------
 6081|      0|                   identifier == "gl_Color") {
  ------------------
  |  Branch (6081:20): [True: 0, False: 0]
  ------------------
 6082|      0|            symbolQualifier.flat = qualifier.flat;
 6083|      0|            symbolQualifier.smooth = qualifier.smooth;
 6084|      0|            symbolQualifier.nopersp = qualifier.nopersp;
 6085|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6085:17): [True: 0, False: 0]
  ------------------
 6086|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", symbol->getName().c_str());
 6087|      0|            if (qualifier.isMemory() || qualifier.isAuxiliary() || symbol->getType().getQualifier().storage != qualifier.storage)
  ------------------
  |  Branch (6087:17): [True: 0, False: 0]
  |  Branch (6087:41): [True: 0, False: 0]
  |  Branch (6087:68): [True: 0, False: 0]
  ------------------
 6088|      0|                error(loc, "cannot change storage, memory, or auxiliary qualification of", "redeclaration", symbol->getName().c_str());
 6089|      0|        } else if (identifier == "gl_TexCoord"     ||
  ------------------
  |  Branch (6089:20): [True: 0, False: 0]
  ------------------
 6090|      0|                   identifier == "gl_ClipDistance" ||
  ------------------
  |  Branch (6090:20): [True: 0, False: 0]
  ------------------
 6091|      0|                   identifier == "gl_CullDistance") {
  ------------------
  |  Branch (6091:20): [True: 0, False: 0]
  ------------------
 6092|      0|            if (qualifier.hasLayout() || qualifier.isMemory() || qualifier.isAuxiliary() ||
  ------------------
  |  Branch (6092:17): [True: 0, False: 0]
  |  Branch (6092:42): [True: 0, False: 0]
  |  Branch (6092:66): [True: 0, False: 0]
  ------------------
 6093|      0|                qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6093:17): [True: 0, False: 0]
  |  Branch (6093:65): [True: 0, False: 0]
  ------------------
 6094|      0|                symbolQualifier.storage != qualifier.storage)
  ------------------
  |  Branch (6094:17): [True: 0, False: 0]
  ------------------
 6095|      0|                error(loc, "cannot change qualification of", "redeclaration", symbol->getName().c_str());
 6096|      0|        } else if (identifier == "gl_FragCoord") {
  ------------------
  |  Branch (6096:20): [True: 0, False: 0]
  ------------------
 6097|      0|            if (!intermediate.getTexCoordRedeclared() && intermediate.inIoAccessed("gl_FragCoord"))
  ------------------
  |  Branch (6097:17): [True: 0, False: 0]
  |  Branch (6097:17): [True: 0, False: 0]
  |  Branch (6097:58): [True: 0, False: 0]
  ------------------
 6098|      0|                error(loc, "cannot redeclare after use", "gl_FragCoord", "");
 6099|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6099:17): [True: 0, False: 0]
  |  Branch (6099:65): [True: 0, False: 0]
  ------------------
 6100|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6100:17): [True: 0, False: 0]
  |  Branch (6100:41): [True: 0, False: 0]
  ------------------
 6101|      0|                error(loc, "can only change layout qualification of", "redeclaration", symbol->getName().c_str());
 6102|      0|            if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (6102:17): [True: 0, False: 0]
  ------------------
 6103|      0|                error(loc, "cannot change input storage qualification of", "redeclaration", symbol->getName().c_str());
 6104|      0|            if (! builtIn && (publicType.pixelCenterInteger != intermediate.getPixelCenterInteger() ||
  ------------------
  |  Branch (6104:17): [True: 0, False: 0]
  |  Branch (6104:31): [True: 0, False: 0]
  ------------------
 6105|      0|                              publicType.originUpperLeft != intermediate.getOriginUpperLeft()))
  ------------------
  |  Branch (6105:31): [True: 0, False: 0]
  ------------------
 6106|      0|                error(loc, "cannot redeclare with different qualification:", "redeclaration", symbol->getName().c_str());
 6107|       |
 6108|       |
 6109|      0|            intermediate.setTexCoordRedeclared();
 6110|      0|            if (publicType.pixelCenterInteger)
  ------------------
  |  Branch (6110:17): [True: 0, False: 0]
  ------------------
 6111|      0|                intermediate.setPixelCenterInteger();
 6112|      0|            if (publicType.originUpperLeft)
  ------------------
  |  Branch (6112:17): [True: 0, False: 0]
  ------------------
 6113|      0|                intermediate.setOriginUpperLeft();
 6114|      0|        } else if (identifier == "gl_FragDepth") {
  ------------------
  |  Branch (6114:20): [True: 0, False: 0]
  ------------------
 6115|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6115:17): [True: 0, False: 0]
  |  Branch (6115:65): [True: 0, False: 0]
  ------------------
 6116|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6116:17): [True: 0, False: 0]
  |  Branch (6116:41): [True: 0, False: 0]
  ------------------
 6117|      0|                error(loc, "can only change layout qualification of", "redeclaration", symbol->getName().c_str());
 6118|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6118:17): [True: 0, False: 0]
  ------------------
 6119|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", symbol->getName().c_str());
 6120|      0|            if (publicType.layoutDepth != EldNone) {
  ------------------
  |  Branch (6120:17): [True: 0, False: 0]
  ------------------
 6121|      0|                if (intermediate.inIoAccessed("gl_FragDepth"))
  ------------------
  |  Branch (6121:21): [True: 0, False: 0]
  ------------------
 6122|      0|                    error(loc, "cannot redeclare after use", "gl_FragDepth", "");
 6123|      0|                if (! intermediate.setDepth(publicType.layoutDepth))
  ------------------
  |  Branch (6123:21): [True: 0, False: 0]
  ------------------
 6124|      0|                    error(loc, "all redeclarations must use the same depth layout on", "redeclaration", symbol->getName().c_str());
 6125|      0|            }
 6126|      0|        } else if (identifier == "gl_FragStencilRefARB") {
  ------------------
  |  Branch (6126:20): [True: 0, False: 0]
  ------------------
 6127|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6127:17): [True: 0, False: 0]
  |  Branch (6127:65): [True: 0, False: 0]
  ------------------
 6128|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6128:17): [True: 0, False: 0]
  |  Branch (6128:41): [True: 0, False: 0]
  ------------------
 6129|      0|                error(loc, "can only change layout qualification of", "redeclaration", symbol->getName().c_str());
 6130|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6130:17): [True: 0, False: 0]
  ------------------
 6131|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", symbol->getName().c_str());
 6132|      0|            if (publicType.layoutStencil != ElsNone) {
  ------------------
  |  Branch (6132:17): [True: 0, False: 0]
  ------------------
 6133|      0|                if (intermediate.inIoAccessed("gl_FragStencilRefARB"))
  ------------------
  |  Branch (6133:21): [True: 0, False: 0]
  ------------------
 6134|      0|                    error(loc, "cannot redeclare after use", "gl_FragStencilRefARB", "");
 6135|      0|                if (!intermediate.setStencil(publicType.layoutStencil))
  ------------------
  |  Branch (6135:21): [True: 0, False: 0]
  ------------------
 6136|      0|                    error(loc, "all redeclarations must use the same stencil layout on", "redeclaration",
 6137|      0|                          symbol->getName().c_str());
 6138|      0|            }
 6139|      0|        }
 6140|      0|        else if (
 6141|      0|            identifier == "gl_PrimitiveIndicesNV") {
  ------------------
  |  Branch (6141:13): [True: 0, False: 0]
  ------------------
 6142|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6142:17): [True: 0, False: 0]
  ------------------
 6143|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", symbol->getName().c_str());
 6144|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6144:17): [True: 0, False: 0]
  ------------------
 6145|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", symbol->getName().c_str());
 6146|      0|        }
 6147|      0|        else if (identifier == "gl_SampleMask") {
  ------------------
  |  Branch (6147:18): [True: 0, False: 0]
  ------------------
 6148|      0|            if (!publicType.layoutOverrideCoverage) {
  ------------------
  |  Branch (6148:17): [True: 0, False: 0]
  ------------------
 6149|      0|                error(loc, "redeclaration only allowed for override_coverage layout", "redeclaration", symbol->getName().c_str());
 6150|      0|            }
 6151|      0|            intermediate.setLayoutOverrideCoverage();
 6152|      0|        }
 6153|      0|        else if (identifier == "gl_Layer") {
  ------------------
  |  Branch (6153:18): [True: 0, False: 0]
  ------------------
 6154|      0|            if (!qualifier.layoutViewportRelative && qualifier.layoutSecondaryViewportRelativeOffset == -2048)
  ------------------
  |  Branch (6154:17): [True: 0, False: 0]
  |  Branch (6154:54): [True: 0, False: 0]
  ------------------
 6155|      0|                error(loc, "redeclaration only allowed for viewport_relative or secondary_view_offset layout", "redeclaration", symbol->getName().c_str());
 6156|      0|            symbolQualifier.layoutViewportRelative = qualifier.layoutViewportRelative;
 6157|      0|            symbolQualifier.layoutSecondaryViewportRelativeOffset = qualifier.layoutSecondaryViewportRelativeOffset;
 6158|      0|        }
 6159|       |
 6160|       |        // TODO: semantics quality: separate smooth from nothing declared, then use IsInterpolation for several tests above
 6161|       |
 6162|      0|        return symbol;
 6163|      0|    }
 6164|       |
 6165|      0|    return nullptr;
 6166|      0|}
_ZN7glslang13TParseContext20paramCheckFixStorageERKNS_10TSourceLocERKNS_17TStorageQualifierERNS_5TTypeE:
 6393|   185k|{
 6394|   185k|    switch (qualifier) {
 6395|      0|    case EvqConst:
  ------------------
  |  Branch (6395:5): [True: 0, False: 185k]
  ------------------
 6396|      0|    case EvqConstReadOnly:
  ------------------
  |  Branch (6396:5): [True: 0, False: 185k]
  ------------------
 6397|      0|        type.getQualifier().storage = EvqConstReadOnly;
 6398|      0|        break;
 6399|     44|    case EvqIn:
  ------------------
  |  Branch (6399:5): [True: 44, False: 185k]
  ------------------
 6400|  6.62k|    case EvqOut:
  ------------------
  |  Branch (6400:5): [True: 6.58k, False: 178k]
  ------------------
 6401|  7.05k|    case EvqInOut:
  ------------------
  |  Branch (6401:5): [True: 432, False: 185k]
  ------------------
 6402|  7.05k|    case EvqTileImageEXT:
  ------------------
  |  Branch (6402:5): [True: 0, False: 185k]
  ------------------
 6403|  7.05k|        type.getQualifier().storage = qualifier;
 6404|  7.05k|        break;
 6405|  3.76k|    case EvqGlobal:
  ------------------
  |  Branch (6405:5): [True: 3.76k, False: 181k]
  ------------------
 6406|   178k|    case EvqTemporary:
  ------------------
  |  Branch (6406:5): [True: 174k, False: 10.8k]
  ------------------
 6407|   178k|        type.getQualifier().storage = EvqIn;
 6408|   178k|        break;
 6409|      0|    default:
  ------------------
  |  Branch (6409:5): [True: 0, False: 185k]
  ------------------
 6410|      0|        type.getQualifier().storage = EvqIn;
 6411|      0|        error(loc, "storage qualifier not allowed on function parameter", GetStorageQualifierString(qualifier), "");
 6412|      0|        break;
 6413|   185k|    }
 6414|   185k|}
_ZN7glslang13TParseContext13paramCheckFixERKNS_10TSourceLocERKNS_10TQualifierERNS_5TTypeE:
 6417|  19.0k|{
 6418|  19.0k|    if (qualifier.isMemory()) {
  ------------------
  |  Branch (6418:9): [True: 8.62k, False: 10.3k]
  ------------------
 6419|  8.62k|        type.getQualifier().volatil   = qualifier.volatil;
 6420|  8.62k|        type.getQualifier().nontemporal   = qualifier.nontemporal;
 6421|  8.62k|        type.getQualifier().coherent  = qualifier.coherent;
 6422|  8.62k|        type.getQualifier().devicecoherent  = qualifier.devicecoherent ;
 6423|  8.62k|        type.getQualifier().queuefamilycoherent  = qualifier.queuefamilycoherent;
 6424|  8.62k|        type.getQualifier().workgroupcoherent  = qualifier.workgroupcoherent;
 6425|  8.62k|        type.getQualifier().subgroupcoherent  = qualifier.subgroupcoherent;
 6426|  8.62k|        type.getQualifier().shadercallcoherent = qualifier.shadercallcoherent;
 6427|  8.62k|        type.getQualifier().nonprivate = qualifier.nonprivate;
 6428|  8.62k|        type.getQualifier().readonly  = qualifier.readonly;
 6429|  8.62k|        type.getQualifier().writeonly = qualifier.writeonly;
 6430|  8.62k|        type.getQualifier().restrict  = qualifier.restrict;
 6431|  8.62k|    }
 6432|       |
 6433|  19.0k|    if (qualifier.isAuxiliary() ||
  ------------------
  |  Branch (6433:9): [True: 0, False: 19.0k]
  ------------------
 6434|  19.0k|        qualifier.isInterpolation())
  ------------------
  |  Branch (6434:9): [True: 0, False: 19.0k]
  ------------------
 6435|      0|        error(loc, "cannot use auxiliary or interpolation qualifiers on a function parameter", "", "");
 6436|  19.0k|    if (qualifier.hasLayout())
  ------------------
  |  Branch (6436:9): [True: 0, False: 19.0k]
  ------------------
 6437|      0|        error(loc, "cannot use layout qualifiers on a function parameter", "", "");
 6438|  19.0k|    if (qualifier.invariant)
  ------------------
  |  Branch (6438:9): [True: 0, False: 19.0k]
  ------------------
 6439|      0|        error(loc, "cannot use invariant qualifier on a function parameter", "", "");
 6440|  19.0k|    if (qualifier.isNoContraction()) {
  ------------------
  |  Branch (6440:9): [True: 0, False: 19.0k]
  ------------------
 6441|      0|        if (qualifier.isParamOutput())
  ------------------
  |  Branch (6441:13): [True: 0, False: 0]
  ------------------
 6442|      0|            type.getQualifier().setNoContraction();
 6443|      0|        else
 6444|      0|            warn(loc, "qualifier has no effect on non-output parameters", "precise", "");
 6445|      0|    }
 6446|  19.0k|    if (qualifier.isNonUniform())
  ------------------
  |  Branch (6446:9): [True: 0, False: 19.0k]
  ------------------
 6447|      0|        type.getQualifier().nonUniform = qualifier.nonUniform;
 6448|  19.0k|    if (qualifier.isSpirvByReference())
  ------------------
  |  Branch (6448:9): [True: 0, False: 19.0k]
  ------------------
 6449|      0|        type.getQualifier().setSpirvByReference();
 6450|  19.0k|    if (qualifier.isSpirvLiteral()) {
  ------------------
  |  Branch (6450:9): [True: 0, False: 19.0k]
  ------------------
 6451|      0|        if (type.getBasicType() == EbtFloat || type.getBasicType() == EbtInt || type.getBasicType() == EbtUint ||
  ------------------
  |  Branch (6451:13): [True: 0, False: 0]
  |  Branch (6451:48): [True: 0, False: 0]
  |  Branch (6451:81): [True: 0, False: 0]
  ------------------
 6452|      0|            type.getBasicType() == EbtBool)
  ------------------
  |  Branch (6452:13): [True: 0, False: 0]
  ------------------
 6453|      0|            type.getQualifier().setSpirvLiteral();
 6454|      0|        else
 6455|      0|            error(loc, "cannot use spirv_literal qualifier", type.getBasicTypeString().c_str(), "");
 6456|      0|    }
 6457|       |
 6458|  19.0k|    paramCheckFixStorage(loc, qualifier.storage, type);
 6459|  19.0k|}
_ZN7glslang13TParseContext16nestedBlockCheckERKNS_10TSourceLocEb:
 6462|     36|{
 6463|     36|    if ((!allowedInnerStruct && structNestingLevel > 0) ||
  ------------------
  |  Branch (6463:10): [True: 36, False: 0]
  |  Branch (6463:33): [True: 0, False: 36]
  ------------------
 6464|     36|        (allowedInnerStruct && structNestingLevel <= 0) ||
  ------------------
  |  Branch (6464:10): [True: 0, False: 36]
  |  Branch (6464:32): [True: 0, False: 0]
  ------------------
 6465|     36|        blockNestingLevel > 0)
  ------------------
  |  Branch (6465:9): [True: 0, False: 36]
  ------------------
 6466|      0|        error(loc, "cannot nest a block definition inside a structure or block", "", "");
 6467|     36|    ++blockNestingLevel;
 6468|     36|}
_ZN7glslang13TParseContext17nestedStructCheckERKNS_10TSourceLocE:
 6471|    102|{
 6472|    102|    if (structNestingLevel > 0 || blockNestingLevel > 0)
  ------------------
  |  Branch (6472:9): [True: 0, False: 102]
  |  Branch (6472:35): [True: 0, False: 102]
  ------------------
 6473|      0|        error(loc, "cannot nest a structure definition inside a structure or block", "", "");
 6474|    102|    ++structNestingLevel;
 6475|    102|}
_ZN7glslang13TParseContext16arrayObjectCheckERKNS_10TSourceLocERKNS_5TTypeEPKc:
 6478|  73.0k|{
 6479|       |    // Some versions don't allow comparing arrays or structures containing arrays
 6480|  73.0k|    if (type.containsArray()) {
  ------------------
  |  Branch (6480:9): [True: 0, False: 73.0k]
  ------------------
 6481|      0|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, op);
 6482|      0|        profileRequires(loc, EEsProfile, 300, nullptr, op);
 6483|      0|    }
 6484|  73.0k|}
_ZN7glslang13TParseContext15structTypeCheckERKNS_10TSourceLocERNS_11TPublicTypeE:
 6538|    102|{
 6539|    102|    const TTypeList& typeList = *publicType.userDef->getStruct();
 6540|       |
 6541|       |    // fix and check for member storage qualifiers and types that don't belong within a structure
 6542|    424|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (6542:35): [True: 322, False: 102]
  ------------------
 6543|    322|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
 6544|    322|        const TSourceLoc& memberLoc = typeList[member].loc;
 6545|    322|        if (memberQualifier.isAuxiliary() ||
  ------------------
  |  Branch (6545:13): [True: 0, False: 322]
  ------------------
 6546|    322|            memberQualifier.isInterpolation() ||
  ------------------
  |  Branch (6546:13): [True: 0, False: 322]
  ------------------
 6547|    322|            (memberQualifier.storage != EvqTemporary && memberQualifier.storage != EvqGlobal &&
  ------------------
  |  Branch (6547:14): [True: 322, False: 0]
  |  Branch (6547:57): [True: 0, False: 322]
  ------------------
 6548|      0|             !memberQualifier.layoutDescriptorHeap && !memberQualifier.layoutDescriptorInnerBlock))
  ------------------
  |  Branch (6548:14): [True: 0, False: 0]
  |  Branch (6548:55): [True: 0, False: 0]
  ------------------
 6549|      0|            error(memberLoc, "cannot use storage or interpolation qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 6550|    322|        if (memberQualifier.isMemory())
  ------------------
  |  Branch (6550:13): [True: 0, False: 322]
  ------------------
 6551|      0|            error(memberLoc, "cannot use memory qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 6552|    322|        if (memberQualifier.hasLayout()) {
  ------------------
  |  Branch (6552:13): [True: 0, False: 322]
  ------------------
 6553|      0|            error(memberLoc, "cannot use layout qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 6554|      0|            memberQualifier.clearLayout();
 6555|      0|        }
 6556|    322|        if (memberQualifier.invariant)
  ------------------
  |  Branch (6556:13): [True: 0, False: 322]
  ------------------
 6557|      0|            error(memberLoc, "cannot use invariant qualifier on structure members", typeList[member].type->getFieldName().c_str(), "");
 6558|    322|    }
 6559|    102|}
_ZN7glslang13TParseContext6finishEv:
 6709|    346|{
 6710|    346|    TParseContextBase::finish();
 6711|       |
 6712|    346|    if (parsingBuiltins)
  ------------------
  |  Branch (6712:9): [True: 299, False: 47]
  ------------------
 6713|    299|        return;
 6714|       |
 6715|       |    // Forward builtin alias to AST for later use
 6716|     47|    intermediate.setBuiltinAliasLookup(symbolTable.collectBuiltinAlias());
 6717|       |
 6718|       |    // Check on array indexes for ES 2.0 (version 100) limitations.
 6719|     47|    for (size_t i = 0; i < needsIndexLimitationChecking.size(); ++i)
  ------------------
  |  Branch (6719:24): [True: 0, False: 47]
  ------------------
 6720|      0|        constantIndexExpressionCheck(needsIndexLimitationChecking[i]);
 6721|       |
 6722|       |    // Check for stages that are enabled by extension.
 6723|       |    // Can't do this at the beginning, it is chicken and egg to add a stage by
 6724|       |    // extension.
 6725|       |    // Stage-specific features were correctly tested for already, this is just
 6726|       |    // about the stage itself.
 6727|     47|    switch (language) {
 6728|      0|    case EShLangGeometry:
  ------------------
  |  Branch (6728:5): [True: 0, False: 47]
  ------------------
 6729|      0|        if (isEsProfile() && version == 310)
  ------------------
  |  Branch (6729:13): [True: 0, False: 0]
  |  Branch (6729:30): [True: 0, False: 0]
  ------------------
 6730|      0|            requireExtensions(getCurrentLoc(), Num_AEP_geometry_shader, AEP_geometry_shader, "geometry shaders");
 6731|      0|        break;
 6732|      0|    case EShLangTessControl:
  ------------------
  |  Branch (6732:5): [True: 0, False: 47]
  ------------------
 6733|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (6733:5): [True: 0, False: 47]
  ------------------
 6734|      0|        if (isEsProfile() && version == 310)
  ------------------
  |  Branch (6734:13): [True: 0, False: 0]
  |  Branch (6734:30): [True: 0, False: 0]
  ------------------
 6735|      0|            requireExtensions(getCurrentLoc(), Num_AEP_tessellation_shader, AEP_tessellation_shader, "tessellation shaders");
 6736|      0|        else if (!isEsProfile() && version < 400)
  ------------------
  |  Branch (6736:18): [True: 0, False: 0]
  |  Branch (6736:36): [True: 0, False: 0]
  ------------------
 6737|      0|            requireExtensions(getCurrentLoc(), 1, &E_GL_ARB_tessellation_shader, "tessellation shaders");
 6738|      0|        break;
 6739|      0|    case EShLangCompute:
  ------------------
  |  Branch (6739:5): [True: 0, False: 47]
  ------------------
 6740|      0|        if (!isEsProfile() && version < 430)
  ------------------
  |  Branch (6740:13): [True: 0, False: 0]
  |  Branch (6740:31): [True: 0, False: 0]
  ------------------
 6741|      0|            requireExtensions(getCurrentLoc(), 1, &E_GL_ARB_compute_shader, "compute shaders");
 6742|      0|        break;
 6743|      0|    case EShLangTask:
  ------------------
  |  Branch (6743:5): [True: 0, False: 47]
  ------------------
 6744|      0|        requireExtensions(getCurrentLoc(), Num_AEP_mesh_shader, AEP_mesh_shader, "task shaders");
 6745|      0|        break;
 6746|      0|    case EShLangMesh:
  ------------------
  |  Branch (6746:5): [True: 0, False: 47]
  ------------------
 6747|      0|        requireExtensions(getCurrentLoc(), Num_AEP_mesh_shader, AEP_mesh_shader, "mesh shaders");
 6748|      0|        break;
 6749|     47|    default:
  ------------------
  |  Branch (6749:5): [True: 47, False: 0]
  ------------------
 6750|     47|        break;
 6751|     47|    }
 6752|       |
 6753|     47|    if (intermediate.IsRequestedExtension(E_GL_KHR_compute_shader_derivatives) &&
  ------------------
  |  Branch (6753:9): [True: 0, False: 47]
  ------------------
 6754|      0|        !khrDerivativeLayoutQualifierSpecified) {
  ------------------
  |  Branch (6754:9): [True: 0, False: 0]
  ------------------
 6755|      0|        error(getCurrentLoc(), "requires one of derivative_group_quadsKHR or derivative_group_linearKHR layout qualifiers",
 6756|      0|              E_GL_KHR_compute_shader_derivatives, "");
 6757|      0|    }
 6758|       |
 6759|     47|    if (intermediate.getLayoutDerivativeModeNone() == LayoutDerivativeGroupQuads) {
  ------------------
  |  Branch (6759:9): [True: 0, False: 47]
  ------------------
 6760|      0|        if ((intermediate.getLocalSizeSpecId(0) == TQualifier::layoutNotSet && (intermediate.getLocalSize(0) & 1)) ||
  ------------------
  |  Branch (6760:14): [True: 0, False: 0]
  |  Branch (6760:80): [True: 0, False: 0]
  ------------------
 6761|      0|            (intermediate.getLocalSizeSpecId(1) == TQualifier::layoutNotSet && (intermediate.getLocalSize(1) & 1)))
  ------------------
  |  Branch (6761:14): [True: 0, False: 0]
  |  Branch (6761:80): [True: 0, False: 0]
  ------------------
 6762|      0|            error(getCurrentLoc(), "requires local_size_x and local_size_y to be multiple of two", "derivative_group_quads", "");
 6763|     47|    } else if (intermediate.getLayoutDerivativeModeNone() == LayoutDerivativeGroupLinear) {
  ------------------
  |  Branch (6763:16): [True: 0, False: 47]
  ------------------
 6764|      0|        if (intermediate.getLocalSizeSpecId(0) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (6764:13): [True: 0, False: 0]
  ------------------
 6765|      0|            intermediate.getLocalSizeSpecId(1) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (6765:13): [True: 0, False: 0]
  ------------------
 6766|      0|            intermediate.getLocalSizeSpecId(2) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (6766:13): [True: 0, False: 0]
  ------------------
 6767|      0|            (intermediate.getLocalSize(0) *
  ------------------
  |  Branch (6767:13): [True: 0, False: 0]
  ------------------
 6768|      0|             intermediate.getLocalSize(1) *
 6769|      0|             intermediate.getLocalSize(2)) % 4 != 0)
 6770|      0|            error(getCurrentLoc(), "requires total group size to be multiple of four", "derivative_group_linear", "");
 6771|      0|    }
 6772|       |
 6773|       |    // Set default outputs for GL_NV_geometry_shader_passthrough
 6774|     47|    if (language == EShLangGeometry && extensionTurnedOn(E_SPV_NV_geometry_shader_passthrough)) {
  ------------------
  |  Branch (6774:9): [True: 0, False: 47]
  |  Branch (6774:40): [True: 0, False: 0]
  ------------------
 6775|      0|        if (intermediate.getOutputPrimitive() == ElgNone) {
  ------------------
  |  Branch (6775:13): [True: 0, False: 0]
  ------------------
 6776|      0|            switch (intermediate.getInputPrimitive()) {
 6777|      0|            case ElgPoints:      intermediate.setOutputPrimitive(ElgPoints);    break;
  ------------------
  |  Branch (6777:13): [True: 0, False: 0]
  ------------------
 6778|      0|            case ElgLines:       intermediate.setOutputPrimitive(ElgLineStrip); break;
  ------------------
  |  Branch (6778:13): [True: 0, False: 0]
  ------------------
 6779|      0|            case ElgTriangles:   intermediate.setOutputPrimitive(ElgTriangleStrip); break;
  ------------------
  |  Branch (6779:13): [True: 0, False: 0]
  ------------------
 6780|      0|            default: break;
  ------------------
  |  Branch (6780:13): [True: 0, False: 0]
  ------------------
 6781|      0|            }
 6782|      0|        }
 6783|      0|        if (intermediate.getVertices() == TQualifier::layoutNotSet) {
  ------------------
  |  Branch (6783:13): [True: 0, False: 0]
  ------------------
 6784|      0|            switch (intermediate.getInputPrimitive()) {
 6785|      0|            case ElgPoints:      intermediate.setVertices(1); break;
  ------------------
  |  Branch (6785:13): [True: 0, False: 0]
  ------------------
 6786|      0|            case ElgLines:       intermediate.setVertices(2); break;
  ------------------
  |  Branch (6786:13): [True: 0, False: 0]
  ------------------
 6787|      0|            case ElgTriangles:   intermediate.setVertices(3); break;
  ------------------
  |  Branch (6787:13): [True: 0, False: 0]
  ------------------
 6788|      0|            default: break;
  ------------------
  |  Branch (6788:13): [True: 0, False: 0]
  ------------------
 6789|      0|            }
 6790|      0|        }
 6791|      0|    }
 6792|     47|}
_ZN7glslang13TParseContext27mergeObjectLayoutQualifiersERNS_10TQualifierERKS1_b:
 7641|  27.4k|{
 7642|  27.4k|    if (src.hasMatrix())
  ------------------
  |  Branch (7642:9): [True: 0, False: 27.4k]
  ------------------
 7643|      0|        dst.layoutMatrix = src.layoutMatrix;
 7644|  27.4k|    if (src.hasPacking())
  ------------------
  |  Branch (7644:9): [True: 0, False: 27.4k]
  ------------------
 7645|      0|        dst.layoutPacking = src.layoutPacking;
 7646|       |
 7647|  27.4k|    if (src.hasStream())
  ------------------
  |  Branch (7647:9): [True: 4, False: 27.4k]
  ------------------
 7648|      4|        dst.layoutStream = src.layoutStream;
 7649|  27.4k|    if (src.hasFormat())
  ------------------
  |  Branch (7649:9): [True: 0, False: 27.4k]
  ------------------
 7650|      0|        dst.layoutFormat = src.layoutFormat;
 7651|  27.4k|    if (src.hasXfbBuffer())
  ------------------
  |  Branch (7651:9): [True: 16, False: 27.4k]
  ------------------
 7652|     16|        dst.layoutXfbBuffer = src.layoutXfbBuffer;
 7653|  27.4k|    if (src.hasBufferReferenceAlign())
  ------------------
  |  Branch (7653:9): [True: 0, False: 27.4k]
  ------------------
 7654|      0|        dst.layoutBufferReferenceAlign = src.layoutBufferReferenceAlign;
 7655|       |
 7656|  27.4k|    if (src.hasAlign())
  ------------------
  |  Branch (7656:9): [True: 0, False: 27.4k]
  ------------------
 7657|      0|        dst.layoutAlign = src.layoutAlign;
 7658|       |
 7659|  27.4k|    if (! inheritOnly) {
  ------------------
  |  Branch (7659:9): [True: 27.3k, False: 72]
  ------------------
 7660|  27.3k|        if (src.hasLocation())
  ------------------
  |  Branch (7660:13): [True: 0, False: 27.3k]
  ------------------
 7661|      0|            dst.layoutLocation = src.layoutLocation;
 7662|  27.3k|        if (src.hasOffset())
  ------------------
  |  Branch (7662:13): [True: 0, False: 27.3k]
  ------------------
 7663|      0|            dst.layoutOffset = src.layoutOffset;
 7664|  27.3k|        if (src.hasSet())
  ------------------
  |  Branch (7664:13): [True: 0, False: 27.3k]
  ------------------
 7665|      0|            dst.layoutSet = src.layoutSet;
 7666|  27.3k|        if (src.layoutBinding != TQualifier::layoutBindingEnd)
  ------------------
  |  Branch (7666:13): [True: 0, False: 27.3k]
  ------------------
 7667|      0|            dst.layoutBinding = src.layoutBinding;
 7668|       |
 7669|  27.3k|        if (src.hasSpecConstantId())
  ------------------
  |  Branch (7669:13): [True: 0, False: 27.3k]
  ------------------
 7670|      0|            dst.layoutSpecConstantId = src.layoutSpecConstantId;
 7671|       |
 7672|  27.3k|        if (src.hasComponent())
  ------------------
  |  Branch (7672:13): [True: 0, False: 27.3k]
  ------------------
 7673|      0|            dst.layoutComponent = src.layoutComponent;
 7674|  27.3k|        if (src.hasIndex())
  ------------------
  |  Branch (7674:13): [True: 0, False: 27.3k]
  ------------------
 7675|      0|            dst.layoutIndex = src.layoutIndex;
 7676|  27.3k|        if (src.hasXfbStride())
  ------------------
  |  Branch (7676:13): [True: 0, False: 27.3k]
  ------------------
 7677|      0|            dst.layoutXfbStride = src.layoutXfbStride;
 7678|  27.3k|        if (src.hasXfbOffset())
  ------------------
  |  Branch (7678:13): [True: 0, False: 27.3k]
  ------------------
 7679|      0|            dst.layoutXfbOffset = src.layoutXfbOffset;
 7680|  27.3k|        if (src.hasAttachment())
  ------------------
  |  Branch (7680:13): [True: 0, False: 27.3k]
  ------------------
 7681|      0|            dst.layoutAttachment = src.layoutAttachment;
 7682|  27.3k|        if (src.layoutDescriptorHeap)
  ------------------
  |  Branch (7682:13): [True: 0, False: 27.3k]
  ------------------
 7683|      0|            dst.layoutDescriptorHeap = true;
 7684|  27.3k|        if (src.layoutDescriptorInnerBlock)
  ------------------
  |  Branch (7684:13): [True: 0, False: 27.3k]
  ------------------
 7685|      0|            dst.layoutDescriptorInnerBlock = true;
 7686|  27.3k|        if (src.layoutDescriptorStride != TQualifier::layoutDescriptorStrideEnd)
  ------------------
  |  Branch (7686:13): [True: 0, False: 27.3k]
  ------------------
 7687|      0|            dst.layoutDescriptorStride = src.layoutDescriptorStride;
 7688|  27.3k|        if (src.layoutHeapOffset != 0)
  ------------------
  |  Branch (7688:13): [True: 0, False: 27.3k]
  ------------------
 7689|      0|            dst.layoutHeapOffset = src.layoutHeapOffset;
 7690|  27.3k|        if (src.layoutPushConstant)
  ------------------
  |  Branch (7690:13): [True: 0, False: 27.3k]
  ------------------
 7691|      0|            dst.layoutPushConstant = true;
 7692|       |
 7693|  27.3k|        if (src.layoutBufferReference)
  ------------------
  |  Branch (7693:13): [True: 0, False: 27.3k]
  ------------------
 7694|      0|            dst.layoutBufferReference = true;
 7695|       |
 7696|  27.3k|        if (src.layoutPassthrough)
  ------------------
  |  Branch (7696:13): [True: 0, False: 27.3k]
  ------------------
 7697|      0|            dst.layoutPassthrough = true;
 7698|  27.3k|        if (src.layoutViewportRelative)
  ------------------
  |  Branch (7698:13): [True: 0, False: 27.3k]
  ------------------
 7699|      0|            dst.layoutViewportRelative = true;
 7700|  27.3k|        if (src.layoutSecondaryViewportRelativeOffset != -2048)
  ------------------
  |  Branch (7700:13): [True: 0, False: 27.3k]
  ------------------
 7701|      0|            dst.layoutSecondaryViewportRelativeOffset = src.layoutSecondaryViewportRelativeOffset;
 7702|  27.3k|        if (src.layoutShaderRecord)
  ------------------
  |  Branch (7702:13): [True: 0, False: 27.3k]
  ------------------
 7703|      0|            dst.layoutShaderRecord = true;
 7704|  27.3k|        if (src.layoutFullQuads)
  ------------------
  |  Branch (7704:13): [True: 0, False: 27.3k]
  ------------------
 7705|      0|            dst.layoutFullQuads = true;
 7706|  27.3k|        if (src.layoutQuadDeriv)
  ------------------
  |  Branch (7706:13): [True: 0, False: 27.3k]
  ------------------
 7707|      0|            dst.layoutQuadDeriv = true;
 7708|  27.3k|        if (src.layoutBindlessSampler)
  ------------------
  |  Branch (7708:13): [True: 0, False: 27.3k]
  ------------------
 7709|      0|            dst.layoutBindlessSampler = true;
 7710|  27.3k|        if (src.layoutBindlessImage)
  ------------------
  |  Branch (7710:13): [True: 0, False: 27.3k]
  ------------------
 7711|      0|            dst.layoutBindlessImage = true;
 7712|  27.3k|        if (src.pervertexNV)
  ------------------
  |  Branch (7712:13): [True: 0, False: 27.3k]
  ------------------
 7713|      0|            dst.pervertexNV = true;
 7714|  27.3k|        if (src.pervertexEXT)
  ------------------
  |  Branch (7714:13): [True: 0, False: 27.3k]
  ------------------
 7715|      0|            dst.pervertexEXT = true;
 7716|  27.3k|        if (src.layoutHitObjectShaderRecordNV)
  ------------------
  |  Branch (7716:13): [True: 0, False: 27.3k]
  ------------------
 7717|      0|            dst.layoutHitObjectShaderRecordNV = true;
 7718|  27.3k|        dst.layoutTileAttachmentQCOM |= src.layoutTileAttachmentQCOM;
 7719|  27.3k|        if (src.layoutHitObjectShaderRecordEXT)
  ------------------
  |  Branch (7719:13): [True: 0, False: 27.3k]
  ------------------
 7720|      0|            dst.layoutHitObjectShaderRecordEXT = true;
 7721|  27.3k|        if (src.hasBank())
  ------------------
  |  Branch (7721:13): [True: 0, False: 27.3k]
  ------------------
 7722|      0|            dst.layoutBank = src.layoutBank;
 7723|  27.3k|        if (src.hasMemberOffset())
  ------------------
  |  Branch (7723:13): [True: 0, False: 27.3k]
  ------------------
 7724|      0|            dst.layoutMemberOffset = src.layoutMemberOffset;
 7725|  27.3k|    }
 7726|  27.4k|}
_ZN7glslang13TParseContext17layoutObjectCheckERKNS_10TSourceLocERKNS_7TSymbolE:
 7730|  3.20k|{
 7731|  3.20k|    const TType& type = symbol.getType();
 7732|  3.20k|    const TQualifier& qualifier = type.getQualifier();
 7733|       |
 7734|       |    // first, cross check WRT to just the type
 7735|  3.20k|    layoutTypeCheck(loc, type);
 7736|       |
 7737|       |    // now, any remaining error checking based on the object itself
 7738|       |
 7739|  3.20k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (7739:9): [True: 0, False: 3.20k]
  ------------------
 7740|      0|        switch (qualifier.storage) {
 7741|      0|        case EvqUniform:
  ------------------
  |  Branch (7741:9): [True: 0, False: 0]
  ------------------
 7742|      0|        case EvqBuffer:
  ------------------
  |  Branch (7742:9): [True: 0, False: 0]
  ------------------
 7743|      0|            if (symbol.getAsVariable() == nullptr)
  ------------------
  |  Branch (7743:17): [True: 0, False: 0]
  ------------------
 7744|      0|                error(loc, "can only be used on variable declaration", "location", "");
 7745|      0|            break;
 7746|      0|        default:
  ------------------
  |  Branch (7746:9): [True: 0, False: 0]
  ------------------
 7747|      0|            break;
 7748|      0|        }
 7749|      0|    }
 7750|       |
 7751|       |    // user-variable location check, which are required for SPIR-V in/out:
 7752|       |    //  - variables have it directly,
 7753|       |    //  - blocks have it on each member (already enforced), so check first one
 7754|  3.20k|    if (spvVersion.spv > 0 && !parsingBuiltins && qualifier.builtIn == EbvNone &&
  ------------------
  |  Branch (7754:9): [True: 0, False: 3.20k]
  |  Branch (7754:31): [True: 0, False: 0]
  |  Branch (7754:51): [True: 0, False: 0]
  ------------------
 7755|      0|        !qualifier.hasLocation() && !intermediate.getAutoMapLocations()) {
  ------------------
  |  Branch (7755:9): [True: 0, False: 0]
  |  Branch (7755:37): [True: 0, False: 0]
  ------------------
 7756|       |
 7757|      0|        switch (qualifier.storage) {
 7758|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (7758:9): [True: 0, False: 0]
  ------------------
 7759|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (7759:9): [True: 0, False: 0]
  ------------------
 7760|      0|            if (!type.getQualifier().isTaskMemory() && !type.getQualifier().hasSpirvDecorate() &&
  ------------------
  |  Branch (7760:17): [True: 0, False: 0]
  |  Branch (7760:56): [True: 0, False: 0]
  ------------------
 7761|      0|                (type.getBasicType() != EbtBlock ||
  ------------------
  |  Branch (7761:18): [True: 0, False: 0]
  ------------------
 7762|      0|                 (!(*type.getStruct())[0].type->getQualifier().hasLocation() &&
  ------------------
  |  Branch (7762:19): [True: 0, False: 0]
  ------------------
 7763|      0|                   (*type.getStruct())[0].type->getQualifier().builtIn == EbvNone)))
  ------------------
  |  Branch (7763:20): [True: 0, False: 0]
  ------------------
 7764|      0|                error(loc, "SPIR-V requires location for user input/output", "location", "");
 7765|      0|            break;
 7766|      0|        default:
  ------------------
  |  Branch (7766:9): [True: 0, False: 0]
  ------------------
 7767|      0|            break;
 7768|      0|        }
 7769|      0|    }
 7770|       |
 7771|       |    // Check packing and matrix
 7772|  3.20k|    if (qualifier.hasUniformLayout()) {
  ------------------
  |  Branch (7772:9): [True: 0, False: 3.20k]
  ------------------
 7773|      0|        switch (qualifier.storage) {
 7774|      0|        case EvqUniform:
  ------------------
  |  Branch (7774:9): [True: 0, False: 0]
  ------------------
 7775|      0|        case EvqBuffer:
  ------------------
  |  Branch (7775:9): [True: 0, False: 0]
  ------------------
 7776|      0|            if (type.getBasicType() != EbtBlock) {
  ------------------
  |  Branch (7776:17): [True: 0, False: 0]
  ------------------
 7777|      0|                if (qualifier.hasMatrix())
  ------------------
  |  Branch (7777:21): [True: 0, False: 0]
  ------------------
 7778|      0|                    error(loc, "cannot specify matrix layout on a variable declaration", "layout", "");
 7779|      0|                if (qualifier.hasPacking())
  ------------------
  |  Branch (7779:21): [True: 0, False: 0]
  ------------------
 7780|      0|                    error(loc, "cannot specify packing on a variable declaration", "layout", "");
 7781|       |                // "The offset qualifier can only be used on block members of blocks..."
 7782|      0|                if (qualifier.hasOffset() && !type.isAtomic())
  ------------------
  |  Branch (7782:21): [True: 0, False: 0]
  |  Branch (7782:46): [True: 0, False: 0]
  ------------------
 7783|      0|                    error(loc, "cannot specify on a variable declaration", "offset", "");
 7784|       |                // "The align qualifier can only be used on blocks or block members..."
 7785|      0|                if (qualifier.hasAlign())
  ------------------
  |  Branch (7785:21): [True: 0, False: 0]
  ------------------
 7786|      0|                    error(loc, "cannot specify on a variable declaration", "align", "");
 7787|      0|                if (qualifier.isPushConstant())
  ------------------
  |  Branch (7787:21): [True: 0, False: 0]
  ------------------
 7788|      0|                    error(loc, "can only specify on a uniform block", "push_constant", "");
 7789|      0|                if (qualifier.isShaderRecord())
  ------------------
  |  Branch (7789:21): [True: 0, False: 0]
  ------------------
 7790|      0|                    error(loc, "can only specify on a buffer block", "shaderRecordNV", "");
 7791|      0|                if (qualifier.hasLocation() && type.isAtomic())
  ------------------
  |  Branch (7791:21): [True: 0, False: 0]
  |  Branch (7791:48): [True: 0, False: 0]
  ------------------
 7792|      0|                    error(loc, "cannot specify on atomic counter", "location", "");
 7793|      0|            }
 7794|      0|            break;
 7795|      0|        default:
  ------------------
  |  Branch (7795:9): [True: 0, False: 0]
  ------------------
 7796|       |            // these were already filtered by layoutTypeCheck() (or its callees)
 7797|      0|            break;
 7798|      0|        }
 7799|      0|    }
 7800|       |
 7801|       |    // Check that an in/out variable or block doesn't contain a boolean member
 7802|       |    // Don't enforce if redeclaring a builtin, which are allowed to contain bool
 7803|  3.20k|    if (!parsingBuiltins && type.containsBasicType(EbtBool) && !builtInName(symbol.getName())) {
  ------------------
  |  Branch (7803:9): [True: 0, False: 3.20k]
  |  Branch (7803:29): [True: 0, False: 0]
  |  Branch (7803:64): [True: 0, False: 0]
  ------------------
 7804|      0|        switch(qualifier.storage) {
 7805|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (7805:9): [True: 0, False: 0]
  ------------------
 7806|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (7806:9): [True: 0, False: 0]
  ------------------
 7807|      0|        {
 7808|      0|            const char *reason = type.getBasicType() == EbtBool ? "cannot be bool" : "cannot contain bool";
  ------------------
  |  Branch (7808:34): [True: 0, False: 0]
  ------------------
 7809|      0|            error(loc, reason, GetStorageQualifierString(qualifier.storage), "");
 7810|      0|            break;
 7811|      0|        }
 7812|      0|        default:
  ------------------
  |  Branch (7812:9): [True: 0, False: 0]
  ------------------
 7813|      0|            break;
 7814|      0|        }
 7815|      0|    }
 7816|  3.20k|}
_ZN7glslang13TParseContext30layoutMemberLocationArrayCheckERKNS_10TSourceLocEbPNS_11TArraySizesE:
 7827|     36|{
 7828|     36|    if (memberWithLocation && arraySizes != nullptr) {
  ------------------
  |  Branch (7828:9): [True: 0, False: 36]
  |  Branch (7828:31): [True: 0, False: 0]
  ------------------
 7829|      0|        if (arraySizes->getNumDims() > (currentBlockQualifier.isArrayedIo(language) ? 1 : 0))
  ------------------
  |  Branch (7829:13): [True: 0, False: 0]
  |  Branch (7829:41): [True: 0, False: 0]
  ------------------
 7830|      0|            error(loc, "cannot use in a block array where new locations are needed for each block element",
 7831|      0|                       "location", "");
 7832|      0|    }
 7833|     36|}
_ZN7glslang13TParseContext15layoutTypeCheckERKNS_10TSourceLocERKNS_5TTypeE:
 7837|  3.40k|{
 7838|  3.40k|    const TQualifier& qualifier = type.getQualifier();
 7839|       |
 7840|       |    // first, intra-layout qualifier-only error checking
 7841|  3.40k|    layoutQualifierCheck(loc, qualifier);
 7842|       |
 7843|       |    // now, error checking combining type and qualifier
 7844|       |
 7845|  3.40k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (7845:9): [True: 0, False: 3.40k]
  ------------------
 7846|      0|        if (qualifier.hasLocation()) {
  ------------------
  |  Branch (7846:13): [True: 0, False: 0]
  ------------------
 7847|      0|            if (qualifier.storage == EvqVaryingOut && language == EShLangFragment) {
  ------------------
  |  Branch (7847:17): [True: 0, False: 0]
  |  Branch (7847:55): [True: 0, False: 0]
  ------------------
 7848|      0|                if (qualifier.layoutLocation >= (unsigned int)resources.maxDrawBuffers)
  ------------------
  |  Branch (7848:21): [True: 0, False: 0]
  ------------------
 7849|      0|                    error(loc, "too large for fragment output", "location", "");
 7850|      0|            }
 7851|      0|        }
 7852|      0|        if (qualifier.hasComponent()) {
  ------------------
  |  Branch (7852:13): [True: 0, False: 0]
  ------------------
 7853|       |            // "It is a compile-time error if this sequence of components gets larger than 3."
 7854|      0|            if (qualifier.layoutComponent + type.getVectorSize() * (type.getBasicType() == EbtDouble ? 2 : 1) > 4)
  ------------------
  |  Branch (7854:17): [True: 0, False: 0]
  |  Branch (7854:69): [True: 0, False: 0]
  ------------------
 7855|      0|                error(loc, "type overflows the available 4 components", "component", "");
 7856|       |
 7857|       |            // "It is a compile-time error to apply the component qualifier to a matrix, a structure, a block, or an array containing any of these."
 7858|      0|            if (type.isMatrix() || type.getBasicType() == EbtBlock || type.getBasicType() == EbtStruct)
  ------------------
  |  Branch (7858:17): [True: 0, False: 0]
  |  Branch (7858:36): [True: 0, False: 0]
  |  Branch (7858:71): [True: 0, False: 0]
  ------------------
 7859|      0|                error(loc, "cannot apply to a matrix, structure, or block", "component", "");
 7860|       |
 7861|       |            // " It is a compile-time error to use component 1 or 3 as the beginning of a double or dvec2."
 7862|      0|            if (type.getBasicType() == EbtDouble)
  ------------------
  |  Branch (7862:17): [True: 0, False: 0]
  ------------------
 7863|      0|                if (qualifier.layoutComponent & 1)
  ------------------
  |  Branch (7863:21): [True: 0, False: 0]
  ------------------
 7864|      0|                    error(loc, "doubles cannot start on an odd-numbered component", "component", "");
 7865|      0|        }
 7866|       |
 7867|      0|        switch (qualifier.storage) {
 7868|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (7868:9): [True: 0, False: 0]
  ------------------
 7869|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (7869:9): [True: 0, False: 0]
  ------------------
 7870|      0|            if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (7870:17): [True: 0, False: 0]
  ------------------
 7871|      0|                profileRequires(loc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, "location qualifier on in/out block");
 7872|      0|            if (type.getQualifier().isTaskMemory())
  ------------------
  |  Branch (7872:17): [True: 0, False: 0]
  ------------------
 7873|      0|                error(loc, "cannot apply to taskNV in/out blocks", "location", "");
 7874|      0|            break;
 7875|      0|        case EvqUniform:
  ------------------
  |  Branch (7875:9): [True: 0, False: 0]
  ------------------
 7876|      0|        case EvqBuffer:
  ------------------
  |  Branch (7876:9): [True: 0, False: 0]
  ------------------
 7877|      0|            if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (7877:17): [True: 0, False: 0]
  ------------------
 7878|      0|                error(loc, "cannot apply to uniform or buffer block", "location", "");
 7879|      0|            else if (type.getBasicType() == EbtSampler && type.getSampler().isAttachmentEXT())
  ------------------
  |  Branch (7879:22): [True: 0, False: 0]
  |  Branch (7879:59): [True: 0, False: 0]
  ------------------
 7880|      0|                error(loc, "only applies to", "location", "%s with storage tileImageEXT", type.getBasicTypeString().c_str());
 7881|      0|            break;
 7882|      0|        case EvqtaskPayloadSharedEXT:
  ------------------
  |  Branch (7882:9): [True: 0, False: 0]
  ------------------
 7883|      0|            error(loc, "cannot apply to taskPayloadSharedEXT", "location", "");
 7884|      0|            break;
 7885|      0|        case EvqPayload:
  ------------------
  |  Branch (7885:9): [True: 0, False: 0]
  ------------------
 7886|      0|        case EvqPayloadIn:
  ------------------
  |  Branch (7886:9): [True: 0, False: 0]
  ------------------
 7887|      0|        case EvqHitAttr:
  ------------------
  |  Branch (7887:9): [True: 0, False: 0]
  ------------------
 7888|      0|        case EvqCallableData:
  ------------------
  |  Branch (7888:9): [True: 0, False: 0]
  ------------------
 7889|      0|        case EvqCallableDataIn:
  ------------------
  |  Branch (7889:9): [True: 0, False: 0]
  ------------------
 7890|      0|        case EvqHitObjectAttrNV:
  ------------------
  |  Branch (7890:9): [True: 0, False: 0]
  ------------------
 7891|      0|        case EvqHitObjectAttrEXT:
  ------------------
  |  Branch (7891:9): [True: 0, False: 0]
  ------------------
 7892|      0|        case EvqSpirvStorageClass:
  ------------------
  |  Branch (7892:9): [True: 0, False: 0]
  ------------------
 7893|      0|            break;
 7894|      0|        case EvqTileImageEXT:
  ------------------
  |  Branch (7894:9): [True: 0, False: 0]
  ------------------
 7895|      0|            break;
 7896|      0|        default:
  ------------------
  |  Branch (7896:9): [True: 0, False: 0]
  ------------------
 7897|      0|            error(loc, "can only apply to uniform, buffer, in, or out storage qualifiers", "location", "");
 7898|      0|            break;
 7899|      0|        }
 7900|       |
 7901|      0|        bool typeCollision;
 7902|      0|        int repeated = intermediate.addUsedLocation(qualifier, type, typeCollision);
 7903|      0|        if (repeated >= 0 && ! typeCollision)
  ------------------
  |  Branch (7903:13): [True: 0, False: 0]
  |  Branch (7903:30): [True: 0, False: 0]
  ------------------
 7904|      0|            error(loc, "overlapping use of location", "location", "%d", repeated);
 7905|       |        // When location aliasing, the aliases sharing the location must have the same underlying numerical type and bit width(
 7906|       |        // floating - point or integer, 32 - bit versus 64 - bit,etc.)
 7907|      0|        if (typeCollision && (qualifier.isPipeInput() || qualifier.isPipeOutput() || qualifier.storage == EvqTileImageEXT))
  ------------------
  |  Branch (7907:13): [True: 0, False: 0]
  |  Branch (7907:31): [True: 0, False: 0]
  |  Branch (7907:58): [True: 0, False: 0]
  |  Branch (7907:86): [True: 0, False: 0]
  ------------------
 7908|      0|            error(loc, "the aliases sharing the location", "location", "%d must be the same basic type and interpolation qualification", repeated);
 7909|      0|    }
 7910|       |
 7911|  3.40k|    if (qualifier.hasXfbOffset() && qualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (7911:9): [True: 0, False: 3.40k]
  |  Branch (7911:37): [True: 0, False: 0]
  ------------------
 7912|      0|        if (type.isUnsizedArray()) {
  ------------------
  |  Branch (7912:13): [True: 0, False: 0]
  ------------------
 7913|      0|            error(loc, "unsized array", "xfb_offset", "in buffer %d", qualifier.layoutXfbBuffer);
 7914|      0|        } else {
 7915|      0|            int repeated = intermediate.addXfbBufferOffset(type);
 7916|      0|            if (repeated >= 0)
  ------------------
  |  Branch (7916:17): [True: 0, False: 0]
  ------------------
 7917|      0|                error(loc, "overlapping offsets at", "xfb_offset", "offset %d in buffer %d", repeated, qualifier.layoutXfbBuffer);
 7918|      0|        }
 7919|       |
 7920|       |        // "The offset must be a multiple of the size of the first component of the first
 7921|       |        // qualified variable or block member, or a compile-time error results. Further, if applied to an aggregate
 7922|       |        // containing a double or 64-bit integer, the offset must also be a multiple of 8..."
 7923|      0|        if ((type.containsBasicType(EbtDouble) || type.containsBasicType(EbtInt64) || type.containsBasicType(EbtUint64)) &&
  ------------------
  |  Branch (7923:14): [True: 0, False: 0]
  |  Branch (7923:51): [True: 0, False: 0]
  |  Branch (7923:87): [True: 0, False: 0]
  ------------------
 7924|      0|            ! IsMultipleOfPow2(qualifier.layoutXfbOffset, 8))
  ------------------
  |  Branch (7924:13): [True: 0, False: 0]
  ------------------
 7925|      0|            error(loc, "type contains double or 64-bit integer; xfb_offset must be a multiple of 8", "xfb_offset", "");
 7926|      0|        else if ((type.containsBasicType(EbtBool) || type.containsBasicType(EbtFloat) ||
  ------------------
  |  Branch (7926:19): [True: 0, False: 0]
  |  Branch (7926:54): [True: 0, False: 0]
  ------------------
 7927|      0|                  type.containsBasicType(EbtInt) || type.containsBasicType(EbtUint)) &&
  ------------------
  |  Branch (7927:19): [True: 0, False: 0]
  |  Branch (7927:53): [True: 0, False: 0]
  ------------------
 7928|      0|                 ! IsMultipleOfPow2(qualifier.layoutXfbOffset, 4))
  ------------------
  |  Branch (7928:18): [True: 0, False: 0]
  ------------------
 7929|      0|            error(loc, "must be a multiple of size of first component", "xfb_offset", "");
 7930|       |        // ..., if applied to an aggregate containing a half float or 16-bit integer, the offset must also be a multiple of 2..."
 7931|      0|        else if ((type.contains16BitFloat() || type.containsBasicType(EbtInt16) || type.containsBasicType(EbtUint16)) &&
  ------------------
  |  Branch (7931:19): [True: 0, False: 0]
  |  Branch (7931:48): [True: 0, False: 0]
  |  Branch (7931:84): [True: 0, False: 0]
  ------------------
 7932|      0|                 !IsMultipleOfPow2(qualifier.layoutXfbOffset, 2))
  ------------------
  |  Branch (7932:18): [True: 0, False: 0]
  ------------------
 7933|      0|            error(loc, "type contains half float or 16-bit integer; xfb_offset must be a multiple of 2", "xfb_offset", "");
 7934|      0|    }
 7935|  3.40k|    if (qualifier.hasXfbStride() && qualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (7935:9): [True: 0, False: 3.40k]
  |  Branch (7935:37): [True: 0, False: 0]
  ------------------
 7936|      0|        if (! intermediate.setXfbBufferStride(qualifier.layoutXfbBuffer, qualifier.layoutXfbStride))
  ------------------
  |  Branch (7936:13): [True: 0, False: 0]
  ------------------
 7937|      0|            error(loc, "all stride settings must match for xfb buffer", "xfb_stride", "%d", qualifier.layoutXfbBuffer);
 7938|      0|    }
 7939|       |
 7940|  3.40k|    if (qualifier.hasBinding()) {
  ------------------
  |  Branch (7940:9): [True: 0, False: 3.40k]
  ------------------
 7941|       |        // Binding checking, from the spec:
 7942|       |        //
 7943|       |        // "If the binding point for any uniform or shader storage block instance is less than zero, or greater than or
 7944|       |        // equal to the implementation-dependent maximum number of uniform buffer bindings, a compile-time
 7945|       |        // error will occur. When the binding identifier is used with a uniform or shader storage block instanced as
 7946|       |        // an array of size N, all elements of the array from binding through binding + N - 1 must be within this
 7947|       |        // range."
 7948|       |        //
 7949|      0|        if (!type.isOpaque() && type.getBasicType() != EbtBlock && type.getBasicType() != EbtSpirvType)
  ------------------
  |  Branch (7949:13): [True: 0, False: 0]
  |  Branch (7949:33): [True: 0, False: 0]
  |  Branch (7949:68): [True: 0, False: 0]
  ------------------
 7950|      0|            error(loc, "requires block, or sampler/image, or atomic-counter type", "binding", "");
 7951|      0|        if (type.getBasicType() == EbtSampler) {
  ------------------
  |  Branch (7951:13): [True: 0, False: 0]
  ------------------
 7952|      0|            int lastBinding = qualifier.layoutBinding;
 7953|      0|            if (type.isArray()) {
  ------------------
  |  Branch (7953:17): [True: 0, False: 0]
  ------------------
 7954|      0|                if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (7954:21): [True: 0, False: 0]
  ------------------
 7955|      0|                    if (type.isSizedArray())
  ------------------
  |  Branch (7955:25): [True: 0, False: 0]
  ------------------
 7956|      0|                        lastBinding += (type.getCumulativeArraySize() - 1);
 7957|      0|                    else {
 7958|      0|                        warn(loc, "assuming binding count of one for compile-time checking of binding numbers for unsized array", "[]", "");
 7959|      0|                    }
 7960|      0|                }
 7961|      0|            }
 7962|      0|            if (spvVersion.vulkan == 0 && lastBinding >= resources.maxCombinedTextureImageUnits)
  ------------------
  |  Branch (7962:17): [True: 0, False: 0]
  |  Branch (7962:43): [True: 0, False: 0]
  ------------------
 7963|      0|                error(loc, "sampler binding not less than gl_MaxCombinedTextureImageUnits", "binding", type.isArray() ? "(using array)" : "");
  ------------------
  |  Branch (7963:104): [True: 0, False: 0]
  ------------------
 7964|      0|        }
 7965|      0|        if (type.isAtomic() && !spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (7965:13): [True: 0, False: 0]
  |  Branch (7965:32): [True: 0, False: 0]
  ------------------
 7966|      0|            if (qualifier.layoutBinding >= (unsigned int)resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (7966:17): [True: 0, False: 0]
  ------------------
 7967|      0|                error(loc, "atomic_uint binding is too large; see gl_MaxAtomicCounterBindings", "binding", "");
 7968|      0|                return;
 7969|      0|            }
 7970|      0|        }
 7971|  3.40k|    } else if (!intermediate.getAutoMapBindings()) {
  ------------------
  |  Branch (7971:16): [True: 3.40k, False: 0]
  ------------------
 7972|       |        // some types require bindings
 7973|       |
 7974|       |        // atomic_uint
 7975|  3.40k|        if (type.isAtomic())
  ------------------
  |  Branch (7975:13): [True: 0, False: 3.40k]
  ------------------
 7976|      0|            error(loc, "layout(binding=X) is required", "atomic_uint", "");
 7977|       |
 7978|       |        // SPIR-V
 7979|  3.40k|        if (spvVersion.spv > 0) {
  ------------------
  |  Branch (7979:13): [True: 0, False: 3.40k]
  ------------------
 7980|      0|            if (qualifier.isUniformOrBuffer() && !intermediate.IsRequestedExtension(E_GL_EXT_descriptor_heap)) {
  ------------------
  |  Branch (7980:17): [True: 0, False: 0]
  |  Branch (7980:50): [True: 0, False: 0]
  ------------------
 7981|      0|                if (type.getBasicType() == EbtBlock && !qualifier.isPushConstant() &&
  ------------------
  |  Branch (7981:21): [True: 0, False: 0]
  |  Branch (7981:56): [True: 0, False: 0]
  ------------------
 7982|      0|                       !qualifier.isShaderRecord() &&
  ------------------
  |  Branch (7982:24): [True: 0, False: 0]
  ------------------
 7983|      0|                       !qualifier.hasAttachment() &&
  ------------------
  |  Branch (7983:24): [True: 0, False: 0]
  ------------------
 7984|      0|                       !qualifier.hasBufferReference())
  ------------------
  |  Branch (7984:24): [True: 0, False: 0]
  ------------------
 7985|      0|                    error(loc, "uniform/buffer blocks require layout(binding=X)", "binding", "");
 7986|      0|                else if (spvVersion.vulkan > 0 && type.getBasicType() == EbtSampler && !type.getSampler().isAttachmentEXT())
  ------------------
  |  Branch (7986:26): [True: 0, False: 0]
  |  Branch (7986:51): [True: 0, False: 0]
  |  Branch (7986:88): [True: 0, False: 0]
  ------------------
 7987|      0|                    error(loc, "sampler/texture/image requires layout(binding=X)", "binding", "");
 7988|      0|            }
 7989|      0|        }
 7990|  3.40k|    }
 7991|       |
 7992|       |    // some things can't have arrays of arrays
 7993|  3.40k|    if (type.isArrayOfArrays()) {
  ------------------
  |  Branch (7993:9): [True: 12, False: 3.39k]
  ------------------
 7994|     12|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (7994:13): [True: 6, False: 6]
  ------------------
 7995|      6|            if (type.isOpaque() || (type.getQualifier().isUniformOrBuffer() && type.getBasicType() == EbtBlock))
  ------------------
  |  Branch (7995:17): [True: 0, False: 6]
  |  Branch (7995:37): [True: 0, False: 6]
  |  Branch (7995:80): [True: 0, False: 0]
  ------------------
 7996|      0|                warn(loc, "Generating SPIR-V array-of-arrays, but Vulkan only supports single array level for this resource", "[][]", "");
 7997|      6|        }
 7998|     12|    }
 7999|       |
 8000|       |    // "The offset qualifier can only be used on block members of blocks..."
 8001|  3.40k|    if (qualifier.hasOffset()) {
  ------------------
  |  Branch (8001:9): [True: 0, False: 3.40k]
  ------------------
 8002|      0|        if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (8002:13): [True: 0, False: 0]
  ------------------
 8003|      0|            error(loc, "only applies to block members, not blocks", "offset", "");
 8004|      0|    }
 8005|       |
 8006|       |    // Image format
 8007|  3.40k|    if (qualifier.hasFormat()) {
  ------------------
  |  Branch (8007:9): [True: 0, False: 3.40k]
  ------------------
 8008|      0|        if (! type.isImage() && !intermediate.getBindlessImageMode())
  ------------------
  |  Branch (8008:13): [True: 0, False: 0]
  |  Branch (8008:33): [True: 0, False: 0]
  ------------------
 8009|      0|            error(loc, "only apply to images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8010|      0|        else {
 8011|      0|            if (type.getSampler().type == EbtFloat && qualifier.getFormat() > ElfFloatGuard)
  ------------------
  |  Branch (8011:17): [True: 0, False: 0]
  |  Branch (8011:55): [True: 0, False: 0]
  ------------------
 8012|      0|                error(loc, "does not apply to floating point images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8013|      0|            if (type.getSampler().type == EbtInt && (qualifier.getFormat() < ElfFloatGuard || qualifier.getFormat() > ElfIntGuard))
  ------------------
  |  Branch (8013:17): [True: 0, False: 0]
  |  Branch (8013:54): [True: 0, False: 0]
  |  Branch (8013:95): [True: 0, False: 0]
  ------------------
 8014|      0|                error(loc, "does not apply to signed integer images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8015|      0|            if (type.getSampler().type == EbtUint && qualifier.getFormat() < ElfIntGuard)
  ------------------
  |  Branch (8015:17): [True: 0, False: 0]
  |  Branch (8015:54): [True: 0, False: 0]
  ------------------
 8016|      0|                error(loc, "does not apply to unsigned integer images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8017|       |
 8018|      0|            if (isEsProfile()) {
  ------------------
  |  Branch (8018:17): [True: 0, False: 0]
  ------------------
 8019|       |                // "Except for image variables qualified with the format qualifiers r32f, r32i, and r32ui, image variables must
 8020|       |                // specify either memory qualifier readonly or the memory qualifier writeonly."
 8021|      0|                if (! (qualifier.getFormat() == ElfR32f || qualifier.getFormat() == ElfR32i || qualifier.getFormat() == ElfR32ui)) {
  ------------------
  |  Branch (8021:24): [True: 0, False: 0]
  |  Branch (8021:60): [True: 0, False: 0]
  |  Branch (8021:96): [True: 0, False: 0]
  ------------------
 8022|      0|                    if (! qualifier.isReadOnly() && ! qualifier.isWriteOnly())
  ------------------
  |  Branch (8022:25): [True: 0, False: 0]
  |  Branch (8022:53): [True: 0, False: 0]
  ------------------
 8023|      0|                        error(loc, "format requires readonly or writeonly memory qualifier", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8024|      0|                }
 8025|      0|            }
 8026|      0|        }
 8027|  3.40k|    } else if (type.isImage() && ! qualifier.isWriteOnly() && !intermediate.getBindlessImageMode()) {
  ------------------
  |  Branch (8027:16): [True: 0, False: 3.40k]
  |  Branch (8027:34): [True: 0, False: 0]
  |  Branch (8027:63): [True: 0, False: 0]
  ------------------
 8028|      0|        const char *explanation = "image variables not declared 'writeonly' and without a format layout qualifier";
 8029|      0|        requireProfile(loc, ECoreProfile | ECompatibilityProfile, explanation);
 8030|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shader_image_load_formatted, explanation);
 8031|      0|    }
 8032|       |
 8033|  3.40k|    if (qualifier.isPushConstant()) {
  ------------------
  |  Branch (8033:9): [True: 0, False: 3.40k]
  ------------------
 8034|      0|        if (type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8034:13): [True: 0, False: 0]
  ------------------
 8035|      0|            error(loc, "can only be used with a block", "push_constant", "");
 8036|      0|        if (type.isArray())
  ------------------
  |  Branch (8036:13): [True: 0, False: 0]
  ------------------
 8037|      0|            error(loc, "Push constants blocks can't be an array", "push_constant", "");
 8038|      0|    }
 8039|       |
 8040|  3.40k|    if (type.getBasicType() == EbtReference) {
  ------------------
  |  Branch (8040:9): [True: 0, False: 3.40k]
  ------------------
 8041|      0|        if (qualifier.isPipeInput())
  ------------------
  |  Branch (8041:13): [True: 0, False: 0]
  ------------------
 8042|      0|            error(loc, "cannot contain any structs with buffer_reference.", "in",
 8043|      0|                  "If you want to interface shader stages with a buffer_reference cast to a uint64 or uvec2 instead.");
 8044|      0|        if (qualifier.isPipeOutput())
  ------------------
  |  Branch (8044:13): [True: 0, False: 0]
  ------------------
 8045|      0|            error(loc, "cannot contain any structs with buffer_reference.", "out",
 8046|      0|                  "If you want to interface shader stages with a buffer_reference cast to a uint64 or uvec2 instead.");
 8047|      0|    }
 8048|       |
 8049|  3.40k|    if (qualifier.hasBufferReference() && type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8049:9): [True: 0, False: 3.40k]
  |  Branch (8049:43): [True: 0, False: 0]
  ------------------
 8050|      0|        error(loc, "can only be used with a block", "buffer_reference", "");
 8051|       |
 8052|  3.40k|    if (qualifier.isShaderRecord() && type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8052:9): [True: 0, False: 3.40k]
  |  Branch (8052:39): [True: 0, False: 0]
  ------------------
 8053|      0|        error(loc, "can only be used with a block", "shaderRecordNV", "");
 8054|       |
 8055|       |    // input attachment
 8056|  3.40k|    if (type.isSubpass()) {
  ------------------
  |  Branch (8056:9): [True: 0, False: 3.40k]
  ------------------
 8057|      0|        if (extensionTurnedOn(E_GL_EXT_shader_tile_image))
  ------------------
  |  Branch (8057:13): [True: 0, False: 0]
  ------------------
 8058|      0|            error(loc, "cannot be used with GL_EXT_shader_tile_image enabled", type.getSampler().getString().c_str(),
 8059|      0|                  "");
 8060|      0|        if (! qualifier.hasAttachment())
  ------------------
  |  Branch (8060:13): [True: 0, False: 0]
  ------------------
 8061|      0|            error(loc, "requires an input_attachment_index layout qualifier", "subpass", "");
 8062|  3.40k|    } else {
 8063|  3.40k|        if (qualifier.hasAttachment())
  ------------------
  |  Branch (8063:13): [True: 0, False: 3.40k]
  ------------------
 8064|      0|            error(loc, "can only be used with a subpass", "input_attachment_index", "");
 8065|  3.40k|    }
 8066|       |
 8067|       |    // specialization-constant id
 8068|  3.40k|    if (qualifier.hasSpecConstantId()) {
  ------------------
  |  Branch (8068:9): [True: 0, False: 3.40k]
  ------------------
 8069|      0|        if (type.getQualifier().storage != EvqConst)
  ------------------
  |  Branch (8069:13): [True: 0, False: 0]
  ------------------
 8070|      0|            error(loc, "can only be applied to 'const'-qualified scalar", "constant_id", "");
 8071|      0|        if (! type.isScalar())
  ------------------
  |  Branch (8071:13): [True: 0, False: 0]
  ------------------
 8072|      0|            error(loc, "can only be applied to a scalar", "constant_id", "");
 8073|      0|        switch (type.getBasicType())
 8074|      0|        {
 8075|      0|        case EbtInt8:
  ------------------
  |  Branch (8075:9): [True: 0, False: 0]
  ------------------
 8076|      0|        case EbtUint8:
  ------------------
  |  Branch (8076:9): [True: 0, False: 0]
  ------------------
 8077|      0|        case EbtInt16:
  ------------------
  |  Branch (8077:9): [True: 0, False: 0]
  ------------------
 8078|      0|        case EbtUint16:
  ------------------
  |  Branch (8078:9): [True: 0, False: 0]
  ------------------
 8079|      0|        case EbtInt:
  ------------------
  |  Branch (8079:9): [True: 0, False: 0]
  ------------------
 8080|      0|        case EbtUint:
  ------------------
  |  Branch (8080:9): [True: 0, False: 0]
  ------------------
 8081|      0|        case EbtInt64:
  ------------------
  |  Branch (8081:9): [True: 0, False: 0]
  ------------------
 8082|      0|        case EbtUint64:
  ------------------
  |  Branch (8082:9): [True: 0, False: 0]
  ------------------
 8083|      0|        case EbtBool:
  ------------------
  |  Branch (8083:9): [True: 0, False: 0]
  ------------------
 8084|      0|        case EbtFloat:
  ------------------
  |  Branch (8084:9): [True: 0, False: 0]
  ------------------
 8085|      0|        case EbtDouble:
  ------------------
  |  Branch (8085:9): [True: 0, False: 0]
  ------------------
 8086|      0|        case EbtFloat16:
  ------------------
  |  Branch (8086:9): [True: 0, False: 0]
  ------------------
 8087|      0|        case EbtBFloat16:
  ------------------
  |  Branch (8087:9): [True: 0, False: 0]
  ------------------
 8088|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (8088:9): [True: 0, False: 0]
  ------------------
 8089|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (8089:9): [True: 0, False: 0]
  ------------------
 8090|      0|            break;
 8091|      0|        default:
  ------------------
  |  Branch (8091:9): [True: 0, False: 0]
  ------------------
 8092|      0|            error(loc, "cannot be applied to this type", "constant_id", "");
 8093|      0|            break;
 8094|      0|        }
 8095|      0|    }
 8096|  3.40k|}
_ZN7glslang13TParseContext20layoutQualifierCheckERKNS_10TSourceLocERKNS_10TQualifierE:
 8115|  3.40k|{
 8116|  3.40k|    if (qualifier.storage == EvqShared && qualifier.hasLayout()) {
  ------------------
  |  Branch (8116:9): [True: 0, False: 3.40k]
  |  Branch (8116:43): [True: 0, False: 0]
  ------------------
 8117|      0|        if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_4) {
  ------------------
  |  Branch (8117:13): [True: 0, False: 0]
  |  Branch (8117:35): [True: 0, False: 0]
  ------------------
 8118|      0|            error(loc, "shared block requires at least SPIR-V 1.4", "shared block", "");
 8119|      0|        }
 8120|      0|        profileRequires(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shared_memory_block, "shared block");
 8121|      0|    }
 8122|       |
 8123|       |    // "It is a compile-time error to use *component* without also specifying the location qualifier (order does not matter)."
 8124|  3.40k|    if (qualifier.hasComponent() && ! qualifier.hasLocation())
  ------------------
  |  Branch (8124:9): [True: 0, False: 3.40k]
  |  Branch (8124:37): [True: 0, False: 0]
  ------------------
 8125|      0|        error(loc, "must specify 'location' to use 'component'", "component", "");
 8126|       |
 8127|  3.40k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (8127:9): [True: 0, False: 3.40k]
  ------------------
 8128|       |
 8129|       |        // "As with input layout qualifiers, all shaders except compute shaders
 8130|       |        // allow *location* layout qualifiers on output variable declarations,
 8131|       |        // output block declarations, and output block member declarations."
 8132|       |
 8133|      0|        switch (qualifier.storage) {
 8134|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (8134:9): [True: 0, False: 0]
  ------------------
 8135|      0|        {
 8136|      0|            const char* feature = "location qualifier on input";
 8137|      0|            if (isEsProfile() && version < 310)
  ------------------
  |  Branch (8137:17): [True: 0, False: 0]
  |  Branch (8137:34): [True: 0, False: 0]
  ------------------
 8138|      0|                requireStage(loc, EShLangVertex, feature);
 8139|      0|            else
 8140|      0|                requireStage(loc, (EShLanguageMask)~EShLangComputeMask, feature);
 8141|      0|            if (language == EShLangVertex) {
  ------------------
  |  Branch (8141:17): [True: 0, False: 0]
  ------------------
 8142|      0|                const char* exts[2] = { E_GL_ARB_separate_shader_objects, E_GL_ARB_explicit_attrib_location };
 8143|      0|                profileRequires(loc, ~EEsProfile, 330, 2, exts, feature);
 8144|      0|                profileRequires(loc, EEsProfile, 300, nullptr, feature);
 8145|      0|            } else {
 8146|      0|                profileRequires(loc, ~EEsProfile, 410, E_GL_ARB_separate_shader_objects, feature);
 8147|      0|                profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8148|      0|            }
 8149|      0|            break;
 8150|      0|        }
 8151|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (8151:9): [True: 0, False: 0]
  ------------------
 8152|      0|        {
 8153|      0|            const char* feature = "location qualifier on output";
 8154|      0|            if (isEsProfile() && version < 310)
  ------------------
  |  Branch (8154:17): [True: 0, False: 0]
  |  Branch (8154:34): [True: 0, False: 0]
  ------------------
 8155|      0|                requireStage(loc, EShLangFragment, feature);
 8156|      0|            else
 8157|      0|                requireStage(loc, (EShLanguageMask)~EShLangComputeMask, feature);
 8158|      0|            if (language == EShLangFragment) {
  ------------------
  |  Branch (8158:17): [True: 0, False: 0]
  ------------------
 8159|      0|                const char* exts[2] = { E_GL_ARB_separate_shader_objects, E_GL_ARB_explicit_attrib_location };
 8160|      0|                profileRequires(loc, ~EEsProfile, 330, 2, exts, feature);
 8161|      0|                profileRequires(loc, EEsProfile, 300, nullptr, feature);
 8162|      0|            } else {
 8163|      0|                profileRequires(loc, ~EEsProfile, 410, E_GL_ARB_separate_shader_objects, feature);
 8164|      0|                profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8165|      0|            }
 8166|      0|            break;
 8167|      0|        }
 8168|      0|        case EvqUniform:
  ------------------
  |  Branch (8168:9): [True: 0, False: 0]
  ------------------
 8169|      0|        case EvqBuffer:
  ------------------
  |  Branch (8169:9): [True: 0, False: 0]
  ------------------
 8170|      0|        {
 8171|      0|            const char* feature = "location qualifier on uniform or buffer";
 8172|      0|            requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile | ENoProfile, feature);
 8173|      0|            profileRequires(loc, ~EEsProfile, 330, E_GL_ARB_explicit_attrib_location, feature);
 8174|      0|            profileRequires(loc, ~EEsProfile, 430, E_GL_ARB_explicit_uniform_location, feature);
 8175|      0|            profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8176|      0|            break;
 8177|      0|        }
 8178|      0|        default:
  ------------------
  |  Branch (8178:9): [True: 0, False: 0]
  ------------------
 8179|      0|            break;
 8180|      0|        }
 8181|      0|        if (qualifier.hasIndex()) {
  ------------------
  |  Branch (8181:13): [True: 0, False: 0]
  ------------------
 8182|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (8182:17): [True: 0, False: 0]
  ------------------
 8183|      0|                error(loc, "can only be used on an output", "index", "");
 8184|      0|            if (! qualifier.hasLocation())
  ------------------
  |  Branch (8184:17): [True: 0, False: 0]
  ------------------
 8185|      0|                error(loc, "can only be used with an explicit location", "index", "");
 8186|      0|        }
 8187|      0|    }
 8188|       |
 8189|  3.40k|    if (qualifier.hasBinding()) {
  ------------------
  |  Branch (8189:9): [True: 0, False: 3.40k]
  ------------------
 8190|      0|        if (! qualifier.isUniformOrBuffer() && !qualifier.isTaskMemory() && !qualifier.isTileAttachmentQCOM())
  ------------------
  |  Branch (8190:13): [True: 0, False: 0]
  |  Branch (8190:48): [True: 0, False: 0]
  |  Branch (8190:77): [True: 0, False: 0]
  ------------------
 8191|      0|            error(loc, "requires uniform or buffer or tile image storage qualifier", "binding", "");
 8192|      0|    }
 8193|  3.40k|    if (qualifier.hasStream()) {
  ------------------
  |  Branch (8193:9): [True: 56, False: 3.34k]
  ------------------
 8194|     56|        if (!qualifier.isPipeOutput())
  ------------------
  |  Branch (8194:13): [True: 0, False: 56]
  ------------------
 8195|      0|            error(loc, "can only be used on an output", "stream", "");
 8196|     56|    }
 8197|  3.40k|    if (qualifier.hasXfb()) {
  ------------------
  |  Branch (8197:9): [True: 212, False: 3.19k]
  ------------------
 8198|    212|        if (!qualifier.isPipeOutput())
  ------------------
  |  Branch (8198:13): [True: 0, False: 212]
  ------------------
 8199|      0|            error(loc, "can only be used on an output", "xfb layout qualifier", "");
 8200|    212|    }
 8201|  3.40k|    if (qualifier.hasUniformLayout()) {
  ------------------
  |  Branch (8201:9): [True: 0, False: 3.40k]
  ------------------
 8202|      0|        if (!storageCanHaveLayoutInBlock(qualifier.storage) && !qualifier.isTaskMemory()) {
  ------------------
  |  Branch (8202:13): [True: 0, False: 0]
  |  Branch (8202:64): [True: 0, False: 0]
  ------------------
 8203|      0|            if (qualifier.hasMatrix() || qualifier.hasPacking())
  ------------------
  |  Branch (8203:17): [True: 0, False: 0]
  |  Branch (8203:42): [True: 0, False: 0]
  ------------------
 8204|      0|                error(loc, "matrix or packing qualifiers can only be used on a uniform or buffer", "layout", "");
 8205|      0|            if (qualifier.hasOffset() || qualifier.hasAlign())
  ------------------
  |  Branch (8205:17): [True: 0, False: 0]
  |  Branch (8205:42): [True: 0, False: 0]
  ------------------
 8206|      0|                error(loc, "offset/align can only be used on a uniform or buffer", "layout", "");
 8207|      0|        }
 8208|      0|    }
 8209|  3.40k|    if (qualifier.isPushConstant()) {
  ------------------
  |  Branch (8209:9): [True: 0, False: 3.40k]
  ------------------
 8210|      0|        if (qualifier.storage != EvqUniform)
  ------------------
  |  Branch (8210:13): [True: 0, False: 0]
  ------------------
 8211|      0|            error(loc, "can only be used with a uniform", "push_constant", "");
 8212|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8212:13): [True: 0, False: 0]
  ------------------
 8213|      0|            error(loc, "cannot be used with push_constant", "set", "");
 8214|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (8214:13): [True: 0, False: 0]
  ------------------
 8215|      0|            error(loc, "cannot be used with push_constant", "binding", "");
 8216|      0|    }
 8217|  3.40k|    if (qualifier.hasBufferReference()) {
  ------------------
  |  Branch (8217:9): [True: 0, False: 3.40k]
  ------------------
 8218|      0|        if (qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8218:13): [True: 0, False: 0]
  ------------------
 8219|      0|            error(loc, "can only be used with buffer", "buffer_reference", "");
 8220|      0|    }
 8221|  3.40k|    if (qualifier.isShaderRecord()) {
  ------------------
  |  Branch (8221:9): [True: 0, False: 3.40k]
  ------------------
 8222|      0|        if (qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8222:13): [True: 0, False: 0]
  ------------------
 8223|      0|            error(loc, "can only be used with a buffer", "shaderRecordNV", "");
 8224|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (8224:13): [True: 0, False: 0]
  ------------------
 8225|      0|            error(loc, "cannot be used with shaderRecordNV", "binding", "");
 8226|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8226:13): [True: 0, False: 0]
  ------------------
 8227|      0|            error(loc, "cannot be used with shaderRecordNV", "set", "");
 8228|       |
 8229|      0|    }
 8230|       |
 8231|  3.40k|    if (qualifier.storage == EvqTileImageEXT) {
  ------------------
  |  Branch (8231:9): [True: 0, False: 3.40k]
  ------------------
 8232|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8232:13): [True: 0, False: 0]
  ------------------
 8233|      0|            error(loc, "cannot be used with tileImageEXT", "set", "");
 8234|      0|        if (!qualifier.hasLocation())
  ------------------
  |  Branch (8234:13): [True: 0, False: 0]
  ------------------
 8235|      0|            error(loc, "can only be used with an explicit location", "tileImageEXT", "");
 8236|      0|    }
 8237|       |
 8238|  3.40k|    if (qualifier.storage == EvqHitAttr && qualifier.hasLayout()) {
  ------------------
  |  Branch (8238:9): [True: 0, False: 3.40k]
  |  Branch (8238:44): [True: 0, False: 0]
  ------------------
 8239|      0|        error(loc, "cannot apply layout qualifiers to hitAttributeNV variable", "hitAttributeNV", "");
 8240|      0|    }
 8241|  3.40k|    if (qualifier.hasBank()) {
  ------------------
  |  Branch (8241:9): [True: 0, False: 3.40k]
  ------------------
 8242|      0|        if (!qualifier.isPushConstant())
  ------------------
  |  Branch (8242:13): [True: 0, False: 0]
  ------------------
 8243|      0|            error(loc, "can only be used with push_constant", "bank", "");
 8244|      0|    }
 8245|  3.40k|    if (qualifier.hasMemberOffset()) {
  ------------------
  |  Branch (8245:9): [True: 0, False: 3.40k]
  ------------------
 8246|      0|        if (!qualifier.isPushConstant())
  ------------------
  |  Branch (8246:13): [True: 0, False: 0]
  ------------------
 8247|      0|            error(loc, "can only be used with push_constant", "member_offset", "");
 8248|      0|    }
 8249|       |
 8250|  3.40k|    if (qualifier.layoutDescriptorStride != TQualifier::layoutDescriptorStrideEnd &&
  ------------------
  |  Branch (8250:9): [True: 0, False: 3.40k]
  ------------------
 8251|      0|        !qualifier.layoutDescriptorHeap)
  ------------------
  |  Branch (8251:9): [True: 0, False: 0]
  ------------------
 8252|      0|        error(loc, "must specify 'descriptor_heap' to use 'descriptor_stride'", "descriptor_stride", "");
 8253|  3.40k|    if (qualifier.layoutHeapOffset != 0 && !qualifier.layoutDescriptorHeap &&
  ------------------
  |  Branch (8253:9): [True: 0, False: 3.40k]
  |  Branch (8253:44): [True: 0, False: 0]
  ------------------
 8254|      0|        qualifier.storage != EvqSamplerHeap && qualifier.storage != EvqResourceHeap)
  ------------------
  |  Branch (8254:9): [True: 0, False: 0]
  |  Branch (8254:48): [True: 0, False: 0]
  ------------------
 8255|      0|        error(loc, "must specify 'descriptor_heap' to use 'heap_offset'", "heap_offset", "");
 8256|  3.40k|}
_ZN7glslang13TParseContext20checkNoShaderLayoutsERKNS_10TSourceLocERKNS_17TShaderQualifiersE:
 8260|  25.5k|{
 8261|  25.5k|    const char* message = "can only apply to a standalone qualifier";
 8262|       |
 8263|  25.5k|    if (shaderQualifiers.geometry != ElgNone)
  ------------------
  |  Branch (8263:9): [True: 0, False: 25.5k]
  ------------------
 8264|      0|        error(loc, message, TQualifier::getGeometryString(shaderQualifiers.geometry), "");
 8265|  25.5k|    if (shaderQualifiers.spacing != EvsNone)
  ------------------
  |  Branch (8265:9): [True: 0, False: 25.5k]
  ------------------
 8266|      0|        error(loc, message, TQualifier::getVertexSpacingString(shaderQualifiers.spacing), "");
 8267|  25.5k|    if (shaderQualifiers.order != EvoNone)
  ------------------
  |  Branch (8267:9): [True: 0, False: 25.5k]
  ------------------
 8268|      0|        error(loc, message, TQualifier::getVertexOrderString(shaderQualifiers.order), "");
 8269|  25.5k|    if (shaderQualifiers.pointMode)
  ------------------
  |  Branch (8269:9): [True: 0, False: 25.5k]
  ------------------
 8270|      0|        error(loc, message, "point_mode", "");
 8271|  25.5k|    if (shaderQualifiers.invocations != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8271:9): [True: 0, False: 25.5k]
  ------------------
 8272|      0|        error(loc, message, "invocations", "");
 8273|   102k|    for (int i = 0; i < 3; ++i) {
  ------------------
  |  Branch (8273:21): [True: 76.6k, False: 25.5k]
  ------------------
 8274|  76.6k|        if (shaderQualifiers.localSize[i] > 1)
  ------------------
  |  Branch (8274:13): [True: 0, False: 76.6k]
  ------------------
 8275|      0|            error(loc, message, "local_size", "");
 8276|  76.6k|        if (shaderQualifiers.localSizeSpecId[i] != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8276:13): [True: 0, False: 76.6k]
  ------------------
 8277|      0|            error(loc, message, "local_size id", "");
 8278|  76.6k|    }
 8279|  25.5k|    if (shaderQualifiers.vertices != TQualifier::layoutNotSet) {
  ------------------
  |  Branch (8279:9): [True: 0, False: 25.5k]
  ------------------
 8280|      0|        if (language == EShLangGeometry || language == EShLangMesh)
  ------------------
  |  Branch (8280:13): [True: 0, False: 0]
  |  Branch (8280:44): [True: 0, False: 0]
  ------------------
 8281|      0|            error(loc, message, "max_vertices", "");
 8282|      0|        else if (language == EShLangTessControl)
  ------------------
  |  Branch (8282:18): [True: 0, False: 0]
  ------------------
 8283|      0|            error(loc, message, "vertices", "");
 8284|      0|        else
 8285|      0|            assert(0);
 8286|      0|    }
 8287|  25.5k|    if (shaderQualifiers.earlyFragmentTests)
  ------------------
  |  Branch (8287:9): [True: 0, False: 25.5k]
  ------------------
 8288|      0|        error(loc, message, "early_fragment_tests", "");
 8289|  25.5k|    if (shaderQualifiers.postDepthCoverage)
  ------------------
  |  Branch (8289:9): [True: 0, False: 25.5k]
  ------------------
 8290|      0|        error(loc, message, "post_depth_coverage", "");
 8291|  25.5k|    if (shaderQualifiers.nonCoherentColorAttachmentReadEXT)
  ------------------
  |  Branch (8291:9): [True: 0, False: 25.5k]
  ------------------
 8292|      0|        error(loc, message, "non_coherent_color_attachment_readEXT", "");
 8293|  25.5k|    if (shaderQualifiers.nonCoherentDepthAttachmentReadEXT)
  ------------------
  |  Branch (8293:9): [True: 0, False: 25.5k]
  ------------------
 8294|      0|        error(loc, message, "non_coherent_depth_attachment_readEXT", "");
 8295|  25.5k|    if (shaderQualifiers.nonCoherentStencilAttachmentReadEXT)
  ------------------
  |  Branch (8295:9): [True: 0, False: 25.5k]
  ------------------
 8296|      0|        error(loc, message, "non_coherent_stencil_attachment_readEXT", "");
 8297|  25.5k|    if (shaderQualifiers.primitives != TQualifier::layoutNotSet) {
  ------------------
  |  Branch (8297:9): [True: 0, False: 25.5k]
  ------------------
 8298|      0|        if (language == EShLangMesh)
  ------------------
  |  Branch (8298:13): [True: 0, False: 0]
  ------------------
 8299|      0|            error(loc, message, "max_primitives", "");
 8300|      0|        else
 8301|      0|            assert(0);
 8302|      0|    }
 8303|  25.5k|    if (shaderQualifiers.hasBlendEquation())
  ------------------
  |  Branch (8303:9): [True: 0, False: 25.5k]
  ------------------
 8304|      0|        error(loc, message, "blend equation", "");
 8305|  25.5k|    if (shaderQualifiers.numViews != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8305:9): [True: 0, False: 25.5k]
  ------------------
 8306|      0|        error(loc, message, "num_views", "");
 8307|  25.5k|    if (shaderQualifiers.interlockOrdering != EioNone)
  ------------------
  |  Branch (8307:9): [True: 0, False: 25.5k]
  ------------------
 8308|      0|        error(loc, message, TQualifier::getInterlockOrderingString(shaderQualifiers.interlockOrdering), "");
 8309|  25.5k|    if (shaderQualifiers.layoutPrimitiveCulling)
  ------------------
  |  Branch (8309:9): [True: 0, False: 25.5k]
  ------------------
 8310|      0|        error(loc, "can only be applied as standalone", "primitive_culling", "");
 8311|       |
 8312|  25.5k|    if (shaderQualifiers.layoutNonCoherentTileAttachmentReadQCOM)
  ------------------
  |  Branch (8312:9): [True: 0, False: 25.5k]
  ------------------
 8313|      0|        error(loc, message, "non_coherent_attachment_readQCOM", "");
 8314|  25.5k|    if (shaderQualifiers.layoutTileShadingRateQCOM[0] >= 1)
  ------------------
  |  Branch (8314:9): [True: 0, False: 25.5k]
  ------------------
 8315|      0|        error(loc, message, "shading_rate_xQCOM", "");
 8316|  25.5k|    if (shaderQualifiers.layoutTileShadingRateQCOM[1] >= 1)
  ------------------
  |  Branch (8316:9): [True: 0, False: 25.5k]
  ------------------
 8317|      0|        error(loc, message, "shading_rate_yQCOM", "");
 8318|  25.5k|    if (shaderQualifiers.layoutTileShadingRateQCOM[2] >= 1)
  ------------------
  |  Branch (8318:9): [True: 0, False: 25.5k]
  ------------------
 8319|      0|        error(loc, message, "shading_rate_zQCOM", "");
 8320|  25.5k|}
_ZN7glslang13TParseContext9fixOffsetERKNS_10TSourceLocERNS_7TSymbolE:
 8324|  3.17k|{
 8325|  3.17k|    const TQualifier& qualifier = symbol.getType().getQualifier();
 8326|  3.17k|    if (symbol.getType().isAtomic()) {
  ------------------
  |  Branch (8326:9): [True: 0, False: 3.17k]
  ------------------
 8327|      0|        if (qualifier.hasBinding() && (int)qualifier.layoutBinding < resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (8327:13): [True: 0, False: 0]
  |  Branch (8327:39): [True: 0, False: 0]
  ------------------
 8328|       |
 8329|       |            // Set the offset
 8330|      0|            int offset;
 8331|      0|            if (qualifier.hasOffset())
  ------------------
  |  Branch (8331:17): [True: 0, False: 0]
  ------------------
 8332|      0|                offset = qualifier.layoutOffset;
 8333|      0|            else
 8334|      0|                offset = atomicUintOffsets[qualifier.layoutBinding];
 8335|       |
 8336|      0|            if (offset % 4 != 0)
  ------------------
  |  Branch (8336:17): [True: 0, False: 0]
  ------------------
 8337|      0|                error(loc, "atomic counters offset should align based on 4:", "offset", "%d", offset);
 8338|       |
 8339|      0|            symbol.getWritableType().getQualifier().layoutOffset = offset;
 8340|       |
 8341|       |            // Check for overlap
 8342|      0|            int numOffsets = 4;
 8343|      0|            if (symbol.getType().isArray()) {
  ------------------
  |  Branch (8343:17): [True: 0, False: 0]
  ------------------
 8344|      0|                if (symbol.getType().isSizedArray() && !symbol.getType().getArraySizes()->isInnerUnsized())
  ------------------
  |  Branch (8344:21): [True: 0, False: 0]
  |  Branch (8344:56): [True: 0, False: 0]
  ------------------
 8345|      0|                    numOffsets *= symbol.getType().getCumulativeArraySize();
 8346|      0|                else {
 8347|       |                    // "It is a compile-time error to declare an unsized array of atomic_uint."
 8348|      0|                    error(loc, "array must be explicitly sized", "atomic_uint", "");
 8349|      0|                }
 8350|      0|            }
 8351|      0|            int repeated = intermediate.addUsedOffsets(qualifier.layoutBinding, offset, numOffsets);
 8352|      0|            if (repeated >= 0)
  ------------------
  |  Branch (8352:17): [True: 0, False: 0]
  ------------------
 8353|      0|                error(loc, "atomic counters sharing the same offset:", "offset", "%d", repeated);
 8354|       |
 8355|       |            // Bump the default offset
 8356|      0|            atomicUintOffsets[qualifier.layoutBinding] = offset + numOffsets;
 8357|      0|        }
 8358|      0|    }
 8359|  3.17k|}
_ZN7glslang13TParseContext19declareTypeDefaultsERKNS_10TSourceLocERKNS_11TPublicTypeE:
 8843|    113|{
 8844|    113|    if (publicType.basicType == EbtAtomicUint && publicType.qualifier.hasBinding()) {
  ------------------
  |  Branch (8844:9): [True: 0, False: 113]
  |  Branch (8844:50): [True: 0, False: 0]
  ------------------
 8845|      0|        if (publicType.qualifier.layoutBinding >= (unsigned int)resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (8845:13): [True: 0, False: 0]
  ------------------
 8846|      0|            error(loc, "atomic_uint binding is too large", "binding", "");
 8847|      0|            return;
 8848|      0|        }
 8849|      0|        if (publicType.qualifier.hasOffset())
  ------------------
  |  Branch (8849:13): [True: 0, False: 0]
  ------------------
 8850|      0|            atomicUintOffsets[publicType.qualifier.layoutBinding] = publicType.qualifier.layoutOffset;
 8851|      0|        return;
 8852|      0|    }
 8853|       |
 8854|    113|    if (publicType.arraySizes) {
  ------------------
  |  Branch (8854:9): [True: 0, False: 113]
  ------------------
 8855|      0|        error(loc, "expect an array name", "", "");
 8856|      0|    }
 8857|       |
 8858|    113|    if (publicType.qualifier.hasLayout() && !publicType.qualifier.hasBufferReference())
  ------------------
  |  Branch (8858:9): [True: 0, False: 113]
  |  Branch (8858:45): [True: 0, False: 0]
  ------------------
 8859|      0|        warn(loc, "useless application of layout qualifier", "layout", "");
 8860|    113|}
_ZN7glslang13TParseContext19typeParametersCheckERKNS_10TSourceLocERKNS_11TPublicTypeE:
 8863|   261k|{
 8864|   261k|    if (parsingBuiltins)
  ------------------
  |  Branch (8864:9): [True: 261k, False: 0]
  ------------------
 8865|   261k|        return;
 8866|      0|    if (publicType.isCoopmatKHR()) {
  ------------------
  |  Branch (8866:9): [True: 0, False: 0]
  ------------------
 8867|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (8867:13): [True: 0, False: 0]
  ------------------
 8868|      0|            error(loc, "coopmat missing type parameters", "", "");
 8869|      0|            return;
 8870|      0|        }
 8871|      0|        switch (publicType.typeParameters->basicType) {
 8872|      0|        case EbtFloat:
  ------------------
  |  Branch (8872:9): [True: 0, False: 0]
  ------------------
 8873|      0|        case EbtFloat16:
  ------------------
  |  Branch (8873:9): [True: 0, False: 0]
  ------------------
 8874|      0|        case EbtBFloat16:
  ------------------
  |  Branch (8874:9): [True: 0, False: 0]
  ------------------
 8875|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (8875:9): [True: 0, False: 0]
  ------------------
 8876|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (8876:9): [True: 0, False: 0]
  ------------------
 8877|      0|        case EbtInt:
  ------------------
  |  Branch (8877:9): [True: 0, False: 0]
  ------------------
 8878|      0|        case EbtInt8:
  ------------------
  |  Branch (8878:9): [True: 0, False: 0]
  ------------------
 8879|      0|        case EbtInt16:
  ------------------
  |  Branch (8879:9): [True: 0, False: 0]
  ------------------
 8880|      0|        case EbtUint:
  ------------------
  |  Branch (8880:9): [True: 0, False: 0]
  ------------------
 8881|      0|        case EbtUint8:
  ------------------
  |  Branch (8881:9): [True: 0, False: 0]
  ------------------
 8882|      0|        case EbtUint16:
  ------------------
  |  Branch (8882:9): [True: 0, False: 0]
  ------------------
 8883|      0|        case EbtSpirvType:
  ------------------
  |  Branch (8883:9): [True: 0, False: 0]
  ------------------
 8884|      0|            break;
 8885|      0|        default:
  ------------------
  |  Branch (8885:9): [True: 0, False: 0]
  ------------------
 8886|      0|            error(loc, "coopmat invalid basic type", TType::getBasicString(publicType.typeParameters->basicType), "");
 8887|      0|            break;
 8888|      0|        }
 8889|      0|        if (publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (8889:13): [True: 0, False: 0]
  ------------------
 8890|      0|            error(loc, "coopmat incorrect number of type parameters", "", "");
 8891|      0|            return;
 8892|      0|        }
 8893|      0|        int use = publicType.typeParameters->arraySizes->getDimSize(3);
 8894|      0|        if (use < 0 || use > 2) {
  ------------------
  |  Branch (8894:13): [True: 0, False: 0]
  |  Branch (8894:24): [True: 0, False: 0]
  ------------------
 8895|      0|            error(loc, "coopmat invalid matrix Use", "", "");
 8896|      0|            return;
 8897|      0|        }
 8898|      0|    }
 8899|      0|    if (publicType.isTensorLayoutNV()) {
  ------------------
  |  Branch (8899:9): [True: 0, False: 0]
  ------------------
 8900|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (8900:13): [True: 0, False: 0]
  ------------------
 8901|      0|            error(loc, "tensorLayout missing type parameters", "", "");
 8902|      0|            return;
 8903|      0|        }
 8904|      0|        if (publicType.typeParameters->arraySizes->getNumDims() > 2) {
  ------------------
  |  Branch (8904:13): [True: 0, False: 0]
  ------------------
 8905|      0|            error(loc, "tensorLayout incorrect number of type parameters", "", "");
 8906|      0|            return;
 8907|      0|        }
 8908|      0|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() < 2) {
  ------------------
  |  Branch (8908:13): [True: 0, False: 0]
  |  Branch (8908:42): [True: 0, False: 0]
  ------------------
 8909|      0|            while (publicType.typeParameters->arraySizes->getNumDims() < 2) {
  ------------------
  |  Branch (8909:20): [True: 0, False: 0]
  ------------------
 8910|      0|                publicType.typeParameters->arraySizes->addInnerSize(0);
 8911|      0|            }
 8912|      0|        }
 8913|      0|    }
 8914|      0|    if (publicType.isTensorViewNV()) {
  ------------------
  |  Branch (8914:9): [True: 0, False: 0]
  ------------------
 8915|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (8915:13): [True: 0, False: 0]
  ------------------
 8916|      0|            error(loc, "tensorView missing type parameters", "", "");
 8917|      0|            return;
 8918|      0|        }
 8919|      0|        if (publicType.typeParameters->arraySizes->getNumDims() < 1 ||
  ------------------
  |  Branch (8919:13): [True: 0, False: 0]
  ------------------
 8920|      0|            publicType.typeParameters->arraySizes->getNumDims() > 7) {
  ------------------
  |  Branch (8920:13): [True: 0, False: 0]
  ------------------
 8921|      0|            error(loc, "tensorView incorrect number of type parameters", "", "");
 8922|      0|            return;
 8923|      0|        }
 8924|      0|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() < 7) {
  ------------------
  |  Branch (8924:13): [True: 0, False: 0]
  |  Branch (8924:42): [True: 0, False: 0]
  ------------------
 8925|      0|            uint32_t numDims = publicType.typeParameters->arraySizes->getNumDims();
 8926|      0|            while (numDims < 7) {
  ------------------
  |  Branch (8926:20): [True: 0, False: 0]
  ------------------
 8927|      0|                uint32_t dim = (numDims == 1) ? 0 : (numDims - 2);
  ------------------
  |  Branch (8927:32): [True: 0, False: 0]
  ------------------
 8928|      0|                publicType.typeParameters->arraySizes->addInnerSize(dim);
 8929|      0|                numDims++;
 8930|      0|            }
 8931|      0|        }
 8932|      0|    }
 8933|      0|    if (publicType.isTensorARM()) {
  ------------------
  |  Branch (8933:9): [True: 0, False: 0]
  ------------------
 8934|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (8934:13): [True: 0, False: 0]
  ------------------
 8935|      0|            error(loc, "tensor type is missing type parameters", "", "");
 8936|      0|            return;
 8937|      0|        }
 8938|      0|        if (publicType.typeParameters->arraySizes == nullptr) {
  ------------------
  |  Branch (8938:13): [True: 0, False: 0]
  ------------------
 8939|      0|            error(loc, "tensor type is missing rank information", "", "");
 8940|      0|            return;
 8941|      0|        }
 8942|      0|        if (publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (8942:13): [True: 0, False: 0]
  ------------------
 8943|      0|            error(loc, "tensor type requires exactly 1 rank specifier", "", "");
 8944|      0|            return;
 8945|      0|        }
 8946|      0|        if (publicType.typeParameters->arraySizes->getDimSize(0) < 1) {
  ------------------
  |  Branch (8946:13): [True: 0, False: 0]
  ------------------
 8947|      0|            error(loc, "tensor rank must be greater than or equal to 1", "", "");
 8948|      0|            return;
 8949|      0|        }
 8950|      0|    }
 8951|      0|    if (publicType.isLongVector() && !isValidLongVectorElseError(loc, publicType)) {
  ------------------
  |  Branch (8951:9): [True: 0, False: 0]
  |  Branch (8951:38): [True: 0, False: 0]
  ------------------
 8952|      0|        return;
 8953|      0|    }
 8954|      0|}
_ZN7glslang13TParseContext15declareVariableERKNS_10TSourceLocERNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_11TPublicTypeEPNS_11TArraySizesEPNS_12TIntermTypedE:
 9322|  3.17k|{
 9323|       |    // Make a fresh type that combines the characteristics from the individual
 9324|       |    // identifier syntax and the declaration-type syntax.
 9325|  3.17k|    TType type(publicType);
 9326|  3.17k|    type.transferArraySizes(arraySizes);
 9327|  3.17k|    type.copyArrayInnerSizes(publicType.arraySizes);
 9328|  3.17k|    arrayOfArrayVersionCheck(loc, type.getArraySizes());
 9329|       |
 9330|  3.17k|    if (initializer) {
  ------------------
  |  Branch (9330:9): [True: 1.01k, False: 2.15k]
  ------------------
 9331|  1.01k|        if (type.getBasicType() == EbtRayQuery) {
  ------------------
  |  Branch (9331:13): [True: 0, False: 1.01k]
  ------------------
 9332|      0|            error(loc, "ray queries can only be initialized by using the rayQueryInitializeEXT intrinsic:", "=", identifier.c_str());
 9333|  1.01k|        } else if ((type.getBasicType() == EbtHitObjectNV) || (type.getBasicType() == EbtHitObjectEXT)) {
  ------------------
  |  Branch (9333:20): [True: 0, False: 1.01k]
  |  Branch (9333:63): [True: 0, False: 1.01k]
  ------------------
 9334|      0|            error(loc, "hit objects cannot be initialized using initializers", "=", identifier.c_str());
 9335|      0|        }
 9336|       |
 9337|  1.01k|    }
 9338|       |
 9339|  3.17k|    if (type.isCoopMatKHR()) {
  ------------------
  |  Branch (9339:9): [True: 0, False: 3.17k]
  ------------------
 9340|      0|        intermediate.setUseVulkanMemoryModel();
 9341|      0|        intermediate.setUseStorageBuffer();
 9342|       |
 9343|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes ||
  ------------------
  |  Branch (9343:13): [True: 0, False: 0]
  |  Branch (9343:43): [True: 0, False: 0]
  ------------------
 9344|      0|            publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9344:13): [True: 0, False: 0]
  ------------------
 9345|      0|            error(loc, "unexpected number type parameters", identifier.c_str(), "");
 9346|      0|        }
 9347|      0|        if (publicType.typeParameters) {
  ------------------
  |  Branch (9347:13): [True: 0, False: 0]
  ------------------
 9348|      0|            if (!isTypeFloat(publicType.typeParameters->basicType) &&
  ------------------
  |  Branch (9348:17): [True: 0, False: 0]
  ------------------
 9349|      0|                !isTypeInt(publicType.typeParameters->basicType) && publicType.typeParameters->basicType != EbtSpirvType) {
  ------------------
  |  Branch (9349:17): [True: 0, False: 0]
  |  Branch (9349:69): [True: 0, False: 0]
  ------------------
 9350|      0|                error(loc, "expected 8, 16, 32, or 64 bit signed or unsigned integer or 16, 32, or 64 bit float type", identifier.c_str(), "");
 9351|      0|            }
 9352|      0|        }
 9353|      0|    }
 9354|  3.17k|    else if (type.isCoopMatNV()) {
  ------------------
  |  Branch (9354:14): [True: 0, False: 3.17k]
  ------------------
 9355|      0|        intermediate.setUseVulkanMemoryModel();
 9356|      0|        intermediate.setUseStorageBuffer();
 9357|       |
 9358|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9358:13): [True: 0, False: 0]
  |  Branch (9358:43): [True: 0, False: 0]
  |  Branch (9358:85): [True: 0, False: 0]
  ------------------
 9359|      0|            error(loc, "expected four type parameters", identifier.c_str(), "");
 9360|      0|        } else {
 9361|      0|            if (isTypeFloat(publicType.basicType) &&
  ------------------
  |  Branch (9361:17): [True: 0, False: 0]
  ------------------
 9362|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 16 &&
  ------------------
  |  Branch (9362:17): [True: 0, False: 0]
  ------------------
 9363|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 32 &&
  ------------------
  |  Branch (9363:17): [True: 0, False: 0]
  ------------------
 9364|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 64) {
  ------------------
  |  Branch (9364:17): [True: 0, False: 0]
  ------------------
 9365|      0|                error(loc, "expected 16, 32, or 64 bits for first type parameter", identifier.c_str(), "");
 9366|      0|            }
 9367|      0|            if (isTypeInt(publicType.basicType) &&
  ------------------
  |  Branch (9367:17): [True: 0, False: 0]
  ------------------
 9368|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 8 &&
  ------------------
  |  Branch (9368:17): [True: 0, False: 0]
  ------------------
 9369|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 16 &&
  ------------------
  |  Branch (9369:17): [True: 0, False: 0]
  ------------------
 9370|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 32) {
  ------------------
  |  Branch (9370:17): [True: 0, False: 0]
  ------------------
 9371|      0|                error(loc, "expected 8, 16, or 32 bits for first type parameter", identifier.c_str(), "");
 9372|      0|            }
 9373|      0|        }
 9374|  3.17k|    } else if (type.isTensorLayoutNV()) {
  ------------------
  |  Branch (9374:16): [True: 0, False: 3.17k]
  ------------------
 9375|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() > 2) {
  ------------------
  |  Branch (9375:13): [True: 0, False: 0]
  |  Branch (9375:43): [True: 0, False: 0]
  ------------------
 9376|      0|            error(loc, "expected 1-2 type parameters", identifier.c_str(), "");
 9377|      0|        }
 9378|  3.17k|    } else if (type.isTensorViewNV()) {
  ------------------
  |  Branch (9378:16): [True: 0, False: 3.17k]
  ------------------
 9379|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() > 7) {
  ------------------
  |  Branch (9379:13): [True: 0, False: 0]
  |  Branch (9379:43): [True: 0, False: 0]
  ------------------
 9380|      0|            error(loc, "expected 1-7 type parameters", identifier.c_str(), "");
 9381|      0|        }
 9382|  3.17k|    } else if (type.isCoopVecNV()) {
  ------------------
  |  Branch (9382:16): [True: 0, False: 3.17k]
  ------------------
 9383|      0|        intermediate.setUseVulkanMemoryModel();
 9384|      0|        intermediate.setUseStorageBuffer();
 9385|       |
 9386|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9386:13): [True: 0, False: 0]
  |  Branch (9386:43): [True: 0, False: 0]
  |  Branch (9386:85): [True: 0, False: 0]
  ------------------
 9387|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9388|      0|        } else if (publicType.typeParameters->arraySizes->getDimNode(0) == nullptr && publicType.typeParameters->arraySizes->getDimSize(0) <= 0) {
  ------------------
  |  Branch (9388:20): [True: 0, False: 0]
  |  Branch (9388:87): [True: 0, False: 0]
  ------------------
 9389|      0|            error(loc, "expected positive number of components", identifier.c_str(), "");
 9390|      0|        }
 9391|  3.17k|    } else if (type.isLongVector()) {
  ------------------
  |  Branch (9391:16): [True: 0, False: 3.17k]
  ------------------
 9392|      0|        intermediate.setUseStorageBuffer();
 9393|       |
 9394|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9394:13): [True: 0, False: 0]
  |  Branch (9394:43): [True: 0, False: 0]
  |  Branch (9394:85): [True: 0, False: 0]
  ------------------
 9395|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9396|      0|        } else if (publicType.typeParameters->arraySizes->getDimNode(0) == nullptr && publicType.typeParameters->arraySizes->getDimSize(0) <= 0) {
  ------------------
  |  Branch (9396:20): [True: 0, False: 0]
  |  Branch (9396:87): [True: 0, False: 0]
  ------------------
 9397|      0|            error(loc, "expected positive number of components", identifier.c_str(), "");
 9398|      0|        }
 9399|  3.17k|    } else if (type.isTensorARM()) {
  ------------------
  |  Branch (9399:16): [True: 0, False: 3.17k]
  ------------------
 9400|      0|        intermediate.setUseStorageBuffer();
 9401|       |
 9402|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9402:13): [True: 0, False: 0]
  |  Branch (9402:43): [True: 0, False: 0]
  ------------------
 9403|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9404|      0|        }
 9405|      0|        if (publicType.typeParameters) {
  ------------------
  |  Branch (9405:13): [True: 0, False: 0]
  ------------------
 9406|      0|            if (publicType.typeParameters->basicType != EbtBool &&
  ------------------
  |  Branch (9406:17): [True: 0, False: 0]
  ------------------
 9407|      0|                publicType.typeParameters->basicType != EbtInt8 &&
  ------------------
  |  Branch (9407:17): [True: 0, False: 0]
  ------------------
 9408|      0|                publicType.typeParameters->basicType != EbtInt16 &&
  ------------------
  |  Branch (9408:17): [True: 0, False: 0]
  ------------------
 9409|      0|                publicType.typeParameters->basicType != EbtInt &&
  ------------------
  |  Branch (9409:17): [True: 0, False: 0]
  ------------------
 9410|      0|                publicType.typeParameters->basicType != EbtInt64 &&
  ------------------
  |  Branch (9410:17): [True: 0, False: 0]
  ------------------
 9411|      0|                publicType.typeParameters->basicType != EbtUint8 &&
  ------------------
  |  Branch (9411:17): [True: 0, False: 0]
  ------------------
 9412|      0|                publicType.typeParameters->basicType != EbtUint16 &&
  ------------------
  |  Branch (9412:17): [True: 0, False: 0]
  ------------------
 9413|      0|                publicType.typeParameters->basicType != EbtUint &&
  ------------------
  |  Branch (9413:17): [True: 0, False: 0]
  ------------------
 9414|      0|                publicType.typeParameters->basicType != EbtUint64 &&
  ------------------
  |  Branch (9414:17): [True: 0, False: 0]
  ------------------
 9415|      0|                publicType.typeParameters->basicType != EbtFloat16 &&
  ------------------
  |  Branch (9415:17): [True: 0, False: 0]
  ------------------
 9416|      0|                publicType.typeParameters->basicType != EbtFloat &&
  ------------------
  |  Branch (9416:17): [True: 0, False: 0]
  ------------------
 9417|      0|                publicType.typeParameters->basicType != EbtDouble &&
  ------------------
  |  Branch (9417:17): [True: 0, False: 0]
  ------------------
 9418|      0|                publicType.typeParameters->basicType != EbtBFloat16 &&
  ------------------
  |  Branch (9418:17): [True: 0, False: 0]
  ------------------
 9419|      0|                publicType.typeParameters->basicType != EbtFloatE5M2 &&
  ------------------
  |  Branch (9419:17): [True: 0, False: 0]
  ------------------
 9420|      0|                publicType.typeParameters->basicType != EbtFloatE4M3) {
  ------------------
  |  Branch (9420:17): [True: 0, False: 0]
  ------------------
 9421|      0|                error(loc, "expected bool, integer or floating point type parameter", identifier.c_str(), "");
 9422|      0|            }
 9423|       |
 9424|      0|            if (publicType.typeParameters->basicType == EbtBFloat16) {
  ------------------
  |  Branch (9424:17): [True: 0, False: 0]
  ------------------
 9425|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_bfloat16, "tensor with bfloat16_t type");
 9426|      0|            }
 9427|       |
 9428|      0|            if (publicType.typeParameters->basicType == EbtFloatE5M2) {
  ------------------
  |  Branch (9428:17): [True: 0, False: 0]
  ------------------
 9429|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_float_e5m2, "tensor with floate5m2_t type");
 9430|      0|            }
 9431|       |
 9432|      0|            if (publicType.typeParameters->basicType == EbtFloatE4M3) {
  ------------------
  |  Branch (9432:17): [True: 0, False: 0]
  ------------------
 9433|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_float_e4m3, "tensor with floate4m3_t type");
 9434|      0|            }
 9435|      0|        }
 9436|  3.17k|    } else {
 9437|  3.17k|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() != 0) {
  ------------------
  |  Branch (9437:13): [True: 0, False: 3.17k]
  |  Branch (9437:42): [True: 0, False: 0]
  ------------------
 9438|      0|            error(loc, "unexpected type parameters", identifier.c_str(), "");
 9439|      0|        }
 9440|  3.17k|    }
 9441|       |
 9442|  3.17k|    if (voidErrorCheck(loc, identifier, type.getBasicType()))
  ------------------
  |  Branch (9442:9): [True: 0, False: 3.17k]
  ------------------
 9443|      0|        return nullptr;
 9444|       |
 9445|  3.17k|    if (initializer)
  ------------------
  |  Branch (9445:9): [True: 1.01k, False: 2.15k]
  ------------------
 9446|  1.01k|        rValueErrorCheck(loc, "initializer", initializer);
 9447|  2.15k|    else
 9448|  2.15k|        nonInitConstCheck(loc, identifier, type);
 9449|       |
 9450|  3.17k|    samplerCheck(loc, type, identifier, initializer);
 9451|  3.17k|    transparentOpaqueCheck(loc, type, identifier);
 9452|  3.17k|    atomicUintCheck(loc, type, identifier);
 9453|  3.17k|    accStructCheck(loc, type, identifier);
 9454|  3.17k|    hitObjectNVCheck(loc, type, identifier);
 9455|  3.17k|    hitObjectEXTCheck(loc, type, identifier);
 9456|  3.17k|    checkAndResizeMeshViewDim(loc, type, /*isBlockMember*/ false);
 9457|  3.17k|    if (type.getQualifier().storage == EvqConst && type.containsReference()) {
  ------------------
  |  Branch (9457:9): [True: 1.01k, False: 2.15k]
  |  Branch (9457:52): [True: 0, False: 1.01k]
  ------------------
 9458|      0|        error(loc, "variables with reference type can't have qualifier 'const'", "qualifier", "");
 9459|      0|    }
 9460|       |
 9461|  3.17k|    if (type.getQualifier().storage != EvqUniform && type.getQualifier().storage != EvqBuffer) {
  ------------------
  |  Branch (9461:9): [True: 3.02k, False: 150]
  |  Branch (9461:54): [True: 3.02k, False: 0]
  ------------------
 9462|  3.02k|        if (type.contains16BitFloat())
  ------------------
  |  Branch (9462:13): [True: 0, False: 3.02k]
  ------------------
 9463|      0|            requireFloat16Arithmetic(loc, "qualifier", "float16 types can only be in uniform block or buffer storage");
 9464|  3.02k|        if (type.contains16BitInt())
  ------------------
  |  Branch (9464:13): [True: 0, False: 3.02k]
  ------------------
 9465|      0|            requireInt16Arithmetic(loc, "qualifier", "(u)int16 types can only be in uniform block or buffer storage");
 9466|  3.02k|        if (type.contains8BitInt())
  ------------------
  |  Branch (9466:13): [True: 0, False: 3.02k]
  ------------------
 9467|      0|            requireInt8Arithmetic(loc, "qualifier", "(u)int8 types can only be in uniform block or buffer storage");
 9468|  3.02k|    }
 9469|  3.17k|    if (type.getBasicType() == EbtBFloat16 &&
  ------------------
  |  Branch (9469:9): [True: 0, False: 3.17k]
  ------------------
 9470|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (9470:10): [True: 0, False: 0]
  |  Branch (9470:57): [True: 0, False: 0]
  ------------------
 9471|      0|        error(loc, "qualifier", "bfloat16 types not allowed as input/output", "");
 9472|       |
 9473|  3.17k|    if ((type.getBasicType() == EbtFloatE5M2 || type.getBasicType() == EbtFloatE4M3) &&
  ------------------
  |  Branch (9473:10): [True: 0, False: 3.17k]
  |  Branch (9473:49): [True: 0, False: 3.17k]
  ------------------
 9474|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (9474:10): [True: 0, False: 0]
  |  Branch (9474:57): [True: 0, False: 0]
  ------------------
 9475|      0|        error(loc, "qualifier", "fp8 types not allowed as input/output", "");
 9476|       |
 9477|  3.17k|    if (type.getQualifier().storage == EvqtaskPayloadSharedEXT)
  ------------------
  |  Branch (9477:9): [True: 0, False: 3.17k]
  ------------------
 9478|      0|        intermediate.addTaskPayloadEXTCount();
 9479|  3.17k|    if (type.getQualifier().storage == EvqShared && type.containsCoopMat())
  ------------------
  |  Branch (9479:9): [True: 0, False: 3.17k]
  |  Branch (9479:53): [True: 0, False: 0]
  ------------------
 9480|      0|        error(loc, "qualifier", "Cooperative matrix types must not be used in shared memory", "");
 9481|       |
 9482|  3.17k|    if (profile == EEsProfile) {
  ------------------
  |  Branch (9482:9): [True: 864, False: 2.30k]
  ------------------
 9483|    864|        if (type.getQualifier().isPipeInput() && type.getBasicType() == EbtStruct) {
  ------------------
  |  Branch (9483:13): [True: 0, False: 864]
  |  Branch (9483:50): [True: 0, False: 0]
  ------------------
 9484|      0|            if (type.getQualifier().isArrayedIo(language)) {
  ------------------
  |  Branch (9484:17): [True: 0, False: 0]
  ------------------
 9485|      0|                TType perVertexType(type, 0);
 9486|      0|                if (perVertexType.containsArray() && perVertexType.containsBuiltIn() == false) {
  ------------------
  |  Branch (9486:21): [True: 0, False: 0]
  |  Branch (9486:54): [True: 0, False: 0]
  ------------------
 9487|      0|                    error(loc, "A per vertex structure containing an array is not allowed as input in ES", type.getTypeName().c_str(), "");
 9488|      0|                }
 9489|      0|            }
 9490|      0|            else if (type.containsArray() && type.containsBuiltIn() == false) {
  ------------------
  |  Branch (9490:22): [True: 0, False: 0]
  |  Branch (9490:46): [True: 0, False: 0]
  ------------------
 9491|      0|                error(loc, "A structure containing an array is not allowed as input in ES", type.getTypeName().c_str(), "");
 9492|      0|            }
 9493|      0|            if (type.containsStructure())
  ------------------
  |  Branch (9493:17): [True: 0, False: 0]
  ------------------
 9494|      0|                error(loc, "A structure containing an struct is not allowed as input in ES", type.getTypeName().c_str(), "");
 9495|      0|        }
 9496|    864|    }
 9497|       |
 9498|  3.17k|    if (identifier != "gl_FragCoord" && (publicType.shaderQualifiers.originUpperLeft || publicType.shaderQualifiers.pixelCenterInteger))
  ------------------
  |  Branch (9498:9): [True: 3.12k, False: 47]
  |  Branch (9498:42): [True: 0, False: 3.12k]
  |  Branch (9498:89): [True: 0, False: 3.12k]
  ------------------
 9499|      0|        error(loc, "can only apply origin_upper_left and pixel_center_origin to gl_FragCoord", "layout qualifier", "");
 9500|  3.17k|    if (identifier != "gl_FragDepth" && publicType.shaderQualifiers.getDepth() != EldNone)
  ------------------
  |  Branch (9500:9): [True: 3.17k, False: 2]
  |  Branch (9500:41): [True: 0, False: 3.17k]
  ------------------
 9501|      0|        error(loc, "can only apply depth layout to gl_FragDepth", "layout qualifier", "");
 9502|  3.17k|    if (identifier != "gl_FragStencilRefARB" && publicType.shaderQualifiers.getStencil() != ElsNone)
  ------------------
  |  Branch (9502:9): [True: 3.17k, False: 2]
  |  Branch (9502:49): [True: 0, False: 3.17k]
  ------------------
 9503|      0|        error(loc, "can only apply depth layout to gl_FragStencilRefARB", "layout qualifier", "");
 9504|       |
 9505|       |    // Check for redeclaration of built-ins and/or attempting to declare a reserved name
 9506|  3.17k|    TSymbol* symbol = redeclareBuiltinVariable(loc, identifier, type.getQualifier(), publicType.shaderQualifiers);
 9507|  3.17k|    if (symbol == nullptr)
  ------------------
  |  Branch (9507:9): [True: 3.17k, False: 0]
  ------------------
 9508|  3.17k|        reservedErrorCheck(loc, identifier);
 9509|       |
 9510|  3.17k|    if (symbol == nullptr && spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (9510:9): [True: 3.17k, False: 0]
  |  Branch (9510:30): [True: 1.01k, False: 2.15k]
  |  Branch (9510:55): [True: 0, False: 1.01k]
  ------------------
 9511|      0|        bool remapped = vkRelaxedRemapUniformVariable(loc, identifier, publicType, arraySizes, initializer, type);
 9512|       |
 9513|      0|        if (remapped) {
  ------------------
  |  Branch (9513:13): [True: 0, False: 0]
  ------------------
 9514|      0|            return nullptr;
 9515|      0|        }
 9516|      0|    }
 9517|       |
 9518|  3.17k|    inheritGlobalDefaults(type.getQualifier());
 9519|       |
 9520|       |    // Declare the variable
 9521|  3.17k|    if (type.isArray()) {
  ------------------
  |  Branch (9521:9): [True: 96, False: 3.07k]
  ------------------
 9522|       |        // Check that implicit sizing is only where allowed.
 9523|     96|        arraySizesCheck(loc, type.getQualifier(), type.getArraySizes(), initializer, false);
 9524|       |
 9525|     96|        if (! arrayQualifierError(loc, type.getQualifier()) && ! arrayError(loc, type))
  ------------------
  |  Branch (9525:13): [True: 96, False: 0]
  |  Branch (9525:64): [True: 96, False: 0]
  ------------------
 9526|     96|            declareArray(loc, identifier, type, symbol);
 9527|       |
 9528|     96|        if (initializer) {
  ------------------
  |  Branch (9528:13): [True: 0, False: 96]
  ------------------
 9529|      0|            profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "initializer");
 9530|      0|            profileRequires(loc, EEsProfile, 300, nullptr, "initializer");
 9531|      0|        }
 9532|  3.07k|    } else {
 9533|       |        // non-array case
 9534|  3.07k|        if (symbol == nullptr)
  ------------------
  |  Branch (9534:13): [True: 3.07k, False: 0]
  ------------------
 9535|  3.07k|            symbol = declareNonArray(loc, identifier, type);
 9536|      0|        else if (type != symbol->getType())
  ------------------
  |  Branch (9536:18): [True: 0, False: 0]
  ------------------
 9537|      0|            error(loc, "cannot change the type of", "redeclaration", symbol->getName().c_str());
 9538|  3.07k|    }
 9539|       |
 9540|  3.17k|    if (symbol == nullptr)
  ------------------
  |  Branch (9540:9): [True: 0, False: 3.17k]
  ------------------
 9541|      0|        return nullptr;
 9542|       |
 9543|       |    // Deal with initializer
 9544|  3.17k|    TIntermNode* initNode = nullptr;
 9545|  3.17k|    if (symbol != nullptr && initializer) {
  ------------------
  |  Branch (9545:9): [True: 3.17k, False: 0]
  |  Branch (9545:30): [True: 1.01k, False: 2.15k]
  ------------------
 9546|  1.01k|        TVariable* variable = symbol->getAsVariable();
 9547|  1.01k|        if (! variable) {
  ------------------
  |  Branch (9547:13): [True: 0, False: 1.01k]
  ------------------
 9548|      0|            error(loc, "initializer requires a variable, not a member", identifier.c_str(), "");
 9549|      0|            return nullptr;
 9550|      0|        }
 9551|  1.01k|        initNode = executeInitializer(loc, initializer, variable);
 9552|  1.01k|    }
 9553|       |
 9554|       |    // EXT_descriptor_heap
 9555|  3.17k|    if (!untypedHeapCheck(symbol, type, loc, identifier.c_str())) {
  ------------------
  |  Branch (9555:9): [True: 0, False: 3.17k]
  ------------------
 9556|      0|        return nullptr;
 9557|      0|    }
 9558|       |
 9559|       |    // look for errors in layout qualifier use
 9560|  3.17k|    layoutObjectCheck(loc, *symbol);
 9561|       |
 9562|       |    // fix up
 9563|  3.17k|    fixOffset(loc, *symbol);
 9564|       |
 9565|       |    // TODO: The decl AST is turned on based on debug info right now. We should expose it as an explicit option.
 9566|  3.17k|    if (intermediate.getDebugInfo()) {
  ------------------
  |  Branch (9566:9): [True: 0, False: 3.17k]
  ------------------
 9567|      0|        TVariable* variable = symbol->getAsVariable();
 9568|      0|        if (variable) {
  ------------------
  |  Branch (9568:13): [True: 0, False: 0]
  ------------------
 9569|      0|            auto decl = new TIntermVariableDecl(intermediate.addSymbol(*variable, loc), initNode);
 9570|      0|            decl->setLoc(loc);
 9571|      0|            return decl;
 9572|      0|        }
 9573|      0|        else {
 9574|       |            // We ignore builtins redeclarations
 9575|      0|            return nullptr;
 9576|      0|        }
 9577|      0|    }
 9578|  3.17k|    else {
 9579|  3.17k|        return initNode;
 9580|  3.17k|    }
 9581|  3.17k|}
_ZNK7glslang13TParseContext21inheritGlobalDefaultsERNS_10TQualifierE:
 9585|  3.17k|{
 9586|  3.17k|    if (dst.storage == EvqVaryingOut) {
  ------------------
  |  Branch (9586:9): [True: 140, False: 3.03k]
  ------------------
 9587|    140|        if (! dst.hasStream() && language == EShLangGeometry)
  ------------------
  |  Branch (9587:13): [True: 140, False: 0]
  |  Branch (9587:34): [True: 36, False: 104]
  ------------------
 9588|     36|            dst.layoutStream = globalOutputDefaults.layoutStream;
 9589|    140|        if (! dst.hasXfbBuffer())
  ------------------
  |  Branch (9589:13): [True: 140, False: 0]
  ------------------
 9590|    140|            dst.layoutXfbBuffer = globalOutputDefaults.layoutXfbBuffer;
 9591|    140|    }
 9592|  3.17k|}
_ZN7glslang13TParseContext15declareNonArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeE:
 9616|  3.07k|{
 9617|       |    // make a new variable
 9618|  3.07k|    TVariable* variable = new TVariable(&identifier, type);
 9619|       |
 9620|  3.07k|    ioArrayCheck(loc, type, identifier);
 9621|       |
 9622|       |    // add variable to symbol table
 9623|  3.07k|    if (symbolTable.insert(*variable)) {
  ------------------
  |  Branch (9623:9): [True: 3.07k, False: 0]
  ------------------
 9624|  3.07k|        if (symbolTable.atGlobalLevel())
  ------------------
  |  Branch (9624:13): [True: 3.07k, False: 0]
  ------------------
 9625|  3.07k|            trackLinkage(*variable);
 9626|  3.07k|        return variable;
 9627|  3.07k|    }
 9628|       |
 9629|      0|    error(loc, "redefinition", variable->getName().c_str(), "");
 9630|      0|    return nullptr;
 9631|  3.07k|}
_ZN7glslang13TParseContext18executeInitializerERKNS_10TSourceLocEPNS_12TIntermTypedEPNS_9TVariableE:
 9640|  1.01k|{
 9641|       |    // A null initializer is an aggregate that hasn't had an op assigned yet
 9642|       |    // (still EOpNull, no relation to nullInit), and has no children.
 9643|  1.01k|    bool nullInit = initializer->getAsAggregate() && initializer->getAsAggregate()->getOp() == EOpNull &&
  ------------------
  |  Branch (9643:21): [True: 0, False: 1.01k]
  |  Branch (9643:54): [True: 0, False: 0]
  ------------------
 9644|      0|        initializer->getAsAggregate()->getSequence().size() == 0;
  ------------------
  |  Branch (9644:9): [True: 0, False: 0]
  ------------------
 9645|       |
 9646|       |    //
 9647|       |    // Identifier must be of type constant, a global, or a temporary, and
 9648|       |    // starting at version 120, desktop allows uniforms to have initializers.
 9649|       |    //
 9650|  1.01k|    TStorageQualifier qualifier = variable->getType().getQualifier().storage;
 9651|  1.01k|    if (! (qualifier == EvqTemporary || qualifier == EvqGlobal || qualifier == EvqConst ||
  ------------------
  |  Branch (9651:12): [True: 0, False: 1.01k]
  |  Branch (9651:41): [True: 0, False: 1.01k]
  |  Branch (9651:67): [True: 1.01k, False: 0]
  ------------------
 9652|      0|           (qualifier == EvqUniform && !isEsProfile() && version >= 120))) {
  ------------------
  |  Branch (9652:13): [True: 0, False: 0]
  |  Branch (9652:40): [True: 0, False: 0]
  |  Branch (9652:58): [True: 0, False: 0]
  ------------------
 9653|      0|        if (qualifier == EvqShared) {
  ------------------
  |  Branch (9653:13): [True: 0, False: 0]
  ------------------
 9654|       |            // GL_EXT_null_initializer allows this for shared, if it's a null initializer
 9655|      0|            if (nullInit) {
  ------------------
  |  Branch (9655:17): [True: 0, False: 0]
  ------------------
 9656|      0|                const char* feature = "initialization with shared qualifier";
 9657|      0|                profileRequires(loc, EEsProfile, 0, E_GL_EXT_null_initializer, feature);
 9658|      0|                profileRequires(loc, ~EEsProfile, 0, E_GL_EXT_null_initializer, feature);
 9659|      0|            } else {
 9660|      0|                error(loc, "initializer can only be a null initializer ('{}')", "shared", "");
 9661|      0|            }
 9662|      0|        } else {
 9663|      0|            error(loc, " cannot initialize this type of qualifier ",
 9664|      0|                  variable->getType().getStorageQualifierString(), "");
 9665|      0|            return nullptr;
 9666|      0|        }
 9667|      0|    }
 9668|       |
 9669|  1.01k|    if (nullInit) {
  ------------------
  |  Branch (9669:9): [True: 0, False: 1.01k]
  ------------------
 9670|       |        // only some types can be null initialized
 9671|      0|        if (variable->getType().containsUnsizedArray()) {
  ------------------
  |  Branch (9671:13): [True: 0, False: 0]
  ------------------
 9672|      0|            error(loc, "null initializers can't size unsized arrays", "{}", "");
 9673|      0|            return nullptr;
 9674|      0|        }
 9675|      0|        if (variable->getType().containsOpaque()) {
  ------------------
  |  Branch (9675:13): [True: 0, False: 0]
  ------------------
 9676|      0|            error(loc, "null initializers can't be used on opaque values", "{}", "");
 9677|      0|            return nullptr;
 9678|      0|        }
 9679|      0|        variable->getWritableType().getQualifier().setNullInit();
 9680|      0|        return nullptr;
 9681|      0|    }
 9682|       |
 9683|  1.01k|    arrayObjectCheck(loc, variable->getType(), "array initializer");
 9684|       |
 9685|       |    //
 9686|       |    // If the initializer was from braces { ... }, we convert the whole subtree to a
 9687|       |    // constructor-style subtree, allowing the rest of the code to operate
 9688|       |    // identically for both kinds of initializers.
 9689|       |    //
 9690|       |    // Type can't be deduced from the initializer list, so a skeletal type to
 9691|       |    // follow has to be passed in.  Constness and specialization-constness
 9692|       |    // should be deduced bottom up, not dictated by the skeletal type.
 9693|       |    //
 9694|  1.01k|    TType skeletalType;
 9695|  1.01k|    skeletalType.shallowCopy(variable->getType());
 9696|  1.01k|    skeletalType.getQualifier().makeTemporary();
 9697|  1.01k|    initializer = convertInitializerList(loc, skeletalType, initializer);
 9698|  1.01k|    if (! initializer) {
  ------------------
  |  Branch (9698:9): [True: 0, False: 1.01k]
  ------------------
 9699|       |        // error recovery; don't leave const without constant values
 9700|      0|        if (qualifier == EvqConst)
  ------------------
  |  Branch (9700:13): [True: 0, False: 0]
  ------------------
 9701|      0|            variable->getWritableType().getQualifier().makeTemporary();
 9702|      0|        return nullptr;
 9703|      0|    }
 9704|       |
 9705|       |    // Fix outer arrayness if variable is unsized, getting size from the initializer
 9706|  1.01k|    if (initializer->getType().isSizedArray() && variable->getType().isUnsizedArray())
  ------------------
  |  Branch (9706:9): [True: 0, False: 1.01k]
  |  Branch (9706:50): [True: 0, False: 0]
  ------------------
 9707|      0|        variable->getWritableType().changeOuterArraySize(initializer->getType().getOuterArraySize());
 9708|       |
 9709|       |    // Inner arrayness can also get set by an initializer
 9710|  1.01k|    if (initializer->getType().isArrayOfArrays() && variable->getType().isArrayOfArrays() &&
  ------------------
  |  Branch (9710:9): [True: 0, False: 1.01k]
  |  Branch (9710:53): [True: 0, False: 0]
  ------------------
 9711|      0|        initializer->getType().getArraySizes()->getNumDims() ==
  ------------------
  |  Branch (9711:9): [True: 0, False: 0]
  ------------------
 9712|      0|           variable->getType().getArraySizes()->getNumDims()) {
 9713|       |        // adopt unsized sizes from the initializer's sizes
 9714|      0|        for (int d = 1; d < variable->getType().getArraySizes()->getNumDims(); ++d) {
  ------------------
  |  Branch (9714:25): [True: 0, False: 0]
  ------------------
 9715|      0|            if (variable->getType().getArraySizes()->getDimSize(d) == UnsizedArraySize) {
  ------------------
  |  Branch (9715:17): [True: 0, False: 0]
  ------------------
 9716|      0|                variable->getWritableType().getArraySizes()->setDimSize(d,
 9717|      0|                    initializer->getType().getArraySizes()->getDimSize(d));
 9718|      0|            }
 9719|      0|        }
 9720|      0|    }
 9721|       |
 9722|       |    // Uniforms require a compile-time constant initializer
 9723|  1.01k|    if (qualifier == EvqUniform && ! initializer->getType().getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (9723:9): [True: 0, False: 1.01k]
  |  Branch (9723:36): [True: 0, False: 0]
  ------------------
 9724|      0|        error(loc, "uniform initializers must be constant", "=", "'%s'",
 9725|      0|              variable->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 9726|      0|        variable->getWritableType().getQualifier().makeTemporary();
 9727|      0|        return nullptr;
 9728|      0|    }
 9729|       |    // Global consts require a constant initializer (specialization constant is okay)
 9730|  1.01k|    if (qualifier == EvqConst && symbolTable.atGlobalLevel() && ! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (9730:9): [True: 1.01k, False: 0]
  |  Branch (9730:34): [True: 1.01k, False: 0]
  |  Branch (9730:65): [True: 0, False: 1.01k]
  ------------------
 9731|      0|        error(loc, "global const initializers must be constant", "=", "'%s'",
 9732|      0|              variable->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 9733|      0|        variable->getWritableType().getQualifier().makeTemporary();
 9734|      0|        return nullptr;
 9735|      0|    }
 9736|       |
 9737|       |    // Const variables require a constant initializer, depending on version
 9738|  1.01k|    if (qualifier == EvqConst) {
  ------------------
  |  Branch (9738:9): [True: 1.01k, False: 0]
  ------------------
 9739|  1.01k|        if (! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (9739:13): [True: 0, False: 1.01k]
  ------------------
 9740|      0|            const char* initFeature = "non-constant initializer";
 9741|      0|            requireProfile(loc, ~EEsProfile, initFeature);
 9742|      0|            profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
 9743|      0|            variable->getWritableType().getQualifier().storage = EvqConstReadOnly;
 9744|      0|            qualifier = EvqConstReadOnly;
 9745|      0|        }
 9746|  1.01k|    } else {
 9747|       |        // Non-const global variables in ES need a const initializer.
 9748|       |        //
 9749|       |        // "In declarations of global variables with no storage qualifier or with a const
 9750|       |        // qualifier any initializer must be a constant expression."
 9751|      0|        if (symbolTable.atGlobalLevel() && ! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (9751:13): [True: 0, False: 0]
  |  Branch (9751:44): [True: 0, False: 0]
  ------------------
 9752|      0|            const char* initFeature =
 9753|      0|                "non-constant global initializer (needs GL_EXT_shader_non_constant_global_initializers)";
 9754|      0|            if (isEsProfile()) {
  ------------------
  |  Branch (9754:17): [True: 0, False: 0]
  ------------------
 9755|      0|                if (relaxedErrors() && ! extensionTurnedOn(E_GL_EXT_shader_non_constant_global_initializers))
  ------------------
  |  Branch (9755:21): [True: 0, False: 0]
  |  Branch (9755:40): [True: 0, False: 0]
  ------------------
 9756|      0|                    warn(loc, "not allowed in this version", initFeature, "");
 9757|      0|                else
 9758|      0|                    profileRequires(loc, EEsProfile, 0, E_GL_EXT_shader_non_constant_global_initializers, initFeature);
 9759|      0|            }
 9760|      0|        }
 9761|      0|    }
 9762|       |
 9763|  1.01k|    if (qualifier == EvqConst || qualifier == EvqUniform) {
  ------------------
  |  Branch (9763:9): [True: 1.01k, False: 0]
  |  Branch (9763:34): [True: 0, False: 0]
  ------------------
 9764|       |        // Compile-time tagging of the variable with its constant value...
 9765|       |
 9766|  1.01k|        initializer = intermediate.addConversion(EOpAssign, variable->getType(), initializer);
 9767|  1.01k|        if (! initializer || ! initializer->getType().getQualifier().isConstant() ||
  ------------------
  |  Branch (9767:13): [True: 0, False: 1.01k]
  |  Branch (9767:30): [True: 0, False: 1.01k]
  ------------------
 9768|  1.01k|            variable->getType() != initializer->getType()) {
  ------------------
  |  Branch (9768:13): [True: 0, False: 1.01k]
  ------------------
 9769|      0|            error(loc, "non-matching or non-convertible constant type for const initializer",
 9770|      0|                  variable->getType().getStorageQualifierString(), "");
 9771|      0|            variable->getWritableType().getQualifier().makeTemporary();
 9772|      0|            return nullptr;
 9773|      0|        }
 9774|       |
 9775|       |        // We either have a folded constant in getAsConstantUnion, or we have to use
 9776|       |        // the initializer's subtree in the AST to represent the computation of a
 9777|       |        // specialization constant.
 9778|  1.01k|        assert(initializer->getAsConstantUnion() || initializer->getType().getQualifier().isSpecConstant());
 9779|  1.01k|        if (initializer->getAsConstantUnion())
  ------------------
  |  Branch (9779:13): [True: 1.01k, False: 0]
  ------------------
 9780|  1.01k|            variable->setConstArray(initializer->getAsConstantUnion()->getConstArray());
 9781|      0|        else {
 9782|       |            // It's a specialization constant.
 9783|      0|            variable->getWritableType().getQualifier().makeSpecConstant();
 9784|       |
 9785|       |            // Keep the subtree that computes the specialization constant with the variable.
 9786|       |            // Later, a symbol node will adopt the subtree from the variable.
 9787|      0|            variable->setConstSubtree(initializer);
 9788|      0|        }
 9789|  1.01k|    } else {
 9790|       |        // normal assigning of a value to a variable...
 9791|      0|        specializationCheck(loc, initializer->getType(), "initializer");
 9792|      0|        TIntermSymbol* intermSymbol = intermediate.addSymbol(*variable, loc);
 9793|      0|        TIntermTyped* initNode = intermediate.addAssign(EOpAssign, intermSymbol, initializer, loc);
 9794|      0|        if (! initNode)
  ------------------
  |  Branch (9794:13): [True: 0, False: 0]
  ------------------
 9795|      0|            assignError(loc, "=", intermSymbol->getCompleteString(intermediate.getEnhancedMsgs()), initializer->getCompleteString(intermediate.getEnhancedMsgs()));
 9796|       |
 9797|      0|        return initNode;
 9798|      0|    }
 9799|       |
 9800|  1.01k|    return nullptr;
 9801|  1.01k|}
_ZN7glslang13TParseContext22convertInitializerListERKNS_10TSourceLocERKNS_5TTypeEPNS_12TIntermTypedE:
 9814|  1.01k|{
 9815|       |    // Will operate recursively.  Once a subtree is found that is constructor style,
 9816|       |    // everything below it is already good: Only the "top part" of the initializer
 9817|       |    // can be an initializer list, where "top part" can extend for several (or all) levels.
 9818|       |
 9819|       |    // see if we have bottomed out in the tree within the initializer-list part
 9820|  1.01k|    TIntermAggregate* initList = initializer->getAsAggregate();
 9821|  1.01k|    if (! initList || initList->getOp() != EOpNull)
  ------------------
  |  Branch (9821:9): [True: 1.01k, False: 0]
  |  Branch (9821:23): [True: 0, False: 0]
  ------------------
 9822|  1.01k|        return initializer;
 9823|       |
 9824|       |    // Of the initializer-list set of nodes, need to process bottom up,
 9825|       |    // so recurse deep, then process on the way up.
 9826|       |
 9827|       |    // Go down the tree here...
 9828|      0|    if (type.isArray()) {
  ------------------
  |  Branch (9828:9): [True: 0, False: 0]
  ------------------
 9829|       |        // The type's array might be unsized, which could be okay, so base sizes on the size of the aggregate.
 9830|       |        // Later on, initializer execution code will deal with array size logic.
 9831|      0|        TType arrayType;
 9832|      0|        arrayType.shallowCopy(type);                     // sharing struct stuff is fine
 9833|      0|        arrayType.copyArraySizes(*type.getArraySizes());  // but get a fresh copy of the array information, to edit below
 9834|       |
 9835|       |        // edit array sizes to fill in unsized dimensions
 9836|      0|        arrayType.changeOuterArraySize((int)initList->getSequence().size());
 9837|      0|        TIntermTyped* firstInit = initList->getSequence()[0]->getAsTyped();
 9838|      0|        if (arrayType.isArrayOfArrays() && firstInit->getType().isArray() &&
  ------------------
  |  Branch (9838:13): [True: 0, False: 0]
  |  Branch (9838:44): [True: 0, False: 0]
  ------------------
 9839|      0|            arrayType.getArraySizes()->getNumDims() == firstInit->getType().getArraySizes()->getNumDims() + 1) {
  ------------------
  |  Branch (9839:13): [True: 0, False: 0]
  ------------------
 9840|      0|            for (int d = 1; d < arrayType.getArraySizes()->getNumDims(); ++d) {
  ------------------
  |  Branch (9840:29): [True: 0, False: 0]
  ------------------
 9841|      0|                if (arrayType.getArraySizes()->getDimSize(d) == UnsizedArraySize)
  ------------------
  |  Branch (9841:21): [True: 0, False: 0]
  ------------------
 9842|      0|                    arrayType.getArraySizes()->setDimSize(d, firstInit->getType().getArraySizes()->getDimSize(d - 1));
 9843|      0|            }
 9844|      0|        }
 9845|       |
 9846|      0|        TType elementType(arrayType, 0); // dereferenced type
 9847|      0|        for (size_t i = 0; i < initList->getSequence().size(); ++i) {
  ------------------
  |  Branch (9847:28): [True: 0, False: 0]
  ------------------
 9848|      0|            initList->getSequence()[i] = convertInitializerList(loc, elementType, initList->getSequence()[i]->getAsTyped());
 9849|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (9849:17): [True: 0, False: 0]
  ------------------
 9850|      0|                return nullptr;
 9851|      0|        }
 9852|       |
 9853|      0|        return addConstructor(loc, initList, arrayType);
 9854|      0|    } else if (type.isStruct()) {
  ------------------
  |  Branch (9854:16): [True: 0, False: 0]
  ------------------
 9855|      0|        if (type.getStruct()->size() != initList->getSequence().size()) {
  ------------------
  |  Branch (9855:13): [True: 0, False: 0]
  ------------------
 9856|      0|            error(loc, "wrong number of structure members", "initializer list", "");
 9857|      0|            return nullptr;
 9858|      0|        }
 9859|      0|        for (size_t i = 0; i < type.getStruct()->size(); ++i) {
  ------------------
  |  Branch (9859:28): [True: 0, False: 0]
  ------------------
 9860|      0|            initList->getSequence()[i] = convertInitializerList(loc, *(*type.getStruct())[i].type, initList->getSequence()[i]->getAsTyped());
 9861|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (9861:17): [True: 0, False: 0]
  ------------------
 9862|      0|                return nullptr;
 9863|      0|        }
 9864|      0|    } else if (type.isMatrix()) {
  ------------------
  |  Branch (9864:16): [True: 0, False: 0]
  ------------------
 9865|      0|        if (type.getMatrixCols() != (int)initList->getSequence().size()) {
  ------------------
  |  Branch (9865:13): [True: 0, False: 0]
  ------------------
 9866|      0|            error(loc, "wrong number of matrix columns:", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 9867|      0|            return nullptr;
 9868|      0|        }
 9869|      0|        TType vectorType(type, 0); // dereferenced type
 9870|      0|        for (int i = 0; i < type.getMatrixCols(); ++i) {
  ------------------
  |  Branch (9870:25): [True: 0, False: 0]
  ------------------
 9871|      0|            initList->getSequence()[i] = convertInitializerList(loc, vectorType, initList->getSequence()[i]->getAsTyped());
 9872|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (9872:17): [True: 0, False: 0]
  ------------------
 9873|      0|                return nullptr;
 9874|      0|        }
 9875|      0|    } else if (type.isVector()) {
  ------------------
  |  Branch (9875:16): [True: 0, False: 0]
  ------------------
 9876|      0|        if (type.getVectorSize() != (int)initList->getSequence().size()) {
  ------------------
  |  Branch (9876:13): [True: 0, False: 0]
  ------------------
 9877|      0|            error(loc, "wrong vector size (or rows in a matrix column):", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 9878|      0|            return nullptr;
 9879|      0|        }
 9880|      0|        TBasicType destType = type.getBasicType();
 9881|      0|        for (int i = 0; i < type.getVectorSize(); ++i) {
  ------------------
  |  Branch (9881:25): [True: 0, False: 0]
  ------------------
 9882|      0|            TBasicType initType = initList->getSequence()[i]->getAsTyped()->getBasicType();
 9883|      0|            if (destType != initType && !intermediate.canImplicitlyPromote(initType, destType)) {
  ------------------
  |  Branch (9883:17): [True: 0, False: 0]
  |  Branch (9883:41): [True: 0, False: 0]
  ------------------
 9884|      0|                error(loc, "type mismatch in initializer list", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 9885|      0|                return nullptr;
 9886|      0|            }
 9887|       |
 9888|      0|        }
 9889|      0|    } else {
 9890|      0|        error(loc, "unexpected initializer-list type:", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 9891|      0|        return nullptr;
 9892|      0|    }
 9893|       |
 9894|       |    // Now that the subtree is processed, process this node as if the
 9895|       |    // initializer list is a set of arguments to a constructor.
 9896|      0|    TIntermNode* emulatedConstructorArguments;
 9897|      0|    if (initList->getSequence().size() == 1)
  ------------------
  |  Branch (9897:9): [True: 0, False: 0]
  ------------------
 9898|      0|        emulatedConstructorArguments = initList->getSequence()[0];
 9899|      0|    else
 9900|      0|        emulatedConstructorArguments = initList;
 9901|      0|    return addConstructor(loc, emulatedConstructorArguments, type);
 9902|      0|}
_ZN7glslang13TParseContext14addConstructorERKNS_10TSourceLocEP11TIntermNodeRKNS_5TTypeE:
 9914|     20|{
 9915|     20|    if (node == nullptr || node->getAsTyped() == nullptr)
  ------------------
  |  Branch (9915:9): [True: 0, False: 20]
  |  Branch (9915:28): [True: 0, False: 20]
  ------------------
 9916|      0|        return nullptr;
 9917|     20|    rValueErrorCheck(loc, "constructor", node->getAsTyped());
 9918|       |
 9919|     20|    TIntermAggregate* aggrNode = node->getAsAggregate();
 9920|     20|    TOperator op = intermediate.mapTypeToConstructorOp(type);
 9921|       |
 9922|       |    // Combined texture-sampler constructors are completely semantic checked
 9923|       |    // in constructorTextureSamplerError()
 9924|     20|    if (op == EOpConstructTextureSampler) {
  ------------------
  |  Branch (9924:9): [True: 0, False: 20]
  ------------------
 9925|      0|        if (aggrNode != nullptr) {
  ------------------
  |  Branch (9925:13): [True: 0, False: 0]
  ------------------
 9926|      0|            if (aggrNode->getSequence()[1]->getAsTyped()->getType().getSampler().shadow) {
  ------------------
  |  Branch (9926:17): [True: 0, False: 0]
  ------------------
 9927|       |                // Transfer depth into the texture (SPIR-V image) type, as a hint
 9928|       |                // for tools to know this texture/image is a depth image.
 9929|      0|                aggrNode->getSequence()[0]->getAsTyped()->getWritableType().getSampler().shadow = true;
 9930|      0|            }
 9931|      0|            return intermediate.setAggregateOperator(aggrNode, op, type, loc);
 9932|      0|        }
 9933|      0|    }
 9934|       |
 9935|     20|    TTypeList::const_iterator memberTypes;
 9936|     20|    if (op == EOpConstructStruct)
  ------------------
  |  Branch (9936:9): [True: 0, False: 20]
  ------------------
 9937|      0|        memberTypes = type.getStruct()->begin();
 9938|       |
 9939|     20|    TType elementType;
 9940|     20|    if (type.isArray()) {
  ------------------
  |  Branch (9940:9): [True: 0, False: 20]
  ------------------
 9941|      0|        TType dereferenced(type, 0);
 9942|      0|        elementType.shallowCopy(dereferenced);
 9943|      0|    } else
 9944|     20|        elementType.shallowCopy(type);
 9945|       |
 9946|     20|    bool singleArg;
 9947|     20|    if (aggrNode) {
  ------------------
  |  Branch (9947:9): [True: 20, False: 0]
  ------------------
 9948|     20|        if (aggrNode->getOp() != EOpNull)
  ------------------
  |  Branch (9948:13): [True: 0, False: 20]
  ------------------
 9949|      0|            singleArg = true;
 9950|     20|        else
 9951|     20|            singleArg = false;
 9952|     20|    } else
 9953|      0|        singleArg = true;
 9954|       |
 9955|     20|    TIntermTyped *newNode;
 9956|     20|    if (singleArg) {
  ------------------
  |  Branch (9956:9): [True: 0, False: 20]
  ------------------
 9957|       |        // If structure constructor or array constructor is being called
 9958|       |        // for only one parameter inside the structure, we need to call constructAggregate function once.
 9959|      0|        if (type.isArray())
  ------------------
  |  Branch (9959:13): [True: 0, False: 0]
  ------------------
 9960|      0|            newNode = constructAggregate(node, elementType, 1, node->getLoc());
 9961|      0|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (9961:18): [True: 0, False: 0]
  ------------------
 9962|      0|            newNode = constructAggregate(node, *(*memberTypes).type, 1, node->getLoc());
 9963|      0|        else
 9964|      0|            newNode = constructBuiltIn(type, op, node->getAsTyped(), node->getLoc(), false);
 9965|       |
 9966|      0|        if (newNode && (type.isArray() || op == EOpConstructStruct))
  ------------------
  |  Branch (9966:13): [True: 0, False: 0]
  |  Branch (9966:25): [True: 0, False: 0]
  |  Branch (9966:43): [True: 0, False: 0]
  ------------------
 9967|      0|            newNode = intermediate.setAggregateOperator(newNode, EOpConstructStruct, type, loc);
 9968|       |
 9969|      0|        return newNode;
 9970|      0|    }
 9971|       |
 9972|       |    //
 9973|       |    // Handle list of arguments.
 9974|       |    //
 9975|     20|    TIntermSequence &sequenceVector = aggrNode->getSequence();    // Stores the information about the parameter to the constructor
 9976|       |    // if the structure constructor contains more than one parameter, then construct
 9977|       |    // each parameter
 9978|       |
 9979|     20|    int paramCount = 0;  // keeps track of the constructor parameter number being checked
 9980|       |
 9981|       |    // We don't know "top down" whether type is a specialization constant,
 9982|       |    // but a const becomes a specialization constant if any of its children are.
 9983|     20|    bool hasSpecConst = false;
 9984|     20|    bool isConstConstructor = true;
 9985|       |
 9986|       |    // for each parameter to the constructor call, check to see if the right type is passed or convert them
 9987|       |    // to the right type if possible (and allowed).
 9988|       |    // for structure constructors, just check if the right type is passed, no conversion is allowed.
 9989|     20|    for (TIntermSequence::iterator p = sequenceVector.begin();
 9990|     80|                                   p != sequenceVector.end(); p++, paramCount++) {
  ------------------
  |  Branch (9990:36): [True: 60, False: 20]
  ------------------
 9991|     60|        if (type.isArray())
  ------------------
  |  Branch (9991:13): [True: 0, False: 60]
  ------------------
 9992|      0|            newNode = constructAggregate(*p, elementType, paramCount+1, node->getLoc());
 9993|     60|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (9993:18): [True: 0, False: 60]
  ------------------
 9994|      0|            newNode = constructAggregate(*p, *(memberTypes[paramCount]).type, paramCount+1, node->getLoc());
 9995|     60|        else
 9996|     60|            newNode = constructBuiltIn(type, op, (*p)->getAsTyped(), node->getLoc(), true);
 9997|       |
 9998|     60|        if (newNode) {
  ------------------
  |  Branch (9998:13): [True: 60, False: 0]
  ------------------
 9999|     60|            *p = newNode;
10000|     60|            if (!newNode->getType().getQualifier().isConstant())
  ------------------
  |  Branch (10000:17): [True: 0, False: 60]
  ------------------
10001|      0|                isConstConstructor = false;
10002|     60|            if (newNode->getType().getQualifier().isSpecConstant())
  ------------------
  |  Branch (10002:17): [True: 0, False: 60]
  ------------------
10003|      0|                hasSpecConst = true;
10004|     60|        } else
10005|      0|            return nullptr;
10006|     60|    }
10007|       |
10008|     20|    TIntermTyped* ret_node = intermediate.setAggregateOperator(aggrNode, op, type, loc);
10009|       |
10010|     20|    const char *specConstantCompositeExt[] = { E_GL_EXT_spec_constant_composites };
10011|     20|    if (checkExtensionsRequested(loc, 1, specConstantCompositeExt, "spec constant aggregate constructor")) {
  ------------------
  |  Branch (10011:9): [True: 0, False: 20]
  ------------------
10012|      0|        if (isConstConstructor && hasSpecConst) {
  ------------------
  |  Branch (10012:13): [True: 0, False: 0]
  |  Branch (10012:35): [True: 0, False: 0]
  ------------------
10013|      0|            ret_node->getWritableType().getQualifier().makeSpecConstant();
10014|      0|        }
10015|      0|    }
10016|       |
10017|     20|    TIntermAggregate *agg_node = ret_node->getAsAggregate();
10018|     20|    if (agg_node && (agg_node->isVector() || agg_node->isArray() || agg_node->isMatrix()))
  ------------------
  |  Branch (10018:9): [True: 0, False: 20]
  |  Branch (10018:22): [True: 0, False: 0]
  |  Branch (10018:46): [True: 0, False: 0]
  |  Branch (10018:69): [True: 0, False: 0]
  ------------------
10019|      0|        agg_node->updatePrecision();
10020|       |
10021|     20|    return ret_node;
10022|     20|}
_ZN7glslang13TParseContext16constructBuiltInERKNS_5TTypeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocEb:
10033|     60|{
10034|       |    // If we are changing a matrix in both domain of basic type and to a non matrix,
10035|       |    // do the shape change first (by default, below, basic type is changed before shape).
10036|       |    // This avoids requesting a matrix of a new type that is going to be discarded anyway.
10037|       |    // TODO: This could be generalized to more type combinations, but that would require
10038|       |    // more extensive testing and full algorithm rework. For now, the need to do two changes makes
10039|       |    // the recursive call work, and avoids the most egregious case of creating integer matrices.
10040|     60|    if (node->getType().isMatrix() && (type.isScalar() || type.isVector()) &&
  ------------------
  |  Branch (10040:9): [True: 0, False: 60]
  |  Branch (10040:40): [True: 0, False: 0]
  |  Branch (10040:59): [True: 0, False: 0]
  ------------------
10041|      0|            type.isFloatingDomain() != node->getType().isFloatingDomain()) {
  ------------------
  |  Branch (10041:13): [True: 0, False: 0]
  ------------------
10042|      0|        TType transitionType(node->getBasicType(), glslang::EvqTemporary, type.getVectorSize(), 0, 0, node->isVector());
10043|      0|        TOperator transitionOp = intermediate.mapTypeToConstructorOp(transitionType);
10044|      0|        node = constructBuiltIn(transitionType, transitionOp, node, loc, false);
10045|      0|    }
10046|       |
10047|     60|    TIntermTyped* newNode;
10048|     60|    TOperator basicOp;
10049|       |
10050|       |    //
10051|       |    // First, convert types as needed.
10052|       |    //
10053|     60|    switch (op) {
10054|      0|    case EOpConstructVec2:
  ------------------
  |  Branch (10054:5): [True: 0, False: 60]
  ------------------
10055|      0|    case EOpConstructVec3:
  ------------------
  |  Branch (10055:5): [True: 0, False: 60]
  ------------------
10056|      0|    case EOpConstructVec4:
  ------------------
  |  Branch (10056:5): [True: 0, False: 60]
  ------------------
10057|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (10057:5): [True: 0, False: 60]
  ------------------
10058|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (10058:5): [True: 0, False: 60]
  ------------------
10059|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (10059:5): [True: 0, False: 60]
  ------------------
10060|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (10060:5): [True: 0, False: 60]
  ------------------
10061|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (10061:5): [True: 0, False: 60]
  ------------------
10062|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (10062:5): [True: 0, False: 60]
  ------------------
10063|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (10063:5): [True: 0, False: 60]
  ------------------
10064|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (10064:5): [True: 0, False: 60]
  ------------------
10065|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (10065:5): [True: 0, False: 60]
  ------------------
10066|      0|    case EOpConstructFloat:
  ------------------
  |  Branch (10066:5): [True: 0, False: 60]
  ------------------
10067|      0|        basicOp = EOpConstructFloat;
10068|      0|        break;
10069|       |
10070|      0|    case EOpConstructIVec2:
  ------------------
  |  Branch (10070:5): [True: 0, False: 60]
  ------------------
10071|     24|    case EOpConstructIVec3:
  ------------------
  |  Branch (10071:5): [True: 24, False: 36]
  ------------------
10072|     24|    case EOpConstructIVec4:
  ------------------
  |  Branch (10072:5): [True: 0, False: 60]
  ------------------
10073|     24|    case EOpConstructInt:
  ------------------
  |  Branch (10073:5): [True: 0, False: 60]
  ------------------
10074|     24|        basicOp = EOpConstructInt;
10075|     24|        break;
10076|       |
10077|      0|    case EOpConstructUVec2:
  ------------------
  |  Branch (10077:5): [True: 0, False: 60]
  ------------------
10078|      0|        if (node->getType().getBasicType() == EbtReference) {
  ------------------
  |  Branch (10078:13): [True: 0, False: 0]
  ------------------
10079|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference_uvec2, "reference conversion to uvec2");
10080|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvPtrToUvec2, true, node,
10081|      0|                type);
10082|      0|            return newNode;
10083|      0|        } else if (node->getType().getBasicType() == EbtSampler) {
  ------------------
  |  Branch (10083:20): [True: 0, False: 0]
  ------------------
10084|      0|            requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "sampler conversion to uvec2");
10085|       |            // force the basic type of the constructor param to uvec2, otherwise spv builder will
10086|       |            // report some errors
10087|      0|            TIntermTyped* newSrcNode = intermediate.createConversion(EbtUint, node);
10088|      0|            newSrcNode->getAsTyped()->getWritableType().setVectorSize(2);
10089|       |
10090|      0|            TIntermTyped* newNode =
10091|      0|                intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConstructUVec2, false, newSrcNode, type);
10092|      0|            return newNode;
10093|      0|        }
10094|      0|        [[fallthrough]];
10095|     36|    case EOpConstructUVec3:
  ------------------
  |  Branch (10095:5): [True: 36, False: 24]
  ------------------
10096|     36|    case EOpConstructUVec4:
  ------------------
  |  Branch (10096:5): [True: 0, False: 60]
  ------------------
10097|     36|    case EOpConstructUint:
  ------------------
  |  Branch (10097:5): [True: 0, False: 60]
  ------------------
10098|     36|        basicOp = EOpConstructUint;
10099|     36|        break;
10100|       |
10101|      0|    case EOpConstructBVec2:
  ------------------
  |  Branch (10101:5): [True: 0, False: 60]
  ------------------
10102|      0|    case EOpConstructBVec3:
  ------------------
  |  Branch (10102:5): [True: 0, False: 60]
  ------------------
10103|      0|    case EOpConstructBVec4:
  ------------------
  |  Branch (10103:5): [True: 0, False: 60]
  ------------------
10104|      0|    case EOpConstructBool:
  ------------------
  |  Branch (10104:5): [True: 0, False: 60]
  ------------------
10105|      0|        basicOp = EOpConstructBool;
10106|      0|        break;
10107|      0|    case EOpConstructTextureSampler:
  ------------------
  |  Branch (10107:5): [True: 0, False: 60]
  ------------------
10108|      0|        if ((node->getType().getBasicType() == EbtUint || node->getType().getBasicType() == EbtInt) &&
  ------------------
  |  Branch (10108:14): [True: 0, False: 0]
  |  Branch (10108:59): [True: 0, False: 0]
  ------------------
10109|      0|            node->getType().getVectorSize() == 2) {
  ------------------
  |  Branch (10109:13): [True: 0, False: 0]
  ------------------
10110|      0|            requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "ivec2/uvec2 convert to texture handle");
10111|       |            // No matter ivec2 or uvec2, Set EOpPackUint2x32 just to generate an opBitcast op code
10112|      0|            TIntermTyped* newNode =
10113|      0|                intermediate.addBuiltInFunctionCall(node->getLoc(), EOpPackUint2x32, true, node, type);
10114|      0|            return newNode;
10115|      0|        }
10116|      0|        [[fallthrough]];
10117|      0|    case EOpConstructDVec2:
  ------------------
  |  Branch (10117:5): [True: 0, False: 60]
  ------------------
10118|      0|    case EOpConstructDVec3:
  ------------------
  |  Branch (10118:5): [True: 0, False: 60]
  ------------------
10119|      0|    case EOpConstructDVec4:
  ------------------
  |  Branch (10119:5): [True: 0, False: 60]
  ------------------
10120|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (10120:5): [True: 0, False: 60]
  ------------------
10121|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (10121:5): [True: 0, False: 60]
  ------------------
10122|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (10122:5): [True: 0, False: 60]
  ------------------
10123|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (10123:5): [True: 0, False: 60]
  ------------------
10124|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (10124:5): [True: 0, False: 60]
  ------------------
10125|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (10125:5): [True: 0, False: 60]
  ------------------
10126|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (10126:5): [True: 0, False: 60]
  ------------------
10127|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (10127:5): [True: 0, False: 60]
  ------------------
10128|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (10128:5): [True: 0, False: 60]
  ------------------
10129|      0|    case EOpConstructDouble:
  ------------------
  |  Branch (10129:5): [True: 0, False: 60]
  ------------------
10130|      0|        basicOp = EOpConstructDouble;
10131|      0|        break;
10132|       |
10133|      0|    case EOpConstructF16Vec2:
  ------------------
  |  Branch (10133:5): [True: 0, False: 60]
  ------------------
10134|      0|    case EOpConstructF16Vec3:
  ------------------
  |  Branch (10134:5): [True: 0, False: 60]
  ------------------
10135|      0|    case EOpConstructF16Vec4:
  ------------------
  |  Branch (10135:5): [True: 0, False: 60]
  ------------------
10136|      0|    case EOpConstructF16Mat2x2:
  ------------------
  |  Branch (10136:5): [True: 0, False: 60]
  ------------------
10137|      0|    case EOpConstructF16Mat2x3:
  ------------------
  |  Branch (10137:5): [True: 0, False: 60]
  ------------------
10138|      0|    case EOpConstructF16Mat2x4:
  ------------------
  |  Branch (10138:5): [True: 0, False: 60]
  ------------------
10139|      0|    case EOpConstructF16Mat3x2:
  ------------------
  |  Branch (10139:5): [True: 0, False: 60]
  ------------------
10140|      0|    case EOpConstructF16Mat3x3:
  ------------------
  |  Branch (10140:5): [True: 0, False: 60]
  ------------------
10141|      0|    case EOpConstructF16Mat3x4:
  ------------------
  |  Branch (10141:5): [True: 0, False: 60]
  ------------------
10142|      0|    case EOpConstructF16Mat4x2:
  ------------------
  |  Branch (10142:5): [True: 0, False: 60]
  ------------------
10143|      0|    case EOpConstructF16Mat4x3:
  ------------------
  |  Branch (10143:5): [True: 0, False: 60]
  ------------------
10144|      0|    case EOpConstructF16Mat4x4:
  ------------------
  |  Branch (10144:5): [True: 0, False: 60]
  ------------------
10145|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (10145:5): [True: 0, False: 60]
  ------------------
10146|      0|        basicOp = EOpConstructFloat16;
10147|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10148|       |        // so construct a 32-bit type and convert
10149|       |        // and do not generate any conversion if it is an identity conversion, i.e. float16_t(<float16_t> var)
10150|      0|        if (!intermediate.getArithemeticFloat16Enabled() && (node->getBasicType() != EbtFloat16)) {
  ------------------
  |  Branch (10150:13): [True: 0, False: 0]
  |  Branch (10150:61): [True: 0, False: 0]
  ------------------
10151|      0|            TType tempType(EbtFloat, EvqTemporary, type.getVectorSize());
10152|      0|            newNode = node;
10153|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10153:17): [True: 0, False: 0]
  ------------------
10154|      0|                TOperator aggregateOp;
10155|      0|                if (op == EOpConstructFloat16)
  ------------------
  |  Branch (10155:21): [True: 0, False: 0]
  ------------------
10156|      0|                    aggregateOp = EOpConstructFloat;
10157|      0|                else
10158|      0|                    aggregateOp = (TOperator)(EOpConstructVec2 + op - EOpConstructF16Vec2);
10159|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10160|      0|            }
10161|      0|            newNode = intermediate.addConversion(EbtFloat16, newNode);
10162|      0|            return newNode;
10163|      0|        }
10164|      0|        break;
10165|       |
10166|      0|    case EOpConstructBF16Vec2:
  ------------------
  |  Branch (10166:5): [True: 0, False: 60]
  ------------------
10167|      0|    case EOpConstructBF16Vec3:
  ------------------
  |  Branch (10167:5): [True: 0, False: 60]
  ------------------
10168|      0|    case EOpConstructBF16Vec4:
  ------------------
  |  Branch (10168:5): [True: 0, False: 60]
  ------------------
10169|      0|    case EOpConstructBFloat16:
  ------------------
  |  Branch (10169:5): [True: 0, False: 60]
  ------------------
10170|      0|        basicOp = EOpConstructBFloat16;
10171|      0|        break;
10172|       |
10173|      0|    case EOpConstructFloatE5M2Vec2:
  ------------------
  |  Branch (10173:5): [True: 0, False: 60]
  ------------------
10174|      0|    case EOpConstructFloatE5M2Vec3:
  ------------------
  |  Branch (10174:5): [True: 0, False: 60]
  ------------------
10175|      0|    case EOpConstructFloatE5M2Vec4:
  ------------------
  |  Branch (10175:5): [True: 0, False: 60]
  ------------------
10176|      0|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (10176:5): [True: 0, False: 60]
  ------------------
10177|      0|        basicOp = EOpConstructFloatE5M2;
10178|      0|        break;
10179|       |
10180|      0|    case EOpConstructFloatE4M3Vec2:
  ------------------
  |  Branch (10180:5): [True: 0, False: 60]
  ------------------
10181|      0|    case EOpConstructFloatE4M3Vec3:
  ------------------
  |  Branch (10181:5): [True: 0, False: 60]
  ------------------
10182|      0|    case EOpConstructFloatE4M3Vec4:
  ------------------
  |  Branch (10182:5): [True: 0, False: 60]
  ------------------
10183|      0|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (10183:5): [True: 0, False: 60]
  ------------------
10184|      0|        basicOp = EOpConstructFloatE4M3;
10185|      0|        break;
10186|       |
10187|      0|    case EOpConstructI8Vec2:
  ------------------
  |  Branch (10187:5): [True: 0, False: 60]
  ------------------
10188|      0|    case EOpConstructI8Vec3:
  ------------------
  |  Branch (10188:5): [True: 0, False: 60]
  ------------------
10189|      0|    case EOpConstructI8Vec4:
  ------------------
  |  Branch (10189:5): [True: 0, False: 60]
  ------------------
10190|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (10190:5): [True: 0, False: 60]
  ------------------
10191|      0|        basicOp = EOpConstructInt8;
10192|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10193|       |        // so construct a 32-bit type and convert
10194|       |        // and do not generate any conversion if it is an identity conversion, i.e. int8_t(<int8_t> var)
10195|      0|        if (!intermediate.getArithemeticInt8Enabled() && (node->getBasicType() != EbtInt8)) {
  ------------------
  |  Branch (10195:13): [True: 0, False: 0]
  |  Branch (10195:58): [True: 0, False: 0]
  ------------------
10196|      0|            TType tempType(EbtInt, EvqTemporary, type.getVectorSize());
10197|      0|            newNode = node;
10198|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10198:17): [True: 0, False: 0]
  ------------------
10199|      0|                TOperator aggregateOp;
10200|      0|                if (op == EOpConstructInt8)
  ------------------
  |  Branch (10200:21): [True: 0, False: 0]
  ------------------
10201|      0|                    aggregateOp = EOpConstructInt;
10202|      0|                else
10203|      0|                    aggregateOp = (TOperator)(EOpConstructIVec2 + op - EOpConstructI8Vec2);
10204|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10205|      0|            }
10206|      0|            newNode = intermediate.addConversion(EbtInt8, newNode);
10207|      0|            return newNode;
10208|      0|        }
10209|      0|        break;
10210|       |
10211|      0|    case EOpConstructU8Vec2:
  ------------------
  |  Branch (10211:5): [True: 0, False: 60]
  ------------------
10212|      0|    case EOpConstructU8Vec3:
  ------------------
  |  Branch (10212:5): [True: 0, False: 60]
  ------------------
10213|      0|    case EOpConstructU8Vec4:
  ------------------
  |  Branch (10213:5): [True: 0, False: 60]
  ------------------
10214|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (10214:5): [True: 0, False: 60]
  ------------------
10215|      0|        basicOp = EOpConstructUint8;
10216|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10217|       |        // so construct a 32-bit type and convert
10218|       |        // and do not generate any conversion if it is an identity conversion, i.e. uint8_t(<uint8_t> var)
10219|      0|        if (!intermediate.getArithemeticInt8Enabled() && (node->getBasicType() != EbtUint8)) {
  ------------------
  |  Branch (10219:13): [True: 0, False: 0]
  |  Branch (10219:58): [True: 0, False: 0]
  ------------------
10220|      0|            TType tempType(EbtUint, EvqTemporary, type.getVectorSize());
10221|      0|            newNode = node;
10222|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10222:17): [True: 0, False: 0]
  ------------------
10223|      0|                TOperator aggregateOp;
10224|      0|                if (op == EOpConstructUint8)
  ------------------
  |  Branch (10224:21): [True: 0, False: 0]
  ------------------
10225|      0|                    aggregateOp = EOpConstructUint;
10226|      0|                else
10227|      0|                    aggregateOp = (TOperator)(EOpConstructUVec2 + op - EOpConstructU8Vec2);
10228|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10229|      0|            }
10230|      0|            newNode = intermediate.addConversion(EbtUint8, newNode);
10231|      0|            return newNode;
10232|      0|        }
10233|      0|        break;
10234|       |
10235|      0|    case EOpConstructI16Vec2:
  ------------------
  |  Branch (10235:5): [True: 0, False: 60]
  ------------------
10236|      0|    case EOpConstructI16Vec3:
  ------------------
  |  Branch (10236:5): [True: 0, False: 60]
  ------------------
10237|      0|    case EOpConstructI16Vec4:
  ------------------
  |  Branch (10237:5): [True: 0, False: 60]
  ------------------
10238|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (10238:5): [True: 0, False: 60]
  ------------------
10239|      0|        basicOp = EOpConstructInt16;
10240|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10241|       |        // so construct a 32-bit type and convert
10242|       |        // and do not generate any conversion if it is an identity conversion, i.e. int16_t(<int16_t> var)
10243|      0|        if (!intermediate.getArithemeticInt16Enabled() && (node->getBasicType() != EbtInt16)) {
  ------------------
  |  Branch (10243:13): [True: 0, False: 0]
  |  Branch (10243:59): [True: 0, False: 0]
  ------------------
10244|      0|            TType tempType(EbtInt, EvqTemporary, type.getVectorSize());
10245|      0|            newNode = node;
10246|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10246:17): [True: 0, False: 0]
  ------------------
10247|      0|                TOperator aggregateOp;
10248|      0|                if (op == EOpConstructInt16)
  ------------------
  |  Branch (10248:21): [True: 0, False: 0]
  ------------------
10249|      0|                    aggregateOp = EOpConstructInt;
10250|      0|                else
10251|      0|                    aggregateOp = (TOperator)(EOpConstructIVec2 + op - EOpConstructI16Vec2);
10252|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10253|      0|            }
10254|      0|            newNode = intermediate.addConversion(EbtInt16, newNode);
10255|      0|            return newNode;
10256|      0|        }
10257|      0|        break;
10258|       |
10259|      0|    case EOpConstructU16Vec2:
  ------------------
  |  Branch (10259:5): [True: 0, False: 60]
  ------------------
10260|      0|    case EOpConstructU16Vec3:
  ------------------
  |  Branch (10260:5): [True: 0, False: 60]
  ------------------
10261|      0|    case EOpConstructU16Vec4:
  ------------------
  |  Branch (10261:5): [True: 0, False: 60]
  ------------------
10262|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (10262:5): [True: 0, False: 60]
  ------------------
10263|      0|        basicOp = EOpConstructUint16;
10264|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10265|       |        // so construct a 32-bit type and convert
10266|       |        // and do not generate any conversion if it is an identity conversion, i.e. uint16_t(<uint16_t> var)
10267|      0|        if (!intermediate.getArithemeticInt16Enabled() && (node->getBasicType() != EbtUint16)) {
  ------------------
  |  Branch (10267:13): [True: 0, False: 0]
  |  Branch (10267:59): [True: 0, False: 0]
  ------------------
10268|      0|            TType tempType(EbtUint, EvqTemporary, type.getVectorSize());
10269|      0|            newNode = node;
10270|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10270:17): [True: 0, False: 0]
  ------------------
10271|      0|                TOperator aggregateOp;
10272|      0|                if (op == EOpConstructUint16)
  ------------------
  |  Branch (10272:21): [True: 0, False: 0]
  ------------------
10273|      0|                    aggregateOp = EOpConstructUint;
10274|      0|                else
10275|      0|                    aggregateOp = (TOperator)(EOpConstructUVec2 + op - EOpConstructU16Vec2);
10276|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10277|      0|            }
10278|      0|            newNode = intermediate.addConversion(EbtUint16, newNode);
10279|      0|            return newNode;
10280|      0|        }
10281|      0|        break;
10282|       |
10283|      0|    case EOpConstructI64Vec2:
  ------------------
  |  Branch (10283:5): [True: 0, False: 60]
  ------------------
10284|      0|    case EOpConstructI64Vec3:
  ------------------
  |  Branch (10284:5): [True: 0, False: 60]
  ------------------
10285|      0|    case EOpConstructI64Vec4:
  ------------------
  |  Branch (10285:5): [True: 0, False: 60]
  ------------------
10286|      0|    case EOpConstructInt64:
  ------------------
  |  Branch (10286:5): [True: 0, False: 60]
  ------------------
10287|      0|        basicOp = EOpConstructInt64;
10288|      0|        break;
10289|       |
10290|      0|    case EOpConstructUint64:
  ------------------
  |  Branch (10290:5): [True: 0, False: 60]
  ------------------
10291|      0|        if (type.isScalar() && node->getType().isReference()) {
  ------------------
  |  Branch (10291:13): [True: 0, False: 0]
  |  Branch (10291:32): [True: 0, False: 0]
  ------------------
10292|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvPtrToUint64, true, node, type);
10293|      0|            return newNode;
10294|      0|        }
10295|      0|        [[fallthrough]];
10296|      0|    case EOpConstructU64Vec2:
  ------------------
  |  Branch (10296:5): [True: 0, False: 60]
  ------------------
10297|      0|    case EOpConstructU64Vec3:
  ------------------
  |  Branch (10297:5): [True: 0, False: 60]
  ------------------
10298|      0|    case EOpConstructU64Vec4:
  ------------------
  |  Branch (10298:5): [True: 0, False: 60]
  ------------------
10299|      0|        basicOp = EOpConstructUint64;
10300|      0|        break;
10301|       |
10302|      0|    case EOpConstructNonuniform:
  ------------------
  |  Branch (10302:5): [True: 0, False: 60]
  ------------------
10303|       |        // Make a nonuniform copy of node
10304|      0|        newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpCopyObject, true, node, type);
10305|      0|        return newNode;
10306|       |
10307|      0|    case EOpConstructReference:
  ------------------
  |  Branch (10307:5): [True: 0, False: 60]
  ------------------
10308|       |        // construct reference from reference
10309|      0|        if (node->getType().isReference()) {
  ------------------
  |  Branch (10309:13): [True: 0, False: 0]
  ------------------
10310|      0|            newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConstructReference, true, node, type);
10311|      0|            return newNode;
10312|       |        // construct reference from uint64
10313|      0|        } else if (node->getType().isScalar() && node->getType().getBasicType() == EbtUint64) {
  ------------------
  |  Branch (10313:20): [True: 0, False: 0]
  |  Branch (10313:50): [True: 0, False: 0]
  ------------------
10314|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUint64ToPtr, true, node,
10315|      0|                type);
10316|      0|            return newNode;
10317|       |        // construct reference from uvec2
10318|      0|        } else if (node->getType().isVector() && node->getType().getBasicType() == EbtUint &&
  ------------------
  |  Branch (10318:20): [True: 0, False: 0]
  |  Branch (10318:50): [True: 0, False: 0]
  ------------------
10319|      0|                   node->getVectorSize() == 2) {
  ------------------
  |  Branch (10319:20): [True: 0, False: 0]
  ------------------
10320|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference_uvec2, "uvec2 conversion to reference");
10321|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUvec2ToPtr, true, node,
10322|      0|                type);
10323|      0|            return newNode;
10324|      0|        } else {
10325|      0|            return nullptr;
10326|      0|        }
10327|       |
10328|      0|    case EOpConstructCooperativeVectorNV:
  ------------------
  |  Branch (10328:5): [True: 0, False: 60]
  ------------------
10329|      0|        if (!node->getType().isCoopVecNV()) {
  ------------------
  |  Branch (10329:13): [True: 0, False: 0]
  ------------------
10330|      0|            if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10330:17): [True: 0, False: 0]
  ------------------
10331|      0|                node = intermediate.addConversion(type.getBasicType(), node);
10332|      0|                if (node == nullptr)
  ------------------
  |  Branch (10332:21): [True: 0, False: 0]
  ------------------
10333|      0|                    return nullptr;
10334|      0|            }
10335|      0|        }
10336|      0|        if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10336:13): [True: 0, False: 0]
  ------------------
10337|      0|            intermediate.buildConvertOp(type.getBasicType(), node->getType().getBasicType(), op);
10338|      0|            node = intermediate.addUnaryNode(op, node, node->getLoc(), type);
10339|      0|            return node;
10340|      0|        }
10341|      0|        if (subset) {
  ------------------
  |  Branch (10341:13): [True: 0, False: 0]
  ------------------
10342|      0|            return node;
10343|      0|        }
10344|       |
10345|      0|        node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10346|       |
10347|      0|        return node;
10348|       |
10349|      0|    case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (10349:5): [True: 0, False: 60]
  ------------------
10350|      0|    case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (10350:5): [True: 0, False: 60]
  ------------------
10351|      0|        if (node->getType() == type) {
  ------------------
  |  Branch (10351:13): [True: 0, False: 0]
  ------------------
10352|      0|            return node;
10353|      0|        }
10354|      0|        if (!node->getType().isCoopMat()) {
  ------------------
  |  Branch (10354:13): [True: 0, False: 0]
  ------------------
10355|      0|            if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10355:17): [True: 0, False: 0]
  ------------------
10356|      0|                node = intermediate.addConversion(type.getBasicType(), node);
10357|      0|                if (node == nullptr)
  ------------------
  |  Branch (10357:21): [True: 0, False: 0]
  ------------------
10358|      0|                    return nullptr;
10359|      0|            }
10360|      0|            node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10361|      0|        } else if (type.sameCoopMatShape(node->getType()) && !type.sameCoopMatUse(node->getType()) &&
  ------------------
  |  Branch (10361:20): [True: 0, False: 0]
  |  Branch (10361:62): [True: 0, False: 0]
  ------------------
10362|      0|                   type.getBasicType() == node->getType().getBasicType()) {
  ------------------
  |  Branch (10362:20): [True: 0, False: 0]
  ------------------
10363|      0|            node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10364|      0|        } else {
10365|      0|            TOperator op = EOpConvNumeric;
10366|       |
10367|      0|            node = intermediate.addUnaryNode(op, node, node->getLoc(), type);
10368|       |            // If it's a (non-specialization) constant, it must be folded.
10369|      0|            if (node->getAsUnaryNode()->getOperand()->getAsConstantUnion())
  ------------------
  |  Branch (10369:17): [True: 0, False: 0]
  ------------------
10370|      0|                return node->getAsUnaryNode()->getOperand()->getAsConstantUnion()->fold(op, node->getType());
10371|      0|        }
10372|       |
10373|      0|        return node;
10374|       |
10375|      0|    case EOpConstructAccStruct:
  ------------------
  |  Branch (10375:5): [True: 0, False: 60]
  ------------------
10376|      0|        if ((node->getType().isScalar() && node->getType().getBasicType() == EbtUint64)) {
  ------------------
  |  Branch (10376:14): [True: 0, False: 0]
  |  Branch (10376:44): [True: 0, False: 0]
  ------------------
10377|       |            // construct acceleration structure from uint64
10378|      0|            requireExtensions(loc, Num_ray_tracing_EXTs, ray_tracing_EXTs, "uint64_t conversion to acclerationStructureEXT");
10379|      0|            return intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUint64ToAccStruct, true, node,
10380|      0|                type);
10381|      0|        } else if (node->getType().isVector() && node->getType().getBasicType() == EbtUint && node->getVectorSize() == 2) {
  ------------------
  |  Branch (10381:20): [True: 0, False: 0]
  |  Branch (10381:50): [True: 0, False: 0]
  |  Branch (10381:95): [True: 0, False: 0]
  ------------------
10382|       |            // construct acceleration structure from uint64
10383|      0|            requireExtensions(loc, Num_ray_tracing_EXTs, ray_tracing_EXTs, "uvec2 conversion to accelerationStructureEXT");
10384|      0|            return intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUvec2ToAccStruct, true, node,
10385|      0|                type);
10386|      0|        } else
10387|      0|            return nullptr;
10388|       |
10389|      0|    default:
  ------------------
  |  Branch (10389:5): [True: 0, False: 60]
  ------------------
10390|      0|        error(loc, "unsupported construction", "", "");
10391|       |
10392|      0|        return nullptr;
10393|     60|    }
10394|     60|    newNode = intermediate.addUnaryMath(basicOp, node, node->getLoc());
10395|     60|    if (newNode == nullptr) {
  ------------------
  |  Branch (10395:9): [True: 0, False: 60]
  ------------------
10396|      0|        error(loc, "can't convert", "constructor", "");
10397|      0|        return nullptr;
10398|      0|    }
10399|       |
10400|       |    //
10401|       |    // Now, if there still isn't an operation to do the construction, and we need one, add one.
10402|       |    //
10403|       |
10404|       |    // Otherwise, skip out early.
10405|     60|    if (subset || (newNode != node && newNode->getType() == type))
  ------------------
  |  Branch (10405:9): [True: 60, False: 0]
  |  Branch (10405:20): [True: 0, False: 0]
  |  Branch (10405:39): [True: 0, False: 0]
  ------------------
10406|     60|        return newNode;
10407|       |
10408|       |    // setAggregateOperator will insert a new node for the constructor, as needed.
10409|      0|    return intermediate.setAggregateOperator(newNode, op, type, loc);
10410|     60|}
_ZN7glslang13TParseContext12makeVariadicEPNS_9TFunctionERKNS_10TSourceLocE:
10412|    240|void TParseContext::makeVariadic(TFunction *F, const TSourceLoc &loc) {
10413|    240|    if (parsingBuiltins) {
  ------------------
  |  Branch (10413:9): [True: 240, False: 0]
  ------------------
10414|    240|        F->setVariadic();
10415|    240|    } else {
10416|      0|        error(loc, "variadic argument specifier is only available for builtins", "...", "");
10417|      0|    }
10418|    240|}
_ZN7glslang13TParseContext19getParamWithDefaultERKNS_11TPublicTypeEPNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_12TIntermTypedERKNS_10TSourceLocE:
10422|    240|{
10423|    240|    if (!parsingBuiltins) {
  ------------------
  |  Branch (10423:9): [True: 0, False: 240]
  ------------------
10424|      0|        error(loc, "default argument values are only available for builtins", "=", "");
10425|      0|        initializer = nullptr;
10426|      0|    }
10427|    240|    if (ty.arraySizes) {
  ------------------
  |  Branch (10427:9): [True: 0, False: 240]
  ------------------
10428|      0|        error(loc, "array arguments cannot be default-initialized", identifier->c_str(), "");
10429|      0|        initializer = nullptr;
10430|      0|    }
10431|    240|    if (ty.basicType == EbtVoid) {
  ------------------
  |  Branch (10431:9): [True: 0, False: 240]
  ------------------
10432|      0|        error(loc, "illegal use of type 'void'", identifier->c_str(), "");
10433|      0|        initializer = nullptr;
10434|      0|    }
10435|    240|    reservedErrorCheck(loc, *identifier);
10436|    240|    TParameter param = {identifier, new TType(ty), initializer};
10437|    240|    return param;
10438|    240|}
_ZN7glslang13TParseContext23inheritMemoryQualifiersERKNS_10TQualifierERS1_:
10461|    196|{
10462|    196|    if (from.isReadOnly())
  ------------------
  |  Branch (10462:9): [True: 0, False: 196]
  ------------------
10463|      0|        to.readonly = from.readonly;
10464|    196|    if (from.isWriteOnly())
  ------------------
  |  Branch (10464:9): [True: 0, False: 196]
  ------------------
10465|      0|        to.writeonly = from.writeonly;
10466|    196|    if (from.coherent)
  ------------------
  |  Branch (10466:9): [True: 0, False: 196]
  ------------------
10467|      0|        to.coherent = from.coherent;
10468|    196|    if (from.volatil)
  ------------------
  |  Branch (10468:9): [True: 0, False: 196]
  ------------------
10469|      0|        to.volatil = from.volatil;
10470|    196|    if (from.nontemporal)
  ------------------
  |  Branch (10470:9): [True: 0, False: 196]
  ------------------
10471|      0|        to.nontemporal = from.nontemporal;
10472|    196|    if (from.restrict)
  ------------------
  |  Branch (10472:9): [True: 0, False: 196]
  ------------------
10473|      0|        to.restrict = from.restrict;
10474|    196|}
_ZN7glslang13TParseContext16untypedHeapCheckEPNS_7TSymbolERKNS_5TTypeERKNS_10TSourceLocEPKc:
10524|  3.20k|{
10525|       |    // EXT_descriptor_heap
10526|  3.20k|    bool isHeapStruct =
10527|  3.20k|        (type.getQualifier().storage == EvqSamplerHeap || type.getQualifier().storage == EvqResourceHeap);
  ------------------
  |  Branch (10527:10): [True: 0, False: 3.20k]
  |  Branch (10527:59): [True: 0, False: 3.20k]
  ------------------
10528|       |
10529|  3.20k|    if (intermediate.IsRequestedExtension(E_GL_EXT_descriptor_heap) && spvVersion.vulkan > 0 &&
  ------------------
  |  Branch (10529:9): [True: 0, False: 3.20k]
  |  Branch (10529:72): [True: 0, False: 0]
  ------------------
10530|      0|        !type.getQualifier().hasSet() && !type.getQualifier().hasBinding()) {
  ------------------
  |  Branch (10530:9): [True: 0, False: 0]
  |  Branch (10530:42): [True: 0, False: 0]
  ------------------
10531|      0|        if (type.getQualifier().layoutDescriptorHeap || isHeapStruct) {
  ------------------
  |  Branch (10531:13): [True: 0, False: 0]
  |  Branch (10531:57): [True: 0, False: 0]
  ------------------
10532|      0|            if ((intermediate.isEsProfile() && intermediate.getVersion() < 310) ||
  ------------------
  |  Branch (10532:18): [True: 0, False: 0]
  |  Branch (10532:48): [True: 0, False: 0]
  ------------------
10533|      0|                (!intermediate.isEsProfile() && intermediate.getVersion() < 420)) {
  ------------------
  |  Branch (10533:18): [True: 0, False: 0]
  |  Branch (10533:49): [True: 0, False: 0]
  ------------------
10534|      0|                TString warnMsg = "layout(descriptor_heap) is turned on beyond version/profile limits.";
10535|      0|                infoSink.info.message(EPrefixWarning, warnMsg.c_str());
10536|      0|            }
10537|      0|            if (IsAnonymous(symbol->getName()) &&
  ------------------
  |  Branch (10537:17): [True: 0, False: 0]
  ------------------
10538|      0|                (type.getQualifier().isUniformOrBuffer() || type.getBasicType() == EbtBlock)) {
  ------------------
  |  Branch (10538:18): [True: 0, False: 0]
  |  Branch (10538:61): [True: 0, False: 0]
  ------------------
10539|      0|                error(loc, "layout(descriptor_heap) decorated block should be explicitly "
10540|      0|                    "declared with a run-time sized array type.", name, "");
10541|      0|                return false;
10542|      0|            }
10543|      0|            if (!type.containsHeapArray()) {
  ------------------
  |  Branch (10543:17): [True: 0, False: 0]
  ------------------
10544|      0|                error(loc, "layout(descriptor_heap) decorated variable could only be declared as an array.",
10545|      0|                      name, "");
10546|      0|                return false;
10547|      0|            }
10548|      0|            descHeapBuiltinRemap(&symbol->getWritableType(), isHeapStruct);
10549|      0|        }
10550|      0|    }
10551|  3.20k|    return true;
10552|  3.20k|}
_ZN7glslang13TParseContext12declareBlockERKNS_10TSourceLocERNS_7TVectorINS_8TTypeLocEEEPKNSt3__112basic_stringIcNS8_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_11TArraySizesE:
10559|     36|{
10560|     36|    if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (10560:9): [True: 18, False: 18]
  |  Branch (10560:34): [True: 0, False: 18]
  ------------------
10561|      0|        blockStorageRemap(loc, blockName, currentBlockQualifier);
10562|     36|    blockStageIoCheck(loc, currentBlockQualifier);
10563|     36|    blockQualifierCheck(loc, currentBlockQualifier, instanceName != nullptr);
10564|     36|    if (arraySizes != nullptr) {
  ------------------
  |  Branch (10564:9): [True: 24, False: 12]
  ------------------
10565|     24|        arraySizesCheck(loc, currentBlockQualifier, arraySizes, nullptr, false);
10566|     24|        arrayOfArrayVersionCheck(loc, arraySizes);
10567|     24|        if (arraySizes->getNumDims() > 1)
  ------------------
  |  Branch (10567:13): [True: 0, False: 24]
  ------------------
10568|      0|            requireProfile(loc, ~EEsProfile, "array-of-array of block");
10569|     24|    }
10570|       |
10571|       |    // Inherit and check member storage qualifiers WRT to the block-level qualifier.
10572|    232|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (10572:35): [True: 196, False: 36]
  ------------------
10573|    196|        TType& memberType = *typeList[member].type;
10574|    196|        TQualifier& memberQualifier = memberType.getQualifier();
10575|    196|        const TSourceLoc& memberLoc = typeList[member].loc;
10576|    196|        if (memberQualifier.storage != EvqTemporary && memberQualifier.storage != EvqGlobal && memberQualifier.storage != currentBlockQualifier.storage)
  ------------------
  |  Branch (10576:13): [True: 176, False: 20]
  |  Branch (10576:56): [True: 0, False: 176]
  |  Branch (10576:96): [True: 0, False: 0]
  ------------------
10577|      0|            error(memberLoc, "member storage qualifier cannot contradict block storage qualifier", memberType.getFieldName().c_str(), "");
10578|    196|        memberQualifier.storage = currentBlockQualifier.storage;
10579|    196|        globalQualifierFixCheck(memberLoc, memberQualifier);
10580|    196|        inheritMemoryQualifiers(currentBlockQualifier, memberQualifier);
10581|    196|        if (currentBlockQualifier.perPrimitiveNV)
  ------------------
  |  Branch (10581:13): [True: 44, False: 152]
  ------------------
10582|     44|            memberQualifier.perPrimitiveNV = currentBlockQualifier.perPrimitiveNV;
10583|    196|        if (currentBlockQualifier.perViewNV)
  ------------------
  |  Branch (10583:13): [True: 0, False: 196]
  ------------------
10584|      0|            memberQualifier.perViewNV = currentBlockQualifier.perViewNV;
10585|    196|        if (currentBlockQualifier.perTaskNV)
  ------------------
  |  Branch (10585:13): [True: 0, False: 196]
  ------------------
10586|      0|            memberQualifier.perTaskNV = currentBlockQualifier.perTaskNV;
10587|    196|        if (currentBlockQualifier.storage == EvqtaskPayloadSharedEXT)
  ------------------
  |  Branch (10587:13): [True: 0, False: 196]
  ------------------
10588|      0|            memberQualifier.storage = EvqtaskPayloadSharedEXT;
10589|    196|        if (memberQualifier.storage == EvqSpirvStorageClass)
  ------------------
  |  Branch (10589:13): [True: 0, False: 196]
  ------------------
10590|      0|            error(memberLoc, "member cannot have a spirv_storage_class qualifier", memberType.getFieldName().c_str(), "");
10591|    196|        if (memberQualifier.hasSpirvDecorate() && !memberQualifier.getSpirvDecorate().decorateIds.empty())
  ------------------
  |  Branch (10591:13): [True: 0, False: 196]
  |  Branch (10591:51): [True: 0, False: 0]
  ------------------
10592|      0|            error(memberLoc, "member cannot have a spirv_decorate_id qualifier", memberType.getFieldName().c_str(), "");
10593|    196|        if ((currentBlockQualifier.storage == EvqUniform || currentBlockQualifier.storage == EvqBuffer) && (memberQualifier.isInterpolation() || memberQualifier.isAuxiliary()))
  ------------------
  |  Branch (10593:14): [True: 0, False: 196]
  |  Branch (10593:61): [True: 0, False: 196]
  |  Branch (10593:109): [True: 0, False: 0]
  |  Branch (10593:146): [True: 0, False: 0]
  ------------------
10594|      0|            error(memberLoc, "member of uniform or buffer block cannot have an auxiliary or interpolation qualifier", memberType.getFieldName().c_str(), "");
10595|    196|        if (memberType.isArray())
  ------------------
  |  Branch (10595:13): [True: 100, False: 96]
  ------------------
10596|    100|            arraySizesCheck(memberLoc, currentBlockQualifier, memberType.getArraySizes(), nullptr, member == typeList.size() - 1);
10597|    196|        if (memberQualifier.hasOffset()) {
  ------------------
  |  Branch (10597:13): [True: 0, False: 196]
  ------------------
10598|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (10598:17): [True: 0, False: 0]
  ------------------
10599|      0|                profileRequires(memberLoc, ~EEsProfile, 440, E_GL_ARB_enhanced_layouts, "\"offset\" on block member");
10600|      0|                profileRequires(memberLoc, EEsProfile, 300, E_GL_ARB_enhanced_layouts, "\"offset\" on block member");
10601|      0|            }
10602|      0|        }
10603|       |
10604|       |        // For bindless texture, sampler can be declared as uniform/storage block member,
10605|    196|        if (memberType.containsOpaque() && !extensionTurnedOn(E_GL_EXT_structured_descriptor_heap)) {
  ------------------
  |  Branch (10605:13): [True: 0, False: 196]
  |  Branch (10605:44): [True: 0, False: 0]
  ------------------
10606|      0|            if (memberType.containsSampler() && extensionTurnedOn(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (10606:17): [True: 0, False: 0]
  |  Branch (10606:49): [True: 0, False: 0]
  ------------------
10607|      0|                updateBindlessQualifier(memberType);
10608|      0|            else
10609|      0|                error(memberLoc, "member of block cannot be or contain a sampler, image, or atomic_uint type", typeList[member].type->getFieldName().c_str(), "");
10610|      0|        }
10611|       |
10612|    196|        if (memberType.containsCoopMat())
  ------------------
  |  Branch (10612:13): [True: 0, False: 196]
  ------------------
10613|      0|            error(memberLoc, "member of block cannot be or contain a cooperative matrix type", typeList[member].type->getFieldName().c_str(), "");
10614|       |
10615|    196|        if (memberType.containsCoopVec())
  ------------------
  |  Branch (10615:13): [True: 0, False: 196]
  ------------------
10616|      0|            error(memberLoc, "member of block cannot be or contain a cooperative vector type", typeList[member].type->getFieldName().c_str(), "");
10617|    196|    }
10618|       |
10619|       |    // This might be a redeclaration of a built-in block.  If so, redeclareBuiltinBlock() will
10620|       |    // do all the rest.
10621|     36|    if (! symbolTable.atBuiltInLevel() && builtInName(*blockName)) {
  ------------------
  |  Branch (10621:9): [True: 0, False: 36]
  |  Branch (10621:43): [True: 0, False: 0]
  ------------------
10622|      0|        redeclareBuiltinBlock(loc, typeList, *blockName, instanceName, arraySizes);
10623|      0|        return nullptr;
10624|      0|    }
10625|       |
10626|       |    // Not a redeclaration of a built-in; check that all names are user names.
10627|     36|    reservedErrorCheck(loc, *blockName);
10628|     36|    if (instanceName)
  ------------------
  |  Branch (10628:9): [True: 24, False: 12]
  ------------------
10629|     24|        reservedErrorCheck(loc, *instanceName);
10630|    232|    for (unsigned int member = 0; member < typeList.size(); ++member)
  ------------------
  |  Branch (10630:35): [True: 196, False: 36]
  ------------------
10631|    196|        reservedErrorCheck(typeList[member].loc, typeList[member].type->getFieldName());
10632|       |
10633|       |    // Make default block qualification, and adjust the member qualifications
10634|       |
10635|     36|    TQualifier defaultQualification;
10636|     36|    switch (currentBlockQualifier.storage) {
10637|      0|    case EvqUniform:    defaultQualification = globalUniformDefaults;    break;
  ------------------
  |  Branch (10637:5): [True: 0, False: 36]
  ------------------
10638|      0|    case EvqBuffer:     defaultQualification = globalBufferDefaults;     break;
  ------------------
  |  Branch (10638:5): [True: 0, False: 36]
  ------------------
10639|      4|    case EvqVaryingIn:  defaultQualification = globalInputDefaults;      break;
  ------------------
  |  Branch (10639:5): [True: 4, False: 32]
  ------------------
10640|     32|    case EvqVaryingOut: defaultQualification = globalOutputDefaults;     break;
  ------------------
  |  Branch (10640:5): [True: 32, False: 4]
  ------------------
10641|      0|    case EvqShared:     defaultQualification = globalSharedDefaults;     break;
  ------------------
  |  Branch (10641:5): [True: 0, False: 36]
  ------------------
10642|      0|    default:            defaultQualification.clear();                    break;
  ------------------
  |  Branch (10642:5): [True: 0, False: 36]
  ------------------
10643|     36|    }
10644|       |
10645|       |    // Special case for "push_constant uniform", which has a default of std430,
10646|       |    // contrary to normal uniform defaults, and can't have a default tracked for it.
10647|     36|    if ((currentBlockQualifier.isPushConstant() && !currentBlockQualifier.hasPacking()) ||
  ------------------
  |  Branch (10647:10): [True: 0, False: 36]
  |  Branch (10647:52): [True: 0, False: 0]
  ------------------
10648|     36|        (currentBlockQualifier.isShaderRecord() && !currentBlockQualifier.hasPacking()))
  ------------------
  |  Branch (10648:10): [True: 0, False: 36]
  |  Branch (10648:52): [True: 0, False: 0]
  ------------------
10649|      0|        currentBlockQualifier.layoutPacking = ElpStd430;
10650|       |
10651|       |    // Special case for "taskNV in/out", which has a default of std430,
10652|     36|    if (currentBlockQualifier.isTaskMemory() && !currentBlockQualifier.hasPacking())
  ------------------
  |  Branch (10652:9): [True: 0, False: 36]
  |  Branch (10652:49): [True: 0, False: 0]
  ------------------
10653|      0|        currentBlockQualifier.layoutPacking = ElpStd430;
10654|       |
10655|       |    // fix and check for member layout qualifiers
10656|       |
10657|     36|    mergeObjectLayoutQualifiers(defaultQualification, currentBlockQualifier, true);
10658|       |
10659|       |    // "The align qualifier can only be used on blocks or block members, and only for blocks declared with std140 or std430 layouts."
10660|     36|    if (currentBlockQualifier.hasAlign()) {
  ------------------
  |  Branch (10660:9): [True: 0, False: 36]
  ------------------
10661|      0|        if (defaultQualification.layoutPacking != ElpStd140 &&
  ------------------
  |  Branch (10661:13): [True: 0, False: 0]
  ------------------
10662|      0|            defaultQualification.layoutPacking != ElpStd430 &&
  ------------------
  |  Branch (10662:13): [True: 0, False: 0]
  ------------------
10663|      0|            defaultQualification.layoutPacking != ElpScalar) {
  ------------------
  |  Branch (10663:13): [True: 0, False: 0]
  ------------------
10664|      0|            error(loc, "can only be used with std140, std430, or scalar layout packing", "align", "");
10665|      0|            defaultQualification.layoutAlign = -1;
10666|      0|        }
10667|      0|    }
10668|       |
10669|     36|    bool memberWithLocation = false;
10670|     36|    bool memberWithoutLocation = false;
10671|     36|    bool memberWithPerViewQualifier = false;
10672|    232|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (10672:35): [True: 196, False: 36]
  ------------------
10673|    196|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
10674|    196|        const TSourceLoc& memberLoc = typeList[member].loc;
10675|    196|        if (memberQualifier.hasStream()) {
  ------------------
  |  Branch (10675:13): [True: 0, False: 196]
  ------------------
10676|      0|            if (defaultQualification.layoutStream != memberQualifier.layoutStream)
  ------------------
  |  Branch (10676:17): [True: 0, False: 0]
  ------------------
10677|      0|                error(memberLoc, "member cannot contradict block", "stream", "");
10678|      0|        }
10679|       |
10680|       |        // "This includes a block's inheritance of the
10681|       |        // current global default buffer, a block member's inheritance of the block's
10682|       |        // buffer, and the requirement that any *xfb_buffer* declared on a block
10683|       |        // member must match the buffer inherited from the block."
10684|    196|        if (memberQualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (10684:13): [True: 0, False: 196]
  ------------------
10685|      0|            if (defaultQualification.layoutXfbBuffer != memberQualifier.layoutXfbBuffer)
  ------------------
  |  Branch (10685:17): [True: 0, False: 0]
  ------------------
10686|      0|                error(memberLoc, "member cannot contradict block (or what block inherited from global)", "xfb_buffer", "");
10687|      0|        }
10688|       |
10689|    196|        if (memberQualifier.hasPacking())
  ------------------
  |  Branch (10689:13): [True: 0, False: 196]
  ------------------
10690|      0|            error(memberLoc, "member of block cannot have a packing layout qualifier", typeList[member].type->getFieldName().c_str(), "");
10691|    196|        if (memberQualifier.hasLocation()) {
  ------------------
  |  Branch (10691:13): [True: 0, False: 196]
  ------------------
10692|      0|            const char* feature = "location on block member";
10693|      0|            switch (currentBlockQualifier.storage) {
10694|      0|            case EvqVaryingIn:
  ------------------
  |  Branch (10694:13): [True: 0, False: 0]
  ------------------
10695|      0|            case EvqVaryingOut:
  ------------------
  |  Branch (10695:13): [True: 0, False: 0]
  ------------------
10696|      0|                requireProfile(memberLoc, ECoreProfile | ECompatibilityProfile | EEsProfile, feature);
10697|      0|                profileRequires(memberLoc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, feature);
10698|      0|                profileRequires(memberLoc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, feature);
10699|      0|                memberWithLocation = true;
10700|      0|                break;
10701|      0|            default:
  ------------------
  |  Branch (10701:13): [True: 0, False: 0]
  ------------------
10702|      0|                error(memberLoc, "can only use in an in/out block", feature, "");
10703|      0|                break;
10704|      0|            }
10705|      0|        } else
10706|    196|            memberWithoutLocation = true;
10707|       |
10708|       |        // "The offset qualifier can only be used on block members of blocks declared with std140 or std430 layouts."
10709|       |        // "The align qualifier can only be used on blocks or block members, and only for blocks declared with std140 or std430 layouts."
10710|    196|        if (memberQualifier.hasAlign() || memberQualifier.hasOffset()) {
  ------------------
  |  Branch (10710:13): [True: 0, False: 196]
  |  Branch (10710:43): [True: 0, False: 196]
  ------------------
10711|      0|            if (defaultQualification.layoutPacking != ElpStd140 &&
  ------------------
  |  Branch (10711:17): [True: 0, False: 0]
  ------------------
10712|      0|                defaultQualification.layoutPacking != ElpStd430 &&
  ------------------
  |  Branch (10712:17): [True: 0, False: 0]
  ------------------
10713|      0|                defaultQualification.layoutPacking != ElpScalar)
  ------------------
  |  Branch (10713:17): [True: 0, False: 0]
  ------------------
10714|      0|                error(memberLoc, "can only be used with std140, std430, or scalar layout packing", "offset/align", "");
10715|      0|        }
10716|       |
10717|    196|        if (memberQualifier.isPerView()) {
  ------------------
  |  Branch (10717:13): [True: 20, False: 176]
  ------------------
10718|     20|            memberWithPerViewQualifier = true;
10719|     20|        }
10720|       |
10721|    196|        TQualifier newMemberQualification = defaultQualification;
10722|    196|        mergeQualifiers(memberLoc, newMemberQualification, memberQualifier, false);
10723|    196|        memberQualifier = newMemberQualification;
10724|    196|    }
10725|       |
10726|     36|    layoutMemberLocationArrayCheck(loc, memberWithLocation, arraySizes);
10727|       |
10728|       |    // Ensure that the block has an XfbBuffer assigned. This is needed
10729|       |    // because if the block has a XfbOffset assigned, then it is
10730|       |    // assumed that it has implicitly assigned the current global
10731|       |    // XfbBuffer, and because it's members need to be assigned a
10732|       |    // XfbOffset if they lack it.
10733|     36|    if (currentBlockQualifier.storage == EvqVaryingOut && globalOutputDefaults.hasXfbBuffer()) {
  ------------------
  |  Branch (10733:9): [True: 32, False: 4]
  |  Branch (10733:59): [True: 16, False: 16]
  ------------------
10734|     16|       if (!currentBlockQualifier.hasXfbBuffer() && currentBlockQualifier.hasXfbOffset())
  ------------------
  |  Branch (10734:12): [True: 16, False: 0]
  |  Branch (10734:53): [True: 0, False: 16]
  ------------------
10735|      0|          currentBlockQualifier.layoutXfbBuffer = globalOutputDefaults.layoutXfbBuffer;
10736|     16|    }
10737|       |
10738|       |    // Process the members
10739|     36|    fixBlockLocations(loc, currentBlockQualifier, typeList, memberWithLocation, memberWithoutLocation);
10740|     36|    fixXfbOffsets(currentBlockQualifier, typeList);
10741|     36|    fixBlockUniformOffsets(currentBlockQualifier, typeList);
10742|     36|    fixBlockUniformLayoutMatrix(currentBlockQualifier, &typeList, nullptr);
10743|     36|    fixBlockUniformLayoutPacking(currentBlockQualifier, &typeList, nullptr);
10744|    232|    for (unsigned int member = 0; member < typeList.size(); ++member)
  ------------------
  |  Branch (10744:35): [True: 196, False: 36]
  ------------------
10745|    196|        layoutTypeCheck(typeList[member].loc, *typeList[member].type);
10746|       |
10747|     36|    if (memberWithPerViewQualifier) {
  ------------------
  |  Branch (10747:9): [True: 8, False: 28]
  ------------------
10748|     60|        for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (10748:39): [True: 52, False: 8]
  ------------------
10749|     52|            checkAndResizeMeshViewDim(typeList[member].loc, *typeList[member].type, /*isBlockMember*/ true);
10750|     52|        }
10751|      8|    }
10752|       |
10753|       |    // reverse merge, so that currentBlockQualifier now has all layout information
10754|       |    // (can't use defaultQualification directly, it's missing other non-layout-default-class qualifiers)
10755|     36|    mergeObjectLayoutQualifiers(currentBlockQualifier, defaultQualification, true);
10756|       |
10757|       |    //
10758|       |    // Build and add the interface block as a new type named 'blockName'
10759|       |    //
10760|       |
10761|     36|    TType blockType(&typeList, *blockName, currentBlockQualifier);
10762|     36|    if (arraySizes != nullptr)
  ------------------
  |  Branch (10762:9): [True: 24, False: 12]
  ------------------
10763|     24|        blockType.transferArraySizes(arraySizes);
10764|       |
10765|     36|    if (arraySizes == nullptr)
  ------------------
  |  Branch (10765:9): [True: 12, False: 24]
  ------------------
10766|     12|        ioArrayCheck(loc, blockType, instanceName ? *instanceName : *blockName);
  ------------------
  |  Branch (10766:38): [True: 0, False: 12]
  ------------------
10767|     36|    if (currentBlockQualifier.hasBufferReference()) {
  ------------------
  |  Branch (10767:9): [True: 0, False: 36]
  ------------------
10768|       |
10769|      0|        if (currentBlockQualifier.storage != EvqBuffer)
  ------------------
  |  Branch (10769:13): [True: 0, False: 0]
  ------------------
10770|      0|            error(loc, "can only be used with buffer", "buffer_reference", "");
10771|       |
10772|       |        // Create the block reference type. If it was forward-declared, detect that
10773|       |        // as a referent struct type with no members. Replace the referent type with
10774|       |        // blockType.
10775|      0|        TType blockNameType(EbtReference, blockType, *blockName);
10776|      0|        TVariable* blockNameVar = new TVariable(blockName, blockNameType, true);
10777|      0|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (10777:13): [True: 0, False: 0]
  ------------------
10778|      0|            TSymbol* existingName = symbolTable.find(*blockName);
10779|      0|            if (existingName->getType().isReference() &&
  ------------------
  |  Branch (10779:17): [True: 0, False: 0]
  ------------------
10780|      0|                existingName->getType().getReferentType()->getStruct() &&
  ------------------
  |  Branch (10780:17): [True: 0, False: 0]
  ------------------
10781|      0|                existingName->getType().getReferentType()->getStruct()->size() == 0 &&
  ------------------
  |  Branch (10781:17): [True: 0, False: 0]
  ------------------
10782|      0|                existingName->getType().getQualifier().storage == blockType.getQualifier().storage) {
  ------------------
  |  Branch (10782:17): [True: 0, False: 0]
  ------------------
10783|      0|                existingName->getType().getReferentType()->deepCopy(blockType);
10784|      0|            } else {
10785|      0|                error(loc, "block name cannot be redefined", blockName->c_str(), "");
10786|      0|            }
10787|      0|        }
10788|      0|        if (!instanceName) {
  ------------------
  |  Branch (10788:13): [True: 0, False: 0]
  ------------------
10789|      0|            return nullptr;
10790|      0|        }
10791|     36|    } else {
10792|       |        //
10793|       |        // Don't make a user-defined type out of block name; that will cause an error
10794|       |        // if the same block name gets reused in a different interface.
10795|       |        //
10796|       |        // "Block names have no other use within a shader
10797|       |        // beyond interface matching; it is a compile-time error to use a block name at global scope for anything
10798|       |        // other than as a block name (e.g., use of a block name for a global variable name or function name is
10799|       |        // currently reserved)."
10800|       |        //
10801|       |        // Use the symbol table to prevent normal reuse of the block's name, as a variable entry,
10802|       |        // whose type is EbtBlock, but without all the structure; that will come from the type
10803|       |        // the instances point to.
10804|       |        //
10805|     36|        TType blockNameType(EbtBlock, blockType.getQualifier().storage);
10806|     36|        TVariable* blockNameVar = new TVariable(blockName, blockNameType);
10807|     36|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (10807:13): [True: 4, False: 32]
  ------------------
10808|      4|            TSymbol* existingName = symbolTable.find(*blockName);
10809|      4|            if (existingName->getType().getBasicType() == EbtBlock) {
  ------------------
  |  Branch (10809:17): [True: 4, False: 0]
  ------------------
10810|      4|                if (existingName->getType().getQualifier().storage == blockType.getQualifier().storage) {
  ------------------
  |  Branch (10810:21): [True: 0, False: 4]
  ------------------
10811|      0|                    error(loc, "Cannot reuse block name within the same interface:", blockName->c_str(), blockType.getStorageQualifierString());
10812|      0|                    return nullptr;
10813|      0|                }
10814|      4|            } else {
10815|      0|                error(loc, "block name cannot redefine a non-block name", blockName->c_str(), "");
10816|      0|                return nullptr;
10817|      0|            }
10818|      4|        }
10819|     36|    }
10820|       |
10821|       |    // Add the variable, as anonymous or named instanceName.
10822|       |    // Make an anonymous variable if no name was provided.
10823|     36|    if (! instanceName)
  ------------------
  |  Branch (10823:9): [True: 12, False: 24]
  ------------------
10824|     12|        instanceName = NewPoolTString("");
10825|       |
10826|     36|    TVariable& variable = *new TVariable(instanceName, blockType);
10827|     36|    if (! symbolTable.insert(variable)) {
  ------------------
  |  Branch (10827:9): [True: 0, False: 36]
  ------------------
10828|      0|        if (*instanceName == "")
  ------------------
  |  Branch (10828:13): [True: 0, False: 0]
  ------------------
10829|      0|            error(loc, "nameless block contains a member that already has a name at global scope", blockName->c_str(), "");
10830|      0|        else
10831|      0|            error(loc, "block instance name redefinition", variable.getName().c_str(), "");
10832|       |
10833|      0|        return nullptr;
10834|      0|    }
10835|       |
10836|       |    // EXT_descriptor_heap
10837|     36|    if (!untypedHeapCheck(&variable, blockType, loc, blockName->c_str())) {
  ------------------
  |  Branch (10837:9): [True: 0, False: 36]
  ------------------
10838|      0|        return nullptr;
10839|      0|    }
10840|       |
10841|       |    // Check for general layout qualifier errors
10842|     36|    layoutObjectCheck(loc, variable);
10843|       |
10844|       |    // fix up
10845|     36|    if (isIoResizeArray(blockType)) {
  ------------------
  |  Branch (10845:9): [True: 24, False: 12]
  ------------------
10846|     24|        ioArraySymbolResizeList.push_back(&variable);
10847|     24|        checkIoArraysConsistency(loc, true);
10848|     24|    } else
10849|     12|        fixIoArraySize(loc, variable.getWritableType());
10850|       |
10851|       |    // Save it in the AST for linker use.
10852|     36|    trackLinkage(variable);
10853|       |
10854|     36|    TIntermAggregate* declNode = nullptr;
10855|     36|    if (intermediate.getDebugInfo()) {
  ------------------
  |  Branch (10855:9): [True: 0, False: 36]
  ------------------
10856|      0|        auto blockDeclNode = new TIntermVariableDecl(intermediate.addSymbol(variable, loc), nullptr);
10857|      0|        blockDeclNode->setLoc(loc);
10858|       |
10859|       |        // We have to wrap the declaration with a sequence to fit the same processing logic with variables.
10860|      0|        declNode = new TIntermAggregate(EOpSequence);
10861|      0|        declNode->getSequence().push_back(blockDeclNode);
10862|      0|    }
10863|     36|    return declNode;
10864|     36|}
_ZN7glslang13TParseContext17blockStageIoCheckERKNS_10TSourceLocERKNS_10TQualifierE:
10880|     36|{
10881|     36|    const char *extsrt[2] = { E_GL_NV_ray_tracing, E_GL_EXT_ray_tracing };
10882|     36|    switch (qualifier.storage) {
10883|      0|    case EvqUniform:
  ------------------
  |  Branch (10883:5): [True: 0, False: 36]
  ------------------
10884|      0|        profileRequires(loc, EEsProfile, 300, nullptr, "uniform block");
10885|      0|        profileRequires(loc, ENoProfile, 140, E_GL_ARB_uniform_buffer_object, "uniform block");
10886|      0|        if (currentBlockQualifier.layoutPacking == ElpStd430 && ! currentBlockQualifier.isPushConstant())
  ------------------
  |  Branch (10886:13): [True: 0, False: 0]
  |  Branch (10886:65): [True: 0, False: 0]
  ------------------
10887|      0|            requireExtensions(loc, 1, &E_GL_EXT_scalar_block_layout, "std430 requires the buffer storage qualifier");
10888|      0|        break;
10889|      0|    case EvqBuffer:
  ------------------
  |  Branch (10889:5): [True: 0, False: 36]
  ------------------
10890|      0|        requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, "buffer block");
10891|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 430, E_GL_ARB_shader_storage_buffer_object, "buffer block");
10892|      0|        profileRequires(loc, EEsProfile, 310, nullptr, "buffer block");
10893|      0|        break;
10894|      4|    case EvqVaryingIn:
  ------------------
  |  Branch (10894:5): [True: 4, False: 32]
  ------------------
10895|      4|        profileRequires(loc, ~EEsProfile, 150, E_GL_ARB_separate_shader_objects, "input block");
10896|       |        // It is a compile-time error to have an input block in a vertex shader or an output block in a fragment shader
10897|       |        // "Compute shaders do not permit user-defined input variables..."
10898|      4|        requireStage(loc, (EShLanguageMask)(EShLangTessControlMask|EShLangTessEvaluationMask|EShLangGeometryMask|
10899|      4|            EShLangFragmentMask|EShLangMeshMask), "input block");
10900|      4|        if (language == EShLangFragment) {
  ------------------
  |  Branch (10900:13): [True: 0, False: 4]
  ------------------
10901|      0|            profileRequires(loc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, "fragment input block");
10902|      4|        } else if (language == EShLangMesh && ! qualifier.isTaskMemory()) {
  ------------------
  |  Branch (10902:20): [True: 0, False: 4]
  |  Branch (10902:47): [True: 0, False: 0]
  ------------------
10903|      0|            error(loc, "input blocks cannot be used in a mesh shader", "out", "");
10904|      0|        }
10905|      4|        break;
10906|     32|    case EvqVaryingOut:
  ------------------
  |  Branch (10906:5): [True: 32, False: 4]
  ------------------
10907|     32|        profileRequires(loc, ~EEsProfile, 150, E_GL_ARB_separate_shader_objects, "output block");
10908|     32|        requireStage(loc, (EShLanguageMask)(EShLangVertexMask|EShLangTessControlMask|EShLangTessEvaluationMask|
10909|     32|            EShLangGeometryMask|EShLangMeshMask|EShLangTaskMask), "output block");
10910|       |        // ES 310 can have a block before shader_io is turned on, so skip this test for built-ins
10911|     32|        if (language == EShLangVertex && ! parsingBuiltins) {
  ------------------
  |  Branch (10911:13): [True: 4, False: 28]
  |  Branch (10911:42): [True: 0, False: 4]
  ------------------
10912|      0|            profileRequires(loc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, "vertex output block");
10913|     32|        } else if (language == EShLangMesh && qualifier.isTaskMemory()) {
  ------------------
  |  Branch (10913:20): [True: 16, False: 16]
  |  Branch (10913:47): [True: 0, False: 16]
  ------------------
10914|      0|            error(loc, "can only use on input blocks in mesh shader", "taskNV", "");
10915|     32|        } else if (language == EShLangTask && ! qualifier.isTaskMemory()) {
  ------------------
  |  Branch (10915:20): [True: 0, False: 32]
  |  Branch (10915:47): [True: 0, False: 0]
  ------------------
10916|      0|            error(loc, "output blocks cannot be used in a task shader", "out", "");
10917|      0|        }
10918|     32|        break;
10919|      0|    case EvqShared:
  ------------------
  |  Branch (10919:5): [True: 0, False: 36]
  ------------------
10920|      0|        if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_4) {
  ------------------
  |  Branch (10920:13): [True: 0, False: 0]
  |  Branch (10920:35): [True: 0, False: 0]
  ------------------
10921|      0|            error(loc, "shared block requires at least SPIR-V 1.4", "shared block", "");
10922|      0|        }
10923|      0|        profileRequires(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shared_memory_block, "shared block");
10924|      0|        break;
10925|      0|    case EvqPayload:
  ------------------
  |  Branch (10925:5): [True: 0, False: 36]
  ------------------
10926|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "rayPayloadNV block");
10927|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangAnyHitMask | EShLangClosestHitMask | EShLangMissMask),
10928|      0|            "rayPayloadNV block");
10929|      0|        break;
10930|      0|    case EvqPayloadIn:
  ------------------
  |  Branch (10930:5): [True: 0, False: 36]
  ------------------
10931|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "rayPayloadInNV block");
10932|      0|        requireStage(loc, (EShLanguageMask)(EShLangAnyHitMask | EShLangClosestHitMask | EShLangMissMask),
10933|      0|            "rayPayloadInNV block");
10934|      0|        break;
10935|      0|    case EvqHitAttr:
  ------------------
  |  Branch (10935:5): [True: 0, False: 36]
  ------------------
10936|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "hitAttributeNV block");
10937|      0|        requireStage(loc, (EShLanguageMask)(EShLangIntersectMask | EShLangAnyHitMask | EShLangClosestHitMask), "hitAttributeNV block");
10938|      0|        break;
10939|      0|    case EvqCallableData:
  ------------------
  |  Branch (10939:5): [True: 0, False: 36]
  ------------------
10940|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "callableDataNV block");
10941|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask),
10942|      0|            "callableDataNV block");
10943|      0|        break;
10944|      0|    case EvqCallableDataIn:
  ------------------
  |  Branch (10944:5): [True: 0, False: 36]
  ------------------
10945|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "callableDataInNV block");
10946|      0|        requireStage(loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInNV block");
10947|      0|        break;
10948|      0|    case EvqHitObjectAttrNV:
  ------------------
  |  Branch (10948:5): [True: 0, False: 36]
  ------------------
10949|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_NV_shader_invocation_reorder, "hitObjectAttributeNV block");
10950|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask), "hitObjectAttributeNV block");
10951|      0|        break;
10952|      0|    case EvqHitObjectAttrEXT:
  ------------------
  |  Branch (10952:5): [True: 0, False: 36]
  ------------------
10953|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_shader_invocation_reorder, "hitObjectAttributeEXT block");
10954|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask), "hitObjectAttributeEXT block");
10955|      0|        break;
10956|      0|    case EvqResourceHeap:
  ------------------
  |  Branch (10956:5): [True: 0, False: 36]
  ------------------
10957|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_structured_descriptor_heap, "resourceheap block");
10958|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_descriptor_heap, "resourceheap block");
10959|      0|        break;
10960|      0|    case EvqSamplerHeap:
  ------------------
  |  Branch (10960:5): [True: 0, False: 36]
  ------------------
10961|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_structured_descriptor_heap, "samplerheap block");
10962|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_descriptor_heap, "samplerheap block");
10963|      0|        break;
10964|      0|    default:
  ------------------
  |  Branch (10964:5): [True: 0, False: 36]
  ------------------
10965|      0|        error(loc, "only uniform, buffer, in, or out blocks are supported", blockName->c_str(), "");
10966|      0|        break;
10967|     36|    }
10968|     36|}
_ZN7glslang13TParseContext19blockQualifierCheckERKNS_10TSourceLocERKNS_10TQualifierEb:
10972|     36|{
10973|       |    // The 4.5 specification says:
10974|       |    //
10975|       |    // interface-block :
10976|       |    //    layout-qualifieropt interface-qualifier  block-name { member-list } instance-nameopt ;
10977|       |    //
10978|       |    // interface-qualifier :
10979|       |    //    in
10980|       |    //    out
10981|       |    //    patch in
10982|       |    //    patch out
10983|       |    //    uniform
10984|       |    //    buffer
10985|       |    //
10986|       |    // Note however memory qualifiers aren't included, yet the specification also says
10987|       |    //
10988|       |    // "...memory qualifiers may also be used in the declaration of shader storage blocks..."
10989|       |
10990|     36|    if (qualifier.isInterpolation())
  ------------------
  |  Branch (10990:9): [True: 0, False: 36]
  ------------------
10991|      0|        error(loc, "cannot use interpolation qualifiers on an interface block", "flat/smooth/noperspective", "");
10992|     36|    if (qualifier.centroid)
  ------------------
  |  Branch (10992:9): [True: 0, False: 36]
  ------------------
10993|      0|        error(loc, "cannot use centroid qualifier on an interface block", "centroid", "");
10994|     36|    if (qualifier.isSample())
  ------------------
  |  Branch (10994:9): [True: 0, False: 36]
  ------------------
10995|      0|        error(loc, "cannot use sample qualifier on an interface block", "sample", "");
10996|     36|    if (qualifier.invariant)
  ------------------
  |  Branch (10996:9): [True: 0, False: 36]
  ------------------
10997|      0|        error(loc, "cannot use invariant qualifier on an interface block", "invariant", "");
10998|     36|    if (qualifier.isPushConstant())
  ------------------
  |  Branch (10998:9): [True: 0, False: 36]
  ------------------
10999|      0|        intermediate.addPushConstantCount();
11000|     36|    if (qualifier.isShaderRecord())
  ------------------
  |  Branch (11000:9): [True: 0, False: 36]
  ------------------
11001|      0|        intermediate.addShaderRecordCount();
11002|     36|    if (qualifier.isTaskMemory())
  ------------------
  |  Branch (11002:9): [True: 0, False: 36]
  ------------------
11003|      0|        intermediate.addTaskNVCount();
11004|     36|}
_ZN7glslang13TParseContext17fixBlockLocationsERKNS_10TSourceLocERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEEbb:
11014|     36|{
11015|       |    // "If a block has no block-level location layout qualifier, it is required that either all or none of its members
11016|       |    // have a location layout qualifier, or a compile-time error results."
11017|     36|    if (! qualifier.hasLocation() && memberWithLocation && memberWithoutLocation)
  ------------------
  |  Branch (11017:9): [True: 36, False: 0]
  |  Branch (11017:38): [True: 0, False: 36]
  |  Branch (11017:60): [True: 0, False: 0]
  ------------------
11018|      0|        error(loc, "either the block needs a location, or all members need a location, or no members have a location", "location", "");
11019|     36|    else {
11020|     36|        if (memberWithLocation) {
  ------------------
  |  Branch (11020:13): [True: 0, False: 36]
  ------------------
11021|       |            // remove any block-level location and make it per *every* member
11022|      0|            int nextLocation = 0;  // by the rule above, initial value is not relevant
11023|      0|            if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (11023:17): [True: 0, False: 0]
  ------------------
11024|      0|                nextLocation = qualifier.layoutLocation;
11025|      0|                qualifier.layoutLocation = TQualifier::layoutLocationEnd;
11026|      0|                if (qualifier.hasComponent()) {
  ------------------
  |  Branch (11026:21): [True: 0, False: 0]
  ------------------
11027|       |                    // "It is a compile-time error to apply the *component* qualifier to a ... block"
11028|      0|                    error(loc, "cannot apply to a block", "component", "");
11029|      0|                }
11030|      0|                if (qualifier.hasIndex()) {
  ------------------
  |  Branch (11030:21): [True: 0, False: 0]
  ------------------
11031|      0|                    error(loc, "cannot apply to a block", "index", "");
11032|      0|                }
11033|      0|            }
11034|      0|            for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11034:43): [True: 0, False: 0]
  ------------------
11035|      0|                TQualifier& memberQualifier = typeList[member].type->getQualifier();
11036|      0|                const TSourceLoc& memberLoc = typeList[member].loc;
11037|      0|                if (! memberQualifier.hasLocation()) {
  ------------------
  |  Branch (11037:21): [True: 0, False: 0]
  ------------------
11038|      0|                    if (nextLocation >= (int)TQualifier::layoutLocationEnd)
  ------------------
  |  Branch (11038:25): [True: 0, False: 0]
  ------------------
11039|      0|                        error(memberLoc, "location is too large", "location", "");
11040|      0|                    memberQualifier.layoutLocation = nextLocation;
11041|      0|                    memberQualifier.layoutComponent = TQualifier::layoutComponentEnd;
11042|      0|                }
11043|      0|                nextLocation = memberQualifier.layoutLocation + intermediate.computeTypeLocationSize(
11044|      0|                                    *typeList[member].type, language);
11045|      0|            }
11046|      0|        }
11047|     36|    }
11048|     36|}
_ZN7glslang13TParseContext13fixXfbOffsetsERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEE:
11051|     36|{
11052|       |    // "If a block is qualified with xfb_offset, all its
11053|       |    // members are assigned transform feedback buffer offsets. If a block is not qualified with xfb_offset, any
11054|       |    // members of that block not qualified with an xfb_offset will not be assigned transform feedback buffer
11055|       |    // offsets."
11056|       |
11057|     36|    if (! qualifier.hasXfbBuffer() || ! qualifier.hasXfbOffset())
  ------------------
  |  Branch (11057:9): [True: 36, False: 0]
  |  Branch (11057:39): [True: 0, False: 0]
  ------------------
11058|     36|        return;
11059|       |
11060|      0|    int nextOffset = qualifier.layoutXfbOffset;
11061|      0|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11061:35): [True: 0, False: 0]
  ------------------
11062|      0|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
11063|      0|        bool contains64BitType = false;
11064|      0|        bool contains32BitType = false;
11065|      0|        bool contains16BitType = false;
11066|      0|        int memberSize = intermediate.computeTypeXfbSize(*typeList[member].type, contains64BitType, contains32BitType, contains16BitType);
11067|       |        // see if we need to auto-assign an offset to this member
11068|      0|        if (! memberQualifier.hasXfbOffset()) {
  ------------------
  |  Branch (11068:13): [True: 0, False: 0]
  ------------------
11069|       |            // "if applied to an aggregate containing a double or 64-bit integer, the offset must also be a multiple of 8"
11070|      0|            if (contains64BitType)
  ------------------
  |  Branch (11070:17): [True: 0, False: 0]
  ------------------
11071|      0|                RoundToPow2(nextOffset, 8);
11072|      0|            else if (contains32BitType)
  ------------------
  |  Branch (11072:22): [True: 0, False: 0]
  ------------------
11073|      0|                RoundToPow2(nextOffset, 4);
11074|      0|            else if (contains16BitType)
  ------------------
  |  Branch (11074:22): [True: 0, False: 0]
  ------------------
11075|      0|                RoundToPow2(nextOffset, 2);
11076|      0|            memberQualifier.layoutXfbOffset = nextOffset;
11077|      0|        } else
11078|      0|            nextOffset = memberQualifier.layoutXfbOffset;
11079|      0|        nextOffset += memberSize;
11080|      0|    }
11081|       |
11082|       |    // The above gave all block members an offset, so we can take it off the block now,
11083|       |    // which will avoid double counting the offset usage.
11084|      0|    qualifier.layoutXfbOffset = TQualifier::layoutXfbOffsetEnd;
11085|      0|}
_ZN7glslang13TParseContext22fixBlockUniformOffsetsERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEE:
11094|     36|{
11095|     36|    if (!storageCanHaveLayoutInBlock(qualifier.storage) && !qualifier.isTaskMemory())
  ------------------
  |  Branch (11095:9): [True: 36, False: 0]
  |  Branch (11095:60): [True: 36, False: 0]
  ------------------
11096|     36|        return;
11097|      0|    if (qualifier.layoutPacking != ElpStd140 && qualifier.layoutPacking != ElpStd430 && qualifier.layoutPacking != ElpScalar)
  ------------------
  |  Branch (11097:9): [True: 0, False: 0]
  |  Branch (11097:49): [True: 0, False: 0]
  |  Branch (11097:89): [True: 0, False: 0]
  ------------------
11098|      0|        return;
11099|       |
11100|      0|    int offset = 0;
11101|      0|    int memberSize;
11102|      0|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11102:35): [True: 0, False: 0]
  ------------------
11103|      0|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
11104|      0|        const TSourceLoc& memberLoc = typeList[member].loc;
11105|       |
11106|       |        // "When align is applied to an array, it effects only the start of the array, not the array's internal stride."
11107|       |
11108|       |        // modify just the children's view of matrix layout, if there is one for this member
11109|      0|        TLayoutMatrix subMatrixLayout = typeList[member].type->getQualifier().layoutMatrix;
11110|      0|        int dummyStride;
11111|      0|        int memberAlignment = intermediate.getMemberAlignment(*typeList[member].type, memberSize, dummyStride, qualifier.layoutPacking,
11112|      0|                                                              subMatrixLayout != ElmNone ? subMatrixLayout == ElmRowMajor : qualifier.layoutMatrix == ElmRowMajor);
  ------------------
  |  Branch (11112:63): [True: 0, False: 0]
  ------------------
11113|      0|        if (memberQualifier.hasOffset()) {
  ------------------
  |  Branch (11113:13): [True: 0, False: 0]
  ------------------
11114|       |            // "The specified offset must be a multiple
11115|       |            // of the base alignment of the type of the block member it qualifies, or a compile-time error results."
11116|      0|            if (! IsMultipleOfPow2(memberQualifier.layoutOffset, memberAlignment))
  ------------------
  |  Branch (11116:17): [True: 0, False: 0]
  ------------------
11117|      0|                error(memberLoc, "must be a multiple of the member's alignment", "offset",
11118|      0|                    "(layout offset = %d | member alignment = %d)", memberQualifier.layoutOffset, memberAlignment);
11119|       |
11120|       |            // GLSL: "It is a compile-time error to specify an offset that is smaller than the offset of the previous
11121|       |            // member in the block or that lies within the previous member of the block"
11122|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (11122:17): [True: 0, False: 0]
  ------------------
11123|      0|                if (memberQualifier.layoutOffset < offset)
  ------------------
  |  Branch (11123:21): [True: 0, False: 0]
  ------------------
11124|      0|                    error(memberLoc, "cannot lie in previous members", "offset", "");
11125|       |
11126|       |                // "The offset qualifier forces the qualified member to start at or after the specified
11127|       |                // integral-constant expression, which will be its byte offset from the beginning of the buffer.
11128|       |                // "The actual offset of a member is computed as
11129|       |                // follows: If offset was declared, start with that offset, otherwise start with the next available offset."
11130|      0|                offset = std::max(offset, memberQualifier.layoutOffset);
11131|      0|            } else {
11132|       |                // TODO: Vulkan: "It is a compile-time error to have any offset, explicit or assigned,
11133|       |                // that lies within another member of the block."
11134|       |
11135|      0|                offset = memberQualifier.layoutOffset;
11136|      0|            }
11137|      0|        }
11138|       |
11139|       |        // "The actual alignment of a member will be the greater of the specified align alignment and the standard
11140|       |        // (e.g., std140) base alignment for the member's type."
11141|      0|        if (memberQualifier.hasAlign())
  ------------------
  |  Branch (11141:13): [True: 0, False: 0]
  ------------------
11142|      0|            memberAlignment = std::max(memberAlignment, memberQualifier.layoutAlign);
11143|       |
11144|       |        // "If the resulting offset is not a multiple of the actual alignment,
11145|       |        // increase it to the first offset that is a multiple of
11146|       |        // the actual alignment."
11147|      0|        RoundToPow2(offset, memberAlignment);
11148|      0|        typeList[member].type->getQualifier().layoutOffset = offset;
11149|      0|        offset += memberSize;
11150|      0|    }
11151|      0|}
_ZN7glslang13TParseContext27fixBlockUniformLayoutMatrixERNS_10TQualifierEPNS_7TVectorINS_8TTypeLocEEES6_:
11159|     36|{
11160|     36|    assert(tmpTypeList == nullptr || originTypeList->size() == tmpTypeList->size());
11161|    232|    for (unsigned int member = 0; member < originTypeList->size(); ++member) {
  ------------------
  |  Branch (11161:35): [True: 196, False: 36]
  ------------------
11162|    196|        if (qualifier.layoutPacking != ElpNone) {
  ------------------
  |  Branch (11162:13): [True: 0, False: 196]
  ------------------
11163|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11163:17): [True: 0, False: 0]
  ------------------
11164|      0|                if (((*originTypeList)[member].type->isMatrix() ||
  ------------------
  |  Branch (11164:22): [True: 0, False: 0]
  ------------------
11165|      0|                     (*originTypeList)[member].type->getBasicType() == EbtStruct) &&
  ------------------
  |  Branch (11165:22): [True: 0, False: 0]
  ------------------
11166|      0|                    (*originTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11166:21): [True: 0, False: 0]
  ------------------
11167|      0|                    (*originTypeList)[member].type->getQualifier().layoutMatrix = qualifier.layoutMatrix;
11168|      0|                }
11169|      0|            } else {
11170|      0|                if (((*tmpTypeList)[member].type->isMatrix() ||
  ------------------
  |  Branch (11170:22): [True: 0, False: 0]
  ------------------
11171|      0|                     (*tmpTypeList)[member].type->getBasicType() == EbtStruct) &&
  ------------------
  |  Branch (11171:22): [True: 0, False: 0]
  ------------------
11172|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11172:21): [True: 0, False: 0]
  ------------------
11173|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutMatrix = qualifier.layoutMatrix;
11174|      0|                }
11175|      0|            }
11176|      0|        }
11177|       |
11178|    196|        if ((*originTypeList)[member].type->getBasicType() == EbtStruct) {
  ------------------
  |  Branch (11178:13): [True: 0, False: 196]
  ------------------
11179|      0|            TQualifier* memberQualifier = nullptr;
11180|       |            // block member can be declare a matrix style, so it should be update to the member's style
11181|      0|            if ((*originTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11181:17): [True: 0, False: 0]
  ------------------
11182|      0|                memberQualifier = &qualifier;
11183|      0|            } else {
11184|      0|                memberQualifier = &((*originTypeList)[member].type->getQualifier());
11185|      0|            }
11186|       |
11187|      0|            const TType* tmpType = tmpTypeList == nullptr ?
  ------------------
  |  Branch (11187:36): [True: 0, False: 0]
  ------------------
11188|      0|                (*originTypeList)[member].type->clone() : (*tmpTypeList)[member].type;
11189|       |
11190|      0|            fixBlockUniformLayoutMatrix(*memberQualifier, (*originTypeList)[member].type->getWritableStruct(),
11191|      0|                                        tmpType->getWritableStruct());
11192|       |
11193|      0|            const TTypeList* structure = recordStructCopy(matrixFixRecord, (*originTypeList)[member].type, tmpType);
11194|       |
11195|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11195:17): [True: 0, False: 0]
  ------------------
11196|      0|                (*originTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11197|      0|            }
11198|      0|            if (tmpTypeList != nullptr) {
  ------------------
  |  Branch (11198:17): [True: 0, False: 0]
  ------------------
11199|      0|                (*tmpTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11200|      0|            }
11201|      0|        }
11202|    196|    }
11203|     36|}
_ZN7glslang13TParseContext28fixBlockUniformLayoutPackingERNS_10TQualifierEPNS_7TVectorINS_8TTypeLocEEES6_:
11211|     36|{
11212|     36|    assert(tmpTypeList == nullptr || originTypeList->size() == tmpTypeList->size());
11213|    232|    for (unsigned int member = 0; member < originTypeList->size(); ++member) {
  ------------------
  |  Branch (11213:35): [True: 196, False: 36]
  ------------------
11214|    196|        if (qualifier.layoutPacking != ElpNone) {
  ------------------
  |  Branch (11214:13): [True: 0, False: 196]
  ------------------
11215|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11215:17): [True: 0, False: 0]
  ------------------
11216|      0|                if ((*originTypeList)[member].type->getQualifier().layoutPacking == ElpNone &&
  ------------------
  |  Branch (11216:21): [True: 0, False: 0]
  ------------------
11217|      0|                    !(*originTypeList)[member].type->isScalarOrVector()) {
  ------------------
  |  Branch (11217:21): [True: 0, False: 0]
  ------------------
11218|      0|                    (*originTypeList)[member].type->getQualifier().layoutPacking = qualifier.layoutPacking;
11219|      0|                }
11220|      0|            } else {
11221|      0|                if ((*tmpTypeList)[member].type->getQualifier().layoutPacking == ElpNone &&
  ------------------
  |  Branch (11221:21): [True: 0, False: 0]
  ------------------
11222|      0|                    !(*tmpTypeList)[member].type->isScalarOrVector()) {
  ------------------
  |  Branch (11222:21): [True: 0, False: 0]
  ------------------
11223|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutPacking = qualifier.layoutPacking;
11224|      0|                }
11225|      0|            }
11226|      0|        }
11227|       |
11228|    196|        if ((*originTypeList)[member].type->getBasicType() == EbtStruct) {
  ------------------
  |  Branch (11228:13): [True: 0, False: 196]
  ------------------
11229|       |            // Deep copy the type in pool.
11230|       |            // Because, struct use in different block may have different layout qualifier.
11231|       |            // We have to new a object to distinguish between them.
11232|      0|            const TType* tmpType = tmpTypeList == nullptr ?
  ------------------
  |  Branch (11232:36): [True: 0, False: 0]
  ------------------
11233|      0|                (*originTypeList)[member].type->clone() : (*tmpTypeList)[member].type;
11234|       |
11235|      0|            fixBlockUniformLayoutPacking(qualifier, (*originTypeList)[member].type->getWritableStruct(),
11236|      0|                                         tmpType->getWritableStruct());
11237|       |
11238|      0|            const TTypeList* structure = recordStructCopy(packingFixRecord, (*originTypeList)[member].type, tmpType);
11239|       |
11240|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11240:17): [True: 0, False: 0]
  ------------------
11241|      0|                (*originTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11242|      0|            }
11243|      0|            if (tmpTypeList != nullptr) {
  ------------------
  |  Branch (11243:17): [True: 0, False: 0]
  ------------------
11244|      0|                (*tmpTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11245|      0|            }
11246|      0|        }
11247|    196|    }
11248|     36|}
_ZN7glslang13TParseContext14invariantCheckERKNS_10TSourceLocERKNS_10TQualifierE:
11328|  6.71k|{
11329|  6.71k|    if (! qualifier.invariant)
  ------------------
  |  Branch (11329:9): [True: 6.71k, False: 0]
  ------------------
11330|  6.71k|        return;
11331|       |
11332|      0|    bool pipeOut = qualifier.isPipeOutput();
11333|      0|    bool pipeIn = qualifier.isPipeInput();
11334|      0|    if ((version >= 300 && isEsProfile()) || (!isEsProfile() && version >= 420)) {
  ------------------
  |  Branch (11334:10): [True: 0, False: 0]
  |  Branch (11334:28): [True: 0, False: 0]
  |  Branch (11334:47): [True: 0, False: 0]
  |  Branch (11334:65): [True: 0, False: 0]
  ------------------
11335|      0|        if (! pipeOut)
  ------------------
  |  Branch (11335:13): [True: 0, False: 0]
  ------------------
11336|      0|            error(loc, "can only apply to an output", "invariant", "");
11337|      0|    } else {
11338|      0|        if ((language == EShLangVertex && pipeIn) || (! pipeOut && ! pipeIn))
  ------------------
  |  Branch (11338:14): [True: 0, False: 0]
  |  Branch (11338:43): [True: 0, False: 0]
  |  Branch (11338:55): [True: 0, False: 0]
  |  Branch (11338:68): [True: 0, False: 0]
  ------------------
11339|      0|            error(loc, "can only apply to an output, or to an input in a non-vertex stage\n", "invariant", "");
11340|      0|    }
11341|      0|}
ParseHelper.cpp:_ZN7glslangL27storageCanHaveLayoutInBlockENS_17TStorageQualifierE:
 8099|     36|{
 8100|     36|    switch (storage) {
 8101|      0|    case EvqUniform:
  ------------------
  |  Branch (8101:5): [True: 0, False: 36]
  ------------------
 8102|      0|    case EvqBuffer:
  ------------------
  |  Branch (8102:5): [True: 0, False: 36]
  ------------------
 8103|      0|    case EvqShared:
  ------------------
  |  Branch (8103:5): [True: 0, False: 36]
  ------------------
 8104|      0|    case EvqSamplerHeap:
  ------------------
  |  Branch (8104:5): [True: 0, False: 36]
  ------------------
 8105|      0|    case EvqResourceHeap:
  ------------------
  |  Branch (8105:5): [True: 0, False: 36]
  ------------------
 8106|      0|        return true;
 8107|     36|    default:
  ------------------
  |  Branch (8107:5): [True: 36, False: 0]
  ------------------
 8108|     36|        return false;
 8109|     36|    }
 8110|     36|}

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

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

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

_ZNK7glslang5TType16buildMangledNameERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
   57|   500k|{
   58|   500k|    if (isTensorARM())
  ------------------
  |  Branch (58:9): [True: 244, False: 500k]
  ------------------
   59|    244|        mangledName += 'T';
   60|   500k|    else if (isMatrix())
  ------------------
  |  Branch (60:14): [True: 132k, False: 367k]
  ------------------
   61|   132k|        mangledName += 'm';
   62|   367k|    else if (isVector())
  ------------------
  |  Branch (62:14): [True: 167k, False: 199k]
  ------------------
   63|   167k|        mangledName += 'v';
   64|       |
   65|   500k|    if (isCoopVecNV())
  ------------------
  |  Branch (65:9): [True: 3.14k, False: 497k]
  ------------------
   66|  3.14k|        mangledName += "coopvec";
   67|       |
   68|   500k|    switch (basicType) {
   69|   179k|    case EbtFloat:              mangledName += 'f';      break;
  ------------------
  |  Branch (69:5): [True: 179k, False: 321k]
  ------------------
   70|   115k|    case EbtInt:                mangledName += 'i';      break;
  ------------------
  |  Branch (70:5): [True: 115k, False: 384k]
  ------------------
   71|  78.3k|    case EbtUint:               mangledName += 'u';      break;
  ------------------
  |  Branch (71:5): [True: 78.3k, False: 422k]
  ------------------
   72|  7.24k|    case EbtBool:               mangledName += 'b';      break;
  ------------------
  |  Branch (72:5): [True: 7.24k, False: 493k]
  ------------------
   73|  11.3k|    case EbtDouble:             mangledName += 'd';      break;
  ------------------
  |  Branch (73:5): [True: 11.3k, False: 489k]
  ------------------
   74|  11.6k|    case EbtFloat16:            mangledName += "f16";    break;
  ------------------
  |  Branch (74:5): [True: 11.6k, False: 488k]
  ------------------
   75|    128|    case EbtBFloat16:           mangledName += "bf16";   break;
  ------------------
  |  Branch (75:5): [True: 128, False: 500k]
  ------------------
   76|     96|    case EbtFloatE5M2:          mangledName += "fe5m2";  break;
  ------------------
  |  Branch (76:5): [True: 96, False: 500k]
  ------------------
   77|     96|    case EbtFloatE4M3:          mangledName += "fe4m3";  break;
  ------------------
  |  Branch (77:5): [True: 96, False: 500k]
  ------------------
   78|  2.19k|    case EbtInt8:               mangledName += "i8";     break;
  ------------------
  |  Branch (78:5): [True: 2.19k, False: 498k]
  ------------------
   79|  2.10k|    case EbtUint8:              mangledName += "u8";     break;
  ------------------
  |  Branch (79:5): [True: 2.10k, False: 498k]
  ------------------
   80|  2.83k|    case EbtInt16:              mangledName += "i16";    break;
  ------------------
  |  Branch (80:5): [True: 2.83k, False: 497k]
  ------------------
   81|  2.65k|    case EbtUint16:             mangledName += "u16";    break;
  ------------------
  |  Branch (81:5): [True: 2.65k, False: 497k]
  ------------------
   82|  3.57k|    case EbtInt64:              mangledName += "i64";    break;
  ------------------
  |  Branch (82:5): [True: 3.57k, False: 496k]
  ------------------
   83|  5.35k|    case EbtUint64:             mangledName += "u64";    break;
  ------------------
  |  Branch (83:5): [True: 5.35k, False: 495k]
  ------------------
   84|     24|    case EbtAtomicUint:         mangledName += "au";     break;
  ------------------
  |  Branch (84:5): [True: 24, False: 500k]
  ------------------
   85|      0|    case EbtAccStruct:          mangledName += "as";     break;
  ------------------
  |  Branch (85:5): [True: 0, False: 500k]
  ------------------
   86|      0|    case EbtRayQuery:           mangledName += "rq";     break;
  ------------------
  |  Branch (86:5): [True: 0, False: 500k]
  ------------------
   87|      0|    case EbtSpirvType:          mangledName += "spv-t";  break;
  ------------------
  |  Branch (87:5): [True: 0, False: 500k]
  ------------------
   88|      0|    case EbtHitObjectNV:        mangledName += "ho";     break;
  ------------------
  |  Branch (88:5): [True: 0, False: 500k]
  ------------------
   89|      0|    case EbtHitObjectEXT:       mangledName += "ho";     break;
  ------------------
  |  Branch (89:5): [True: 0, False: 500k]
  ------------------
   90|    148|    case EbtTensorLayoutNV:     mangledName += "tl";     break;
  ------------------
  |  Branch (90:5): [True: 148, False: 500k]
  ------------------
   91|     76|    case EbtTensorViewNV:       mangledName += "tv";     break;
  ------------------
  |  Branch (91:5): [True: 76, False: 500k]
  ------------------
   92|  72.4k|    case EbtSampler:
  ------------------
  |  Branch (92:5): [True: 72.4k, False: 428k]
  ------------------
   93|  72.4k|        switch (sampler.type) {
   94|  6.61k|        case EbtFloat16: mangledName += "f16"; break;
  ------------------
  |  Branch (94:9): [True: 6.61k, False: 65.7k]
  ------------------
   95|  12.6k|        case EbtInt:   mangledName += "i"; break;
  ------------------
  |  Branch (95:9): [True: 12.6k, False: 59.7k]
  ------------------
   96|  12.6k|        case EbtUint:  mangledName += "u"; break;
  ------------------
  |  Branch (96:9): [True: 12.6k, False: 59.7k]
  ------------------
   97|  1.04k|        case EbtInt64:   mangledName += "i64"; break;
  ------------------
  |  Branch (97:9): [True: 1.04k, False: 71.3k]
  ------------------
   98|  1.04k|        case EbtUint64:  mangledName += "u64"; break;
  ------------------
  |  Branch (98:9): [True: 1.04k, False: 71.3k]
  ------------------
   99|  38.3k|        default: break; // some compilers want this
  ------------------
  |  Branch (99:9): [True: 38.3k, False: 34.0k]
  ------------------
  100|  72.4k|        }
  101|  72.4k|        if (sampler.isImageClass())
  ------------------
  |  Branch (101:13): [True: 8.97k, False: 63.4k]
  ------------------
  102|  8.97k|            mangledName += "I";  // a normal image or subpass
  103|  63.4k|        else if (sampler.isPureSampler())
  ------------------
  |  Branch (103:18): [True: 21.8k, False: 41.6k]
  ------------------
  104|  21.8k|            mangledName += "p";  // a "pure" sampler
  105|  41.6k|        else if (!sampler.isCombined())
  ------------------
  |  Branch (105:18): [True: 26.1k, False: 15.4k]
  ------------------
  106|  26.1k|            mangledName += "t";  // a "pure" texture
  107|  15.4k|        else
  108|  15.4k|            mangledName += "s";  // traditional combined sampler
  109|  72.4k|        if (sampler.isArrayed())
  ------------------
  |  Branch (109:13): [True: 19.2k, False: 53.1k]
  ------------------
  110|  19.2k|            mangledName += "A";
  111|  72.4k|        if (sampler.isShadow())
  ------------------
  |  Branch (111:13): [True: 11.1k, False: 61.2k]
  ------------------
  112|  11.1k|            mangledName += "S";
  113|  72.4k|        if (sampler.isExternal())
  ------------------
  |  Branch (113:13): [True: 270, False: 72.1k]
  ------------------
  114|    270|            mangledName += "E";
  115|  72.4k|        if (sampler.isYuv())
  ------------------
  |  Branch (115:13): [True: 720, False: 71.6k]
  ------------------
  116|    720|            mangledName += "Y";
  117|  72.4k|        switch (sampler.dim) {
  118|  25.9k|        case Esd2D:       mangledName += "2";  break;
  ------------------
  |  Branch (118:9): [True: 25.9k, False: 46.4k]
  ------------------
  119|  4.26k|        case Esd3D:       mangledName += "3";  break;
  ------------------
  |  Branch (119:9): [True: 4.26k, False: 68.1k]
  ------------------
  120|  8.24k|        case EsdCube:     mangledName += "C";  break;
  ------------------
  |  Branch (120:9): [True: 8.24k, False: 64.1k]
  ------------------
  121|  8.30k|        case Esd1D:       mangledName += "1";  break;
  ------------------
  |  Branch (121:9): [True: 8.30k, False: 64.1k]
  ------------------
  122|  1.97k|        case EsdRect:     mangledName += "R2"; break;
  ------------------
  |  Branch (122:9): [True: 1.97k, False: 70.4k]
  ------------------
  123|    978|        case EsdBuffer:   mangledName += "B";  break;
  ------------------
  |  Branch (123:9): [True: 978, False: 71.4k]
  ------------------
  124|    840|        case EsdSubpass:  mangledName += "P";  break;
  ------------------
  |  Branch (124:9): [True: 840, False: 71.5k]
  ------------------
  125|  21.8k|        default: break; // some compilers want this
  ------------------
  |  Branch (125:9): [True: 21.8k, False: 50.5k]
  ------------------
  126|  72.4k|        }
  127|       |
  128|  72.4k|#ifdef ENABLE_HLSL
  129|  72.4k|        if (sampler.hasReturnStruct()) {
  ------------------
  |  Branch (129:13): [True: 0, False: 72.4k]
  ------------------
  130|       |            // Name mangle for sampler return struct uses struct table index.
  131|      0|            mangledName += "-tx-struct";
  132|       |
  133|      0|            char text[16]; // plenty enough space for the small integers.
  134|      0|            snprintf(text, sizeof(text), "%u-", sampler.getStructReturnIndex());
  135|      0|            mangledName += text;
  136|  72.4k|        } else {
  137|  72.4k|            switch (sampler.getVectorSize()) {
  ------------------
  |  Branch (137:21): [True: 72.4k, False: 0]
  ------------------
  138|  5.46k|            case 1: mangledName += "1"; break;
  ------------------
  |  Branch (138:13): [True: 5.46k, False: 66.9k]
  ------------------
  139|  15.9k|            case 2: mangledName += "2"; break;
  ------------------
  |  Branch (139:13): [True: 15.9k, False: 56.4k]
  ------------------
  140|  2.20k|            case 3: mangledName += "3"; break;
  ------------------
  |  Branch (140:13): [True: 2.20k, False: 70.2k]
  ------------------
  141|  48.7k|            case 4: break; // default to prior name mangle behavior
  ------------------
  |  Branch (141:13): [True: 48.7k, False: 23.6k]
  ------------------
  142|  72.4k|            }
  143|  72.4k|        }
  144|  72.4k|#endif
  145|       |
  146|  72.4k|        if (sampler.isMultiSample())
  ------------------
  |  Branch (146:13): [True: 2.83k, False: 69.5k]
  ------------------
  147|  2.83k|            mangledName += "M";
  148|  72.4k|        break;
  149|     48|    case EbtStruct:
  ------------------
  |  Branch (149:5): [True: 48, False: 500k]
  ------------------
  150|     48|    case EbtBlock:
  ------------------
  |  Branch (150:5): [True: 0, False: 500k]
  ------------------
  151|     48|        if (basicType == EbtStruct)
  ------------------
  |  Branch (151:13): [True: 48, False: 0]
  ------------------
  152|     48|            mangledName += "struct-";
  153|      0|        else
  154|      0|            mangledName += "block-";
  155|     48|        if (typeName)
  ------------------
  |  Branch (155:13): [True: 48, False: 0]
  ------------------
  156|     48|            mangledName += *typeName;
  157|    288|        for (unsigned int i = 0; i < structure->size(); ++i) {
  ------------------
  |  Branch (157:34): [True: 240, False: 48]
  ------------------
  158|    240|            if ((*structure)[i].type->getBasicType() == EbtVoid)
  ------------------
  |  Branch (158:17): [True: 0, False: 240]
  ------------------
  159|      0|                continue;
  160|    240|            mangledName += '-';
  161|    240|            (*structure)[i].type->buildMangledName(mangledName);
  162|    240|        }
  163|     48|        break;
  164|  5.64k|    default:
  ------------------
  |  Branch (164:5): [True: 5.64k, False: 494k]
  ------------------
  165|  5.64k|        break;
  166|   500k|    }
  167|       |
  168|   500k|    if (getVectorSize() > 0)
  ------------------
  |  Branch (168:9): [True: 367k, False: 132k]
  ------------------
  169|   367k|        mangledName += static_cast<char>('0' + getVectorSize());
  170|   132k|    else {
  171|   132k|        mangledName += static_cast<char>('0' + getMatrixCols());
  172|   132k|        mangledName += static_cast<char>('0' + getMatrixRows());
  173|   132k|    }
  174|       |
  175|   500k|    if (typeParameters) {
  ------------------
  |  Branch (175:9): [True: 0, False: 500k]
  ------------------
  176|      0|        const int maxSize = 11;
  177|      0|        char buf[maxSize];
  178|      0|        for (int i = 0; i < typeParameters->arraySizes->getNumDims(); ++i) {
  ------------------
  |  Branch (178:25): [True: 0, False: 0]
  ------------------
  179|      0|            if (typeParameters->arraySizes->getDimNode(i)) {
  ------------------
  |  Branch (179:17): [True: 0, False: 0]
  ------------------
  180|      0|                if (typeParameters->arraySizes->getDimNode(i)->getAsSymbolNode())
  ------------------
  |  Branch (180:21): [True: 0, False: 0]
  ------------------
  181|      0|                    snprintf(buf, maxSize, "s%lld", typeParameters->arraySizes->getDimNode(i)->getAsSymbolNode()->getId());
  182|      0|                else
  183|      0|                    snprintf(buf, maxSize, "s%p", typeParameters->arraySizes->getDimNode(i));
  184|      0|            } else
  185|      0|                snprintf(buf, maxSize, "%d", typeParameters->arraySizes->getDimSize(i));
  186|      0|            mangledName += '<';
  187|      0|            mangledName += buf;
  188|      0|            mangledName += '>';
  189|      0|        }
  190|      0|    }
  191|       |
  192|   500k|    if (arraySizes) {
  ------------------
  |  Branch (192:9): [True: 5.52k, False: 494k]
  ------------------
  193|  5.52k|        const int maxSize = 11;
  194|  5.52k|        char buf[maxSize];
  195|  11.0k|        for (int i = 0; i < arraySizes->getNumDims(); ++i) {
  ------------------
  |  Branch (195:25): [True: 5.52k, False: 5.52k]
  ------------------
  196|  5.52k|            if (arraySizes->getDimNode(i)) {
  ------------------
  |  Branch (196:17): [True: 0, False: 5.52k]
  ------------------
  197|      0|                if (arraySizes->getDimNode(i)->getAsSymbolNode())
  ------------------
  |  Branch (197:21): [True: 0, False: 0]
  ------------------
  198|      0|                    snprintf(buf, maxSize, "s%lld", arraySizes->getDimNode(i)->getAsSymbolNode()->getId());
  199|      0|                else
  200|      0|                    snprintf(buf, maxSize, "s%p", (void*)(arraySizes->getDimNode(i)));
  201|      0|            } else
  202|  5.52k|                snprintf(buf, maxSize, "%d", arraySizes->getDimSize(i));
  203|  5.52k|            mangledName += '[';
  204|  5.52k|            mangledName += buf;
  205|  5.52k|            mangledName += ']';
  206|  5.52k|        }
  207|  5.52k|    }
  208|   500k|}
_ZN7glslang9TFunctionD2Ev:
  292|   397k|{
  293|  1.32M|    for (TParamList::iterator i = parameters.begin(); i != parameters.end(); ++i)
  ------------------
  |  Branch (293:55): [True: 922k, False: 397k]
  ------------------
  294|   922k|        delete (*i).type;
  295|   397k|}
_ZN7glslang17TSymbolTableLevelD2Ev:
  301|  1.67k|{
  302|   404k|    for (tLevel::iterator it = level.begin(); it != level.end(); ++it) {
  ------------------
  |  Branch (302:47): [True: 402k, False: 1.67k]
  ------------------
  303|   402k|        const TString& name = it->first;
  304|   402k|        auto retargetIter = std::find_if(retargetedSymbols.begin(), retargetedSymbols.end(),
  305|   402k|                                      [&name](const std::pair<TString, TString>& i) { return i.first == name; });
  306|   402k|        if (retargetIter == retargetedSymbols.end())
  ------------------
  |  Branch (306:13): [True: 402k, False: 0]
  ------------------
  307|   402k|            delete (*it).second;
  308|   402k|    }
  309|       |
  310|       |
  311|  1.67k|    delete [] defaultPrecision;
  312|  1.67k|}
_ZN7glslang17TSymbolTableLevel16relateToOperatorEPKcNS_9TOperatorE:
  319|   281k|{
  320|   281k|    tLevel::const_iterator candidate = level.lower_bound(name);
  321|  2.81M|    while (candidate != level.end()) {
  ------------------
  |  Branch (321:12): [True: 2.70M, False: 112k]
  ------------------
  322|  2.70M|        const TString& candidateName = (*candidate).first;
  323|  2.70M|        TString::size_type parenAt = candidateName.find_first_of('(');
  324|  2.70M|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (324:13): [True: 2.69M, False: 8.72k]
  |  Branch (324:46): [True: 2.53M, False: 161k]
  ------------------
  325|  2.53M|            TFunction* function = (*candidate).second->getAsFunction();
  326|  2.53M|            function->relateToOperator(op);
  327|  2.53M|        } else
  328|   169k|            break;
  329|  2.53M|        ++candidate;
  330|  2.53M|    }
  331|   281k|}
_ZN7glslang17TSymbolTableLevel21setFunctionExtensionsEPKciPKS2_:
  336|  6.62k|{
  337|  6.62k|    tLevel::const_iterator candidate = level.lower_bound(name);
  338|  21.8k|    while (candidate != level.end()) {
  ------------------
  |  Branch (338:12): [True: 21.3k, False: 528]
  ------------------
  339|  21.3k|        const TString& candidateName = (*candidate).first;
  340|  21.3k|        TString::size_type parenAt = candidateName.find_first_of('(');
  341|  21.3k|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (341:13): [True: 20.8k, False: 486]
  |  Branch (341:46): [True: 15.2k, False: 5.60k]
  ------------------
  342|  15.2k|            TSymbol* symbol = candidate->second;
  343|  15.2k|            symbol->setExtensions(num, extensions);
  344|  15.2k|        } else
  345|  6.09k|            break;
  346|  15.2k|        ++candidate;
  347|  15.2k|    }
  348|  6.62k|}
_ZN7glslang17TSymbolTableLevel29setFunctionExtensionsCallbackEPKcRKNSt3__18functionIFNS3_6vectorIS2_NS3_9allocatorIS2_EEEES2_EEE:
  352|     80|{
  353|     80|    tLevel::const_iterator candidate = level.lower_bound(name);
  354|  2.75k|    while (candidate != level.end()) {
  ------------------
  |  Branch (354:12): [True: 2.75k, False: 0]
  ------------------
  355|  2.75k|        const TString& candidateName = (*candidate).first;
  356|  2.75k|        TString::size_type parenAt = candidateName.find_first_of('(');
  357|  2.75k|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (357:13): [True: 2.75k, False: 0]
  |  Branch (357:46): [True: 2.67k, False: 80]
  ------------------
  358|  2.67k|            TSymbol* symbol = candidate->second;
  359|       |
  360|  2.67k|            auto exts = func(candidateName.c_str());
  361|  2.67k|            symbol->setExtensions(exts.size(), exts.data());
  362|  2.67k|        } else
  363|     80|            break;
  364|  2.67k|        ++candidate;
  365|  2.67k|    }
  366|     80|}
_ZN7glslang17TSymbolTableLevel8readOnlyEv:
  382|  1.34k|{
  383|  2.43M|    for (tLevel::iterator it = level.begin(); it != level.end(); ++it)
  ------------------
  |  Branch (383:47): [True: 2.43M, False: 1.34k]
  ------------------
  384|  2.43M|        (*it).second->makeReadOnly();
  385|  1.34k|}
_ZN7glslang7TSymbolC2ERKS0_:
  391|   188k|{
  392|   188k|    name = NewPoolTString(copyOf.name->c_str());
  393|   188k|    mangledName = NewPoolTString(copyOf.mangledName->c_str());
  394|   188k|    uniqueId = copyOf.uniqueId;
  395|   188k|    writable = true;
  396|   188k|}
_ZN7glslang9TVariableC2ERKS0_:
  398|  1.71k|TVariable::TVariable(const TVariable& copyOf) : TSymbol(copyOf)
  399|  1.71k|{
  400|  1.71k|    type.deepCopy(copyOf.type);
  401|  1.71k|    userType = copyOf.userType;
  402|       |
  403|       |    // we don't support specialization-constant subtrees in cloned tables, only extensions
  404|  1.71k|    constSubtree = nullptr;
  405|  1.71k|    extensions = nullptr;
  406|  1.71k|    memberExtensions = nullptr;
  407|  1.71k|    if (copyOf.getNumExtensions() > 0)
  ------------------
  |  Branch (407:9): [True: 694, False: 1.02k]
  ------------------
  408|    694|        setExtensions(copyOf.getNumExtensions(), copyOf.getExtensions());
  409|  1.71k|    if (copyOf.hasMemberExtensions()) {
  ------------------
  |  Branch (409:9): [True: 12, False: 1.70k]
  ------------------
  410|     86|        for (int m = 0; m < (int)copyOf.type.getStruct()->size(); ++m) {
  ------------------
  |  Branch (410:25): [True: 74, False: 12]
  ------------------
  411|     74|            if (copyOf.getNumMemberExtensions(m) > 0)
  ------------------
  |  Branch (411:17): [True: 58, False: 16]
  ------------------
  412|     58|                setMemberExtensions(m, copyOf.getNumMemberExtensions(m), copyOf.getMemberExtensions(m));
  413|     74|        }
  414|     12|    }
  415|       |
  416|  1.71k|    if (! copyOf.constArray.empty()) {
  ------------------
  |  Branch (416:9): [True: 226, False: 1.48k]
  ------------------
  417|       |        assert(! copyOf.type.isStruct());
  418|    226|        TConstUnionArray newArray(copyOf.constArray, 0, copyOf.constArray.size());
  419|    226|        constArray = newArray;
  420|    226|    }
  421|  1.71k|}
_ZNK7glslang9TVariable5cloneEv:
  424|  1.71k|{
  425|  1.71k|    TVariable *variable = new TVariable(*this);
  426|       |
  427|  1.71k|    return variable;
  428|  1.71k|}
_ZN7glslang9TFunctionC2ERKS0_:
  430|   186k|TFunction::TFunction(const TFunction& copyOf) : TSymbol(copyOf)
  431|   186k|{
  432|   613k|    for (unsigned int i = 0; i < copyOf.parameters.size(); ++i) {
  ------------------
  |  Branch (432:30): [True: 426k, False: 186k]
  ------------------
  433|   426k|        TParameter param{};
  434|   426k|        parameters.push_back(param);
  435|   426k|        (void)parameters.back().copyParam(copyOf.parameters[i]);
  436|   426k|    }
  437|       |
  438|   186k|    extensions = nullptr;
  439|   186k|    if (copyOf.getNumExtensions() > 0)
  ------------------
  |  Branch (439:9): [True: 13.7k, False: 172k]
  ------------------
  440|  13.7k|        setExtensions(copyOf.getNumExtensions(), copyOf.getExtensions());
  441|   186k|    returnType.deepCopy(copyOf.returnType);
  442|   186k|    mangledName = copyOf.mangledName;
  443|   186k|    op = copyOf.op;
  444|   186k|    defined = copyOf.defined;
  445|   186k|    prototyped = copyOf.prototyped;
  446|   186k|    implicitThis = copyOf.implicitThis;
  447|   186k|    variadic = copyOf.variadic;
  448|   186k|    illegalImplicitThis = copyOf.illegalImplicitThis;
  449|   186k|    defaultParamCount = copyOf.defaultParamCount;
  450|   186k|    spirvInst = copyOf.spirvInst;
  451|   186k|}
_ZNK7glslang9TFunction5cloneEv:
  454|   186k|{
  455|   186k|    TFunction *function = new TFunction(*this);
  456|       |
  457|   186k|    return function;
  458|   186k|}
_ZNK7glslang17TSymbolTableLevel5cloneEv:
  471|    735|{
  472|    735|    TSymbolTableLevel *symTableLevel = new TSymbolTableLevel();
  473|    735|    symTableLevel->anonId = anonId;
  474|    735|    symTableLevel->thisLevel = thisLevel;
  475|    735|    symTableLevel->retargetedSymbols.clear();
  476|    735|    for (auto &s : retargetedSymbols) {
  ------------------
  |  Branch (476:18): [True: 0, False: 735]
  ------------------
  477|      0|        symTableLevel->retargetedSymbols.push_back({s.first, s.second});
  478|      0|    }
  479|    735|    std::vector<bool> containerCopied(anonId, false);
  480|    735|    tLevel::const_iterator iter;
  481|   189k|    for (iter = level.begin(); iter != level.end(); ++iter) {
  ------------------
  |  Branch (481:32): [True: 188k, False: 735]
  ------------------
  482|   188k|        const TAnonMember* anon = iter->second->getAsAnonMember();
  483|   188k|        if (anon) {
  ------------------
  |  Branch (483:13): [True: 24, False: 188k]
  ------------------
  484|       |            // Insert all the anonymous members of this same container at once,
  485|       |            // avoid inserting the remaining members in the future, once this has been done,
  486|       |            // allowing them to all be part of the same new container.
  487|     24|            if (! containerCopied[anon->getAnonId()]) {
  ------------------
  |  Branch (487:17): [True: 6, False: 18]
  ------------------
  488|      6|                TVariable* container = anon->getAnonContainer().clone();
  489|      6|                container->changeName(NewPoolTString(""));
  490|       |                // insert the container and all its members
  491|      6|                symTableLevel->insert(*container, false);
  492|      6|                containerCopied[anon->getAnonId()] = true;
  493|      6|            }
  494|   188k|        } else {
  495|   188k|            const TString& name = iter->first;
  496|   188k|            auto retargetIter = std::find_if(retargetedSymbols.begin(), retargetedSymbols.end(),
  497|   188k|                                          [&name](const std::pair<TString, TString>& i) { return i.first == name; });
  498|   188k|            if (retargetIter != retargetedSymbols.end())
  ------------------
  |  Branch (498:17): [True: 0, False: 188k]
  ------------------
  499|      0|                continue;
  500|   188k|            symTableLevel->insert(*iter->second->clone(), false);
  501|   188k|        }
  502|   188k|    }
  503|       |    // Now point retargeted symbols to the newly created versions of them
  504|    735|    for (auto &s : retargetedSymbols) {
  ------------------
  |  Branch (504:18): [True: 0, False: 735]
  ------------------
  505|      0|        TSymbol* sym = symTableLevel->find(s.second);
  506|      0|        if (!sym)
  ------------------
  |  Branch (506:13): [True: 0, False: 0]
  ------------------
  507|      0|            continue;
  508|      0|        symTableLevel->insert(s.first, sym);
  509|      0|    }
  510|       |
  511|    735|    return symTableLevel;
  512|    735|}
_ZN7glslang12TSymbolTable9copyTableERKS0_:
  515|    735|{
  516|    735|    assert(adoptedLevels == copyOf.adoptedLevels);
  517|       |
  518|    735|    uniqueId = copyOf.uniqueId;
  519|    735|    noBuiltInRedeclarations = copyOf.noBuiltInRedeclarations;
  520|    735|    separateNameSpaces = copyOf.separateNameSpaces;
  521|  1.47k|    for (unsigned int i = copyOf.adoptedLevels; i < copyOf.table.size(); ++i)
  ------------------
  |  Branch (521:49): [True: 735, False: 735]
  ------------------
  522|    735|        table.push_back(copyOf.table[i]->clone());
  523|    735|}

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

_Z7yyparsePN7glslang13TParseContextE:
 5229|    346|{
 5230|       |/* Lookahead token kind.  */
 5231|    346|int yychar;
 5232|       |
 5233|       |
 5234|       |/* The semantic value of the lookahead symbol.  */
 5235|       |/* Default value used for initialization, for pacifying older GCCs
 5236|       |   or non-GCC compilers.  */
 5237|    346|YY_INITIAL_VALUE (static YYSTYPE yyval_default;)
  ------------------
  |  |  931|    346|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 5238|    346|YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default);
  ------------------
  |  |  931|    346|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 5239|       |
 5240|       |    /* Number of syntax errors so far.  */
 5241|    346|    int yynerrs = 0;
 5242|       |
 5243|    346|    yy_state_fast_t yystate = 0;
 5244|       |    /* Number of tokens to shift before error messages enabled.  */
 5245|    346|    int yyerrstatus = 0;
 5246|       |
 5247|       |    /* Refer to the stacks through separate pointers, to allow yyoverflow
 5248|       |       to reallocate them elsewhere.  */
 5249|       |
 5250|       |    /* Their size.  */
 5251|    346|    YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  |  838|    346|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
                  YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  | 4913|    346|# define YYINITDEPTH 200
  ------------------
 5252|       |
 5253|       |    /* The state stack: array, bottom, top.  */
 5254|    346|    yy_state_t yyssa[YYINITDEPTH];
 5255|    346|    yy_state_t *yyss = yyssa;
 5256|    346|    yy_state_t *yyssp = yyss;
 5257|       |
 5258|       |    /* The semantic value stack: array, bottom, top.  */
 5259|    346|    YYSTYPE yyvsa[YYINITDEPTH];
 5260|    346|    YYSTYPE *yyvs = yyvsa;
 5261|    346|    YYSTYPE *yyvsp = yyvs;
 5262|       |
 5263|    346|  int yyn;
 5264|       |  /* The return value of yyparse.  */
 5265|    346|  int yyresult;
 5266|       |  /* Lookahead symbol kind.  */
 5267|    346|  yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY;
 5268|       |  /* The variables used to return semantic value and location from the
 5269|       |     action routines.  */
 5270|    346|  YYSTYPE yyval;
 5271|       |
 5272|       |  /* Buffer for error messages, and its allocated size.  */
 5273|    346|  char yymsgbuf[128];
 5274|    346|  char *yymsg = yymsgbuf;
 5275|    346|  YYPTRDIFF_T yymsg_alloc = sizeof yymsgbuf;
  ------------------
  |  |  838|    346|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5276|       |
 5277|    346|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
 5278|       |
 5279|       |  /* The number of symbols on the RHS of the reduced rule.
 5280|       |     Keep to zero when no symbol should be popped.  */
 5281|    346|  int yylen = 0;
 5282|       |
 5283|    346|  YYDPRINTF ((stderr, "Starting parse\n"));
  ------------------
  |  | 4791|    346|# define YYDPRINTF(Args)                        \
  |  | 4792|    346|do {                                            \
  |  | 4793|    346|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (4793:7): [True: 0, False: 346]
  |  |  ------------------
  |  | 4794|    346|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4795|    346|} while (0)
  |  |  ------------------
  |  |  |  Branch (4795:10): [Folded, False: 346]
  |  |  ------------------
  ------------------
 5284|       |
 5285|    346|  yychar = YYEMPTY; /* Cause a token to be read.  */
 5286|       |
 5287|    346|  goto yysetstate;
 5288|       |
 5289|       |
 5290|       |/*------------------------------------------------------------.
 5291|       || yynewstate -- push a new state, which is found in yystate.  |
 5292|       |`------------------------------------------------------------*/
 5293|  2.81M|yynewstate:
 5294|       |  /* In all cases, when you get here, the value and location stacks
 5295|       |     have just been pushed.  So pushing a state here evens the stacks.  */
 5296|  2.81M|  yyssp++;
 5297|       |
 5298|       |
 5299|       |/*--------------------------------------------------------------------.
 5300|       || yysetstate -- set current state (the top of the stack) to yystate.  |
 5301|       |`--------------------------------------------------------------------*/
 5302|  2.81M|yysetstate:
 5303|  2.81M|  YYDPRINTF ((stderr, "Entering state %d\n", yystate));
  ------------------
  |  | 4791|  2.81M|# define YYDPRINTF(Args)                        \
  |  | 4792|  2.81M|do {                                            \
  |  | 4793|  2.81M|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (4793:7): [True: 0, False: 2.81M]
  |  |  ------------------
  |  | 4794|  2.81M|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4795|  2.81M|} while (0)
  |  |  ------------------
  |  |  |  Branch (4795:10): [Folded, False: 2.81M]
  |  |  ------------------
  ------------------
 5304|  2.81M|  YY_ASSERT (0 <= yystate && yystate < YYNSTATES);
  ------------------
  |  |  954|  2.81M|#define YY_ASSERT(E) ((void) (0 && (E)))
  |  |  ------------------
  |  |  |  Branch (954:31): [Folded, False: 2.81M]
  |  |  |  Branch (954:37): [True: 0, False: 0]
  |  |  |  Branch (954:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5305|  2.81M|  YY_IGNORE_USELESS_CAST_BEGIN
 5306|  2.81M|  *yyssp = YY_CAST (yy_state_t, yystate);
  ------------------
  |  |  100|  2.81M|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5307|  2.81M|  YY_IGNORE_USELESS_CAST_END
 5308|  2.81M|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 4863|  2.81M|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 4864|  2.81M|do {                                                            \
  |  | 4865|  2.81M|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (4865:7): [True: 0, False: 2.81M]
  |  |  ------------------
  |  | 4866|  2.81M|    yy_stack_print ((Bottom), (Top));                           \
  |  | 4867|  2.81M|} while (0)
  |  |  ------------------
  |  |  |  Branch (4867:10): [Folded, False: 2.81M]
  |  |  ------------------
  ------------------
 5309|       |
 5310|  2.81M|  if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (5310:7): [True: 0, False: 2.81M]
  ------------------
 5311|       |#if !defined yyoverflow && !defined YYSTACK_RELOCATE
 5312|       |    YYNOMEM;
 5313|       |#else
 5314|      0|    {
 5315|       |      /* Get the current used size of the three stacks, in elements.  */
 5316|      0|      YYPTRDIFF_T yysize = yyssp - yyss + 1;
  ------------------
  |  |  838|      0|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5317|       |
 5318|       |# if defined yyoverflow
 5319|       |      {
 5320|       |        /* Give user a chance to reallocate the stack.  Use copies of
 5321|       |           these so that the &'s don't force the real ones into
 5322|       |           memory.  */
 5323|       |        yy_state_t *yyss1 = yyss;
 5324|       |        YYSTYPE *yyvs1 = yyvs;
 5325|       |
 5326|       |        /* Each stack pointer address is followed by the size of the
 5327|       |           data in use in that stack, in bytes.  This used to be a
 5328|       |           conditional around just the two extra args, but that might
 5329|       |           be undefined if yyoverflow is a macro.  */
 5330|       |        yyoverflow (YY_("memory exhausted"),
 5331|       |                    &yyss1, yysize * YYSIZEOF (*yyssp),
 5332|       |                    &yyvs1, yysize * YYSIZEOF (*yyvsp),
 5333|       |                    &yystacksize);
 5334|       |        yyss = yyss1;
 5335|       |        yyvs = yyvs1;
 5336|       |      }
 5337|       |# else /* defined YYSTACK_RELOCATE */
 5338|       |      /* Extend the stack our own way.  */
 5339|      0|      if (YYMAXDEPTH <= yystacksize)
  ------------------
  |  | 4924|      0|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (5339:11): [True: 0, False: 0]
  ------------------
 5340|      0|        YYNOMEM;
  ------------------
  |  | 4756|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 5341|      0|      yystacksize *= 2;
 5342|      0|      if (YYMAXDEPTH < yystacksize)
  ------------------
  |  | 4924|      0|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (5342:11): [True: 0, False: 0]
  ------------------
 5343|      0|        yystacksize = YYMAXDEPTH;
  ------------------
  |  | 4924|      0|# define YYMAXDEPTH 10000
  ------------------
 5344|       |
 5345|      0|      {
 5346|      0|        yy_state_t *yyss1 = yyss;
 5347|      0|        union yyalloc *yyptr =
 5348|      0|          YY_CAST (union yyalloc *,
  ------------------
  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5349|      0|                   YYSTACK_ALLOC (YY_CAST (YYSIZE_T, YYSTACK_BYTES (yystacksize))));
 5350|      0|        if (! yyptr)
  ------------------
  |  Branch (5350:13): [True: 0, False: 0]
  ------------------
 5351|      0|          YYNOMEM;
  ------------------
  |  | 4756|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 5352|      0|        YYSTACK_RELOCATE (yyss_alloc, yyss);
  ------------------
  |  | 1051|      0|    do                                                                  \
  |  | 1052|      0|      {                                                                 \
  |  | 1053|      0|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  838|      0|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  | 1054|      0|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  | 1069|      0|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1055|      0|        Stack = &yyptr->Stack_alloc;                                    \
  |  | 1056|      0|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  871|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  | 1035|      0|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  871|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1057|      0|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  871|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1058|      0|      }                                                                 \
  |  | 1059|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (1059:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5353|      0|        YYSTACK_RELOCATE (yyvs_alloc, yyvs);
  ------------------
  |  | 1051|      0|    do                                                                  \
  |  | 1052|      0|      {                                                                 \
  |  | 1053|      0|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  838|      0|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  | 1054|      0|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  | 1069|      0|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1055|      0|        Stack = &yyptr->Stack_alloc;                                    \
  |  | 1056|      0|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  871|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  | 1035|      0|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  871|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1057|      0|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  871|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1058|      0|      }                                                                 \
  |  | 1059|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (1059:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5354|      0|#  undef YYSTACK_RELOCATE
 5355|      0|        if (yyss1 != yyssa)
  ------------------
  |  Branch (5355:13): [True: 0, False: 0]
  ------------------
 5356|      0|          YYSTACK_FREE (yyss1);
  ------------------
  |  |  996|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1015|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
 5357|      0|      }
 5358|      0|# endif
 5359|       |
 5360|      0|      yyssp = yyss + yysize - 1;
 5361|      0|      yyvsp = yyvs + yysize - 1;
 5362|       |
 5363|      0|      YY_IGNORE_USELESS_CAST_BEGIN
 5364|      0|      YYDPRINTF ((stderr, "Stack size increased to %ld\n",
  ------------------
  |  | 4791|      0|# define YYDPRINTF(Args)                        \
  |  | 4792|      0|do {                                            \
  |  | 4793|      0|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (4793:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 4794|      0|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4795|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (4795:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5365|      0|                  YY_CAST (long, yystacksize)));
 5366|      0|      YY_IGNORE_USELESS_CAST_END
 5367|       |
 5368|      0|      if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (5368:11): [True: 0, False: 0]
  ------------------
 5369|      0|        YYABORT;
  ------------------
  |  | 4754|      0|#define YYABORT         goto yyabortlab
  ------------------
 5370|      0|    }
 5371|  2.81M|#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */
 5372|       |
 5373|       |
 5374|  2.81M|  if (yystate == YYFINAL)
  ------------------
  |  | 1084|  2.81M|#define YYFINAL  476
  ------------------
  |  Branch (5374:7): [True: 288, False: 2.81M]
  ------------------
 5375|    288|    YYACCEPT;
  ------------------
  |  | 4753|    288|#define YYACCEPT        goto yyacceptlab
  ------------------
 5376|       |
 5377|  2.81M|  goto yybackup;
 5378|       |
 5379|       |
 5380|       |/*-----------.
 5381|       || yybackup.  |
 5382|       |`-----------*/
 5383|  2.81M|yybackup:
 5384|       |  /* Do appropriate processing given the current state.  Read a
 5385|       |     lookahead token if we need one and don't already have one.  */
 5386|       |
 5387|       |  /* First try to decide what to do without reference to lookahead token.  */
 5388|  2.81M|  yyn = yypact[yystate];
 5389|  2.81M|  if (yypact_value_is_default (yyn))
  ------------------
  |  | 1451|  2.81M|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1448|  2.81M|#define YYPACT_NINF (-849)
  |  |  ------------------
  |  |  |  Branch (1451:3): [True: 1.16M, False: 1.64M]
  |  |  ------------------
  ------------------
 5390|  1.16M|    goto yydefault;
 5391|       |
 5392|       |  /* Not known => get a lookahead token if don't already have one.  */
 5393|       |
 5394|       |  /* YYCHAR is either empty, or end-of-input, or a valid lookahead.  */
 5395|  1.64M|  if (yychar == YYEMPTY)
  ------------------
  |  Branch (5395:7): [True: 766k, False: 881k]
  ------------------
 5396|   766k|    {
 5397|   766k|      YYDPRINTF ((stderr, "Reading a token\n"));
  ------------------
  |  | 4791|   766k|# define YYDPRINTF(Args)                        \
  |  | 4792|   766k|do {                                            \
  |  | 4793|   766k|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (4793:7): [True: 0, False: 766k]
  |  |  ------------------
  |  | 4794|   766k|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4795|   766k|} while (0)
  |  |  ------------------
  |  |  |  Branch (4795:10): [Folded, False: 766k]
  |  |  ------------------
  ------------------
 5398|   766k|      yychar = yylex (&yylval, parseContext);
  ------------------
  |  |  756|   766k|#define parseContext (*pParseContext)
  ------------------
 5399|   766k|    }
 5400|       |
 5401|  1.64M|  if (yychar <= YYEOF)
  ------------------
  |  Branch (5401:7): [True: 334, False: 1.64M]
  ------------------
 5402|    334|    {
 5403|    334|      yychar = YYEOF;
 5404|    334|      yytoken = YYSYMBOL_YYEOF;
 5405|    334|      YYDPRINTF ((stderr, "Now at end of input.\n"));
  ------------------
  |  | 4791|    334|# define YYDPRINTF(Args)                        \
  |  | 4792|    334|do {                                            \
  |  | 4793|    334|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (4793:7): [True: 0, False: 334]
  |  |  ------------------
  |  | 4794|    334|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4795|    334|} while (0)
  |  |  ------------------
  |  |  |  Branch (4795:10): [Folded, False: 334]
  |  |  ------------------
  ------------------
 5406|    334|    }
 5407|  1.64M|  else if (yychar == YYerror)
  ------------------
  |  Branch (5407:12): [True: 0, False: 1.64M]
  ------------------
 5408|      0|    {
 5409|       |      /* The scanner already issued an error message, process directly
 5410|       |         to error recovery.  But do not keep the error token as
 5411|       |         lookahead, it is too special and may lead us to an endless
 5412|       |         loop in error recovery. */
 5413|      0|      yychar = YYUNDEF;
 5414|      0|      yytoken = YYSYMBOL_YYerror;
 5415|      0|      goto yyerrlab1;
 5416|      0|    }
 5417|  1.64M|  else
 5418|  1.64M|    {
 5419|  1.64M|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  | 1104|  1.64M|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1098|  1.64M|#define YYMAXUTOK   742
  |  |  ------------------
  |  |  |  Branch (1104:4): [True: 1.64M, False: 0]
  |  |  |  Branch (1104:18): [True: 1.64M, False: 0]
  |  |  ------------------
  |  | 1105|  1.64M|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|  1.64M|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1106|  1.64M|   : YYSYMBOL_YYUNDEF)
  ------------------
 5420|  1.64M|      YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
  ------------------
  |  | 4800|  1.64M|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 4801|  1.64M|do {                                                                      \
  |  | 4802|  1.64M|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (4802:7): [True: 0, False: 1.64M]
  |  |  ------------------
  |  | 4803|  1.64M|    {                                                                     \
  |  | 4804|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4805|      0|      yy_symbol_print (stderr,                                            \
  |  | 4806|      0|                  Kind, Value, pParseContext); \
  |  | 4807|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4808|      0|    }                                                                     \
  |  | 4809|  1.64M|} while (0)
  |  |  ------------------
  |  |  |  Branch (4809:10): [Folded, False: 1.64M]
  |  |  ------------------
  ------------------
 5421|  1.64M|    }
 5422|       |
 5423|       |  /* If the proper action on seeing token YYTOKEN is to reduce or to
 5424|       |     detect an error, take that action.  */
 5425|  1.64M|  yyn += yytoken;
 5426|  1.64M|  if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
  ------------------
  |  | 1086|  1.64M|#define YYLAST   13823
  ------------------
  |  Branch (5426:7): [True: 33, False: 1.64M]
  |  Branch (5426:18): [True: 0, False: 1.64M]
  |  Branch (5426:34): [True: 881k, False: 766k]
  ------------------
 5427|   881k|    goto yydefault;
 5428|   766k|  yyn = yytable[yyn];
 5429|   766k|  if (yyn <= 0)
  ------------------
  |  Branch (5429:7): [True: 0, False: 766k]
  ------------------
 5430|      0|    {
 5431|      0|      if (yytable_value_is_error (yyn))
  ------------------
  |  | 1456|      0|  0
  |  |  ------------------
  |  |  |  Branch (1456:3): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5432|      0|        goto yyerrlab;
 5433|      0|      yyn = -yyn;
 5434|      0|      goto yyreduce;
 5435|      0|    }
 5436|       |
 5437|       |  /* Count tokens shifted since error; after three, turn off error
 5438|       |     status.  */
 5439|   766k|  if (yyerrstatus)
  ------------------
  |  Branch (5439:7): [True: 0, False: 766k]
  ------------------
 5440|      0|    yyerrstatus--;
 5441|       |
 5442|       |  /* Shift the lookahead token.  */
 5443|   766k|  YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
  ------------------
  |  | 4800|   766k|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 4801|   766k|do {                                                                      \
  |  | 4802|   766k|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (4802:7): [True: 0, False: 766k]
  |  |  ------------------
  |  | 4803|   766k|    {                                                                     \
  |  | 4804|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4805|      0|      yy_symbol_print (stderr,                                            \
  |  | 4806|      0|                  Kind, Value, pParseContext); \
  |  | 4807|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4808|      0|    }                                                                     \
  |  | 4809|   766k|} while (0)
  |  |  ------------------
  |  |  |  Branch (4809:10): [Folded, False: 766k]
  |  |  ------------------
  ------------------
 5444|   766k|  yystate = yyn;
 5445|   766k|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 5446|   766k|  *++yyvsp = yylval;
 5447|   766k|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 5448|       |
 5449|       |  /* Discard the shifted token.  */
 5450|   766k|  yychar = YYEMPTY;
 5451|   766k|  goto yynewstate;
 5452|       |
 5453|       |
 5454|       |/*-----------------------------------------------------------.
 5455|       || yydefault -- do the default action for the current state.  |
 5456|       |`-----------------------------------------------------------*/
 5457|  2.04M|yydefault:
 5458|  2.04M|  yyn = yydefact[yystate];
 5459|  2.04M|  if (yyn == 0)
  ------------------
  |  Branch (5459:7): [True: 58, False: 2.04M]
  ------------------
 5460|     58|    goto yyerrlab;
 5461|  2.04M|  goto yyreduce;
 5462|       |
 5463|       |
 5464|       |/*-----------------------------.
 5465|       || yyreduce -- do a reduction.  |
 5466|       |`-----------------------------*/
 5467|  2.04M|yyreduce:
 5468|       |  /* yyn is the number of a rule to reduce with.  */
 5469|  2.04M|  yylen = yyr2[yyn];
 5470|       |
 5471|       |  /* If YYLEN is nonzero, implement the default value of the action:
 5472|       |     '$$ = $1'.
 5473|       |
 5474|       |     Otherwise, the following line sets YYVAL to garbage.
 5475|       |     This behavior is undocumented and Bison
 5476|       |     users should not rely upon it.  Assigning to YYVAL
 5477|       |     unconditionally makes the parser a bit smaller, and it avoids a
 5478|       |     GCC warning that YYVAL may be used uninitialized.  */
 5479|  2.04M|  yyval = yyvsp[1-yylen];
 5480|       |
 5481|       |
 5482|  2.04M|  YY_REDUCE_PRINT (yyn);
  ------------------
  |  | 4894|  2.04M|# define YY_REDUCE_PRINT(Rule)          \
  |  | 4895|  2.04M|do {                                    \
  |  | 4896|  2.04M|  if (yydebug)                          \
  |  |  ------------------
  |  |  |  Branch (4896:7): [True: 0, False: 2.04M]
  |  |  ------------------
  |  | 4897|  2.04M|    yy_reduce_print (yyssp, yyvsp, Rule, pParseContext); \
  |  | 4898|  2.04M|} while (0)
  |  |  ------------------
  |  |  |  Branch (4898:10): [Folded, False: 2.04M]
  |  |  ------------------
  ------------------
 5483|  2.04M|  switch (yyn)
 5484|  2.04M|    {
 5485|      0|  case 2: /* variable_identifier: IDENTIFIER  */
  ------------------
  |  Branch (5485:3): [True: 0, False: 2.04M]
  ------------------
 5486|      0|#line 365 "MachineIndependent/glslang.y"
 5487|      0|                 {
 5488|      0|        (yyval.interm.intermTypedNode) = parseContext.handleVariable((yyvsp[0].lex).loc, (yyvsp[0].lex).symbol, (yyvsp[0].lex).string);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5489|      0|    }
 5490|      0|#line 5491 "MachineIndependent/glslang_tab.cpp"
 5491|      0|    break;
 5492|       |
 5493|      0|  case 3: /* primary_expression: variable_identifier  */
  ------------------
  |  Branch (5493:3): [True: 0, False: 2.04M]
  ------------------
 5494|      0|#line 371 "MachineIndependent/glslang.y"
 5495|      0|                          {
 5496|      0|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5497|      0|    }
 5498|      0|#line 5499 "MachineIndependent/glslang_tab.cpp"
 5499|      0|    break;
 5500|       |
 5501|      0|  case 4: /* primary_expression: LEFT_PAREN expression RIGHT_PAREN  */
  ------------------
  |  Branch (5501:3): [True: 0, False: 2.04M]
  ------------------
 5502|      0|#line 374 "MachineIndependent/glslang.y"
 5503|      0|                                        {
 5504|      0|        (yyval.interm.intermTypedNode) = (yyvsp[-1].interm.intermTypedNode);
 5505|      0|        if ((yyval.interm.intermTypedNode)->getAsConstantUnion())
  ------------------
  |  Branch (5505:13): [True: 0, False: 0]
  ------------------
 5506|      0|            (yyval.interm.intermTypedNode)->getAsConstantUnion()->setExpression();
 5507|      0|    }
 5508|      0|#line 5509 "MachineIndependent/glslang_tab.cpp"
 5509|      0|    break;
 5510|       |
 5511|      0|  case 5: /* primary_expression: FLOATCONSTANT  */
  ------------------
  |  Branch (5511:3): [True: 0, False: 2.04M]
  ------------------
 5512|      0|#line 379 "MachineIndependent/glslang.y"
 5513|      0|                    {
 5514|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5515|      0|    }
 5516|      0|#line 5517 "MachineIndependent/glslang_tab.cpp"
 5517|      0|    break;
 5518|       |
 5519|  1.82k|  case 6: /* primary_expression: INTCONSTANT  */
  ------------------
  |  Branch (5519:3): [True: 1.82k, False: 2.04M]
  ------------------
 5520|  1.82k|#line 382 "MachineIndependent/glslang.y"
 5521|  1.82k|                  {
 5522|  1.82k|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|  1.82k|#define parseContext (*pParseContext)
  ------------------
 5523|  1.82k|    }
 5524|  1.82k|#line 5525 "MachineIndependent/glslang_tab.cpp"
 5525|  1.82k|    break;
 5526|       |
 5527|    244|  case 7: /* primary_expression: UINTCONSTANT  */
  ------------------
  |  Branch (5527:3): [True: 244, False: 2.04M]
  ------------------
 5528|    244|#line 385 "MachineIndependent/glslang.y"
 5529|    244|                   {
 5530|    244|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned literal");
  ------------------
  |  |  756|    244|#define parseContext (*pParseContext)
  ------------------
 5531|    244|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|    244|#define parseContext (*pParseContext)
  ------------------
 5532|    244|    }
 5533|    244|#line 5534 "MachineIndependent/glslang_tab.cpp"
 5534|    244|    break;
 5535|       |
 5536|      0|  case 8: /* primary_expression: BOOLCONSTANT  */
  ------------------
  |  Branch (5536:3): [True: 0, False: 2.04M]
  ------------------
 5537|      0|#line 389 "MachineIndependent/glslang.y"
 5538|      0|                   {
 5539|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5540|      0|    }
 5541|      0|#line 5542 "MachineIndependent/glslang_tab.cpp"
 5542|      0|    break;
 5543|       |
 5544|      0|  case 9: /* primary_expression: STRING_LITERAL  */
  ------------------
  |  Branch (5544:3): [True: 0, False: 2.04M]
  ------------------
 5545|      0|#line 392 "MachineIndependent/glslang.y"
 5546|      0|                     {
 5547|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5548|      0|    }
 5549|      0|#line 5550 "MachineIndependent/glslang_tab.cpp"
 5550|      0|    break;
 5551|       |
 5552|      0|  case 10: /* primary_expression: INT32CONSTANT  */
  ------------------
  |  Branch (5552:3): [True: 0, False: 2.04M]
  ------------------
 5553|      0|#line 395 "MachineIndependent/glslang.y"
 5554|      0|                    {
 5555|      0|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed literal");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5556|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5557|      0|    }
 5558|      0|#line 5559 "MachineIndependent/glslang_tab.cpp"
 5559|      0|    break;
 5560|       |
 5561|      0|  case 11: /* primary_expression: UINT32CONSTANT  */
  ------------------
  |  Branch (5561:3): [True: 0, False: 2.04M]
  ------------------
 5562|      0|#line 399 "MachineIndependent/glslang.y"
 5563|      0|                     {
 5564|      0|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed literal");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5565|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5566|      0|    }
 5567|      0|#line 5568 "MachineIndependent/glslang_tab.cpp"
 5568|      0|    break;
 5569|       |
 5570|      0|  case 12: /* primary_expression: INT64CONSTANT  */
  ------------------
  |  Branch (5570:3): [True: 0, False: 2.04M]
  ------------------
 5571|      0|#line 403 "MachineIndependent/glslang.y"
 5572|      0|                    {
 5573|      0|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer literal");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5574|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i64, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5575|      0|    }
 5576|      0|#line 5577 "MachineIndependent/glslang_tab.cpp"
 5577|      0|    break;
 5578|       |
 5579|      0|  case 13: /* primary_expression: UINT64CONSTANT  */
  ------------------
  |  Branch (5579:3): [True: 0, False: 2.04M]
  ------------------
 5580|      0|#line 407 "MachineIndependent/glslang.y"
 5581|      0|                     {
 5582|      0|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer literal");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5583|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u64, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5584|      0|    }
 5585|      0|#line 5586 "MachineIndependent/glslang_tab.cpp"
 5586|      0|    break;
 5587|       |
 5588|      0|  case 14: /* primary_expression: INT16CONSTANT  */
  ------------------
  |  Branch (5588:3): [True: 0, False: 2.04M]
  ------------------
 5589|      0|#line 411 "MachineIndependent/glslang.y"
 5590|      0|                    {
 5591|      0|        parseContext.explicitInt16Check((yyvsp[0].lex).loc, "16-bit integer literal");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5592|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((short)(yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5593|      0|    }
 5594|      0|#line 5595 "MachineIndependent/glslang_tab.cpp"
 5595|      0|    break;
 5596|       |
 5597|      0|  case 15: /* primary_expression: UINT16CONSTANT  */
  ------------------
  |  Branch (5597:3): [True: 0, False: 2.04M]
  ------------------
 5598|      0|#line 415 "MachineIndependent/glslang.y"
 5599|      0|                     {
 5600|      0|        parseContext.explicitInt16Check((yyvsp[0].lex).loc, "16-bit unsigned integer literal");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5601|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((unsigned short)(yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5602|      0|    }
 5603|      0|#line 5604 "MachineIndependent/glslang_tab.cpp"
 5604|      0|    break;
 5605|       |
 5606|      0|  case 16: /* primary_expression: DOUBLECONSTANT  */
  ------------------
  |  Branch (5606:3): [True: 0, False: 2.04M]
  ------------------
 5607|      0|#line 419 "MachineIndependent/glslang.y"
 5608|      0|                     {
 5609|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double literal");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5610|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (5610:13): [True: 0, False: 0]
  ------------------
 5611|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double literal");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5612|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtDouble, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5613|      0|    }
 5614|      0|#line 5615 "MachineIndependent/glslang_tab.cpp"
 5615|      0|    break;
 5616|       |
 5617|      0|  case 17: /* primary_expression: FLOAT16CONSTANT  */
  ------------------
  |  Branch (5617:3): [True: 0, False: 2.04M]
  ------------------
 5618|      0|#line 425 "MachineIndependent/glslang.y"
 5619|      0|                      {
 5620|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float literal");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5621|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat16, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5622|      0|    }
 5623|      0|#line 5624 "MachineIndependent/glslang_tab.cpp"
 5624|      0|    break;
 5625|       |
 5626|  2.07k|  case 18: /* postfix_expression: primary_expression  */
  ------------------
  |  Branch (5626:3): [True: 2.07k, False: 2.04M]
  ------------------
 5627|  2.07k|#line 432 "MachineIndependent/glslang.y"
 5628|  2.07k|                         {
 5629|  2.07k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5630|  2.07k|    }
 5631|  2.07k|#line 5632 "MachineIndependent/glslang_tab.cpp"
 5632|  2.07k|    break;
 5633|       |
 5634|      0|  case 19: /* postfix_expression: postfix_expression LEFT_BRACKET integer_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (5634:3): [True: 0, False: 2.04M]
  ------------------
 5635|      0|#line 435 "MachineIndependent/glslang.y"
 5636|      0|                                                                       {
 5637|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBracketDereference((yyvsp[-2].lex).loc, (yyvsp[-3].interm.intermTypedNode), (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5638|      0|    }
 5639|      0|#line 5640 "MachineIndependent/glslang_tab.cpp"
 5640|      0|    break;
 5641|       |
 5642|     20|  case 20: /* postfix_expression: function_call  */
  ------------------
  |  Branch (5642:3): [True: 20, False: 2.04M]
  ------------------
 5643|     20|#line 438 "MachineIndependent/glslang.y"
 5644|     20|                    {
 5645|     20|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5646|     20|    }
 5647|     20|#line 5648 "MachineIndependent/glslang_tab.cpp"
 5648|     20|    break;
 5649|       |
 5650|      0|  case 21: /* postfix_expression: postfix_expression DOT IDENTIFIER  */
  ------------------
  |  Branch (5650:3): [True: 0, False: 2.04M]
  ------------------
 5651|      0|#line 441 "MachineIndependent/glslang.y"
 5652|      0|                                        {
 5653|      0|        (yyval.interm.intermTypedNode) = parseContext.handleDotDereference((yyvsp[0].lex).loc, (yyvsp[-2].interm.intermTypedNode), *(yyvsp[0].lex).string);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5654|      0|    }
 5655|      0|#line 5656 "MachineIndependent/glslang_tab.cpp"
 5656|      0|    break;
 5657|       |
 5658|      0|  case 22: /* postfix_expression: postfix_expression INC_OP  */
  ------------------
  |  Branch (5658:3): [True: 0, False: 2.04M]
  ------------------
 5659|      0|#line 444 "MachineIndependent/glslang.y"
 5660|      0|                                {
 5661|      0|        parseContext.variableCheck((yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5662|      0|        parseContext.lValueErrorCheck((yyvsp[0].lex).loc, "++", (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5663|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[0].lex).loc, "++", EOpPostIncrement, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5664|      0|    }
 5665|      0|#line 5666 "MachineIndependent/glslang_tab.cpp"
 5666|      0|    break;
 5667|       |
 5668|      0|  case 23: /* postfix_expression: postfix_expression DEC_OP  */
  ------------------
  |  Branch (5668:3): [True: 0, False: 2.04M]
  ------------------
 5669|      0|#line 449 "MachineIndependent/glslang.y"
 5670|      0|                                {
 5671|      0|        parseContext.variableCheck((yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5672|      0|        parseContext.lValueErrorCheck((yyvsp[0].lex).loc, "--", (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5673|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[0].lex).loc, "--", EOpPostDecrement, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5674|      0|    }
 5675|      0|#line 5676 "MachineIndependent/glslang_tab.cpp"
 5676|      0|    break;
 5677|       |
 5678|      0|  case 24: /* integer_expression: expression  */
  ------------------
  |  Branch (5678:3): [True: 0, False: 2.04M]
  ------------------
 5679|      0|#line 457 "MachineIndependent/glslang.y"
 5680|      0|                 {
 5681|      0|        parseContext.arrayIndexCheck((yyvsp[0].interm.intermTypedNode), "[]");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5682|      0|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5683|      0|    }
 5684|      0|#line 5685 "MachineIndependent/glslang_tab.cpp"
 5685|      0|    break;
 5686|       |
 5687|     20|  case 25: /* function_call: function_call_or_method  */
  ------------------
  |  Branch (5687:3): [True: 20, False: 2.04M]
  ------------------
 5688|     20|#line 464 "MachineIndependent/glslang.y"
 5689|     20|                              {
 5690|     20|        (yyval.interm.intermTypedNode) = parseContext.handleFunctionCall((yyvsp[0].interm).loc, (yyvsp[0].interm).function, (yyvsp[0].interm).intermNode);
  ------------------
  |  |  756|     20|#define parseContext (*pParseContext)
  ------------------
 5691|     20|        delete (yyvsp[0].interm).function;
 5692|     20|    }
 5693|     20|#line 5694 "MachineIndependent/glslang_tab.cpp"
 5694|     20|    break;
 5695|       |
 5696|     20|  case 26: /* function_call_or_method: function_call_generic  */
  ------------------
  |  Branch (5696:3): [True: 20, False: 2.04M]
  ------------------
 5697|     20|#line 471 "MachineIndependent/glslang.y"
 5698|     20|                            {
 5699|     20|        (yyval.interm) = (yyvsp[0].interm);
 5700|     20|    }
 5701|     20|#line 5702 "MachineIndependent/glslang_tab.cpp"
 5702|     20|    break;
 5703|       |
 5704|     20|  case 27: /* function_call_generic: function_call_header_with_parameters RIGHT_PAREN  */
  ------------------
  |  Branch (5704:3): [True: 20, False: 2.04M]
  ------------------
 5705|     20|#line 477 "MachineIndependent/glslang.y"
 5706|     20|                                                       {
 5707|     20|        (yyval.interm) = (yyvsp[-1].interm);
 5708|     20|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 5709|     20|    }
 5710|     20|#line 5711 "MachineIndependent/glslang_tab.cpp"
 5711|     20|    break;
 5712|       |
 5713|      0|  case 28: /* function_call_generic: function_call_header_no_parameters RIGHT_PAREN  */
  ------------------
  |  Branch (5713:3): [True: 0, False: 2.04M]
  ------------------
 5714|      0|#line 481 "MachineIndependent/glslang.y"
 5715|      0|                                                     {
 5716|      0|        (yyval.interm) = (yyvsp[-1].interm);
 5717|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 5718|      0|    }
 5719|      0|#line 5720 "MachineIndependent/glslang_tab.cpp"
 5720|      0|    break;
 5721|       |
 5722|      0|  case 29: /* function_call_header_no_parameters: function_call_header VOID  */
  ------------------
  |  Branch (5722:3): [True: 0, False: 2.04M]
  ------------------
 5723|      0|#line 488 "MachineIndependent/glslang.y"
 5724|      0|                                {
 5725|      0|        (yyval.interm) = (yyvsp[-1].interm);
 5726|      0|    }
 5727|      0|#line 5728 "MachineIndependent/glslang_tab.cpp"
 5728|      0|    break;
 5729|       |
 5730|      0|  case 30: /* function_call_header_no_parameters: function_call_header  */
  ------------------
  |  Branch (5730:3): [True: 0, False: 2.04M]
  ------------------
 5731|      0|#line 491 "MachineIndependent/glslang.y"
 5732|      0|                           {
 5733|      0|        (yyval.interm) = (yyvsp[0].interm);
 5734|      0|    }
 5735|      0|#line 5736 "MachineIndependent/glslang_tab.cpp"
 5736|      0|    break;
 5737|       |
 5738|     20|  case 31: /* function_call_header_with_parameters: function_call_header assignment_expression  */
  ------------------
  |  Branch (5738:3): [True: 20, False: 2.04M]
  ------------------
 5739|     20|#line 497 "MachineIndependent/glslang.y"
 5740|     20|                                                 {
 5741|     20|        if (parseContext.spvVersion.vulkan > 0
  ------------------
  |  |  756|     20|#define parseContext (*pParseContext)
  ------------------
  |  Branch (5741:13): [True: 6, False: 14]
  ------------------
 5742|      6|            && parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
  |  Branch (5742:16): [True: 0, False: 6]
  ------------------
 5743|      0|            && (yyvsp[0].interm.intermTypedNode)->getType().containsOpaque())
  ------------------
  |  Branch (5743:16): [True: 0, False: 0]
  ------------------
 5744|      0|        {
 5745|      0|            (yyval.interm).intermNode = parseContext.vkRelaxedRemapFunctionArgument((yyval.interm).loc, (yyvsp[-1].interm).function, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5746|      0|            (yyval.interm).function = (yyvsp[-1].interm).function;
 5747|      0|        }
 5748|     20|        else
 5749|     20|        {
 5750|     20|            TParameter param = { 0, new TType, {} };
 5751|     20|            param.type->shallowCopy((yyvsp[0].interm.intermTypedNode)->getType());
 5752|       |
 5753|     20|            (yyvsp[-1].interm).function->addParameter(param);
 5754|     20|            (yyval.interm).function = (yyvsp[-1].interm).function;
 5755|     20|            (yyval.interm).intermNode = (yyvsp[0].interm.intermTypedNode);
 5756|     20|        }
 5757|     20|    }
 5758|     20|#line 5759 "MachineIndependent/glslang_tab.cpp"
 5759|     20|    break;
 5760|       |
 5761|     40|  case 32: /* function_call_header_with_parameters: function_call_header_with_parameters COMMA assignment_expression  */
  ------------------
  |  Branch (5761:3): [True: 40, False: 2.04M]
  ------------------
 5762|     40|#line 515 "MachineIndependent/glslang.y"
 5763|     40|                                                                       {
 5764|     40|        if (parseContext.spvVersion.vulkan > 0
  ------------------
  |  |  756|     40|#define parseContext (*pParseContext)
  ------------------
  |  Branch (5764:13): [True: 12, False: 28]
  ------------------
 5765|     12|            && parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
  |  Branch (5765:16): [True: 0, False: 12]
  ------------------
 5766|      0|            && (yyvsp[0].interm.intermTypedNode)->getType().containsOpaque())
  ------------------
  |  Branch (5766:16): [True: 0, False: 0]
  ------------------
 5767|      0|        {
 5768|      0|            TIntermNode* remappedNode = parseContext.vkRelaxedRemapFunctionArgument((yyvsp[-1].lex).loc, (yyvsp[-2].interm).function, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5769|      0|            if (remappedNode == (yyvsp[0].interm.intermTypedNode))
  ------------------
  |  Branch (5769:17): [True: 0, False: 0]
  ------------------
 5770|      0|                (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5771|      0|            else
 5772|      0|                (yyval.interm).intermNode = parseContext.intermediate.mergeAggregate((yyvsp[-2].interm).intermNode, remappedNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5773|      0|            (yyval.interm).function = (yyvsp[-2].interm).function;
 5774|      0|        }
 5775|     40|        else
 5776|     40|        {
 5777|     40|            TParameter param = { 0, new TType, {} };
 5778|     40|            param.type->shallowCopy((yyvsp[0].interm.intermTypedNode)->getType());
 5779|       |
 5780|     40|            (yyvsp[-2].interm).function->addParameter(param);
 5781|     40|            (yyval.interm).function = (yyvsp[-2].interm).function;
 5782|     40|            (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|     40|#define parseContext (*pParseContext)
  ------------------
 5783|     40|        }
 5784|     40|    }
 5785|     40|#line 5786 "MachineIndependent/glslang_tab.cpp"
 5786|     40|    break;
 5787|       |
 5788|     20|  case 33: /* function_call_header: function_identifier LEFT_PAREN  */
  ------------------
  |  Branch (5788:3): [True: 20, False: 2.04M]
  ------------------
 5789|     20|#line 540 "MachineIndependent/glslang.y"
 5790|     20|                                     {
 5791|     20|        (yyval.interm) = (yyvsp[-1].interm);
 5792|     20|    }
 5793|     20|#line 5794 "MachineIndependent/glslang_tab.cpp"
 5794|     20|    break;
 5795|       |
 5796|     20|  case 34: /* function_identifier: type_specifier  */
  ------------------
  |  Branch (5796:3): [True: 20, False: 2.04M]
  ------------------
 5797|     20|#line 548 "MachineIndependent/glslang.y"
 5798|     20|                     {
 5799|       |        // Constructor
 5800|     20|        (yyval.interm).intermNode = 0;
 5801|     20|        (yyval.interm).function = parseContext.handleConstructorCall((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  756|     20|#define parseContext (*pParseContext)
  ------------------
 5802|     20|    }
 5803|     20|#line 5804 "MachineIndependent/glslang_tab.cpp"
 5804|     20|    break;
 5805|       |
 5806|      0|  case 35: /* function_identifier: postfix_expression  */
  ------------------
  |  Branch (5806:3): [True: 0, False: 2.04M]
  ------------------
 5807|      0|#line 553 "MachineIndependent/glslang.y"
 5808|      0|                         {
 5809|       |        //
 5810|       |        // Should be a method or subroutine call, but we haven't recognized the arguments yet.
 5811|       |        //
 5812|      0|        (yyval.interm).function = 0;
 5813|      0|        (yyval.interm).intermNode = 0;
 5814|       |
 5815|      0|        TIntermMethod* method = (yyvsp[0].interm.intermTypedNode)->getAsMethodNode();
 5816|      0|        if (method) {
  ------------------
  |  Branch (5816:13): [True: 0, False: 0]
  ------------------
 5817|      0|            (yyval.interm).function = new TFunction(&method->getMethodName(), method->getType(), EOpArrayLength);
 5818|      0|            (yyval.interm).intermNode = method->getObject();
 5819|      0|        } else {
 5820|      0|            TIntermSymbol* symbol = (yyvsp[0].interm.intermTypedNode)->getAsSymbolNode();
 5821|      0|            if (symbol) {
  ------------------
  |  Branch (5821:17): [True: 0, False: 0]
  ------------------
 5822|      0|                parseContext.reservedErrorCheck(symbol->getLoc(), symbol->getName());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5823|      0|                TFunction *function = new TFunction(&symbol->getName(), TType(EbtVoid));
 5824|      0|                (yyval.interm).function = function;
 5825|      0|            } else
 5826|      0|                parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "function call, method, or subroutine call expected", "", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5827|      0|        }
 5828|       |
 5829|      0|        if ((yyval.interm).function == 0) {
  ------------------
  |  Branch (5829:13): [True: 0, False: 0]
  ------------------
 5830|       |            // error recover
 5831|      0|            TString* empty = NewPoolTString("");
 5832|      0|            (yyval.interm).function = new TFunction(empty, TType(EbtVoid), EOpNull);
 5833|      0|        }
 5834|      0|    }
 5835|      0|#line 5836 "MachineIndependent/glslang_tab.cpp"
 5836|      0|    break;
 5837|       |
 5838|      0|  case 36: /* function_identifier: non_uniform_qualifier  */
  ------------------
  |  Branch (5838:3): [True: 0, False: 2.04M]
  ------------------
 5839|      0|#line 580 "MachineIndependent/glslang.y"
 5840|      0|                            {
 5841|       |        // Constructor
 5842|      0|        (yyval.interm).intermNode = 0;
 5843|      0|        (yyval.interm).function = parseContext.handleConstructorCall((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5844|      0|    }
 5845|      0|#line 5846 "MachineIndependent/glslang_tab.cpp"
 5846|      0|    break;
 5847|       |
 5848|  2.09k|  case 37: /* unary_expression: postfix_expression  */
  ------------------
  |  Branch (5848:3): [True: 2.09k, False: 2.04M]
  ------------------
 5849|  2.09k|#line 588 "MachineIndependent/glslang.y"
 5850|  2.09k|                         {
 5851|  2.09k|        parseContext.variableCheck((yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|  2.09k|#define parseContext (*pParseContext)
  ------------------
 5852|  2.09k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5853|  2.09k|        if (TIntermMethod* method = (yyvsp[0].interm.intermTypedNode)->getAsMethodNode())
  ------------------
  |  Branch (5853:28): [True: 0, False: 2.09k]
  ------------------
 5854|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "incomplete method syntax", method->getMethodName().c_str(), "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5855|  2.09k|    }
 5856|  2.09k|#line 5857 "MachineIndependent/glslang_tab.cpp"
 5857|  2.09k|    break;
 5858|       |
 5859|      0|  case 38: /* unary_expression: INC_OP unary_expression  */
  ------------------
  |  Branch (5859:3): [True: 0, False: 2.04M]
  ------------------
 5860|      0|#line 594 "MachineIndependent/glslang.y"
 5861|      0|                              {
 5862|      0|        parseContext.lValueErrorCheck((yyvsp[-1].lex).loc, "++", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5863|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].lex).loc, "++", EOpPreIncrement, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5864|      0|    }
 5865|      0|#line 5866 "MachineIndependent/glslang_tab.cpp"
 5866|      0|    break;
 5867|       |
 5868|      0|  case 39: /* unary_expression: DEC_OP unary_expression  */
  ------------------
  |  Branch (5868:3): [True: 0, False: 2.04M]
  ------------------
 5869|      0|#line 598 "MachineIndependent/glslang.y"
 5870|      0|                              {
 5871|      0|        parseContext.lValueErrorCheck((yyvsp[-1].lex).loc, "--", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5872|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].lex).loc, "--", EOpPreDecrement, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5873|      0|    }
 5874|      0|#line 5875 "MachineIndependent/glslang_tab.cpp"
 5875|      0|    break;
 5876|       |
 5877|      2|  case 40: /* unary_expression: unary_operator unary_expression  */
  ------------------
  |  Branch (5877:3): [True: 2, False: 2.04M]
  ------------------
 5878|      2|#line 602 "MachineIndependent/glslang.y"
 5879|      2|                                      {
 5880|      2|        if ((yyvsp[-1].interm).op != EOpNull) {
  ------------------
  |  Branch (5880:13): [True: 2, False: 0]
  ------------------
 5881|      2|            char errorOp[2] = {0, 0};
 5882|      2|            switch((yyvsp[-1].interm).op) {
 5883|      2|            case EOpNegative:   errorOp[0] = '-'; break;
  ------------------
  |  Branch (5883:13): [True: 2, False: 0]
  ------------------
 5884|      0|            case EOpLogicalNot: errorOp[0] = '!'; break;
  ------------------
  |  Branch (5884:13): [True: 0, False: 2]
  ------------------
 5885|      0|            case EOpBitwiseNot: errorOp[0] = '~'; break;
  ------------------
  |  Branch (5885:13): [True: 0, False: 2]
  ------------------
 5886|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (5886:13): [True: 0, False: 2]
  ------------------
 5887|      2|            }
 5888|      2|            (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].interm).loc, errorOp, (yyvsp[-1].interm).op, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      2|#define parseContext (*pParseContext)
  ------------------
 5889|      2|        } else {
 5890|      0|            (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5891|      0|            if ((yyval.interm.intermTypedNode)->getAsConstantUnion())
  ------------------
  |  Branch (5891:17): [True: 0, False: 0]
  ------------------
 5892|      0|                (yyval.interm.intermTypedNode)->getAsConstantUnion()->setExpression();
 5893|      0|        }
 5894|      2|    }
 5895|      2|#line 5896 "MachineIndependent/glslang_tab.cpp"
 5896|      2|    break;
 5897|       |
 5898|      2|  case 41: /* unary_expression: LEFT_PAREN type_specifier_nonarray RIGHT_PAREN unary_expression  */
  ------------------
  |  Branch (5898:3): [True: 0, False: 2.04M]
  ------------------
 5899|      0|#line 618 "MachineIndependent/glslang.y"
 5900|      0|                                                                      {
 5901|      0|        (yyval.interm.intermTypedNode) = parseContext.handleTypeCast((yyvsp[-3].lex).loc, new TType((yyvsp[-2].interm.type)), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5902|      0|    }
 5903|      0|#line 5904 "MachineIndependent/glslang_tab.cpp"
 5904|      0|    break;
 5905|       |
 5906|      0|  case 42: /* unary_operator: PLUS  */
  ------------------
  |  Branch (5906:3): [True: 0, False: 2.04M]
  ------------------
 5907|      0|#line 625 "MachineIndependent/glslang.y"
 5908|      0|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpNull; }
 5909|      0|#line 5910 "MachineIndependent/glslang_tab.cpp"
 5910|      0|    break;
 5911|       |
 5912|      2|  case 43: /* unary_operator: DASH  */
  ------------------
  |  Branch (5912:3): [True: 2, False: 2.04M]
  ------------------
 5913|      2|#line 626 "MachineIndependent/glslang.y"
 5914|      2|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpNegative; }
 5915|      2|#line 5916 "MachineIndependent/glslang_tab.cpp"
 5916|      2|    break;
 5917|       |
 5918|      0|  case 44: /* unary_operator: BANG  */
  ------------------
  |  Branch (5918:3): [True: 0, False: 2.04M]
  ------------------
 5919|      0|#line 627 "MachineIndependent/glslang.y"
 5920|      0|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpLogicalNot; }
 5921|      0|#line 5922 "MachineIndependent/glslang_tab.cpp"
 5922|      0|    break;
 5923|       |
 5924|      0|  case 45: /* unary_operator: TILDE  */
  ------------------
  |  Branch (5924:3): [True: 0, False: 2.04M]
  ------------------
 5925|      0|#line 628 "MachineIndependent/glslang.y"
 5926|      0|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpBitwiseNot;
 5927|      0|              parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise not"); }
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5928|      0|#line 5929 "MachineIndependent/glslang_tab.cpp"
 5929|      0|    break;
 5930|       |
 5931|  2.09k|  case 46: /* multiplicative_expression: unary_expression  */
  ------------------
  |  Branch (5931:3): [True: 2.09k, False: 2.04M]
  ------------------
 5932|  2.09k|#line 634 "MachineIndependent/glslang.y"
 5933|  2.09k|                       { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 5934|  2.09k|#line 5935 "MachineIndependent/glslang_tab.cpp"
 5935|  2.09k|    break;
 5936|       |
 5937|      0|  case 47: /* multiplicative_expression: multiplicative_expression STAR unary_expression  */
  ------------------
  |  Branch (5937:3): [True: 0, False: 2.04M]
  ------------------
 5938|      0|#line 635 "MachineIndependent/glslang.y"
 5939|      0|                                                      {
 5940|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "*", EOpMul, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5941|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (5941:13): [True: 0, False: 0]
  ------------------
 5942|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 5943|      0|    }
 5944|      0|#line 5945 "MachineIndependent/glslang_tab.cpp"
 5945|      0|    break;
 5946|       |
 5947|      0|  case 48: /* multiplicative_expression: multiplicative_expression SLASH unary_expression  */
  ------------------
  |  Branch (5947:3): [True: 0, False: 2.04M]
  ------------------
 5948|      0|#line 640 "MachineIndependent/glslang.y"
 5949|      0|                                                       {
 5950|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "/", EOpDiv, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5951|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (5951:13): [True: 0, False: 0]
  ------------------
 5952|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 5953|      0|    }
 5954|      0|#line 5955 "MachineIndependent/glslang_tab.cpp"
 5955|      0|    break;
 5956|       |
 5957|      0|  case 49: /* multiplicative_expression: multiplicative_expression PERCENT unary_expression  */
  ------------------
  |  Branch (5957:3): [True: 0, False: 2.04M]
  ------------------
 5958|      0|#line 645 "MachineIndependent/glslang.y"
 5959|      0|                                                         {
 5960|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "%");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5961|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "%", EOpMod, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5962|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (5962:13): [True: 0, False: 0]
  ------------------
 5963|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 5964|      0|    }
 5965|      0|#line 5966 "MachineIndependent/glslang_tab.cpp"
 5966|      0|    break;
 5967|       |
 5968|  2.09k|  case 50: /* additive_expression: multiplicative_expression  */
  ------------------
  |  Branch (5968:3): [True: 2.09k, False: 2.04M]
  ------------------
 5969|  2.09k|#line 654 "MachineIndependent/glslang.y"
 5970|  2.09k|                                { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 5971|  2.09k|#line 5972 "MachineIndependent/glslang_tab.cpp"
 5972|  2.09k|    break;
 5973|       |
 5974|      0|  case 51: /* additive_expression: additive_expression PLUS multiplicative_expression  */
  ------------------
  |  Branch (5974:3): [True: 0, False: 2.04M]
  ------------------
 5975|      0|#line 655 "MachineIndependent/glslang.y"
 5976|      0|                                                         {
 5977|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "+", EOpAdd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5978|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (5978:13): [True: 0, False: 0]
  ------------------
 5979|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 5980|      0|    }
 5981|      0|#line 5982 "MachineIndependent/glslang_tab.cpp"
 5982|      0|    break;
 5983|       |
 5984|      0|  case 52: /* additive_expression: additive_expression DASH multiplicative_expression  */
  ------------------
  |  Branch (5984:3): [True: 0, False: 2.04M]
  ------------------
 5985|      0|#line 660 "MachineIndependent/glslang.y"
 5986|      0|                                                         {
 5987|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "-", EOpSub, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5988|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (5988:13): [True: 0, False: 0]
  ------------------
 5989|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 5990|      0|    }
 5991|      0|#line 5992 "MachineIndependent/glslang_tab.cpp"
 5992|      0|    break;
 5993|       |
 5994|  2.09k|  case 53: /* shift_expression: additive_expression  */
  ------------------
  |  Branch (5994:3): [True: 2.09k, False: 2.04M]
  ------------------
 5995|  2.09k|#line 668 "MachineIndependent/glslang.y"
 5996|  2.09k|                          { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 5997|  2.09k|#line 5998 "MachineIndependent/glslang_tab.cpp"
 5998|  2.09k|    break;
 5999|       |
 6000|      0|  case 54: /* shift_expression: shift_expression LEFT_OP additive_expression  */
  ------------------
  |  Branch (6000:3): [True: 0, False: 2.04M]
  ------------------
 6001|      0|#line 669 "MachineIndependent/glslang.y"
 6002|      0|                                                   {
 6003|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bit shift left");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6004|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "<<", EOpLeftShift, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6005|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6005:13): [True: 0, False: 0]
  ------------------
 6006|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6007|      0|    }
 6008|      0|#line 6009 "MachineIndependent/glslang_tab.cpp"
 6009|      0|    break;
 6010|       |
 6011|      0|  case 55: /* shift_expression: shift_expression RIGHT_OP additive_expression  */
  ------------------
  |  Branch (6011:3): [True: 0, False: 2.04M]
  ------------------
 6012|      0|#line 675 "MachineIndependent/glslang.y"
 6013|      0|                                                    {
 6014|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bit shift right");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6015|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, ">>", EOpRightShift, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6016|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6016:13): [True: 0, False: 0]
  ------------------
 6017|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6018|      0|    }
 6019|      0|#line 6020 "MachineIndependent/glslang_tab.cpp"
 6020|      0|    break;
 6021|       |
 6022|  2.09k|  case 56: /* relational_expression: shift_expression  */
  ------------------
  |  Branch (6022:3): [True: 2.09k, False: 2.04M]
  ------------------
 6023|  2.09k|#line 684 "MachineIndependent/glslang.y"
 6024|  2.09k|                       { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6025|  2.09k|#line 6026 "MachineIndependent/glslang_tab.cpp"
 6026|  2.09k|    break;
 6027|       |
 6028|      0|  case 57: /* relational_expression: relational_expression LEFT_ANGLE shift_expression  */
  ------------------
  |  Branch (6028:3): [True: 0, False: 2.04M]
  ------------------
 6029|      0|#line 685 "MachineIndependent/glslang.y"
 6030|      0|                                                        {
 6031|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "<", EOpLessThan, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6032|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6032:13): [True: 0, False: 0]
  ------------------
 6033|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6034|      0|    }
 6035|      0|#line 6036 "MachineIndependent/glslang_tab.cpp"
 6036|      0|    break;
 6037|       |
 6038|      0|  case 58: /* relational_expression: relational_expression RIGHT_ANGLE shift_expression  */
  ------------------
  |  Branch (6038:3): [True: 0, False: 2.04M]
  ------------------
 6039|      0|#line 690 "MachineIndependent/glslang.y"
 6040|      0|                                                          {
 6041|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, ">", EOpGreaterThan, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6042|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6042:13): [True: 0, False: 0]
  ------------------
 6043|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6044|      0|    }
 6045|      0|#line 6046 "MachineIndependent/glslang_tab.cpp"
 6046|      0|    break;
 6047|       |
 6048|      0|  case 59: /* relational_expression: relational_expression LE_OP shift_expression  */
  ------------------
  |  Branch (6048:3): [True: 0, False: 2.04M]
  ------------------
 6049|      0|#line 695 "MachineIndependent/glslang.y"
 6050|      0|                                                    {
 6051|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "<=", EOpLessThanEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6052|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6052:13): [True: 0, False: 0]
  ------------------
 6053|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6054|      0|    }
 6055|      0|#line 6056 "MachineIndependent/glslang_tab.cpp"
 6056|      0|    break;
 6057|       |
 6058|      0|  case 60: /* relational_expression: relational_expression GE_OP shift_expression  */
  ------------------
  |  Branch (6058:3): [True: 0, False: 2.04M]
  ------------------
 6059|      0|#line 700 "MachineIndependent/glslang.y"
 6060|      0|                                                    {
 6061|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, ">=", EOpGreaterThanEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6062|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6062:13): [True: 0, False: 0]
  ------------------
 6063|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6064|      0|    }
 6065|      0|#line 6066 "MachineIndependent/glslang_tab.cpp"
 6066|      0|    break;
 6067|       |
 6068|  2.09k|  case 61: /* equality_expression: relational_expression  */
  ------------------
  |  Branch (6068:3): [True: 2.09k, False: 2.04M]
  ------------------
 6069|  2.09k|#line 708 "MachineIndependent/glslang.y"
 6070|  2.09k|                            { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6071|  2.09k|#line 6072 "MachineIndependent/glslang_tab.cpp"
 6072|  2.09k|    break;
 6073|       |
 6074|      0|  case 62: /* equality_expression: equality_expression EQ_OP relational_expression  */
  ------------------
  |  Branch (6074:3): [True: 0, False: 2.04M]
  ------------------
 6075|      0|#line 709 "MachineIndependent/glslang.y"
 6076|      0|                                                       {
 6077|      0|        parseContext.arrayObjectCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "array comparison");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6078|      0|        parseContext.opaqueCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "==");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6079|      0|        parseContext.specializationCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "==");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6080|      0|        parseContext.referenceCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "==");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6081|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "==", EOpEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6082|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6082:13): [True: 0, False: 0]
  ------------------
 6083|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6084|      0|    }
 6085|      0|#line 6086 "MachineIndependent/glslang_tab.cpp"
 6086|      0|    break;
 6087|       |
 6088|      0|  case 63: /* equality_expression: equality_expression NE_OP relational_expression  */
  ------------------
  |  Branch (6088:3): [True: 0, False: 2.04M]
  ------------------
 6089|      0|#line 718 "MachineIndependent/glslang.y"
 6090|      0|                                                      {
 6091|      0|        parseContext.arrayObjectCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "array comparison");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6092|      0|        parseContext.opaqueCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "!=");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6093|      0|        parseContext.specializationCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "!=");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6094|      0|        parseContext.referenceCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "!=");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6095|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "!=", EOpNotEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6096|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6096:13): [True: 0, False: 0]
  ------------------
 6097|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6098|      0|    }
 6099|      0|#line 6100 "MachineIndependent/glslang_tab.cpp"
 6100|      0|    break;
 6101|       |
 6102|  2.09k|  case 64: /* and_expression: equality_expression  */
  ------------------
  |  Branch (6102:3): [True: 2.09k, False: 2.04M]
  ------------------
 6103|  2.09k|#line 730 "MachineIndependent/glslang.y"
 6104|  2.09k|                          { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6105|  2.09k|#line 6106 "MachineIndependent/glslang_tab.cpp"
 6106|  2.09k|    break;
 6107|       |
 6108|      0|  case 65: /* and_expression: and_expression AMPERSAND equality_expression  */
  ------------------
  |  Branch (6108:3): [True: 0, False: 2.04M]
  ------------------
 6109|      0|#line 731 "MachineIndependent/glslang.y"
 6110|      0|                                                   {
 6111|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bitwise and");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6112|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "&", EOpAnd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6113|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6113:13): [True: 0, False: 0]
  ------------------
 6114|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6115|      0|    }
 6116|      0|#line 6117 "MachineIndependent/glslang_tab.cpp"
 6117|      0|    break;
 6118|       |
 6119|  2.09k|  case 66: /* exclusive_or_expression: and_expression  */
  ------------------
  |  Branch (6119:3): [True: 2.09k, False: 2.04M]
  ------------------
 6120|  2.09k|#line 740 "MachineIndependent/glslang.y"
 6121|  2.09k|                     { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6122|  2.09k|#line 6123 "MachineIndependent/glslang_tab.cpp"
 6123|  2.09k|    break;
 6124|       |
 6125|      0|  case 67: /* exclusive_or_expression: exclusive_or_expression CARET and_expression  */
  ------------------
  |  Branch (6125:3): [True: 0, False: 2.04M]
  ------------------
 6126|      0|#line 741 "MachineIndependent/glslang.y"
 6127|      0|                                                   {
 6128|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bitwise exclusive or");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6129|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "^", EOpExclusiveOr, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6130|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6130:13): [True: 0, False: 0]
  ------------------
 6131|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6132|      0|    }
 6133|      0|#line 6134 "MachineIndependent/glslang_tab.cpp"
 6134|      0|    break;
 6135|       |
 6136|  2.09k|  case 68: /* inclusive_or_expression: exclusive_or_expression  */
  ------------------
  |  Branch (6136:3): [True: 2.09k, False: 2.04M]
  ------------------
 6137|  2.09k|#line 750 "MachineIndependent/glslang.y"
 6138|  2.09k|                              { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6139|  2.09k|#line 6140 "MachineIndependent/glslang_tab.cpp"
 6140|  2.09k|    break;
 6141|       |
 6142|      0|  case 69: /* inclusive_or_expression: inclusive_or_expression VERTICAL_BAR exclusive_or_expression  */
  ------------------
  |  Branch (6142:3): [True: 0, False: 2.04M]
  ------------------
 6143|      0|#line 751 "MachineIndependent/glslang.y"
 6144|      0|                                                                   {
 6145|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bitwise inclusive or");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6146|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "|", EOpInclusiveOr, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6147|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6147:13): [True: 0, False: 0]
  ------------------
 6148|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6149|      0|    }
 6150|      0|#line 6151 "MachineIndependent/glslang_tab.cpp"
 6151|      0|    break;
 6152|       |
 6153|  2.09k|  case 70: /* logical_and_expression: inclusive_or_expression  */
  ------------------
  |  Branch (6153:3): [True: 2.09k, False: 2.04M]
  ------------------
 6154|  2.09k|#line 760 "MachineIndependent/glslang.y"
 6155|  2.09k|                              { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6156|  2.09k|#line 6157 "MachineIndependent/glslang_tab.cpp"
 6157|  2.09k|    break;
 6158|       |
 6159|      0|  case 71: /* logical_and_expression: logical_and_expression AND_OP inclusive_or_expression  */
  ------------------
  |  Branch (6159:3): [True: 0, False: 2.04M]
  ------------------
 6160|      0|#line 761 "MachineIndependent/glslang.y"
 6161|      0|                                                            {
 6162|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "&&", EOpLogicalAnd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6163|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6163:13): [True: 0, False: 0]
  ------------------
 6164|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6165|      0|    }
 6166|      0|#line 6167 "MachineIndependent/glslang_tab.cpp"
 6167|      0|    break;
 6168|       |
 6169|  2.09k|  case 72: /* logical_xor_expression: logical_and_expression  */
  ------------------
  |  Branch (6169:3): [True: 2.09k, False: 2.04M]
  ------------------
 6170|  2.09k|#line 769 "MachineIndependent/glslang.y"
 6171|  2.09k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6172|  2.09k|#line 6173 "MachineIndependent/glslang_tab.cpp"
 6173|  2.09k|    break;
 6174|       |
 6175|      0|  case 73: /* logical_xor_expression: logical_xor_expression XOR_OP logical_and_expression  */
  ------------------
  |  Branch (6175:3): [True: 0, False: 2.04M]
  ------------------
 6176|      0|#line 770 "MachineIndependent/glslang.y"
 6177|      0|                                                            {
 6178|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "^^", EOpLogicalXor, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6179|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6179:13): [True: 0, False: 0]
  ------------------
 6180|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6181|      0|    }
 6182|      0|#line 6183 "MachineIndependent/glslang_tab.cpp"
 6183|      0|    break;
 6184|       |
 6185|  2.09k|  case 74: /* logical_or_expression: logical_xor_expression  */
  ------------------
  |  Branch (6185:3): [True: 2.09k, False: 2.04M]
  ------------------
 6186|  2.09k|#line 778 "MachineIndependent/glslang.y"
 6187|  2.09k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6188|  2.09k|#line 6189 "MachineIndependent/glslang_tab.cpp"
 6189|  2.09k|    break;
 6190|       |
 6191|      0|  case 75: /* logical_or_expression: logical_or_expression OR_OP logical_xor_expression  */
  ------------------
  |  Branch (6191:3): [True: 0, False: 2.04M]
  ------------------
 6192|      0|#line 779 "MachineIndependent/glslang.y"
 6193|      0|                                                          {
 6194|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "||", EOpLogicalOr, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6195|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6195:13): [True: 0, False: 0]
  ------------------
 6196|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6197|      0|    }
 6198|      0|#line 6199 "MachineIndependent/glslang_tab.cpp"
 6199|      0|    break;
 6200|       |
 6201|  2.09k|  case 76: /* conditional_expression: logical_or_expression  */
  ------------------
  |  Branch (6201:3): [True: 2.09k, False: 2.04M]
  ------------------
 6202|  2.09k|#line 787 "MachineIndependent/glslang.y"
 6203|  2.09k|                            { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6204|  2.09k|#line 6205 "MachineIndependent/glslang_tab.cpp"
 6205|  2.09k|    break;
 6206|       |
 6207|      0|  case 77: /* $@1: %empty  */
  ------------------
  |  Branch (6207:3): [True: 0, False: 2.04M]
  ------------------
 6208|      0|#line 788 "MachineIndependent/glslang.y"
 6209|      0|                                     {
 6210|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6211|      0|    }
 6212|      0|#line 6213 "MachineIndependent/glslang_tab.cpp"
 6213|      0|    break;
 6214|       |
 6215|      0|  case 78: /* conditional_expression: logical_or_expression QUESTION $@1 expression COLON assignment_expression  */
  ------------------
  |  Branch (6215:3): [True: 0, False: 2.04M]
  ------------------
 6216|      0|#line 791 "MachineIndependent/glslang.y"
 6217|      0|                                             {
 6218|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6219|      0|        parseContext.boolCheck((yyvsp[-4].lex).loc, (yyvsp[-5].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6220|      0|        parseContext.rValueErrorCheck((yyvsp[-4].lex).loc, "?", (yyvsp[-5].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6221|      0|        parseContext.rValueErrorCheck((yyvsp[-1].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6222|      0|        parseContext.rValueErrorCheck((yyvsp[-1].lex).loc, ":", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6223|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addSelection((yyvsp[-5].interm.intermTypedNode), (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode), (yyvsp[-4].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6224|      0|        if ((yyval.interm.intermTypedNode) == 0) {
  ------------------
  |  Branch (6224:13): [True: 0, False: 0]
  ------------------
 6225|      0|            parseContext.binaryOpError((yyvsp[-4].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.binaryOpError((yyvsp[-4].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.binaryOpError((yyvsp[-4].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6226|      0|            (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6227|      0|        }
 6228|      0|    }
 6229|      0|#line 6230 "MachineIndependent/glslang_tab.cpp"
 6230|      0|    break;
 6231|       |
 6232|  1.31k|  case 79: /* assignment_expression: conditional_expression  */
  ------------------
  |  Branch (6232:3): [True: 1.31k, False: 2.04M]
  ------------------
 6233|  1.31k|#line 806 "MachineIndependent/glslang.y"
 6234|  1.31k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6235|  1.31k|#line 6236 "MachineIndependent/glslang_tab.cpp"
 6236|  1.31k|    break;
 6237|       |
 6238|      0|  case 80: /* assignment_expression: unary_expression assignment_operator assignment_expression  */
  ------------------
  |  Branch (6238:3): [True: 0, False: 2.04M]
  ------------------
 6239|      0|#line 807 "MachineIndependent/glslang.y"
 6240|      0|                                                                 {
 6241|      0|        parseContext.arrayObjectCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "array assignment");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6242|      0|        parseContext.opaqueCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6243|      0|        parseContext.storage16BitAssignmentCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6244|      0|        parseContext.specializationCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6245|      0|        parseContext.lValueErrorCheck((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6246|      0|        parseContext.rValueErrorCheck((yyvsp[-1].interm).loc, "assign", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6247|      0|        (yyval.interm.intermTypedNode) = parseContext.addAssign((yyvsp[-1].interm).loc, (yyvsp[-1].interm).op, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6248|      0|        if ((yyval.interm.intermTypedNode) == 0) {
  ------------------
  |  Branch (6248:13): [True: 0, False: 0]
  ------------------
 6249|      0|            parseContext.assignError((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.assignError((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.assignError((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6250|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6251|      0|        }
 6252|      0|    }
 6253|      0|#line 6254 "MachineIndependent/glslang_tab.cpp"
 6254|      0|    break;
 6255|       |
 6256|      0|  case 81: /* assignment_operator: EQUAL  */
  ------------------
  |  Branch (6256:3): [True: 0, False: 2.04M]
  ------------------
 6257|      0|#line 823 "MachineIndependent/glslang.y"
 6258|      0|            {
 6259|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6260|      0|        (yyval.interm).op = EOpAssign;
 6261|      0|    }
 6262|      0|#line 6263 "MachineIndependent/glslang_tab.cpp"
 6263|      0|    break;
 6264|       |
 6265|      0|  case 82: /* assignment_operator: MUL_ASSIGN  */
  ------------------
  |  Branch (6265:3): [True: 0, False: 2.04M]
  ------------------
 6266|      0|#line 827 "MachineIndependent/glslang.y"
 6267|      0|                 {
 6268|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6269|      0|        (yyval.interm).op = EOpMulAssign;
 6270|      0|    }
 6271|      0|#line 6272 "MachineIndependent/glslang_tab.cpp"
 6272|      0|    break;
 6273|       |
 6274|      0|  case 83: /* assignment_operator: DIV_ASSIGN  */
  ------------------
  |  Branch (6274:3): [True: 0, False: 2.04M]
  ------------------
 6275|      0|#line 831 "MachineIndependent/glslang.y"
 6276|      0|                 {
 6277|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6278|      0|        (yyval.interm).op = EOpDivAssign;
 6279|      0|    }
 6280|      0|#line 6281 "MachineIndependent/glslang_tab.cpp"
 6281|      0|    break;
 6282|       |
 6283|      0|  case 84: /* assignment_operator: MOD_ASSIGN  */
  ------------------
  |  Branch (6283:3): [True: 0, False: 2.04M]
  ------------------
 6284|      0|#line 835 "MachineIndependent/glslang.y"
 6285|      0|                 {
 6286|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "%=");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6287|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6288|      0|        (yyval.interm).op = EOpModAssign;
 6289|      0|    }
 6290|      0|#line 6291 "MachineIndependent/glslang_tab.cpp"
 6291|      0|    break;
 6292|       |
 6293|      0|  case 85: /* assignment_operator: ADD_ASSIGN  */
  ------------------
  |  Branch (6293:3): [True: 0, False: 2.04M]
  ------------------
 6294|      0|#line 840 "MachineIndependent/glslang.y"
 6295|      0|                 {
 6296|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6297|      0|        (yyval.interm).op = EOpAddAssign;
 6298|      0|    }
 6299|      0|#line 6300 "MachineIndependent/glslang_tab.cpp"
 6300|      0|    break;
 6301|       |
 6302|      0|  case 86: /* assignment_operator: SUB_ASSIGN  */
  ------------------
  |  Branch (6302:3): [True: 0, False: 2.04M]
  ------------------
 6303|      0|#line 844 "MachineIndependent/glslang.y"
 6304|      0|                 {
 6305|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6306|      0|        (yyval.interm).op = EOpSubAssign;
 6307|      0|    }
 6308|      0|#line 6309 "MachineIndependent/glslang_tab.cpp"
 6309|      0|    break;
 6310|       |
 6311|      0|  case 87: /* assignment_operator: LEFT_ASSIGN  */
  ------------------
  |  Branch (6311:3): [True: 0, False: 2.04M]
  ------------------
 6312|      0|#line 848 "MachineIndependent/glslang.y"
 6313|      0|                  {
 6314|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bit-shift left assign");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6315|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpLeftShiftAssign;
 6316|      0|    }
 6317|      0|#line 6318 "MachineIndependent/glslang_tab.cpp"
 6318|      0|    break;
 6319|       |
 6320|      0|  case 88: /* assignment_operator: RIGHT_ASSIGN  */
  ------------------
  |  Branch (6320:3): [True: 0, False: 2.04M]
  ------------------
 6321|      0|#line 852 "MachineIndependent/glslang.y"
 6322|      0|                   {
 6323|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bit-shift right assign");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6324|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpRightShiftAssign;
 6325|      0|    }
 6326|      0|#line 6327 "MachineIndependent/glslang_tab.cpp"
 6327|      0|    break;
 6328|       |
 6329|      0|  case 89: /* assignment_operator: AND_ASSIGN  */
  ------------------
  |  Branch (6329:3): [True: 0, False: 2.04M]
  ------------------
 6330|      0|#line 856 "MachineIndependent/glslang.y"
 6331|      0|                 {
 6332|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise-and assign");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6333|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpAndAssign;
 6334|      0|    }
 6335|      0|#line 6336 "MachineIndependent/glslang_tab.cpp"
 6336|      0|    break;
 6337|       |
 6338|      0|  case 90: /* assignment_operator: XOR_ASSIGN  */
  ------------------
  |  Branch (6338:3): [True: 0, False: 2.04M]
  ------------------
 6339|      0|#line 860 "MachineIndependent/glslang.y"
 6340|      0|                 {
 6341|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise-xor assign");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6342|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpExclusiveOrAssign;
 6343|      0|    }
 6344|      0|#line 6345 "MachineIndependent/glslang_tab.cpp"
 6345|      0|    break;
 6346|       |
 6347|      0|  case 91: /* assignment_operator: OR_ASSIGN  */
  ------------------
  |  Branch (6347:3): [True: 0, False: 2.04M]
  ------------------
 6348|      0|#line 864 "MachineIndependent/glslang.y"
 6349|      0|                {
 6350|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise-or assign");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6351|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpInclusiveOrAssign;
 6352|      0|    }
 6353|      0|#line 6354 "MachineIndependent/glslang_tab.cpp"
 6354|      0|    break;
 6355|       |
 6356|      0|  case 92: /* expression: assignment_expression  */
  ------------------
  |  Branch (6356:3): [True: 0, False: 2.04M]
  ------------------
 6357|      0|#line 871 "MachineIndependent/glslang.y"
 6358|      0|                            {
 6359|      0|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6360|      0|    }
 6361|      0|#line 6362 "MachineIndependent/glslang_tab.cpp"
 6362|      0|    break;
 6363|       |
 6364|      0|  case 93: /* expression: expression COMMA assignment_expression  */
  ------------------
  |  Branch (6364:3): [True: 0, False: 2.04M]
  ------------------
 6365|      0|#line 874 "MachineIndependent/glslang.y"
 6366|      0|                                             {
 6367|      0|        parseContext.samplerConstructorLocationCheck((yyvsp[-1].lex).loc, ",", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6368|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addComma((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6369|      0|        if ((yyval.interm.intermTypedNode) == 0) {
  ------------------
  |  Branch (6369:13): [True: 0, False: 0]
  ------------------
 6370|      0|            parseContext.binaryOpError((yyvsp[-1].lex).loc, ",", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.binaryOpError((yyvsp[-1].lex).loc, ",", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.binaryOpError((yyvsp[-1].lex).loc, ",", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6371|      0|            (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6372|      0|        }
 6373|      0|    }
 6374|      0|#line 6375 "MachineIndependent/glslang_tab.cpp"
 6375|      0|    break;
 6376|       |
 6377|      0|  case 94: /* constant_expression: conditional_expression  */
  ------------------
  |  Branch (6377:3): [True: 0, False: 2.04M]
  ------------------
 6378|      0|#line 885 "MachineIndependent/glslang.y"
 6379|      0|                             {
 6380|      0|        parseContext.constantValueCheck((yyvsp[0].interm.intermTypedNode), "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6381|      0|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6382|      0|    }
 6383|      0|#line 6384 "MachineIndependent/glslang_tab.cpp"
 6384|      0|    break;
 6385|       |
 6386|  72.0k|  case 95: /* declaration: function_prototype SEMICOLON  */
  ------------------
  |  Branch (6386:3): [True: 72.0k, False: 1.97M]
  ------------------
 6387|  72.0k|#line 892 "MachineIndependent/glslang.y"
 6388|  72.0k|                                   {
 6389|  72.0k|        parseContext.handleFunctionDeclarator((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).function, true /* prototype */);
  ------------------
  |  |  756|  72.0k|#define parseContext (*pParseContext)
  ------------------
 6390|  72.0k|        (yyval.interm.intermNode) = 0;
 6391|       |        // TODO: 4.0 functionality: subroutines: make the identifier a user type for this signature
 6392|  72.0k|    }
 6393|  72.0k|#line 6394 "MachineIndependent/glslang_tab.cpp"
 6394|  72.0k|    break;
 6395|       |
 6396|      0|  case 96: /* declaration: spirv_instruction_qualifier function_prototype SEMICOLON  */
  ------------------
  |  Branch (6396:3): [True: 0, False: 2.04M]
  ------------------
 6397|      0|#line 897 "MachineIndependent/glslang.y"
 6398|      0|                                                               {
 6399|      0|        parseContext.requireExtensions((yyvsp[-1].interm).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V instruction qualifier");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6400|      0|        (yyvsp[-1].interm).function->setSpirvInstruction(*(yyvsp[-2].interm.spirvInst)); // Attach SPIR-V intruction qualifier
 6401|      0|        parseContext.handleFunctionDeclarator((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).function, true /* prototype */);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6402|      0|        (yyval.interm.intermNode) = 0;
 6403|       |        // TODO: 4.0 functionality: subroutines: make the identifier a user type for this signature
 6404|      0|    }
 6405|      0|#line 6406 "MachineIndependent/glslang_tab.cpp"
 6406|      0|    break;
 6407|       |
 6408|      0|  case 97: /* declaration: spirv_execution_mode_qualifier SEMICOLON  */
  ------------------
  |  Branch (6408:3): [True: 0, False: 2.04M]
  ------------------
 6409|      0|#line 904 "MachineIndependent/glslang.y"
 6410|      0|                                               {
 6411|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "SPIR-V execution mode qualifier");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6412|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V execution mode qualifier");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6413|      0|        (yyval.interm.intermNode) = 0;
 6414|      0|    }
 6415|      0|#line 6416 "MachineIndependent/glslang_tab.cpp"
 6416|      0|    break;
 6417|       |
 6418|  3.27k|  case 98: /* declaration: init_declarator_list SEMICOLON  */
  ------------------
  |  Branch (6418:3): [True: 3.27k, False: 2.04M]
  ------------------
 6419|  3.27k|#line 909 "MachineIndependent/glslang.y"
 6420|  3.27k|                                     {
 6421|  3.27k|        if ((yyvsp[-1].interm).intermNode && (yyvsp[-1].interm).intermNode->getAsAggregate())
  ------------------
  |  Branch (6421:13): [True: 0, False: 3.27k]
  |  Branch (6421:46): [True: 0, False: 0]
  ------------------
 6422|      0|            (yyvsp[-1].interm).intermNode->getAsAggregate()->setOperator(EOpSequence);
 6423|  3.27k|        (yyval.interm.intermNode) = (yyvsp[-1].interm).intermNode;
 6424|  3.27k|    }
 6425|  3.27k|#line 6426 "MachineIndependent/glslang_tab.cpp"
 6426|  3.27k|    break;
 6427|       |
 6428|      0|  case 99: /* declaration: PRECISION precision_qualifier type_specifier SEMICOLON  */
  ------------------
  |  Branch (6428:3): [True: 0, False: 2.04M]
  ------------------
 6429|      0|#line 914 "MachineIndependent/glslang.y"
 6430|      0|                                                             {
 6431|      0|        parseContext.profileRequires((yyvsp[-3].lex).loc, ENoProfile, 130, 0, "precision statement");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6432|       |        // lazy setting of the previous scope's defaults, has effect only the first time it is called in a particular scope
 6433|      0|        parseContext.symbolTable.setPreviousDefaultPrecisions(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.setPreviousDefaultPrecisions(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6434|      0|        parseContext.setDefaultPrecision((yyvsp[-3].lex).loc, (yyvsp[-1].interm.type), (yyvsp[-2].interm.type).qualifier.precision);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6435|      0|        (yyval.interm.intermNode) = 0;
 6436|      0|    }
 6437|      0|#line 6438 "MachineIndependent/glslang_tab.cpp"
 6438|      0|    break;
 6439|       |
 6440|     12|  case 100: /* declaration: block_structure SEMICOLON  */
  ------------------
  |  Branch (6440:3): [True: 12, False: 2.04M]
  ------------------
 6441|     12|#line 921 "MachineIndependent/glslang.y"
 6442|     12|                                {
 6443|     12|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).typeList);
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
 6444|     12|    }
 6445|     12|#line 6446 "MachineIndependent/glslang_tab.cpp"
 6446|     12|    break;
 6447|       |
 6448|      0|  case 101: /* declaration: block_structure IDENTIFIER SEMICOLON  */
  ------------------
  |  Branch (6448:3): [True: 0, False: 2.04M]
  ------------------
 6449|      0|#line 924 "MachineIndependent/glslang.y"
 6450|      0|                                           {
 6451|      0|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-2].interm).loc, *(yyvsp[-2].interm).typeList, (yyvsp[-1].lex).string);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6452|      0|    }
 6453|      0|#line 6454 "MachineIndependent/glslang_tab.cpp"
 6454|      0|    break;
 6455|       |
 6456|     24|  case 102: /* declaration: block_structure IDENTIFIER array_specifier SEMICOLON  */
  ------------------
  |  Branch (6456:3): [True: 24, False: 2.04M]
  ------------------
 6457|     24|#line 927 "MachineIndependent/glslang.y"
 6458|     24|                                                           {
 6459|     24|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-3].interm).loc, *(yyvsp[-3].interm).typeList, (yyvsp[-2].lex).string, (yyvsp[-1].interm).arraySizes);
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 6460|     24|    }
 6461|     24|#line 6462 "MachineIndependent/glslang_tab.cpp"
 6462|     24|    break;
 6463|       |
 6464|      0|  case 103: /* declaration: type_qualifier SEMICOLON  */
  ------------------
  |  Branch (6464:3): [True: 0, False: 2.04M]
  ------------------
 6465|      0|#line 930 "MachineIndependent/glslang.y"
 6466|      0|                               {
 6467|      0|        parseContext.globalQualifierFixCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6468|      0|        parseContext.updateStandaloneQualifierDefaults((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6469|      0|        (yyval.interm.intermNode) = 0;
 6470|      0|    }
 6471|      0|#line 6472 "MachineIndependent/glslang_tab.cpp"
 6472|      0|    break;
 6473|       |
 6474|      0|  case 104: /* declaration: type_qualifier identifier_list SEMICOLON  */
  ------------------
  |  Branch (6474:3): [True: 0, False: 2.04M]
  ------------------
 6475|      0|#line 935 "MachineIndependent/glslang.y"
 6476|      0|                                               {
 6477|      0|        parseContext.checkNoShaderLayouts((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).shaderQualifiers);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6478|      0|        parseContext.addQualifierToExisting((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).qualifier, *(yyvsp[-1].interm.identifierList));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6479|      0|        (yyval.interm.intermNode) = 0;
 6480|      0|    }
 6481|      0|#line 6482 "MachineIndependent/glslang_tab.cpp"
 6482|      0|    break;
 6483|       |
 6484|     36|  case 105: /* $@2: %empty  */
  ------------------
  |  Branch (6484:3): [True: 36, False: 2.04M]
  ------------------
 6485|     36|#line 943 "MachineIndependent/glslang.y"
 6486|     36|                                           { parseContext.nestedBlockCheck((yyvsp[-2].interm.type).loc); }
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
 6487|     36|#line 6488 "MachineIndependent/glslang_tab.cpp"
 6488|     36|    break;
 6489|       |
 6490|     36|  case 106: /* block_structure: type_qualifier IDENTIFIER LEFT_BRACE $@2 struct_declaration_without_heap RIGHT_BRACE  */
  ------------------
  |  Branch (6490:3): [True: 36, False: 2.04M]
  ------------------
 6491|     36|#line 943 "MachineIndependent/glslang.y"
 6492|     36|                                                                                                                                  {
 6493|     36|        --parseContext.blockNestingLevel;
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
 6494|     36|        parseContext.blockName = (yyvsp[-4].lex).string;
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
 6495|     36|        parseContext.globalQualifierFixCheck((yyvsp[-5].interm.type).loc, (yyvsp[-5].interm.type).qualifier);
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
 6496|     36|        parseContext.checkNoShaderLayouts((yyvsp[-5].interm.type).loc, (yyvsp[-5].interm.type).shaderQualifiers);
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
 6497|     36|        parseContext.currentBlockQualifier = (yyvsp[-5].interm.type).qualifier;
  ------------------
  |  |  756|     72|#define parseContext (*pParseContext)
  ------------------
 6498|     36|        (yyval.interm).loc = (yyvsp[-5].interm.type).loc;
 6499|     36|        (yyval.interm).typeList = (yyvsp[-1].interm.typeList);
 6500|     36|    }
 6501|     36|#line 6502 "MachineIndependent/glslang_tab.cpp"
 6502|     36|    break;
 6503|       |
 6504|      0|  case 107: /* identifier_list: IDENTIFIER  */
  ------------------
  |  Branch (6504:3): [True: 0, False: 2.04M]
  ------------------
 6505|      0|#line 955 "MachineIndependent/glslang.y"
 6506|      0|                 {
 6507|      0|        (yyval.interm.identifierList) = new TIdentifierList;
 6508|      0|        (yyval.interm.identifierList)->push_back((yyvsp[0].lex).string);
 6509|      0|    }
 6510|      0|#line 6511 "MachineIndependent/glslang_tab.cpp"
 6511|      0|    break;
 6512|       |
 6513|      0|  case 108: /* identifier_list: identifier_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (6513:3): [True: 0, False: 2.04M]
  ------------------
 6514|      0|#line 959 "MachineIndependent/glslang.y"
 6515|      0|                                       {
 6516|      0|        (yyval.interm.identifierList) = (yyvsp[-2].interm.identifierList);
 6517|      0|        (yyval.interm.identifierList)->push_back((yyvsp[0].lex).string);
 6518|      0|    }
 6519|      0|#line 6520 "MachineIndependent/glslang_tab.cpp"
 6520|      0|    break;
 6521|       |
 6522|  72.0k|  case 109: /* function_prototype: function_declarator RIGHT_PAREN  */
  ------------------
  |  Branch (6522:3): [True: 72.0k, False: 1.97M]
  ------------------
 6523|  72.0k|#line 966 "MachineIndependent/glslang.y"
 6524|  72.0k|                                       {
 6525|  72.0k|        (yyval.interm).function = (yyvsp[-1].interm.function);
 6526|  72.0k|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  756|  72.0k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6526:13): [True: 0, False: 72.0k]
  ------------------
 6527|  72.0k|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6528|  72.0k|    }
 6529|  72.0k|#line 6530 "MachineIndependent/glslang_tab.cpp"
 6530|  72.0k|    break;
 6531|       |
 6532|      0|  case 110: /* function_prototype: function_declarator RIGHT_PAREN attribute  */
  ------------------
  |  Branch (6532:3): [True: 0, False: 2.04M]
  ------------------
 6533|      0|#line 971 "MachineIndependent/glslang.y"
 6534|      0|                                                {
 6535|      0|        (yyval.interm).function = (yyvsp[-2].interm.function);
 6536|      0|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6536:13): [True: 0, False: 0]
  ------------------
 6537|      0|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 6538|      0|        const char * extensions[2] = { E_GL_EXT_subgroup_uniform_control_flow, E_GL_EXT_maximal_reconvergence };
 6539|      0|        parseContext.requireExtensions((yyvsp[-1].lex).loc, 2, extensions, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6540|      0|        parseContext.handleFunctionAttributes((yyvsp[-1].lex).loc, *(yyvsp[0].interm.attributes));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6541|      0|    }
 6542|      0|#line 6543 "MachineIndependent/glslang_tab.cpp"
 6543|      0|    break;
 6544|       |
 6545|      0|  case 111: /* function_prototype: attribute function_declarator RIGHT_PAREN  */
  ------------------
  |  Branch (6545:3): [True: 0, False: 2.04M]
  ------------------
 6546|      0|#line 979 "MachineIndependent/glslang.y"
 6547|      0|                                                {
 6548|      0|        (yyval.interm).function = (yyvsp[-1].interm.function);
 6549|      0|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6549:13): [True: 0, False: 0]
  ------------------
 6550|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6551|      0|        const char * extensions[2] = { E_GL_EXT_subgroup_uniform_control_flow, E_GL_EXT_maximal_reconvergence };
 6552|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 2, extensions, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6553|      0|        parseContext.handleFunctionAttributes((yyvsp[0].lex).loc, *(yyvsp[-2].interm.attributes));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6554|      0|    }
 6555|      0|#line 6556 "MachineIndependent/glslang_tab.cpp"
 6556|      0|    break;
 6557|       |
 6558|      0|  case 112: /* function_prototype: attribute function_declarator RIGHT_PAREN attribute  */
  ------------------
  |  Branch (6558:3): [True: 0, False: 2.04M]
  ------------------
 6559|      0|#line 987 "MachineIndependent/glslang.y"
 6560|      0|                                                          {
 6561|      0|        (yyval.interm).function = (yyvsp[-2].interm.function);
 6562|      0|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6562:13): [True: 0, False: 0]
  ------------------
 6563|      0|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 6564|      0|        const char * extensions[2] = { E_GL_EXT_subgroup_uniform_control_flow, E_GL_EXT_maximal_reconvergence };
 6565|      0|        parseContext.requireExtensions((yyvsp[-1].lex).loc, 2, extensions, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6566|      0|        parseContext.handleFunctionAttributes((yyvsp[-1].lex).loc, *(yyvsp[-3].interm.attributes));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6567|      0|        parseContext.handleFunctionAttributes((yyvsp[-1].lex).loc, *(yyvsp[0].interm.attributes));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6568|      0|    }
 6569|      0|#line 6570 "MachineIndependent/glslang_tab.cpp"
 6570|      0|    break;
 6571|       |
 6572|    357|  case 113: /* function_declarator: function_header  */
  ------------------
  |  Branch (6572:3): [True: 357, False: 2.04M]
  ------------------
 6573|    357|#line 999 "MachineIndependent/glslang.y"
 6574|    357|                      {
 6575|    357|        (yyval.interm.function) = (yyvsp[0].interm.function);
 6576|    357|    }
 6577|    357|#line 6578 "MachineIndependent/glslang_tab.cpp"
 6578|    357|    break;
 6579|       |
 6580|  71.6k|  case 114: /* function_declarator: function_header_with_parameters  */
  ------------------
  |  Branch (6580:3): [True: 71.6k, False: 1.97M]
  ------------------
 6581|  71.6k|#line 1002 "MachineIndependent/glslang.y"
 6582|  71.6k|                                      {
 6583|  71.6k|        (yyval.interm.function) = (yyvsp[0].interm.function);
 6584|  71.6k|    }
 6585|  71.6k|#line 6586 "MachineIndependent/glslang_tab.cpp"
 6586|  71.6k|    break;
 6587|       |
 6588|  71.6k|  case 115: /* function_header_with_parameters: function_header parameter_declaration  */
  ------------------
  |  Branch (6588:3): [True: 71.6k, False: 1.97M]
  ------------------
 6589|  71.6k|#line 1009 "MachineIndependent/glslang.y"
 6590|  71.6k|                                            {
 6591|       |        // Add the parameter
 6592|  71.6k|        (yyval.interm.function) = (yyvsp[-1].interm.function);
 6593|  71.6k|        if ((yyvsp[0].interm).param.type->getBasicType() != EbtVoid)
  ------------------
  |  Branch (6593:13): [True: 71.6k, False: 94]
  ------------------
 6594|  71.6k|        {
 6595|  71.6k|            if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  756|  71.6k|#define parseContext (*pParseContext)
  ------------------
                          if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  756|  24.3k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6595:19): [True: 24.3k, False: 47.2k]
  |  Branch (6595:57): [True: 0, False: 24.3k]
  ------------------
 6596|  71.6k|                (yyvsp[-1].interm.function)->addParameter((yyvsp[0].interm).param);
 6597|      0|            else
 6598|      0|                parseContext.vkRelaxedRemapFunctionParameter((yyvsp[-1].interm.function), (yyvsp[0].interm).param);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6599|  71.6k|        }
 6600|     94|        else
 6601|     94|            delete (yyvsp[0].interm).param.type;
 6602|  71.6k|    }
 6603|  71.6k|#line 6604 "MachineIndependent/glslang_tab.cpp"
 6604|  71.6k|    break;
 6605|       |
 6606|   113k|  case 116: /* function_header_with_parameters: function_header_with_parameters COMMA parameter_declaration  */
  ------------------
  |  Branch (6606:3): [True: 113k, False: 1.93M]
  ------------------
 6607|   113k|#line 1022 "MachineIndependent/glslang.y"
 6608|   113k|                                                                  {
 6609|       |        //
 6610|       |        // Only first parameter of one-parameter functions can be void
 6611|       |        // The check for named parameters not being void is done in parameter_declarator
 6612|       |        //
 6613|   113k|        if ((yyvsp[0].interm).param.type->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (6613:13): [True: 0, False: 113k]
  ------------------
 6614|       |            //
 6615|       |            // This parameter > first is void
 6616|       |            //
 6617|      0|            parseContext.error((yyvsp[-1].lex).loc, "cannot be an argument type except for '(void)'", "void", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6618|      0|            delete (yyvsp[0].interm).param.type;
 6619|   113k|        } else {
 6620|       |            // Add the parameter
 6621|   113k|            (yyval.interm.function) = (yyvsp[-2].interm.function);
 6622|   113k|            if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  756|   113k|#define parseContext (*pParseContext)
  ------------------
                          if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  756|  46.3k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6622:19): [True: 46.3k, False: 67.4k]
  |  Branch (6622:57): [True: 0, False: 46.3k]
  ------------------
 6623|   113k|                (yyvsp[-2].interm.function)->addParameter((yyvsp[0].interm).param);
 6624|      0|            else
 6625|      0|                parseContext.vkRelaxedRemapFunctionParameter((yyvsp[-2].interm.function), (yyvsp[0].interm).param);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6626|   113k|        }
 6627|   113k|    }
 6628|   113k|#line 6629 "MachineIndependent/glslang_tab.cpp"
 6629|   113k|    break;
 6630|       |
 6631|    240|  case 117: /* function_header_with_parameters: function_header_with_parameters COMMA DOT DOT DOT  */
  ------------------
  |  Branch (6631:3): [True: 240, False: 2.04M]
  ------------------
 6632|    240|#line 1042 "MachineIndependent/glslang.y"
 6633|    240|                                                        {
 6634|    240|        (yyval.interm.function) = (yyvsp[-4].interm.function);
 6635|    240|        parseContext.makeVariadic((yyvsp[-4].interm.function), (yyvsp[-2].lex).loc);
  ------------------
  |  |  756|    240|#define parseContext (*pParseContext)
  ------------------
 6636|    240|    }
 6637|    240|#line 6638 "MachineIndependent/glslang_tab.cpp"
 6638|    240|    break;
 6639|       |
 6640|  72.0k|  case 118: /* function_header: fully_specified_type IDENTIFIER LEFT_PAREN  */
  ------------------
  |  Branch (6640:3): [True: 72.0k, False: 1.97M]
  ------------------
 6641|  72.0k|#line 1049 "MachineIndependent/glslang.y"
 6642|  72.0k|                                                 {
 6643|  72.0k|        if ((yyvsp[-2].interm.type).qualifier.storage != EvqGlobal && (yyvsp[-2].interm.type).qualifier.storage != EvqTemporary) {
  ------------------
  |  Branch (6643:13): [True: 0, False: 72.0k]
  |  Branch (6643:71): [True: 0, False: 0]
  ------------------
 6644|      0|            parseContext.error((yyvsp[-1].lex).loc, "no qualifiers allowed for function return",
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6645|      0|                               GetStorageQualifierString((yyvsp[-2].interm.type).qualifier.storage), "");
 6646|      0|        }
 6647|  72.0k|        if ((yyvsp[-2].interm.type).arraySizes)
  ------------------
  |  Branch (6647:13): [True: 0, False: 72.0k]
  ------------------
 6648|      0|            parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6649|       |
 6650|       |        // Add the function as a prototype after parsing it (we do not support recursion)
 6651|  72.0k|        TFunction *function;
 6652|  72.0k|        TType type((yyvsp[-2].interm.type));
 6653|       |
 6654|       |        // Potentially rename shader entry point function.  No-op most of the time.
 6655|  72.0k|        parseContext.renameShaderFunction((yyvsp[-1].lex).string);
  ------------------
  |  |  756|  72.0k|#define parseContext (*pParseContext)
  ------------------
 6656|       |
 6657|       |        // Make the function
 6658|  72.0k|        function = new TFunction((yyvsp[-1].lex).string, type);
 6659|  72.0k|        (yyval.interm.function) = function;
 6660|  72.0k|    }
 6661|  72.0k|#line 6662 "MachineIndependent/glslang_tab.cpp"
 6662|  72.0k|    break;
 6663|       |
 6664|  31.7k|  case 119: /* parameter_declarator: type_specifier IDENTIFIER  */
  ------------------
  |  Branch (6664:3): [True: 31.7k, False: 2.01M]
  ------------------
 6665|  31.7k|#line 1072 "MachineIndependent/glslang.y"
 6666|  31.7k|                                {
 6667|  31.7k|        if ((yyvsp[-1].interm.type).arraySizes) {
  ------------------
  |  Branch (6667:13): [True: 3.90k, False: 27.8k]
  ------------------
 6668|  3.90k|            parseContext.profileRequires((yyvsp[-1].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  756|  3.90k|#define parseContext (*pParseContext)
  ------------------
 6669|  3.90k|            parseContext.profileRequires((yyvsp[-1].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  756|  3.90k|#define parseContext (*pParseContext)
  ------------------
 6670|  3.90k|            parseContext.arraySizeRequiredCheck((yyvsp[-1].interm.type).loc, *(yyvsp[-1].interm.type).arraySizes);
  ------------------
  |  |  756|  3.90k|#define parseContext (*pParseContext)
  ------------------
 6671|  3.90k|        }
 6672|  31.7k|        if ((yyvsp[-1].interm.type).basicType == EbtVoid) {
  ------------------
  |  Branch (6672:13): [True: 0, False: 31.7k]
  ------------------
 6673|      0|            parseContext.error((yyvsp[0].lex).loc, "illegal use of type 'void'", (yyvsp[0].lex).string->c_str(), "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6674|      0|        }
 6675|  31.7k|        parseContext.reservedErrorCheck((yyvsp[0].lex).loc, *(yyvsp[0].lex).string);
  ------------------
  |  |  756|  31.7k|#define parseContext (*pParseContext)
  ------------------
 6676|       |
 6677|  31.7k|        TParameter param = {(yyvsp[0].lex).string, new TType((yyvsp[-1].interm.type)), {}};
 6678|  31.7k|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6679|  31.7k|        (yyval.interm).param = param;
 6680|  31.7k|    }
 6681|  31.7k|#line 6682 "MachineIndependent/glslang_tab.cpp"
 6682|  31.7k|    break;
 6683|       |
 6684|    872|  case 120: /* parameter_declarator: type_specifier IDENTIFIER array_specifier  */
  ------------------
  |  Branch (6684:3): [True: 872, False: 2.04M]
  ------------------
 6685|    872|#line 1087 "MachineIndependent/glslang.y"
 6686|    872|                                                {
 6687|    872|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (6687:13): [True: 0, False: 872]
  ------------------
 6688|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6689|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6690|      0|            parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6691|      0|        }
 6692|    872|        TType* type = new TType((yyvsp[-2].interm.type));
 6693|    872|        type->transferArraySizes((yyvsp[0].interm).arraySizes);
 6694|    872|        type->copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
 6695|       |
 6696|    872|        parseContext.arrayOfArrayVersionCheck((yyvsp[-1].lex).loc, type->getArraySizes());
  ------------------
  |  |  756|    872|#define parseContext (*pParseContext)
  ------------------
 6697|    872|        parseContext.arraySizeRequiredCheck((yyvsp[0].interm).loc, *(yyvsp[0].interm).arraySizes);
  ------------------
  |  |  756|    872|#define parseContext (*pParseContext)
  ------------------
 6698|    872|        parseContext.reservedErrorCheck((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string);
  ------------------
  |  |  756|    872|#define parseContext (*pParseContext)
  ------------------
 6699|       |
 6700|    872|        TParameter param = { (yyvsp[-1].lex).string, type, {} };
 6701|       |
 6702|    872|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 6703|    872|        (yyval.interm).param = param;
 6704|    872|    }
 6705|    872|#line 6706 "MachineIndependent/glslang_tab.cpp"
 6706|    872|    break;
 6707|       |
 6708|    240|  case 121: /* parameter_declarator: type_specifier IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (6708:3): [True: 240, False: 2.04M]
  ------------------
 6709|    240|#line 1106 "MachineIndependent/glslang.y"
 6710|    240|                                                  {
 6711|    240|        TParameter param = parseContext.getParamWithDefault((yyvsp[-3].interm.type), (yyvsp[-2].lex).string, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|    240|#define parseContext (*pParseContext)
  ------------------
 6712|    240|        (yyval.interm).loc = (yyvsp[-2].lex).loc;
 6713|    240|        (yyval.interm).param = param;
 6714|    240|    }
 6715|    240|#line 6716 "MachineIndependent/glslang_tab.cpp"
 6716|    240|    break;
 6717|       |
 6718|  4.06k|  case 122: /* parameter_declaration: type_qualifier parameter_declarator  */
  ------------------
  |  Branch (6718:3): [True: 4.06k, False: 2.04M]
  ------------------
 6719|  4.06k|#line 1117 "MachineIndependent/glslang.y"
 6720|  4.06k|                                          {
 6721|  4.06k|        (yyval.interm) = (yyvsp[0].interm);
 6722|  4.06k|        if ((yyvsp[-1].interm.type).qualifier.precision != EpqNone)
  ------------------
  |  Branch (6722:13): [True: 68, False: 3.99k]
  ------------------
 6723|     68|            (yyval.interm).param.type->getQualifier().precision = (yyvsp[-1].interm.type).qualifier.precision;
 6724|  4.06k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  756|  4.06k|#define parseContext (*pParseContext)
  ------------------
 6725|       |
 6726|  4.06k|        parseContext.checkNoShaderLayouts((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  756|  4.06k|#define parseContext (*pParseContext)
  ------------------
 6727|  4.06k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, (yyvsp[-1].interm.type).qualifier.storage, *(yyval.interm).param.type);
  ------------------
  |  |  756|  4.06k|#define parseContext (*pParseContext)
  ------------------
 6728|  4.06k|        parseContext.paramCheckFix((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, *(yyval.interm).param.type);
  ------------------
  |  |  756|  4.06k|#define parseContext (*pParseContext)
  ------------------
 6729|       |
 6730|  4.06k|    }
 6731|  4.06k|#line 6732 "MachineIndependent/glslang_tab.cpp"
 6732|  4.06k|    break;
 6733|       |
 6734|  28.8k|  case 123: /* parameter_declaration: parameter_declarator  */
  ------------------
  |  Branch (6734:3): [True: 28.8k, False: 2.01M]
  ------------------
 6735|  28.8k|#line 1128 "MachineIndependent/glslang.y"
 6736|  28.8k|                           {
 6737|  28.8k|        (yyval.interm) = (yyvsp[0].interm);
 6738|       |
 6739|  28.8k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, EvqIn, *(yyvsp[0].interm).param.type);
  ------------------
  |  |  756|  28.8k|#define parseContext (*pParseContext)
  ------------------
 6740|  28.8k|        parseContext.paramCheckFixStorage((yyvsp[0].interm).loc, EvqTemporary, *(yyval.interm).param.type);
  ------------------
  |  |  756|  28.8k|#define parseContext (*pParseContext)
  ------------------
 6741|  28.8k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  756|  28.8k|#define parseContext (*pParseContext)
  ------------------
 6742|  28.8k|    }
 6743|  28.8k|#line 6744 "MachineIndependent/glslang_tab.cpp"
 6744|  28.8k|    break;
 6745|       |
 6746|  14.9k|  case 124: /* parameter_declaration: type_qualifier parameter_type_specifier  */
  ------------------
  |  Branch (6746:3): [True: 14.9k, False: 2.03M]
  ------------------
 6747|  14.9k|#line 1138 "MachineIndependent/glslang.y"
 6748|  14.9k|                                              {
 6749|  14.9k|        (yyval.interm) = (yyvsp[0].interm);
 6750|  14.9k|        if ((yyvsp[-1].interm.type).qualifier.precision != EpqNone)
  ------------------
  |  Branch (6750:13): [True: 1.88k, False: 13.0k]
  ------------------
 6751|  1.88k|            (yyval.interm).param.type->getQualifier().precision = (yyvsp[-1].interm.type).qualifier.precision;
 6752|  14.9k|        parseContext.precisionQualifierCheck((yyvsp[-1].interm.type).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  756|  14.9k|#define parseContext (*pParseContext)
  ------------------
 6753|       |
 6754|  14.9k|        parseContext.checkNoShaderLayouts((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  756|  14.9k|#define parseContext (*pParseContext)
  ------------------
 6755|  14.9k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, (yyvsp[-1].interm.type).qualifier.storage, *(yyval.interm).param.type);
  ------------------
  |  |  756|  14.9k|#define parseContext (*pParseContext)
  ------------------
 6756|  14.9k|        parseContext.paramCheckFix((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, *(yyval.interm).param.type);
  ------------------
  |  |  756|  14.9k|#define parseContext (*pParseContext)
  ------------------
 6757|  14.9k|    }
 6758|  14.9k|#line 6759 "MachineIndependent/glslang_tab.cpp"
 6759|  14.9k|    break;
 6760|       |
 6761|   137k|  case 125: /* parameter_declaration: parameter_type_specifier  */
  ------------------
  |  Branch (6761:3): [True: 137k, False: 1.90M]
  ------------------
 6762|   137k|#line 1148 "MachineIndependent/glslang.y"
 6763|   137k|                               {
 6764|   137k|        (yyval.interm) = (yyvsp[0].interm);
 6765|       |
 6766|   137k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, EvqIn, *(yyvsp[0].interm).param.type);
  ------------------
  |  |  756|   137k|#define parseContext (*pParseContext)
  ------------------
 6767|   137k|        parseContext.paramCheckFixStorage((yyvsp[0].interm).loc, EvqTemporary, *(yyval.interm).param.type);
  ------------------
  |  |  756|   137k|#define parseContext (*pParseContext)
  ------------------
 6768|   137k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  756|   137k|#define parseContext (*pParseContext)
  ------------------
 6769|   137k|    }
 6770|   137k|#line 6771 "MachineIndependent/glslang_tab.cpp"
 6771|   137k|    break;
 6772|       |
 6773|   152k|  case 126: /* parameter_type_specifier: type_specifier  */
  ------------------
  |  Branch (6773:3): [True: 152k, False: 1.89M]
  ------------------
 6774|   152k|#line 1158 "MachineIndependent/glslang.y"
 6775|   152k|                     {
 6776|   152k|        TParameter param = { 0, new TType((yyvsp[0].interm.type)), {} };
 6777|   152k|        (yyval.interm).param = param;
 6778|   152k|        if ((yyvsp[0].interm.type).arraySizes)
  ------------------
  |  Branch (6778:13): [True: 752, False: 151k]
  ------------------
 6779|    752|            parseContext.arraySizeRequiredCheck((yyvsp[0].interm.type).loc, *(yyvsp[0].interm.type).arraySizes);
  ------------------
  |  |  756|    752|#define parseContext (*pParseContext)
  ------------------
 6780|   152k|    }
 6781|   152k|#line 6782 "MachineIndependent/glslang_tab.cpp"
 6782|   152k|    break;
 6783|       |
 6784|  3.28k|  case 127: /* init_declarator_list: single_declaration  */
  ------------------
  |  Branch (6784:3): [True: 3.28k, False: 2.04M]
  ------------------
 6785|  3.28k|#line 1167 "MachineIndependent/glslang.y"
 6786|  3.28k|                         {
 6787|  3.28k|        (yyval.interm) = (yyvsp[0].interm);
 6788|  3.28k|    }
 6789|  3.28k|#line 6790 "MachineIndependent/glslang_tab.cpp"
 6790|  3.28k|    break;
 6791|       |
 6792|      0|  case 128: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (6792:3): [True: 0, False: 2.04M]
  ------------------
 6793|      0|#line 1170 "MachineIndependent/glslang.y"
 6794|      0|                                            {
 6795|      0|        (yyval.interm) = (yyvsp[-2].interm);
 6796|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[0].lex).loc, *(yyvsp[0].lex).string, (yyvsp[-2].interm).type);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6797|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, declNode, (yyvsp[0].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6798|      0|    }
 6799|      0|#line 6800 "MachineIndependent/glslang_tab.cpp"
 6800|      0|    break;
 6801|       |
 6802|      0|  case 129: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER array_specifier  */
  ------------------
  |  Branch (6802:3): [True: 0, False: 2.04M]
  ------------------
 6803|      0|#line 1175 "MachineIndependent/glslang.y"
 6804|      0|                                                            {
 6805|      0|        (yyval.interm) = (yyvsp[-3].interm);
 6806|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string, (yyvsp[-3].interm).type, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6807|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-3].interm).intermNode, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6808|      0|    }
 6809|      0|#line 6810 "MachineIndependent/glslang_tab.cpp"
 6810|      0|    break;
 6811|       |
 6812|      0|  case 130: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER array_specifier EQUAL initializer  */
  ------------------
  |  Branch (6812:3): [True: 0, False: 2.04M]
  ------------------
 6813|      0|#line 1180 "MachineIndependent/glslang.y"
 6814|      0|                                                                              {
 6815|      0|        (yyval.interm).type = (yyvsp[-5].interm).type;
 6816|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-3].lex).loc, *(yyvsp[-3].lex).string, (yyvsp[-5].interm).type, (yyvsp[-2].interm).arraySizes, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6817|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-5].interm).intermNode, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6818|      0|    }
 6819|      0|#line 6820 "MachineIndependent/glslang_tab.cpp"
 6820|      0|    break;
 6821|       |
 6822|      0|  case 131: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (6822:3): [True: 0, False: 2.04M]
  ------------------
 6823|      0|#line 1185 "MachineIndependent/glslang.y"
 6824|      0|                                                              {
 6825|      0|        (yyval.interm).type = (yyvsp[-4].interm).type;
 6826|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-4].interm).type, 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6827|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-4].interm).intermNode, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6828|      0|    }
 6829|      0|#line 6830 "MachineIndependent/glslang_tab.cpp"
 6830|      0|    break;
 6831|       |
 6832|    113|  case 132: /* single_declaration: fully_specified_type  */
  ------------------
  |  Branch (6832:3): [True: 113, False: 2.04M]
  ------------------
 6833|    113|#line 1193 "MachineIndependent/glslang.y"
 6834|    113|                           {
 6835|    113|        (yyval.interm).type = (yyvsp[0].interm.type);
 6836|    113|        (yyval.interm).intermNode = 0;
 6837|    113|        parseContext.declareTypeDefaults((yyval.interm).loc, (yyval.interm).type);
  ------------------
  |  |  756|    113|#define parseContext (*pParseContext)
  ------------------
 6838|    113|    }
 6839|    113|#line 6840 "MachineIndependent/glslang_tab.cpp"
 6840|    113|    break;
 6841|       |
 6842|  2.06k|  case 133: /* single_declaration: fully_specified_type IDENTIFIER  */
  ------------------
  |  Branch (6842:3): [True: 2.06k, False: 2.04M]
  ------------------
 6843|  2.06k|#line 1198 "MachineIndependent/glslang.y"
 6844|  2.06k|                                      {
 6845|  2.06k|        (yyval.interm).type = (yyvsp[-1].interm.type);
 6846|  2.06k|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[0].lex).loc, *(yyvsp[0].lex).string, (yyvsp[-1].interm.type));
  ------------------
  |  |  756|  2.06k|#define parseContext (*pParseContext)
  ------------------
 6847|  2.06k|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[0].lex).loc);
  ------------------
  |  |  756|  2.06k|#define parseContext (*pParseContext)
  ------------------
 6848|       |
 6849|  2.06k|    }
 6850|  2.06k|#line 6851 "MachineIndependent/glslang_tab.cpp"
 6851|  2.06k|    break;
 6852|       |
 6853|     96|  case 134: /* single_declaration: fully_specified_type IDENTIFIER array_specifier  */
  ------------------
  |  Branch (6853:3): [True: 96, False: 2.04M]
  ------------------
 6854|     96|#line 1204 "MachineIndependent/glslang.y"
 6855|     96|                                                      {
 6856|     96|        (yyval.interm).type = (yyvsp[-2].interm.type);
 6857|     96|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string, (yyvsp[-2].interm.type), (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  756|     96|#define parseContext (*pParseContext)
  ------------------
 6858|     96|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|     96|#define parseContext (*pParseContext)
  ------------------
 6859|     96|    }
 6860|     96|#line 6861 "MachineIndependent/glslang_tab.cpp"
 6861|     96|    break;
 6862|       |
 6863|      0|  case 135: /* single_declaration: fully_specified_type IDENTIFIER array_specifier EQUAL initializer  */
  ------------------
  |  Branch (6863:3): [True: 0, False: 2.04M]
  ------------------
 6864|      0|#line 1209 "MachineIndependent/glslang.y"
 6865|      0|                                                                        {
 6866|      0|        (yyval.interm).type = (yyvsp[-4].interm.type);
 6867|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-3].lex).loc, *(yyvsp[-3].lex).string, (yyvsp[-4].interm.type), (yyvsp[-2].interm).arraySizes, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6868|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-3].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6869|      0|    }
 6870|      0|#line 6871 "MachineIndependent/glslang_tab.cpp"
 6871|      0|    break;
 6872|       |
 6873|  1.01k|  case 136: /* single_declaration: fully_specified_type IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (6873:3): [True: 1.01k, False: 2.04M]
  ------------------
 6874|  1.01k|#line 1214 "MachineIndependent/glslang.y"
 6875|  1.01k|                                                        {
 6876|  1.01k|        (yyval.interm).type = (yyvsp[-3].interm.type);
 6877|  1.01k|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-3].interm.type), 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|  1.01k|#define parseContext (*pParseContext)
  ------------------
 6878|  1.01k|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-2].lex).loc);
  ------------------
  |  |  756|  1.01k|#define parseContext (*pParseContext)
  ------------------
 6879|  1.01k|    }
 6880|  1.01k|#line 6881 "MachineIndependent/glslang_tab.cpp"
 6881|  1.01k|    break;
 6882|       |
 6883|  69.1k|  case 137: /* fully_specified_type: type_specifier  */
  ------------------
  |  Branch (6883:3): [True: 69.1k, False: 1.97M]
  ------------------
 6884|  69.1k|#line 1223 "MachineIndependent/glslang.y"
 6885|  69.1k|                     {
 6886|  69.1k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 6887|       |
 6888|  69.1k|        parseContext.globalQualifierTypeCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier, (yyval.interm.type));
  ------------------
  |  |  756|  69.1k|#define parseContext (*pParseContext)
  ------------------
 6889|  69.1k|        if ((yyvsp[0].interm.type).arraySizes) {
  ------------------
  |  Branch (6889:13): [True: 0, False: 69.1k]
  ------------------
 6890|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6891|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6892|      0|        }
 6893|  69.1k|        parseContext.precisionQualifierCheck((yyval.interm.type).loc, (yyval.interm.type).basicType, (yyval.interm.type).qualifier, (yyval.interm.type).hasTypeParameter());
  ------------------
  |  |  756|  69.1k|#define parseContext (*pParseContext)
  ------------------
 6894|  69.1k|    }
 6895|  69.1k|#line 6896 "MachineIndependent/glslang_tab.cpp"
 6896|  69.1k|    break;
 6897|       |
 6898|  6.21k|  case 138: /* fully_specified_type: type_qualifier type_specifier  */
  ------------------
  |  Branch (6898:3): [True: 6.21k, False: 2.03M]
  ------------------
 6899|  6.21k|#line 1233 "MachineIndependent/glslang.y"
 6900|  6.21k|                                     {
 6901|  6.21k|        parseContext.globalQualifierFixCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, false, &(yyvsp[0].interm.type));
  ------------------
  |  |  756|  6.21k|#define parseContext (*pParseContext)
  ------------------
 6902|  6.21k|        parseContext.globalQualifierTypeCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, (yyvsp[0].interm.type));
  ------------------
  |  |  756|  6.21k|#define parseContext (*pParseContext)
  ------------------
 6903|       |
 6904|  6.21k|        if ((yyvsp[0].interm.type).arraySizes) {
  ------------------
  |  Branch (6904:13): [True: 0, False: 6.21k]
  ------------------
 6905|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6906|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6907|      0|        }
 6908|       |
 6909|  6.21k|        if ((yyvsp[0].interm.type).arraySizes && parseContext.arrayQualifierError((yyvsp[0].interm.type).loc, (yyvsp[-1].interm.type).qualifier))
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6909:13): [True: 0, False: 6.21k]
  |  Branch (6909:50): [True: 0, False: 0]
  ------------------
 6910|      0|            (yyvsp[0].interm.type).arraySizes = nullptr;
 6911|       |
 6912|  6.21k|        parseContext.checkNoShaderLayouts((yyvsp[0].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  756|  6.21k|#define parseContext (*pParseContext)
  ------------------
 6913|  6.21k|        (yyvsp[0].interm.type).shaderQualifiers.merge((yyvsp[-1].interm.type).shaderQualifiers);
 6914|  6.21k|        parseContext.mergeQualifiers((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier, (yyvsp[-1].interm.type).qualifier, true);
  ------------------
  |  |  756|  6.21k|#define parseContext (*pParseContext)
  ------------------
 6915|  6.21k|        parseContext.precisionQualifierCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).basicType, (yyvsp[0].interm.type).qualifier, (yyvsp[0].interm.type).hasTypeParameter());
  ------------------
  |  |  756|  6.21k|#define parseContext (*pParseContext)
  ------------------
 6916|       |
 6917|  6.21k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 6918|       |
 6919|  6.21k|        if (! (yyval.interm.type).qualifier.isInterpolation() &&
  ------------------
  |  Branch (6919:13): [True: 6.14k, False: 70]
  ------------------
 6920|  6.14k|            ((parseContext.language == EShLangVertex   && (yyval.interm.type).qualifier.storage == EvqVaryingOut) ||
  ------------------
  |  |  756|  6.14k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6920:15): [True: 4.20k, False: 1.93k]
  |  Branch (6920:59): [True: 32, False: 4.17k]
  ------------------
 6921|  6.11k|             (parseContext.language == EShLangFragment && (yyval.interm.type).qualifier.storage == EvqVaryingIn)))
  ------------------
  |  |  756|  6.11k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6921:15): [True: 316, False: 5.79k]
  |  Branch (6921:59): [True: 30, False: 286]
  ------------------
 6922|     62|            (yyval.interm.type).qualifier.smooth = true;
 6923|  6.21k|    }
 6924|  6.21k|#line 6925 "MachineIndependent/glslang_tab.cpp"
 6925|  6.21k|    break;
 6926|       |
 6927|      0|  case 139: /* invariant_qualifier: INVARIANT  */
  ------------------
  |  Branch (6927:3): [True: 0, False: 2.04M]
  ------------------
 6928|      0|#line 1260 "MachineIndependent/glslang.y"
 6929|      0|                {
 6930|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "invariant");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6931|      0|        parseContext.profileRequires((yyval.interm.type).loc, ENoProfile, 120, 0, "invariant");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6932|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 6933|      0|        (yyval.interm.type).qualifier.invariant = true;
 6934|      0|    }
 6935|      0|#line 6936 "MachineIndependent/glslang_tab.cpp"
 6936|      0|    break;
 6937|       |
 6938|      0|  case 140: /* interpolation_qualifier: SMOOTH  */
  ------------------
  |  Branch (6938:3): [True: 0, False: 2.04M]
  ------------------
 6939|      0|#line 1269 "MachineIndependent/glslang.y"
 6940|      0|             {
 6941|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "smooth");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6942|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "smooth");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6943|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "smooth");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6944|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 6945|      0|        (yyval.interm.type).qualifier.smooth = true;
 6946|      0|    }
 6947|      0|#line 6948 "MachineIndependent/glslang_tab.cpp"
 6948|      0|    break;
 6949|       |
 6950|     70|  case 141: /* interpolation_qualifier: FLAT  */
  ------------------
  |  Branch (6950:3): [True: 70, False: 2.04M]
  ------------------
 6951|     70|#line 1276 "MachineIndependent/glslang.y"
 6952|     70|           {
 6953|     70|        parseContext.globalCheck((yyvsp[0].lex).loc, "flat");
  ------------------
  |  |  756|     70|#define parseContext (*pParseContext)
  ------------------
 6954|     70|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "flat");
  ------------------
  |  |  756|     70|#define parseContext (*pParseContext)
  ------------------
 6955|     70|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "flat");
  ------------------
  |  |  756|     70|#define parseContext (*pParseContext)
  ------------------
 6956|     70|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 6957|     70|        (yyval.interm.type).qualifier.flat = true;
 6958|     70|    }
 6959|     70|#line 6960 "MachineIndependent/glslang_tab.cpp"
 6960|     70|    break;
 6961|       |
 6962|      0|  case 142: /* interpolation_qualifier: NOPERSPECTIVE  */
  ------------------
  |  Branch (6962:3): [True: 0, False: 2.04M]
  ------------------
 6963|      0|#line 1283 "MachineIndependent/glslang.y"
 6964|      0|                    {
 6965|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "noperspective");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6966|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_NV_shader_noperspective_interpolation, "noperspective");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6967|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "noperspective");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6968|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 6969|      0|        (yyval.interm.type).qualifier.nopersp = true;
 6970|      0|    }
 6971|      0|#line 6972 "MachineIndependent/glslang_tab.cpp"
 6972|      0|    break;
 6973|       |
 6974|      0|  case 143: /* interpolation_qualifier: EXPLICITINTERPAMD  */
  ------------------
  |  Branch (6974:3): [True: 0, False: 2.04M]
  ------------------
 6975|      0|#line 1290 "MachineIndependent/glslang.y"
 6976|      0|                        {
 6977|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "__explicitInterpAMD");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6978|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 450, E_GL_AMD_shader_explicit_vertex_parameter, "explicit interpolation");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6979|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECompatibilityProfile, 450, E_GL_AMD_shader_explicit_vertex_parameter, "explicit interpolation");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6980|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 6981|      0|        (yyval.interm.type).qualifier.explicitInterp = true;
 6982|      0|    }
 6983|      0|#line 6984 "MachineIndependent/glslang_tab.cpp"
 6984|      0|    break;
 6985|       |
 6986|      0|  case 144: /* interpolation_qualifier: PERVERTEXNV  */
  ------------------
  |  Branch (6986:3): [True: 0, False: 2.04M]
  ------------------
 6987|      0|#line 1297 "MachineIndependent/glslang.y"
 6988|      0|                  {
 6989|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "pervertexNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6990|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6991|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECompatibilityProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6992|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6993|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 6994|      0|        (yyval.interm.type).qualifier.pervertexNV = true;
 6995|      0|    }
 6996|      0|#line 6997 "MachineIndependent/glslang_tab.cpp"
 6997|      0|    break;
 6998|       |
 6999|      0|  case 145: /* interpolation_qualifier: PERVERTEXEXT  */
  ------------------
  |  Branch (6999:3): [True: 0, False: 2.04M]
  ------------------
 7000|      0|#line 1305 "MachineIndependent/glslang.y"
 7001|      0|                   {
 7002|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "pervertexEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7003|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 0, E_GL_EXT_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7004|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECompatibilityProfile, 0, E_GL_EXT_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7005|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_EXT_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7006|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7007|      0|        (yyval.interm.type).qualifier.pervertexEXT = true;
 7008|      0|    }
 7009|      0|#line 7010 "MachineIndependent/glslang_tab.cpp"
 7010|      0|    break;
 7011|       |
 7012|      4|  case 146: /* interpolation_qualifier: PERPRIMITIVENV  */
  ------------------
  |  Branch (7012:3): [True: 4, False: 2.04M]
  ------------------
 7013|      4|#line 1313 "MachineIndependent/glslang.y"
 7014|      4|                     {
 7015|       |        // No need for profile version or extension check. Shader stage already checks both.
 7016|      4|        parseContext.globalCheck((yyvsp[0].lex).loc, "perprimitiveNV");
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
 7017|      4|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangFragmentMask | EShLangMeshMask), "perprimitiveNV");
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
 7018|       |        // Fragment shader stage doesn't check for extension. So we explicitly add below extension check.
 7019|      4|        if (parseContext.language == EShLangFragment)
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7019:13): [True: 0, False: 4]
  ------------------
 7020|      0|            parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_NV_mesh_shader, "perprimitiveNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7021|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7022|      4|        (yyval.interm.type).qualifier.perPrimitiveNV = true;
 7023|      4|    }
 7024|      4|#line 7025 "MachineIndependent/glslang_tab.cpp"
 7025|      4|    break;
 7026|       |
 7027|      4|  case 147: /* interpolation_qualifier: PERPRIMITIVEEXT  */
  ------------------
  |  Branch (7027:3): [True: 4, False: 2.04M]
  ------------------
 7028|      4|#line 1323 "MachineIndependent/glslang.y"
 7029|      4|                      {
 7030|       |        // No need for profile version or extension check. Shader stage already checks both.
 7031|      4|        parseContext.globalCheck((yyvsp[0].lex).loc, "perprimitiveEXT");
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
 7032|      4|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangFragmentMask | EShLangMeshMask), "perprimitiveEXT");
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
 7033|       |        // Fragment shader stage doesn't check for extension. So we explicitly add below extension check.
 7034|      4|        if (parseContext.language == EShLangFragment)
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7034:13): [True: 0, False: 4]
  ------------------
 7035|      0|            parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_mesh_shader, "perprimitiveEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7036|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7037|      4|        (yyval.interm.type).qualifier.perPrimitiveNV = true;
 7038|      4|    }
 7039|      4|#line 7040 "MachineIndependent/glslang_tab.cpp"
 7040|      4|    break;
 7041|       |
 7042|     20|  case 148: /* interpolation_qualifier: PERVIEWNV  */
  ------------------
  |  Branch (7042:3): [True: 20, False: 2.04M]
  ------------------
 7043|     20|#line 1333 "MachineIndependent/glslang.y"
 7044|     20|                {
 7045|       |        // No need for profile version or extension check. Shader stage already checks both.
 7046|     20|        parseContext.globalCheck((yyvsp[0].lex).loc, "perviewNV");
  ------------------
  |  |  756|     20|#define parseContext (*pParseContext)
  ------------------
 7047|     20|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangMesh, "perviewNV");
  ------------------
  |  |  756|     20|#define parseContext (*pParseContext)
  ------------------
 7048|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7049|     20|        (yyval.interm.type).qualifier.perViewNV = true;
 7050|     20|    }
 7051|     20|#line 7052 "MachineIndependent/glslang_tab.cpp"
 7052|     20|    break;
 7053|       |
 7054|      0|  case 149: /* interpolation_qualifier: PERTASKNV  */
  ------------------
  |  Branch (7054:3): [True: 0, False: 2.04M]
  ------------------
 7055|      0|#line 1340 "MachineIndependent/glslang.y"
 7056|      0|                {
 7057|       |        // No need for profile version or extension check. Shader stage already checks both.
 7058|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "taskNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7059|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTaskMask | EShLangMeshMask), "taskNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7060|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7061|      0|        (yyval.interm.type).qualifier.perTaskNV = true;
 7062|      0|    }
 7063|      0|#line 7064 "MachineIndependent/glslang_tab.cpp"
 7064|      0|    break;
 7065|       |
 7066|      0|  case 150: /* layout_qualifier: LAYOUT LEFT_PAREN layout_qualifier_id_list RIGHT_PAREN  */
  ------------------
  |  Branch (7066:3): [True: 0, False: 2.04M]
  ------------------
 7067|      0|#line 1350 "MachineIndependent/glslang.y"
 7068|      0|                                                             {
 7069|      0|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 7070|      0|    }
 7071|      0|#line 7072 "MachineIndependent/glslang_tab.cpp"
 7072|      0|    break;
 7073|       |
 7074|      0|  case 151: /* layout_qualifier_id_list: layout_qualifier_id  */
  ------------------
  |  Branch (7074:3): [True: 0, False: 2.04M]
  ------------------
 7075|      0|#line 1356 "MachineIndependent/glslang.y"
 7076|      0|                          {
 7077|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7078|      0|    }
 7079|      0|#line 7080 "MachineIndependent/glslang_tab.cpp"
 7080|      0|    break;
 7081|       |
 7082|      0|  case 152: /* layout_qualifier_id_list: layout_qualifier_id_list COMMA layout_qualifier_id  */
  ------------------
  |  Branch (7082:3): [True: 0, False: 2.04M]
  ------------------
 7083|      0|#line 1359 "MachineIndependent/glslang.y"
 7084|      0|                                                         {
 7085|      0|        (yyval.interm.type) = (yyvsp[-2].interm.type);
 7086|      0|        (yyval.interm.type).shaderQualifiers.merge((yyvsp[0].interm.type).shaderQualifiers);
 7087|      0|        parseContext.mergeObjectLayoutQualifiers((yyval.interm.type).qualifier, (yyvsp[0].interm.type).qualifier, false);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7088|      0|    }
 7089|      0|#line 7090 "MachineIndependent/glslang_tab.cpp"
 7090|      0|    break;
 7091|       |
 7092|      0|  case 153: /* layout_qualifier_id: IDENTIFIER  */
  ------------------
  |  Branch (7092:3): [True: 0, False: 2.04M]
  ------------------
 7093|      0|#line 1366 "MachineIndependent/glslang.y"
 7094|      0|                 {
 7095|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7096|      0|        parseContext.setLayoutQualifier((yyvsp[0].lex).loc, (yyval.interm.type), *(yyvsp[0].lex).string);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7097|      0|    }
 7098|      0|#line 7099 "MachineIndependent/glslang_tab.cpp"
 7099|      0|    break;
 7100|       |
 7101|      0|  case 154: /* layout_qualifier_id: IDENTIFIER EQUAL constant_expression  */
  ------------------
  |  Branch (7101:3): [True: 0, False: 2.04M]
  ------------------
 7102|      0|#line 1370 "MachineIndependent/glslang.y"
 7103|      0|                                           {
 7104|      0|        (yyval.interm.type).init((yyvsp[-2].lex).loc);
 7105|      0|        parseContext.setLayoutQualifier((yyvsp[-2].lex).loc, (yyval.interm.type), *(yyvsp[-2].lex).string, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7106|      0|    }
 7107|      0|#line 7108 "MachineIndependent/glslang_tab.cpp"
 7108|      0|    break;
 7109|       |
 7110|      0|  case 155: /* layout_qualifier_id: SHARED  */
  ------------------
  |  Branch (7110:3): [True: 0, False: 2.04M]
  ------------------
 7111|      0|#line 1374 "MachineIndependent/glslang.y"
 7112|      0|             { // because "shared" is both an identifier and a keyword
 7113|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7114|      0|        TString strShared("shared");
 7115|      0|        parseContext.setLayoutQualifier((yyvsp[0].lex).loc, (yyval.interm.type), strShared);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7116|      0|    }
 7117|      0|#line 7118 "MachineIndependent/glslang_tab.cpp"
 7118|      0|    break;
 7119|       |
 7120|      0|  case 156: /* precise_qualifier: PRECISE  */
  ------------------
  |  Branch (7120:3): [True: 0, False: 2.04M]
  ------------------
 7121|      0|#line 1382 "MachineIndependent/glslang.y"
 7122|      0|              {
 7123|      0|        parseContext.profileRequires((yyval.interm.type).loc, ECoreProfile | ECompatibilityProfile, 400, E_GL_ARB_gpu_shader5, "precise");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7124|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 320, Num_AEP_gpu_shader5, AEP_gpu_shader5, "precise");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7125|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7126|      0|        (yyval.interm.type).qualifier.noContraction = true;
 7127|      0|    }
 7128|      0|#line 7129 "MachineIndependent/glslang_tab.cpp"
 7129|      0|    break;
 7130|       |
 7131|  25.5k|  case 157: /* type_qualifier: single_type_qualifier  */
  ------------------
  |  Branch (7131:3): [True: 25.5k, False: 2.02M]
  ------------------
 7132|  25.5k|#line 1391 "MachineIndependent/glslang.y"
 7133|  25.5k|                            {
 7134|  25.5k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7135|  25.5k|    }
 7136|  25.5k|#line 7137 "MachineIndependent/glslang_tab.cpp"
 7137|  25.5k|    break;
 7138|       |
 7139|  20.6k|  case 158: /* type_qualifier: type_qualifier single_type_qualifier  */
  ------------------
  |  Branch (7139:3): [True: 20.6k, False: 2.02M]
  ------------------
 7140|  20.6k|#line 1394 "MachineIndependent/glslang.y"
 7141|  20.6k|                                           {
 7142|  20.6k|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 7143|  20.6k|        if ((yyval.interm.type).basicType == EbtVoid)
  ------------------
  |  Branch (7143:13): [True: 20.6k, False: 0]
  ------------------
 7144|  20.6k|            (yyval.interm.type).basicType = (yyvsp[0].interm.type).basicType;
 7145|       |
 7146|  20.6k|        (yyval.interm.type).shaderQualifiers.merge((yyvsp[0].interm.type).shaderQualifiers);
 7147|  20.6k|        parseContext.mergeQualifiers((yyval.interm.type).loc, (yyval.interm.type).qualifier, (yyvsp[0].interm.type).qualifier, false);
  ------------------
  |  |  756|  20.6k|#define parseContext (*pParseContext)
  ------------------
 7148|  20.6k|    }
 7149|  20.6k|#line 7150 "MachineIndependent/glslang_tab.cpp"
 7150|  20.6k|    break;
 7151|       |
 7152|  36.8k|  case 159: /* single_type_qualifier: storage_qualifier  */
  ------------------
  |  Branch (7152:3): [True: 36.8k, False: 2.00M]
  ------------------
 7153|  36.8k|#line 1405 "MachineIndependent/glslang.y"
 7154|  36.8k|                        {
 7155|  36.8k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7156|  36.8k|    }
 7157|  36.8k|#line 7158 "MachineIndependent/glslang_tab.cpp"
 7158|  36.8k|    break;
 7159|       |
 7160|      0|  case 160: /* single_type_qualifier: layout_qualifier  */
  ------------------
  |  Branch (7160:3): [True: 0, False: 2.04M]
  ------------------
 7161|      0|#line 1408 "MachineIndependent/glslang.y"
 7162|      0|                       {
 7163|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7164|      0|    }
 7165|      0|#line 7166 "MachineIndependent/glslang_tab.cpp"
 7166|      0|    break;
 7167|       |
 7168|  9.26k|  case 161: /* single_type_qualifier: precision_qualifier  */
  ------------------
  |  Branch (7168:3): [True: 9.26k, False: 2.03M]
  ------------------
 7169|  9.26k|#line 1411 "MachineIndependent/glslang.y"
 7170|  9.26k|                          {
 7171|  9.26k|        parseContext.checkPrecisionQualifier((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier.precision);
  ------------------
  |  |  756|  9.26k|#define parseContext (*pParseContext)
  ------------------
 7172|  9.26k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7173|  9.26k|    }
 7174|  9.26k|#line 7175 "MachineIndependent/glslang_tab.cpp"
 7175|  9.26k|    break;
 7176|       |
 7177|     98|  case 162: /* single_type_qualifier: interpolation_qualifier  */
  ------------------
  |  Branch (7177:3): [True: 98, False: 2.04M]
  ------------------
 7178|     98|#line 1415 "MachineIndependent/glslang.y"
 7179|     98|                              {
 7180|       |        // allow inheritance of storage qualifier from block declaration
 7181|     98|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7182|     98|    }
 7183|     98|#line 7184 "MachineIndependent/glslang_tab.cpp"
 7184|     98|    break;
 7185|       |
 7186|      0|  case 163: /* single_type_qualifier: invariant_qualifier  */
  ------------------
  |  Branch (7186:3): [True: 0, False: 2.04M]
  ------------------
 7187|      0|#line 1419 "MachineIndependent/glslang.y"
 7188|      0|                          {
 7189|       |        // allow inheritance of storage qualifier from block declaration
 7190|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7191|      0|    }
 7192|      0|#line 7193 "MachineIndependent/glslang_tab.cpp"
 7193|      0|    break;
 7194|       |
 7195|      0|  case 164: /* single_type_qualifier: precise_qualifier  */
  ------------------
  |  Branch (7195:3): [True: 0, False: 2.04M]
  ------------------
 7196|      0|#line 1423 "MachineIndependent/glslang.y"
 7197|      0|                        {
 7198|       |        // allow inheritance of storage qualifier from block declaration
 7199|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7200|      0|    }
 7201|      0|#line 7202 "MachineIndependent/glslang_tab.cpp"
 7202|      0|    break;
 7203|       |
 7204|      0|  case 165: /* single_type_qualifier: non_uniform_qualifier  */
  ------------------
  |  Branch (7204:3): [True: 0, False: 2.04M]
  ------------------
 7205|      0|#line 1427 "MachineIndependent/glslang.y"
 7206|      0|                            {
 7207|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7208|      0|    }
 7209|      0|#line 7210 "MachineIndependent/glslang_tab.cpp"
 7210|      0|    break;
 7211|       |
 7212|      0|  case 166: /* single_type_qualifier: spirv_storage_class_qualifier  */
  ------------------
  |  Branch (7212:3): [True: 0, False: 2.04M]
  ------------------
 7213|      0|#line 1430 "MachineIndependent/glslang.y"
 7214|      0|                                    {
 7215|      0|        parseContext.globalCheck((yyvsp[0].interm.type).loc, "spirv_storage_class");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7216|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V storage class qualifier");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7217|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7218|      0|    }
 7219|      0|#line 7220 "MachineIndependent/glslang_tab.cpp"
 7220|      0|    break;
 7221|       |
 7222|      0|  case 167: /* single_type_qualifier: spirv_decorate_qualifier  */
  ------------------
  |  Branch (7222:3): [True: 0, False: 2.04M]
  ------------------
 7223|      0|#line 1435 "MachineIndependent/glslang.y"
 7224|      0|                               {
 7225|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V decorate qualifier");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7226|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7227|      0|    }
 7228|      0|#line 7229 "MachineIndependent/glslang_tab.cpp"
 7229|      0|    break;
 7230|       |
 7231|      0|  case 168: /* single_type_qualifier: SPIRV_BY_REFERENCE  */
  ------------------
  |  Branch (7231:3): [True: 0, False: 2.04M]
  ------------------
 7232|      0|#line 1439 "MachineIndependent/glslang.y"
 7233|      0|                         {
 7234|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "spirv_by_reference");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7235|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7236|      0|        (yyval.interm.type).qualifier.setSpirvByReference();
 7237|      0|    }
 7238|      0|#line 7239 "MachineIndependent/glslang_tab.cpp"
 7239|      0|    break;
 7240|       |
 7241|      0|  case 169: /* single_type_qualifier: SPIRV_LITERAL  */
  ------------------
  |  Branch (7241:3): [True: 0, False: 2.04M]
  ------------------
 7242|      0|#line 1444 "MachineIndependent/glslang.y"
 7243|      0|                    {
 7244|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "spirv_by_literal");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7245|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7246|      0|        (yyval.interm.type).qualifier.setSpirvLiteral();
 7247|      0|    }
 7248|      0|#line 7249 "MachineIndependent/glslang_tab.cpp"
 7249|      0|    break;
 7250|       |
 7251|  1.01k|  case 170: /* storage_qualifier: CONST  */
  ------------------
  |  Branch (7251:3): [True: 1.01k, False: 2.04M]
  ------------------
 7252|  1.01k|#line 1452 "MachineIndependent/glslang.y"
 7253|  1.01k|            {
 7254|  1.01k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7255|  1.01k|        (yyval.interm.type).qualifier.storage = EvqConst;  // will later turn into EvqConstReadOnly, if the initializer is not constant
 7256|  1.01k|    }
 7257|  1.01k|#line 7258 "MachineIndependent/glslang_tab.cpp"
 7258|  1.01k|    break;
 7259|       |
 7260|    432|  case 171: /* storage_qualifier: INOUT  */
  ------------------
  |  Branch (7260:3): [True: 432, False: 2.04M]
  ------------------
 7261|    432|#line 1456 "MachineIndependent/glslang.y"
 7262|    432|            {
 7263|    432|        parseContext.globalCheck((yyvsp[0].lex).loc, "inout");
  ------------------
  |  |  756|    432|#define parseContext (*pParseContext)
  ------------------
 7264|    432|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7265|    432|        (yyval.interm.type).qualifier.storage = EvqInOut;
 7266|    432|    }
 7267|    432|#line 7268 "MachineIndependent/glslang_tab.cpp"
 7268|    432|    break;
 7269|       |
 7270|  1.53k|  case 172: /* storage_qualifier: IN  */
  ------------------
  |  Branch (7270:3): [True: 1.53k, False: 2.04M]
  ------------------
 7271|  1.53k|#line 1461 "MachineIndependent/glslang.y"
 7272|  1.53k|         {
 7273|  1.53k|        parseContext.globalCheck((yyvsp[0].lex).loc, "in");
  ------------------
  |  |  756|  1.53k|#define parseContext (*pParseContext)
  ------------------
 7274|  1.53k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7275|       |        // whether this is a parameter "in" or a pipeline "in" will get sorted out a bit later
 7276|  1.53k|        (yyval.interm.type).qualifier.storage = EvqIn;
 7277|  1.53k|    }
 7278|  1.53k|#line 7279 "MachineIndependent/glslang_tab.cpp"
 7279|  1.53k|    break;
 7280|       |
 7281|  6.75k|  case 173: /* storage_qualifier: OUT  */
  ------------------
  |  Branch (7281:3): [True: 6.75k, False: 2.03M]
  ------------------
 7282|  6.75k|#line 1467 "MachineIndependent/glslang.y"
 7283|  6.75k|          {
 7284|  6.75k|        parseContext.globalCheck((yyvsp[0].lex).loc, "out");
  ------------------
  |  |  756|  6.75k|#define parseContext (*pParseContext)
  ------------------
 7285|  6.75k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7286|       |        // whether this is a parameter "out" or a pipeline "out" will get sorted out a bit later
 7287|  6.75k|        (yyval.interm.type).qualifier.storage = EvqOut;
 7288|  6.75k|    }
 7289|  6.75k|#line 7290 "MachineIndependent/glslang_tab.cpp"
 7290|  6.75k|    break;
 7291|       |
 7292|      0|  case 174: /* storage_qualifier: CENTROID  */
  ------------------
  |  Branch (7292:3): [True: 0, False: 2.04M]
  ------------------
 7293|      0|#line 1473 "MachineIndependent/glslang.y"
 7294|      0|               {
 7295|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 120, 0, "centroid");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7296|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "centroid");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7297|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "centroid");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7298|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7299|      0|        (yyval.interm.type).qualifier.centroid = true;
 7300|      0|    }
 7301|      0|#line 7302 "MachineIndependent/glslang_tab.cpp"
 7302|      0|    break;
 7303|       |
 7304|    150|  case 175: /* storage_qualifier: UNIFORM  */
  ------------------
  |  Branch (7304:3): [True: 150, False: 2.04M]
  ------------------
 7305|    150|#line 1480 "MachineIndependent/glslang.y"
 7306|    150|              {
 7307|    150|        parseContext.globalCheck((yyvsp[0].lex).loc, "uniform");
  ------------------
  |  |  756|    150|#define parseContext (*pParseContext)
  ------------------
 7308|    150|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7309|    150|        (yyval.interm.type).qualifier.storage = EvqUniform;
 7310|    150|    }
 7311|    150|#line 7312 "MachineIndependent/glslang_tab.cpp"
 7312|    150|    break;
 7313|       |
 7314|      0|  case 176: /* storage_qualifier: TILEIMAGEEXT  */
  ------------------
  |  Branch (7314:3): [True: 0, False: 2.04M]
  ------------------
 7315|      0|#line 1485 "MachineIndependent/glslang.y"
 7316|      0|                   {
 7317|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "tileImageEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7318|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7319|      0|        (yyval.interm.type).qualifier.storage = EvqTileImageEXT;
 7320|      0|    }
 7321|      0|#line 7322 "MachineIndependent/glslang_tab.cpp"
 7322|      0|    break;
 7323|       |
 7324|      0|  case 177: /* storage_qualifier: SHARED  */
  ------------------
  |  Branch (7324:3): [True: 0, False: 2.04M]
  ------------------
 7325|      0|#line 1490 "MachineIndependent/glslang.y"
 7326|      0|             {
 7327|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "shared");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7328|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, 430, E_GL_ARB_compute_shader, "shared");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7329|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 310, 0, "shared");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7330|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangComputeMask | EShLangMeshMask | EShLangTaskMask), "shared");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7331|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7332|      0|        (yyval.interm.type).qualifier.storage = EvqShared;
 7333|      0|    }
 7334|      0|#line 7335 "MachineIndependent/glslang_tab.cpp"
 7335|      0|    break;
 7336|       |
 7337|      0|  case 178: /* storage_qualifier: BUFFER  */
  ------------------
  |  Branch (7337:3): [True: 0, False: 2.04M]
  ------------------
 7338|      0|#line 1498 "MachineIndependent/glslang.y"
 7339|      0|             {
 7340|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "buffer");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7341|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7342|      0|        (yyval.interm.type).qualifier.storage = EvqBuffer;
 7343|      0|    }
 7344|      0|#line 7345 "MachineIndependent/glslang_tab.cpp"
 7345|      0|    break;
 7346|       |
 7347|      0|  case 179: /* storage_qualifier: ATTRIBUTE  */
  ------------------
  |  Branch (7347:3): [True: 0, False: 2.04M]
  ------------------
 7348|      0|#line 1503 "MachineIndependent/glslang.y"
 7349|      0|                {
 7350|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangVertex, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7351|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ECoreProfile, 130, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7352|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ENoProfile, 130, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7353|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, ECoreProfile, 420, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7354|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, EEsProfile, 300, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7355|       |
 7356|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7357|       |
 7358|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7359|      0|        (yyval.interm.type).qualifier.storage = EvqVaryingIn;
 7360|      0|    }
 7361|      0|#line 7362 "MachineIndependent/glslang_tab.cpp"
 7362|      0|    break;
 7363|       |
 7364|      0|  case 180: /* storage_qualifier: VARYING  */
  ------------------
  |  Branch (7364:3): [True: 0, False: 2.04M]
  ------------------
 7365|      0|#line 1515 "MachineIndependent/glslang.y"
 7366|      0|              {
 7367|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ENoProfile, 130, "varying");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7368|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ECoreProfile, 130, "varying");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7369|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, ECoreProfile, 420, "varying");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7370|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, EEsProfile, 300, "varying");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7371|       |
 7372|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "varying");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7373|       |
 7374|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7375|      0|        if (parseContext.language == EShLangVertex)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7375:13): [True: 0, False: 0]
  ------------------
 7376|      0|            (yyval.interm.type).qualifier.storage = EvqVaryingOut;
 7377|      0|        else
 7378|      0|            (yyval.interm.type).qualifier.storage = EvqVaryingIn;
 7379|      0|    }
 7380|      0|#line 7381 "MachineIndependent/glslang_tab.cpp"
 7381|      0|    break;
 7382|       |
 7383|     16|  case 181: /* storage_qualifier: PATCH  */
  ------------------
  |  Branch (7383:3): [True: 16, False: 2.04M]
  ------------------
 7384|     16|#line 1529 "MachineIndependent/glslang.y"
 7385|     16|            {
 7386|     16|        parseContext.globalCheck((yyvsp[0].lex).loc, "patch");
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
 7387|     16|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTessControlMask | EShLangTessEvaluationMask), "patch");
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
 7388|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7389|     16|        (yyval.interm.type).qualifier.patch = true;
 7390|     16|    }
 7391|     16|#line 7392 "MachineIndependent/glslang_tab.cpp"
 7392|     16|    break;
 7393|       |
 7394|      0|  case 182: /* storage_qualifier: SAMPLE  */
  ------------------
  |  Branch (7394:3): [True: 0, False: 2.04M]
  ------------------
 7395|      0|#line 1535 "MachineIndependent/glslang.y"
 7396|      0|             {
 7397|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "sample");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7398|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7399|      0|        (yyval.interm.type).qualifier.sample = true;
 7400|      0|    }
 7401|      0|#line 7402 "MachineIndependent/glslang_tab.cpp"
 7402|      0|    break;
 7403|       |
 7404|      0|  case 183: /* storage_qualifier: RESOURCEHEAP  */
  ------------------
  |  Branch (7404:3): [True: 0, False: 2.04M]
  ------------------
 7405|      0|#line 1540 "MachineIndependent/glslang.y"
 7406|      0|                   {
 7407|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "resourceHeap");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7408|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7409|      0|        (yyval.interm.type).qualifier.storage = EvqResourceHeap;
 7410|      0|    }
 7411|      0|#line 7412 "MachineIndependent/glslang_tab.cpp"
 7412|      0|    break;
 7413|       |
 7414|      0|  case 184: /* storage_qualifier: SAMPLERHEAP  */
  ------------------
  |  Branch (7414:3): [True: 0, False: 2.04M]
  ------------------
 7415|      0|#line 1545 "MachineIndependent/glslang.y"
 7416|      0|                  {
 7417|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "samplerHeap");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7418|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7419|      0|        (yyval.interm.type).qualifier.storage = EvqSamplerHeap;
 7420|      0|    }
 7421|      0|#line 7422 "MachineIndependent/glslang_tab.cpp"
 7422|      0|    break;
 7423|       |
 7424|      0|  case 185: /* storage_qualifier: HITATTRNV  */
  ------------------
  |  Branch (7424:3): [True: 0, False: 2.04M]
  ------------------
 7425|      0|#line 1550 "MachineIndependent/glslang.y"
 7426|      0|                {
 7427|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7428|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangIntersectMask | EShLangClosestHitMask
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7429|      0|            | EShLangAnyHitMask), "hitAttributeNV");
 7430|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "hitAttributeNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7431|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7432|      0|        (yyval.interm.type).qualifier.storage = EvqHitAttr;
 7433|      0|    }
 7434|      0|#line 7435 "MachineIndependent/glslang_tab.cpp"
 7435|      0|    break;
 7436|       |
 7437|      0|  case 186: /* storage_qualifier: HITOBJECTATTRNV  */
  ------------------
  |  Branch (7437:3): [True: 0, False: 2.04M]
  ------------------
 7438|      0|#line 1558 "MachineIndependent/glslang.y"
 7439|      0|                      {
 7440|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7441|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7442|      0|            | EShLangMissMask), "hitObjectAttributeNV");
 7443|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_shader_invocation_reorder, "hitObjectAttributeNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7444|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7445|      0|        (yyval.interm.type).qualifier.storage = EvqHitObjectAttrNV;
 7446|      0|    }
 7447|      0|#line 7448 "MachineIndependent/glslang_tab.cpp"
 7448|      0|    break;
 7449|       |
 7450|      0|  case 187: /* storage_qualifier: HITOBJECTATTREXT  */
  ------------------
  |  Branch (7450:3): [True: 0, False: 2.04M]
  ------------------
 7451|      0|#line 1566 "MachineIndependent/glslang.y"
 7452|      0|                       {
 7453|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7454|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7455|      0|            | EShLangMissMask), "hitObjectAttributeEXT");
 7456|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_shader_invocation_reorder, "hitObjectAttributeEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7457|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7458|      0|        (yyval.interm.type).qualifier.storage = EvqHitObjectAttrEXT;
 7459|      0|    }
 7460|      0|#line 7461 "MachineIndependent/glslang_tab.cpp"
 7461|      0|    break;
 7462|       |
 7463|      0|  case 188: /* storage_qualifier: HITATTREXT  */
  ------------------
  |  Branch (7463:3): [True: 0, False: 2.04M]
  ------------------
 7464|      0|#line 1574 "MachineIndependent/glslang.y"
 7465|      0|                 {
 7466|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7467|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangIntersectMask | EShLangClosestHitMask
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7468|      0|            | EShLangAnyHitMask), "hitAttributeEXT");
 7469|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "hitAttributeNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7470|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7471|      0|        (yyval.interm.type).qualifier.storage = EvqHitAttr;
 7472|      0|    }
 7473|      0|#line 7474 "MachineIndependent/glslang_tab.cpp"
 7474|      0|    break;
 7475|       |
 7476|      0|  case 189: /* storage_qualifier: PAYLOADNV  */
  ------------------
  |  Branch (7476:3): [True: 0, False: 2.04M]
  ------------------
 7477|      0|#line 1582 "MachineIndependent/glslang.y"
 7478|      0|                {
 7479|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7480|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask |
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7481|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadNV");
 7482|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "rayPayloadNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7483|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7484|      0|        (yyval.interm.type).qualifier.storage = EvqPayload;
 7485|      0|    }
 7486|      0|#line 7487 "MachineIndependent/glslang_tab.cpp"
 7487|      0|    break;
 7488|       |
 7489|      0|  case 190: /* storage_qualifier: PAYLOADEXT  */
  ------------------
  |  Branch (7489:3): [True: 0, False: 2.04M]
  ------------------
 7490|      0|#line 1590 "MachineIndependent/glslang.y"
 7491|      0|                 {
 7492|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7493|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask |
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7494|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadEXT");
 7495|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "rayPayloadEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7496|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7497|      0|        (yyval.interm.type).qualifier.storage = EvqPayload;
 7498|      0|    }
 7499|      0|#line 7500 "MachineIndependent/glslang_tab.cpp"
 7500|      0|    break;
 7501|       |
 7502|      0|  case 191: /* storage_qualifier: PAYLOADINNV  */
  ------------------
  |  Branch (7502:3): [True: 0, False: 2.04M]
  ------------------
 7503|      0|#line 1598 "MachineIndependent/glslang.y"
 7504|      0|                  {
 7505|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadInNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7506|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangClosestHitMask |
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7507|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadInNV");
 7508|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "rayPayloadInNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7509|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7510|      0|        (yyval.interm.type).qualifier.storage = EvqPayloadIn;
 7511|      0|    }
 7512|      0|#line 7513 "MachineIndependent/glslang_tab.cpp"
 7513|      0|    break;
 7514|       |
 7515|      0|  case 192: /* storage_qualifier: PAYLOADINEXT  */
  ------------------
  |  Branch (7515:3): [True: 0, False: 2.04M]
  ------------------
 7516|      0|#line 1606 "MachineIndependent/glslang.y"
 7517|      0|                   {
 7518|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadInEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7519|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangClosestHitMask |
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7520|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadInEXT");
 7521|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "rayPayloadInEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7522|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7523|      0|        (yyval.interm.type).qualifier.storage = EvqPayloadIn;
 7524|      0|    }
 7525|      0|#line 7526 "MachineIndependent/glslang_tab.cpp"
 7526|      0|    break;
 7527|       |
 7528|      0|  case 193: /* storage_qualifier: CALLDATANV  */
  ------------------
  |  Branch (7528:3): [True: 0, False: 2.04M]
  ------------------
 7529|      0|#line 1614 "MachineIndependent/glslang.y"
 7530|      0|                 {
 7531|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7532|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask |
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7533|      0|            EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask), "callableDataNV");
 7534|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "callableDataNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7535|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7536|      0|        (yyval.interm.type).qualifier.storage = EvqCallableData;
 7537|      0|    }
 7538|      0|#line 7539 "MachineIndependent/glslang_tab.cpp"
 7539|      0|    break;
 7540|       |
 7541|      0|  case 194: /* storage_qualifier: CALLDATAEXT  */
  ------------------
  |  Branch (7541:3): [True: 0, False: 2.04M]
  ------------------
 7542|      0|#line 1622 "MachineIndependent/glslang.y"
 7543|      0|                  {
 7544|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7545|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask |
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7546|      0|            EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask), "callableDataEXT");
 7547|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "callableDataEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7548|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7549|      0|        (yyval.interm.type).qualifier.storage = EvqCallableData;
 7550|      0|    }
 7551|      0|#line 7552 "MachineIndependent/glslang_tab.cpp"
 7552|      0|    break;
 7553|       |
 7554|      0|  case 195: /* storage_qualifier: CALLDATAINNV  */
  ------------------
  |  Branch (7554:3): [True: 0, False: 2.04M]
  ------------------
 7555|      0|#line 1630 "MachineIndependent/glslang.y"
 7556|      0|                   {
 7557|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataInNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7558|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7559|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "callableDataInNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7560|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7561|      0|        (yyval.interm.type).qualifier.storage = EvqCallableDataIn;
 7562|      0|    }
 7563|      0|#line 7564 "MachineIndependent/glslang_tab.cpp"
 7564|      0|    break;
 7565|       |
 7566|      0|  case 196: /* storage_qualifier: CALLDATAINEXT  */
  ------------------
  |  Branch (7566:3): [True: 0, False: 2.04M]
  ------------------
 7567|      0|#line 1637 "MachineIndependent/glslang.y"
 7568|      0|                    {
 7569|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataInEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7570|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7571|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "callableDataInEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7572|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7573|      0|        (yyval.interm.type).qualifier.storage = EvqCallableDataIn;
 7574|      0|    }
 7575|      0|#line 7576 "MachineIndependent/glslang_tab.cpp"
 7576|      0|    break;
 7577|       |
 7578|  8.38k|  case 197: /* storage_qualifier: COHERENT  */
  ------------------
  |  Branch (7578:3): [True: 8.38k, False: 2.03M]
  ------------------
 7579|  8.38k|#line 1644 "MachineIndependent/glslang.y"
 7580|  8.38k|               {
 7581|  8.38k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7582|  8.38k|        (yyval.interm.type).qualifier.coherent = true;
 7583|  8.38k|    }
 7584|  8.38k|#line 7585 "MachineIndependent/glslang_tab.cpp"
 7585|  8.38k|    break;
 7586|       |
 7587|      0|  case 198: /* storage_qualifier: DEVICECOHERENT  */
  ------------------
  |  Branch (7587:3): [True: 0, False: 2.04M]
  ------------------
 7588|      0|#line 1648 "MachineIndependent/glslang.y"
 7589|      0|                     {
 7590|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7591|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "devicecoherent");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7592|      0|        (yyval.interm.type).qualifier.devicecoherent = true;
 7593|      0|    }
 7594|      0|#line 7595 "MachineIndependent/glslang_tab.cpp"
 7595|      0|    break;
 7596|       |
 7597|      0|  case 199: /* storage_qualifier: QUEUEFAMILYCOHERENT  */
  ------------------
  |  Branch (7597:3): [True: 0, False: 2.04M]
  ------------------
 7598|      0|#line 1653 "MachineIndependent/glslang.y"
 7599|      0|                          {
 7600|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7601|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "queuefamilycoherent");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7602|      0|        (yyval.interm.type).qualifier.queuefamilycoherent = true;
 7603|      0|    }
 7604|      0|#line 7605 "MachineIndependent/glslang_tab.cpp"
 7605|      0|    break;
 7606|       |
 7607|      0|  case 200: /* storage_qualifier: WORKGROUPCOHERENT  */
  ------------------
  |  Branch (7607:3): [True: 0, False: 2.04M]
  ------------------
 7608|      0|#line 1658 "MachineIndependent/glslang.y"
 7609|      0|                        {
 7610|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7611|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "workgroupcoherent");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7612|      0|        (yyval.interm.type).qualifier.workgroupcoherent = true;
 7613|      0|    }
 7614|      0|#line 7615 "MachineIndependent/glslang_tab.cpp"
 7615|      0|    break;
 7616|       |
 7617|      0|  case 201: /* storage_qualifier: SUBGROUPCOHERENT  */
  ------------------
  |  Branch (7617:3): [True: 0, False: 2.04M]
  ------------------
 7618|      0|#line 1663 "MachineIndependent/glslang.y"
 7619|      0|                       {
 7620|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7621|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "subgroupcoherent");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7622|      0|        (yyval.interm.type).qualifier.subgroupcoherent = true;
 7623|      0|    }
 7624|      0|#line 7625 "MachineIndependent/glslang_tab.cpp"
 7625|      0|    break;
 7626|       |
 7627|      0|  case 202: /* storage_qualifier: NONPRIVATE  */
  ------------------
  |  Branch (7627:3): [True: 0, False: 2.04M]
  ------------------
 7628|      0|#line 1668 "MachineIndependent/glslang.y"
 7629|      0|                 {
 7630|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7631|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "nonprivate");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7632|      0|        (yyval.interm.type).qualifier.nonprivate = true;
 7633|      0|    }
 7634|      0|#line 7635 "MachineIndependent/glslang_tab.cpp"
 7635|      0|    break;
 7636|       |
 7637|      0|  case 203: /* storage_qualifier: SHADERCALLCOHERENT  */
  ------------------
  |  Branch (7637:3): [True: 0, False: 2.04M]
  ------------------
 7638|      0|#line 1673 "MachineIndependent/glslang.y"
 7639|      0|                         {
 7640|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7641|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_ray_tracing, "shadercallcoherent");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7642|      0|        (yyval.interm.type).qualifier.shadercallcoherent = true;
 7643|      0|    }
 7644|      0|#line 7645 "MachineIndependent/glslang_tab.cpp"
 7645|      0|    break;
 7646|       |
 7647|  8.70k|  case 204: /* storage_qualifier: VOLATILE  */
  ------------------
  |  Branch (7647:3): [True: 8.70k, False: 2.03M]
  ------------------
 7648|  8.70k|#line 1678 "MachineIndependent/glslang.y"
 7649|  8.70k|               {
 7650|  8.70k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7651|  8.70k|        (yyval.interm.type).qualifier.volatil = true;
 7652|  8.70k|    }
 7653|  8.70k|#line 7654 "MachineIndependent/glslang_tab.cpp"
 7654|  8.70k|    break;
 7655|       |
 7656|      0|  case 205: /* storage_qualifier: RESTRICT  */
  ------------------
  |  Branch (7656:3): [True: 0, False: 2.04M]
  ------------------
 7657|      0|#line 1682 "MachineIndependent/glslang.y"
 7658|      0|               {
 7659|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7660|      0|        (yyval.interm.type).qualifier.restrict = true;
 7661|      0|    }
 7662|      0|#line 7663 "MachineIndependent/glslang_tab.cpp"
 7663|      0|    break;
 7664|       |
 7665|  1.26k|  case 206: /* storage_qualifier: READONLY  */
  ------------------
  |  Branch (7665:3): [True: 1.26k, False: 2.04M]
  ------------------
 7666|  1.26k|#line 1686 "MachineIndependent/glslang.y"
 7667|  1.26k|               {
 7668|  1.26k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7669|  1.26k|        (yyval.interm.type).qualifier.readonly = true;
 7670|  1.26k|    }
 7671|  1.26k|#line 7672 "MachineIndependent/glslang_tab.cpp"
 7672|  1.26k|    break;
 7673|       |
 7674|    956|  case 207: /* storage_qualifier: WRITEONLY  */
  ------------------
  |  Branch (7674:3): [True: 956, False: 2.04M]
  ------------------
 7675|    956|#line 1690 "MachineIndependent/glslang.y"
 7676|    956|                {
 7677|    956|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7678|    956|        (yyval.interm.type).qualifier.writeonly = true;
 7679|    956|    }
 7680|    956|#line 7681 "MachineIndependent/glslang_tab.cpp"
 7681|    956|    break;
 7682|       |
 7683|  7.67k|  case 208: /* storage_qualifier: NONTEMPORAL  */
  ------------------
  |  Branch (7683:3): [True: 7.67k, False: 2.03M]
  ------------------
 7684|  7.67k|#line 1694 "MachineIndependent/glslang.y"
 7685|  7.67k|                  {
 7686|  7.67k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7687|  7.67k|        (yyval.interm.type).qualifier.nontemporal  = true;
 7688|  7.67k|    }
 7689|  7.67k|#line 7690 "MachineIndependent/glslang_tab.cpp"
 7690|  7.67k|    break;
 7691|       |
 7692|      0|  case 209: /* storage_qualifier: SUBROUTINE  */
  ------------------
  |  Branch (7692:3): [True: 0, False: 2.04M]
  ------------------
 7693|      0|#line 1698 "MachineIndependent/glslang.y"
 7694|      0|                 {
 7695|      0|        parseContext.spvRemoved((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7696|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7697|      0|        parseContext.unimplemented((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7698|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7699|      0|    }
 7700|      0|#line 7701 "MachineIndependent/glslang_tab.cpp"
 7701|      0|    break;
 7702|       |
 7703|      0|  case 210: /* storage_qualifier: SUBROUTINE LEFT_PAREN type_name_list RIGHT_PAREN  */
  ------------------
  |  Branch (7703:3): [True: 0, False: 2.04M]
  ------------------
 7704|      0|#line 1704 "MachineIndependent/glslang.y"
 7705|      0|                                                       {
 7706|      0|        parseContext.spvRemoved((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7707|      0|        parseContext.globalCheck((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7708|      0|        parseContext.unimplemented((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7709|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
 7710|      0|    }
 7711|      0|#line 7712 "MachineIndependent/glslang_tab.cpp"
 7712|      0|    break;
 7713|       |
 7714|      0|  case 211: /* storage_qualifier: TASKPAYLOADWORKGROUPEXT  */
  ------------------
  |  Branch (7714:3): [True: 0, False: 2.04M]
  ------------------
 7715|      0|#line 1710 "MachineIndependent/glslang.y"
 7716|      0|                              {
 7717|       |        // No need for profile version or extension check. Shader stage already checks both.
 7718|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "taskPayloadSharedEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7719|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTaskMask | EShLangMeshMask), "taskPayloadSharedEXT  ");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7720|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7721|      0|        (yyval.interm.type).qualifier.storage = EvqtaskPayloadSharedEXT;
 7722|      0|    }
 7723|      0|#line 7724 "MachineIndependent/glslang_tab.cpp"
 7724|      0|    break;
 7725|       |
 7726|      0|  case 212: /* non_uniform_qualifier: NONUNIFORM  */
  ------------------
  |  Branch (7726:3): [True: 0, False: 2.04M]
  ------------------
 7727|      0|#line 1720 "MachineIndependent/glslang.y"
 7728|      0|                 {
 7729|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7730|      0|        (yyval.interm.type).qualifier.nonUniform = true;
 7731|      0|    }
 7732|      0|#line 7733 "MachineIndependent/glslang_tab.cpp"
 7733|      0|    break;
 7734|       |
 7735|      0|  case 213: /* type_name_list: IDENTIFIER  */
  ------------------
  |  Branch (7735:3): [True: 0, False: 2.04M]
  ------------------
 7736|      0|#line 1727 "MachineIndependent/glslang.y"
 7737|      0|                 {
 7738|       |        // TODO
 7739|      0|    }
 7740|      0|#line 7741 "MachineIndependent/glslang_tab.cpp"
 7741|      0|    break;
 7742|       |
 7743|      0|  case 214: /* type_name_list: type_name_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (7743:3): [True: 0, False: 2.04M]
  ------------------
 7744|      0|#line 1730 "MachineIndependent/glslang.y"
 7745|      0|                                      {
 7746|       |        // TODO: 4.0 semantics: subroutines
 7747|       |        // 1) make sure each identifier is a type declared earlier with SUBROUTINE
 7748|       |        // 2) save all of the identifiers for future comparison with the declared function
 7749|      0|    }
 7750|      0|#line 7751 "MachineIndependent/glslang_tab.cpp"
 7751|      0|    break;
 7752|       |
 7753|   256k|  case 215: /* type_specifier: type_specifier_nonarray type_parameter_specifier_opt  */
  ------------------
  |  Branch (7753:3): [True: 256k, False: 1.78M]
  ------------------
 7754|   256k|#line 1738 "MachineIndependent/glslang.y"
 7755|   256k|                                                           {
 7756|   256k|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 7757|   256k|        (yyval.interm.type).qualifier.precision = parseContext.getDefaultPrecision((yyval.interm.type));
  ------------------
  |  |  756|   256k|#define parseContext (*pParseContext)
  ------------------
 7758|   256k|        (yyval.interm.type).typeParameters = (yyvsp[0].interm.typeParameters);
 7759|   256k|        parseContext.typeParametersCheck((yyvsp[-1].interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  756|   256k|#define parseContext (*pParseContext)
  ------------------
 7760|       |
 7761|   256k|    }
 7762|   256k|#line 7763 "MachineIndependent/glslang_tab.cpp"
 7763|   256k|    break;
 7764|       |
 7765|  4.65k|  case 216: /* type_specifier: type_specifier_nonarray type_parameter_specifier_opt array_specifier  */
  ------------------
  |  Branch (7765:3): [True: 4.65k, False: 2.04M]
  ------------------
 7766|  4.65k|#line 1745 "MachineIndependent/glslang.y"
 7767|  4.65k|                                                                           {
 7768|  4.65k|        parseContext.arrayOfArrayVersionCheck((yyvsp[0].interm).loc, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  756|  4.65k|#define parseContext (*pParseContext)
  ------------------
 7769|  4.65k|        (yyval.interm.type) = (yyvsp[-2].interm.type);
 7770|  4.65k|        (yyval.interm.type).qualifier.precision = parseContext.getDefaultPrecision((yyval.interm.type));
  ------------------
  |  |  756|  4.65k|#define parseContext (*pParseContext)
  ------------------
 7771|  4.65k|        (yyval.interm.type).typeParameters = (yyvsp[-1].interm.typeParameters);
 7772|  4.65k|        (yyval.interm.type).arraySizes = (yyvsp[0].interm).arraySizes;
 7773|  4.65k|        parseContext.typeParametersCheck((yyvsp[-2].interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  756|  4.65k|#define parseContext (*pParseContext)
  ------------------
 7774|  4.65k|    }
 7775|  4.65k|#line 7776 "MachineIndependent/glslang_tab.cpp"
 7776|  4.65k|    break;
 7777|       |
 7778|  4.96k|  case 217: /* array_specifier: LEFT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (7778:3): [True: 4.96k, False: 2.04M]
  ------------------
 7779|  4.96k|#line 1756 "MachineIndependent/glslang.y"
 7780|  4.96k|                                 {
 7781|  4.96k|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 7782|  4.96k|        (yyval.interm).arraySizes = new TArraySizes;
 7783|  4.96k|        (yyval.interm).arraySizes->addInnerSize();
 7784|  4.96k|    }
 7785|  4.96k|#line 7786 "MachineIndependent/glslang_tab.cpp"
 7786|  4.96k|    break;
 7787|       |
 7788|    776|  case 218: /* array_specifier: LEFT_BRACKET conditional_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (7788:3): [True: 776, False: 2.04M]
  ------------------
 7789|    776|#line 1761 "MachineIndependent/glslang.y"
 7790|    776|                                                        {
 7791|    776|        (yyval.interm).loc = (yyvsp[-2].lex).loc;
 7792|    776|        (yyval.interm).arraySizes = new TArraySizes;
 7793|       |
 7794|    776|        TArraySize size;
 7795|    776|        parseContext.arraySizeCheck((yyvsp[-1].interm.intermTypedNode)->getLoc(), (yyvsp[-1].interm.intermTypedNode), size, "array size");
  ------------------
  |  |  756|    776|#define parseContext (*pParseContext)
  ------------------
 7796|    776|        (yyval.interm).arraySizes->addInnerSize(size);
 7797|    776|    }
 7798|    776|#line 7799 "MachineIndependent/glslang_tab.cpp"
 7799|    776|    break;
 7800|       |
 7801|     12|  case 219: /* array_specifier: array_specifier LEFT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (7801:3): [True: 12, False: 2.04M]
  ------------------
 7802|     12|#line 1769 "MachineIndependent/glslang.y"
 7803|     12|                                                 {
 7804|     12|        (yyval.interm) = (yyvsp[-2].interm);
 7805|     12|        (yyval.interm).arraySizes->addInnerSize();
 7806|     12|    }
 7807|     12|#line 7808 "MachineIndependent/glslang_tab.cpp"
 7808|     12|    break;
 7809|       |
 7810|      0|  case 220: /* array_specifier: array_specifier LEFT_BRACKET conditional_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (7810:3): [True: 0, False: 2.04M]
  ------------------
 7811|      0|#line 1773 "MachineIndependent/glslang.y"
 7812|      0|                                                                        {
 7813|      0|        (yyval.interm) = (yyvsp[-3].interm);
 7814|       |
 7815|      0|        TArraySize size;
 7816|      0|        parseContext.arraySizeCheck((yyvsp[-1].interm.intermTypedNode)->getLoc(), (yyvsp[-1].interm.intermTypedNode), size, "array size");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7817|      0|        (yyval.interm).arraySizes->addInnerSize(size);
 7818|      0|    }
 7819|      0|#line 7820 "MachineIndependent/glslang_tab.cpp"
 7820|      0|    break;
 7821|       |
 7822|      0|  case 221: /* type_parameter_specifier_opt: type_parameter_specifier  */
  ------------------
  |  Branch (7822:3): [True: 0, False: 2.04M]
  ------------------
 7823|      0|#line 1783 "MachineIndependent/glslang.y"
 7824|      0|                               {
 7825|      0|        (yyval.interm.typeParameters) = (yyvsp[0].interm.typeParameters);
 7826|      0|    }
 7827|      0|#line 7828 "MachineIndependent/glslang_tab.cpp"
 7828|      0|    break;
 7829|       |
 7830|   261k|  case 222: /* type_parameter_specifier_opt: %empty  */
  ------------------
  |  Branch (7830:3): [True: 261k, False: 1.78M]
  ------------------
 7831|   261k|#line 1786 "MachineIndependent/glslang.y"
 7832|   261k|                        {
 7833|   261k|        (yyval.interm.typeParameters) = 0;
 7834|   261k|    }
 7835|   261k|#line 7836 "MachineIndependent/glslang_tab.cpp"
 7836|   261k|    break;
 7837|       |
 7838|      0|  case 223: /* type_parameter_specifier: LEFT_ANGLE type_parameter_specifier_list RIGHT_ANGLE  */
  ------------------
  |  Branch (7838:3): [True: 0, False: 2.04M]
  ------------------
 7839|      0|#line 1792 "MachineIndependent/glslang.y"
 7840|      0|                                                           {
 7841|      0|        (yyval.interm.typeParameters) = (yyvsp[-1].interm.typeParameters);
 7842|      0|    }
 7843|      0|#line 7844 "MachineIndependent/glslang_tab.cpp"
 7844|      0|    break;
 7845|       |
 7846|      0|  case 224: /* type_parameter_specifier_list: type_specifier  */
  ------------------
  |  Branch (7846:3): [True: 0, False: 2.04M]
  ------------------
 7847|      0|#line 1798 "MachineIndependent/glslang.y"
 7848|      0|                     {
 7849|      0|        (yyval.interm.typeParameters) = new TTypeParameters;
 7850|      0|        (yyval.interm.typeParameters)->arraySizes = new TArraySizes;
 7851|      0|        (yyval.interm.typeParameters)->spirvType = (yyvsp[0].interm.type).spirvType;
 7852|      0|        (yyval.interm.typeParameters)->basicType = (yyvsp[0].interm.type).basicType;
 7853|      0|    }
 7854|      0|#line 7855 "MachineIndependent/glslang_tab.cpp"
 7855|      0|    break;
 7856|       |
 7857|      0|  case 225: /* type_parameter_specifier_list: unary_expression  */
  ------------------
  |  Branch (7857:3): [True: 0, False: 2.04M]
  ------------------
 7858|      0|#line 1804 "MachineIndependent/glslang.y"
 7859|      0|                       {
 7860|      0|        (yyval.interm.typeParameters) = new TTypeParameters;
 7861|      0|        (yyval.interm.typeParameters)->arraySizes = new TArraySizes;
 7862|       |
 7863|      0|        TArraySize size;
 7864|      0|        parseContext.arraySizeCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode), size, "type parameter", true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7865|      0|        (yyval.interm.typeParameters)->arraySizes->addInnerSize(size);
 7866|      0|    }
 7867|      0|#line 7868 "MachineIndependent/glslang_tab.cpp"
 7868|      0|    break;
 7869|       |
 7870|      0|  case 226: /* type_parameter_specifier_list: type_parameter_specifier_list COMMA unary_expression  */
  ------------------
  |  Branch (7870:3): [True: 0, False: 2.04M]
  ------------------
 7871|      0|#line 1812 "MachineIndependent/glslang.y"
 7872|      0|                                                           {
 7873|      0|        (yyval.interm.typeParameters) = (yyvsp[-2].interm.typeParameters);
 7874|       |
 7875|      0|        TArraySize size;
 7876|      0|        parseContext.arraySizeCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode), size, "type parameter", true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7877|      0|        (yyval.interm.typeParameters)->arraySizes->addInnerSize(size);
 7878|      0|    }
 7879|      0|#line 7880 "MachineIndependent/glslang_tab.cpp"
 7880|      0|    break;
 7881|       |
 7882|  4.91k|  case 227: /* type_specifier_nonarray: VOID  */
  ------------------
  |  Branch (7882:3): [True: 4.91k, False: 2.04M]
  ------------------
 7883|  4.91k|#line 1822 "MachineIndependent/glslang.y"
 7884|  4.91k|           {
 7885|  4.91k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  4.91k|#define parseContext (*pParseContext)
  ------------------
 7886|  4.91k|        (yyval.interm.type).basicType = EbtVoid;
 7887|  4.91k|    }
 7888|  4.91k|#line 7889 "MachineIndependent/glslang_tab.cpp"
 7889|  4.91k|    break;
 7890|       |
 7891|  26.1k|  case 228: /* type_specifier_nonarray: FLOAT  */
  ------------------
  |  Branch (7891:3): [True: 26.1k, False: 2.01M]
  ------------------
 7892|  26.1k|#line 1826 "MachineIndependent/glslang.y"
 7893|  26.1k|            {
 7894|  26.1k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  26.1k|#define parseContext (*pParseContext)
  ------------------
 7895|  26.1k|        (yyval.interm.type).basicType = EbtFloat;
 7896|  26.1k|    }
 7897|  26.1k|#line 7898 "MachineIndependent/glslang_tab.cpp"
 7898|  26.1k|    break;
 7899|       |
 7900|  30.2k|  case 229: /* type_specifier_nonarray: INT  */
  ------------------
  |  Branch (7900:3): [True: 30.2k, False: 2.01M]
  ------------------
 7901|  30.2k|#line 1830 "MachineIndependent/glslang.y"
 7902|  30.2k|          {
 7903|  30.2k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  30.2k|#define parseContext (*pParseContext)
  ------------------
 7904|  30.2k|        (yyval.interm.type).basicType = EbtInt;
 7905|  30.2k|    }
 7906|  30.2k|#line 7907 "MachineIndependent/glslang_tab.cpp"
 7907|  30.2k|    break;
 7908|       |
 7909|  14.4k|  case 230: /* type_specifier_nonarray: UINT  */
  ------------------
  |  Branch (7909:3): [True: 14.4k, False: 2.03M]
  ------------------
 7910|  14.4k|#line 1834 "MachineIndependent/glslang.y"
 7911|  14.4k|           {
 7912|  14.4k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer");
  ------------------
  |  |  756|  14.4k|#define parseContext (*pParseContext)
  ------------------
 7913|  14.4k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  14.4k|#define parseContext (*pParseContext)
  ------------------
 7914|  14.4k|        (yyval.interm.type).basicType = EbtUint;
 7915|  14.4k|    }
 7916|  14.4k|#line 7917 "MachineIndependent/glslang_tab.cpp"
 7917|  14.4k|    break;
 7918|       |
 7919|  2.83k|  case 231: /* type_specifier_nonarray: BOOL  */
  ------------------
  |  Branch (7919:3): [True: 2.83k, False: 2.04M]
  ------------------
 7920|  2.83k|#line 1839 "MachineIndependent/glslang.y"
 7921|  2.83k|           {
 7922|  2.83k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.83k|#define parseContext (*pParseContext)
  ------------------
 7923|  2.83k|        (yyval.interm.type).basicType = EbtBool;
 7924|  2.83k|    }
 7925|  2.83k|#line 7926 "MachineIndependent/glslang_tab.cpp"
 7926|  2.83k|    break;
 7927|       |
 7928|  19.6k|  case 232: /* type_specifier_nonarray: VEC2  */
  ------------------
  |  Branch (7928:3): [True: 19.6k, False: 2.02M]
  ------------------
 7929|  19.6k|#line 1843 "MachineIndependent/glslang.y"
 7930|  19.6k|           {
 7931|  19.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  19.6k|#define parseContext (*pParseContext)
  ------------------
 7932|  19.6k|        (yyval.interm.type).basicType = EbtFloat;
 7933|  19.6k|        (yyval.interm.type).setVector(2);
 7934|  19.6k|    }
 7935|  19.6k|#line 7936 "MachineIndependent/glslang_tab.cpp"
 7936|  19.6k|    break;
 7937|       |
 7938|  18.8k|  case 233: /* type_specifier_nonarray: VEC3  */
  ------------------
  |  Branch (7938:3): [True: 18.8k, False: 2.02M]
  ------------------
 7939|  18.8k|#line 1848 "MachineIndependent/glslang.y"
 7940|  18.8k|           {
 7941|  18.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  18.8k|#define parseContext (*pParseContext)
  ------------------
 7942|  18.8k|        (yyval.interm.type).basicType = EbtFloat;
 7943|  18.8k|        (yyval.interm.type).setVector(3);
 7944|  18.8k|    }
 7945|  18.8k|#line 7946 "MachineIndependent/glslang_tab.cpp"
 7946|  18.8k|    break;
 7947|       |
 7948|  20.0k|  case 234: /* type_specifier_nonarray: VEC4  */
  ------------------
  |  Branch (7948:3): [True: 20.0k, False: 2.02M]
  ------------------
 7949|  20.0k|#line 1853 "MachineIndependent/glslang.y"
 7950|  20.0k|           {
 7951|  20.0k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  20.0k|#define parseContext (*pParseContext)
  ------------------
 7952|  20.0k|        (yyval.interm.type).basicType = EbtFloat;
 7953|  20.0k|        (yyval.interm.type).setVector(4);
 7954|  20.0k|    }
 7955|  20.0k|#line 7956 "MachineIndependent/glslang_tab.cpp"
 7956|  20.0k|    break;
 7957|       |
 7958|  2.78k|  case 235: /* type_specifier_nonarray: BVEC2  */
  ------------------
  |  Branch (7958:3): [True: 2.78k, False: 2.04M]
  ------------------
 7959|  2.78k|#line 1858 "MachineIndependent/glslang.y"
 7960|  2.78k|            {
 7961|  2.78k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.78k|#define parseContext (*pParseContext)
  ------------------
 7962|  2.78k|        (yyval.interm.type).basicType = EbtBool;
 7963|  2.78k|        (yyval.interm.type).setVector(2);
 7964|  2.78k|    }
 7965|  2.78k|#line 7966 "MachineIndependent/glslang_tab.cpp"
 7966|  2.78k|    break;
 7967|       |
 7968|  2.78k|  case 236: /* type_specifier_nonarray: BVEC3  */
  ------------------
  |  Branch (7968:3): [True: 2.78k, False: 2.04M]
  ------------------
 7969|  2.78k|#line 1863 "MachineIndependent/glslang.y"
 7970|  2.78k|            {
 7971|  2.78k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.78k|#define parseContext (*pParseContext)
  ------------------
 7972|  2.78k|        (yyval.interm.type).basicType = EbtBool;
 7973|  2.78k|        (yyval.interm.type).setVector(3);
 7974|  2.78k|    }
 7975|  2.78k|#line 7976 "MachineIndependent/glslang_tab.cpp"
 7976|  2.78k|    break;
 7977|       |
 7978|  2.78k|  case 237: /* type_specifier_nonarray: BVEC4  */
  ------------------
  |  Branch (7978:3): [True: 2.78k, False: 2.04M]
  ------------------
 7979|  2.78k|#line 1868 "MachineIndependent/glslang.y"
 7980|  2.78k|            {
 7981|  2.78k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.78k|#define parseContext (*pParseContext)
  ------------------
 7982|  2.78k|        (yyval.interm.type).basicType = EbtBool;
 7983|  2.78k|        (yyval.interm.type).setVector(4);
 7984|  2.78k|    }
 7985|  2.78k|#line 7986 "MachineIndependent/glslang_tab.cpp"
 7986|  2.78k|    break;
 7987|       |
 7988|  9.01k|  case 238: /* type_specifier_nonarray: IVEC2  */
  ------------------
  |  Branch (7988:3): [True: 9.01k, False: 2.03M]
  ------------------
 7989|  9.01k|#line 1873 "MachineIndependent/glslang.y"
 7990|  9.01k|            {
 7991|  9.01k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  9.01k|#define parseContext (*pParseContext)
  ------------------
 7992|  9.01k|        (yyval.interm.type).basicType = EbtInt;
 7993|  9.01k|        (yyval.interm.type).setVector(2);
 7994|  9.01k|    }
 7995|  9.01k|#line 7996 "MachineIndependent/glslang_tab.cpp"
 7996|  9.01k|    break;
 7997|       |
 7998|  6.43k|  case 239: /* type_specifier_nonarray: IVEC3  */
  ------------------
  |  Branch (7998:3): [True: 6.43k, False: 2.03M]
  ------------------
 7999|  6.43k|#line 1878 "MachineIndependent/glslang.y"
 8000|  6.43k|            {
 8001|  6.43k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  6.43k|#define parseContext (*pParseContext)
  ------------------
 8002|  6.43k|        (yyval.interm.type).basicType = EbtInt;
 8003|  6.43k|        (yyval.interm.type).setVector(3);
 8004|  6.43k|    }
 8005|  6.43k|#line 8006 "MachineIndependent/glslang_tab.cpp"
 8006|  6.43k|    break;
 8007|       |
 8008|  4.35k|  case 240: /* type_specifier_nonarray: IVEC4  */
  ------------------
  |  Branch (8008:3): [True: 4.35k, False: 2.04M]
  ------------------
 8009|  4.35k|#line 1883 "MachineIndependent/glslang.y"
 8010|  4.35k|            {
 8011|  4.35k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  4.35k|#define parseContext (*pParseContext)
  ------------------
 8012|  4.35k|        (yyval.interm.type).basicType = EbtInt;
 8013|  4.35k|        (yyval.interm.type).setVector(4);
 8014|  4.35k|    }
 8015|  4.35k|#line 8016 "MachineIndependent/glslang_tab.cpp"
 8016|  4.35k|    break;
 8017|       |
 8018|  1.24k|  case 241: /* type_specifier_nonarray: UVEC2  */
  ------------------
  |  Branch (8018:3): [True: 1.24k, False: 2.04M]
  ------------------
 8019|  1.24k|#line 1888 "MachineIndependent/glslang.y"
 8020|  1.24k|            {
 8021|  1.24k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  756|  1.24k|#define parseContext (*pParseContext)
  ------------------
 8022|  1.24k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.24k|#define parseContext (*pParseContext)
  ------------------
 8023|  1.24k|        (yyval.interm.type).basicType = EbtUint;
 8024|  1.24k|        (yyval.interm.type).setVector(2);
 8025|  1.24k|    }
 8026|  1.24k|#line 8027 "MachineIndependent/glslang_tab.cpp"
 8027|  1.24k|    break;
 8028|       |
 8029|  1.22k|  case 242: /* type_specifier_nonarray: UVEC3  */
  ------------------
  |  Branch (8029:3): [True: 1.22k, False: 2.04M]
  ------------------
 8030|  1.22k|#line 1894 "MachineIndependent/glslang.y"
 8031|  1.22k|            {
 8032|  1.22k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  756|  1.22k|#define parseContext (*pParseContext)
  ------------------
 8033|  1.22k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.22k|#define parseContext (*pParseContext)
  ------------------
 8034|  1.22k|        (yyval.interm.type).basicType = EbtUint;
 8035|  1.22k|        (yyval.interm.type).setVector(3);
 8036|  1.22k|    }
 8037|  1.22k|#line 8038 "MachineIndependent/glslang_tab.cpp"
 8038|  1.22k|    break;
 8039|       |
 8040|  7.18k|  case 243: /* type_specifier_nonarray: UVEC4  */
  ------------------
  |  Branch (8040:3): [True: 7.18k, False: 2.03M]
  ------------------
 8041|  7.18k|#line 1900 "MachineIndependent/glslang.y"
 8042|  7.18k|            {
 8043|  7.18k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  756|  7.18k|#define parseContext (*pParseContext)
  ------------------
 8044|  7.18k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  7.18k|#define parseContext (*pParseContext)
  ------------------
 8045|  7.18k|        (yyval.interm.type).basicType = EbtUint;
 8046|  7.18k|        (yyval.interm.type).setVector(4);
 8047|  7.18k|    }
 8048|  7.18k|#line 8049 "MachineIndependent/glslang_tab.cpp"
 8049|  7.18k|    break;
 8050|       |
 8051|    324|  case 244: /* type_specifier_nonarray: MAT2  */
  ------------------
  |  Branch (8051:3): [True: 324, False: 2.04M]
  ------------------
 8052|    324|#line 1906 "MachineIndependent/glslang.y"
 8053|    324|           {
 8054|    324|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    324|#define parseContext (*pParseContext)
  ------------------
 8055|    324|        (yyval.interm.type).basicType = EbtFloat;
 8056|    324|        (yyval.interm.type).setMatrix(2, 2);
 8057|    324|    }
 8058|    324|#line 8059 "MachineIndependent/glslang_tab.cpp"
 8059|    324|    break;
 8060|       |
 8061|    324|  case 245: /* type_specifier_nonarray: MAT3  */
  ------------------
  |  Branch (8061:3): [True: 324, False: 2.04M]
  ------------------
 8062|    324|#line 1911 "MachineIndependent/glslang.y"
 8063|    324|           {
 8064|    324|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    324|#define parseContext (*pParseContext)
  ------------------
 8065|    324|        (yyval.interm.type).basicType = EbtFloat;
 8066|    324|        (yyval.interm.type).setMatrix(3, 3);
 8067|    324|    }
 8068|    324|#line 8069 "MachineIndependent/glslang_tab.cpp"
 8069|    324|    break;
 8070|       |
 8071|    324|  case 246: /* type_specifier_nonarray: MAT4  */
  ------------------
  |  Branch (8071:3): [True: 324, False: 2.04M]
  ------------------
 8072|    324|#line 1916 "MachineIndependent/glslang.y"
 8073|    324|           {
 8074|    324|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    324|#define parseContext (*pParseContext)
  ------------------
 8075|    324|        (yyval.interm.type).basicType = EbtFloat;
 8076|    324|        (yyval.interm.type).setMatrix(4, 4);
 8077|    324|    }
 8078|    324|#line 8079 "MachineIndependent/glslang_tab.cpp"
 8079|    324|    break;
 8080|       |
 8081|      0|  case 247: /* type_specifier_nonarray: MAT2X2  */
  ------------------
  |  Branch (8081:3): [True: 0, False: 2.04M]
  ------------------
 8082|      0|#line 1921 "MachineIndependent/glslang.y"
 8083|      0|             {
 8084|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8085|      0|        (yyval.interm.type).basicType = EbtFloat;
 8086|      0|        (yyval.interm.type).setMatrix(2, 2);
 8087|      0|    }
 8088|      0|#line 8089 "MachineIndependent/glslang_tab.cpp"
 8089|      0|    break;
 8090|       |
 8091|     24|  case 248: /* type_specifier_nonarray: MAT2X3  */
  ------------------
  |  Branch (8091:3): [True: 24, False: 2.04M]
  ------------------
 8092|     24|#line 1926 "MachineIndependent/glslang.y"
 8093|     24|             {
 8094|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8095|     24|        (yyval.interm.type).basicType = EbtFloat;
 8096|     24|        (yyval.interm.type).setMatrix(2, 3);
 8097|     24|    }
 8098|     24|#line 8099 "MachineIndependent/glslang_tab.cpp"
 8099|     24|    break;
 8100|       |
 8101|     24|  case 249: /* type_specifier_nonarray: MAT2X4  */
  ------------------
  |  Branch (8101:3): [True: 24, False: 2.04M]
  ------------------
 8102|     24|#line 1931 "MachineIndependent/glslang.y"
 8103|     24|             {
 8104|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8105|     24|        (yyval.interm.type).basicType = EbtFloat;
 8106|     24|        (yyval.interm.type).setMatrix(2, 4);
 8107|     24|    }
 8108|     24|#line 8109 "MachineIndependent/glslang_tab.cpp"
 8109|     24|    break;
 8110|       |
 8111|     24|  case 250: /* type_specifier_nonarray: MAT3X2  */
  ------------------
  |  Branch (8111:3): [True: 24, False: 2.04M]
  ------------------
 8112|     24|#line 1936 "MachineIndependent/glslang.y"
 8113|     24|             {
 8114|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8115|     24|        (yyval.interm.type).basicType = EbtFloat;
 8116|     24|        (yyval.interm.type).setMatrix(3, 2);
 8117|     24|    }
 8118|     24|#line 8119 "MachineIndependent/glslang_tab.cpp"
 8119|     24|    break;
 8120|       |
 8121|      0|  case 251: /* type_specifier_nonarray: MAT3X3  */
  ------------------
  |  Branch (8121:3): [True: 0, False: 2.04M]
  ------------------
 8122|      0|#line 1941 "MachineIndependent/glslang.y"
 8123|      0|             {
 8124|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8125|      0|        (yyval.interm.type).basicType = EbtFloat;
 8126|      0|        (yyval.interm.type).setMatrix(3, 3);
 8127|      0|    }
 8128|      0|#line 8129 "MachineIndependent/glslang_tab.cpp"
 8129|      0|    break;
 8130|       |
 8131|     24|  case 252: /* type_specifier_nonarray: MAT3X4  */
  ------------------
  |  Branch (8131:3): [True: 24, False: 2.04M]
  ------------------
 8132|     24|#line 1946 "MachineIndependent/glslang.y"
 8133|     24|             {
 8134|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8135|     24|        (yyval.interm.type).basicType = EbtFloat;
 8136|     24|        (yyval.interm.type).setMatrix(3, 4);
 8137|     24|    }
 8138|     24|#line 8139 "MachineIndependent/glslang_tab.cpp"
 8139|     24|    break;
 8140|       |
 8141|     24|  case 253: /* type_specifier_nonarray: MAT4X2  */
  ------------------
  |  Branch (8141:3): [True: 24, False: 2.04M]
  ------------------
 8142|     24|#line 1951 "MachineIndependent/glslang.y"
 8143|     24|             {
 8144|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8145|     24|        (yyval.interm.type).basicType = EbtFloat;
 8146|     24|        (yyval.interm.type).setMatrix(4, 2);
 8147|     24|    }
 8148|     24|#line 8149 "MachineIndependent/glslang_tab.cpp"
 8149|     24|    break;
 8150|       |
 8151|     24|  case 254: /* type_specifier_nonarray: MAT4X3  */
  ------------------
  |  Branch (8151:3): [True: 24, False: 2.04M]
  ------------------
 8152|     24|#line 1956 "MachineIndependent/glslang.y"
 8153|     24|             {
 8154|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8155|     24|        (yyval.interm.type).basicType = EbtFloat;
 8156|     24|        (yyval.interm.type).setMatrix(4, 3);
 8157|     24|    }
 8158|     24|#line 8159 "MachineIndependent/glslang_tab.cpp"
 8159|     24|    break;
 8160|       |
 8161|      0|  case 255: /* type_specifier_nonarray: MAT4X4  */
  ------------------
  |  Branch (8161:3): [True: 0, False: 2.04M]
  ------------------
 8162|      0|#line 1961 "MachineIndependent/glslang.y"
 8163|      0|             {
 8164|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8165|      0|        (yyval.interm.type).basicType = EbtFloat;
 8166|      0|        (yyval.interm.type).setMatrix(4, 4);
 8167|      0|    }
 8168|      0|#line 8169 "MachineIndependent/glslang_tab.cpp"
 8169|      0|    break;
 8170|       |
 8171|  1.14k|  case 256: /* type_specifier_nonarray: DOUBLE  */
  ------------------
  |  Branch (8171:3): [True: 1.14k, False: 2.04M]
  ------------------
 8172|  1.14k|#line 1966 "MachineIndependent/glslang.y"
 8173|  1.14k|             {
 8174|  1.14k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double");
  ------------------
  |  |  756|  1.14k|#define parseContext (*pParseContext)
  ------------------
 8175|  1.14k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|  1.14k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8175:13): [True: 0, False: 1.14k]
  ------------------
 8176|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8177|  1.14k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.14k|#define parseContext (*pParseContext)
  ------------------
 8178|  1.14k|        (yyval.interm.type).basicType = EbtDouble;
 8179|  1.14k|    }
 8180|  1.14k|#line 8181 "MachineIndependent/glslang_tab.cpp"
 8181|  1.14k|    break;
 8182|       |
 8183|     72|  case 257: /* type_specifier_nonarray: BFLOAT16_T  */
  ------------------
  |  Branch (8183:3): [True: 72, False: 2.04M]
  ------------------
 8184|     72|#line 1973 "MachineIndependent/glslang.y"
 8185|     72|                 {
 8186|     72|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "bfloat16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     72|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "bfloat16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     72|#define parseContext (*pParseContext)
  ------------------
 8187|     72|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     72|#define parseContext (*pParseContext)
  ------------------
 8188|     72|        (yyval.interm.type).basicType = EbtBFloat16;
 8189|     72|    }
 8190|     72|#line 8191 "MachineIndependent/glslang_tab.cpp"
 8191|     72|    break;
 8192|       |
 8193|     48|  case 258: /* type_specifier_nonarray: FLOATE5M2_T  */
  ------------------
  |  Branch (8193:3): [True: 48, False: 2.04M]
  ------------------
 8194|     48|#line 1978 "MachineIndependent/glslang.y"
 8195|     48|                  {
 8196|     48|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate5m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     48|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate5m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     48|#define parseContext (*pParseContext)
  ------------------
 8197|     48|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     48|#define parseContext (*pParseContext)
  ------------------
 8198|     48|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8199|     48|    }
 8200|     48|#line 8201 "MachineIndependent/glslang_tab.cpp"
 8201|     48|    break;
 8202|       |
 8203|     48|  case 259: /* type_specifier_nonarray: FLOATE4M3_T  */
  ------------------
  |  Branch (8203:3): [True: 48, False: 2.04M]
  ------------------
 8204|     48|#line 1983 "MachineIndependent/glslang.y"
 8205|     48|                  {
 8206|     48|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate4m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     48|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate4m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     48|#define parseContext (*pParseContext)
  ------------------
 8207|     48|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     48|#define parseContext (*pParseContext)
  ------------------
 8208|     48|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8209|     48|    }
 8210|     48|#line 8211 "MachineIndependent/glslang_tab.cpp"
 8211|     48|    break;
 8212|       |
 8213|  5.06k|  case 260: /* type_specifier_nonarray: FLOAT16_T  */
  ------------------
  |  Branch (8213:3): [True: 5.06k, False: 2.04M]
  ------------------
 8214|  5.06k|#line 1988 "MachineIndependent/glslang.y"
 8215|  5.06k|                {
 8216|  5.06k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "float16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  5.06k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "float16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  5.06k|#define parseContext (*pParseContext)
  ------------------
 8217|  5.06k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  5.06k|#define parseContext (*pParseContext)
  ------------------
 8218|  5.06k|        (yyval.interm.type).basicType = EbtFloat16;
 8219|  5.06k|    }
 8220|  5.06k|#line 8221 "MachineIndependent/glslang_tab.cpp"
 8221|  5.06k|    break;
 8222|       |
 8223|    304|  case 261: /* type_specifier_nonarray: FLOAT32_T  */
  ------------------
  |  Branch (8223:3): [True: 304, False: 2.04M]
  ------------------
 8224|    304|#line 1993 "MachineIndependent/glslang.y"
 8225|    304|                {
 8226|    304|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    304|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    304|#define parseContext (*pParseContext)
  ------------------
 8227|    304|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    304|#define parseContext (*pParseContext)
  ------------------
 8228|    304|        (yyval.interm.type).basicType = EbtFloat;
 8229|    304|    }
 8230|    304|#line 8231 "MachineIndependent/glslang_tab.cpp"
 8231|    304|    break;
 8232|       |
 8233|    564|  case 262: /* type_specifier_nonarray: FLOAT64_T  */
  ------------------
  |  Branch (8233:3): [True: 564, False: 2.04M]
  ------------------
 8234|    564|#line 1998 "MachineIndependent/glslang.y"
 8235|    564|                {
 8236|    564|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    564|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    564|#define parseContext (*pParseContext)
  ------------------
 8237|    564|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    564|#define parseContext (*pParseContext)
  ------------------
 8238|    564|        (yyval.interm.type).basicType = EbtDouble;
 8239|    564|    }
 8240|    564|#line 8241 "MachineIndependent/glslang_tab.cpp"
 8241|    564|    break;
 8242|       |
 8243|  1.12k|  case 263: /* type_specifier_nonarray: INT8_T  */
  ------------------
  |  Branch (8243:3): [True: 1.12k, False: 2.04M]
  ------------------
 8244|  1.12k|#line 2003 "MachineIndependent/glslang.y"
 8245|  1.12k|             {
 8246|  1.12k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.12k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.12k|#define parseContext (*pParseContext)
  ------------------
 8247|  1.12k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.12k|#define parseContext (*pParseContext)
  ------------------
 8248|  1.12k|        (yyval.interm.type).basicType = EbtInt8;
 8249|  1.12k|    }
 8250|  1.12k|#line 8251 "MachineIndependent/glslang_tab.cpp"
 8251|  1.12k|    break;
 8252|       |
 8253|  1.02k|  case 264: /* type_specifier_nonarray: UINT8_T  */
  ------------------
  |  Branch (8253:3): [True: 1.02k, False: 2.04M]
  ------------------
 8254|  1.02k|#line 2008 "MachineIndependent/glslang.y"
 8255|  1.02k|              {
 8256|  1.02k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.02k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.02k|#define parseContext (*pParseContext)
  ------------------
 8257|  1.02k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.02k|#define parseContext (*pParseContext)
  ------------------
 8258|  1.02k|        (yyval.interm.type).basicType = EbtUint8;
 8259|  1.02k|    }
 8260|  1.02k|#line 8261 "MachineIndependent/glslang_tab.cpp"
 8261|  1.02k|    break;
 8262|       |
 8263|  1.38k|  case 265: /* type_specifier_nonarray: INT16_T  */
  ------------------
  |  Branch (8263:3): [True: 1.38k, False: 2.04M]
  ------------------
 8264|  1.38k|#line 2013 "MachineIndependent/glslang.y"
 8265|  1.38k|              {
 8266|  1.38k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.38k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.38k|#define parseContext (*pParseContext)
  ------------------
 8267|  1.38k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.38k|#define parseContext (*pParseContext)
  ------------------
 8268|  1.38k|        (yyval.interm.type).basicType = EbtInt16;
 8269|  1.38k|    }
 8270|  1.38k|#line 8271 "MachineIndependent/glslang_tab.cpp"
 8271|  1.38k|    break;
 8272|       |
 8273|  1.22k|  case 266: /* type_specifier_nonarray: UINT16_T  */
  ------------------
  |  Branch (8273:3): [True: 1.22k, False: 2.04M]
  ------------------
 8274|  1.22k|#line 2018 "MachineIndependent/glslang.y"
 8275|  1.22k|               {
 8276|  1.22k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.22k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.22k|#define parseContext (*pParseContext)
  ------------------
 8277|  1.22k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.22k|#define parseContext (*pParseContext)
  ------------------
 8278|  1.22k|        (yyval.interm.type).basicType = EbtUint16;
 8279|  1.22k|    }
 8280|  1.22k|#line 8281 "MachineIndependent/glslang_tab.cpp"
 8281|  1.22k|    break;
 8282|       |
 8283|    320|  case 267: /* type_specifier_nonarray: INT32_T  */
  ------------------
  |  Branch (8283:3): [True: 320, False: 2.04M]
  ------------------
 8284|    320|#line 2023 "MachineIndependent/glslang.y"
 8285|    320|              {
 8286|    320|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    320|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    320|#define parseContext (*pParseContext)
  ------------------
 8287|    320|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    320|#define parseContext (*pParseContext)
  ------------------
 8288|    320|        (yyval.interm.type).basicType = EbtInt;
 8289|    320|    }
 8290|    320|#line 8291 "MachineIndependent/glslang_tab.cpp"
 8291|    320|    break;
 8292|       |
 8293|    320|  case 268: /* type_specifier_nonarray: UINT32_T  */
  ------------------
  |  Branch (8293:3): [True: 320, False: 2.04M]
  ------------------
 8294|    320|#line 2028 "MachineIndependent/glslang.y"
 8295|    320|               {
 8296|    320|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    320|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    320|#define parseContext (*pParseContext)
  ------------------
 8297|    320|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    320|#define parseContext (*pParseContext)
  ------------------
 8298|    320|        (yyval.interm.type).basicType = EbtUint;
 8299|    320|    }
 8300|    320|#line 8301 "MachineIndependent/glslang_tab.cpp"
 8301|    320|    break;
 8302|       |
 8303|  3.09k|  case 269: /* type_specifier_nonarray: INT64_T  */
  ------------------
  |  Branch (8303:3): [True: 3.09k, False: 2.04M]
  ------------------
 8304|  3.09k|#line 2033 "MachineIndependent/glslang.y"
 8305|  3.09k|              {
 8306|  3.09k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  3.09k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  3.09k|#define parseContext (*pParseContext)
  ------------------
 8307|  3.09k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  3.09k|#define parseContext (*pParseContext)
  ------------------
 8308|  3.09k|        (yyval.interm.type).basicType = EbtInt64;
 8309|  3.09k|    }
 8310|  3.09k|#line 8311 "MachineIndependent/glslang_tab.cpp"
 8311|  3.09k|    break;
 8312|       |
 8313|  5.10k|  case 270: /* type_specifier_nonarray: UINT64_T  */
  ------------------
  |  Branch (8313:3): [True: 5.10k, False: 2.04M]
  ------------------
 8314|  5.10k|#line 2038 "MachineIndependent/glslang.y"
 8315|  5.10k|               {
 8316|  5.10k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  5.10k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  5.10k|#define parseContext (*pParseContext)
  ------------------
 8317|  5.10k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  5.10k|#define parseContext (*pParseContext)
  ------------------
 8318|  5.10k|        (yyval.interm.type).basicType = EbtUint64;
 8319|  5.10k|    }
 8320|  5.10k|#line 8321 "MachineIndependent/glslang_tab.cpp"
 8321|  5.10k|    break;
 8322|       |
 8323|    928|  case 271: /* type_specifier_nonarray: DVEC2  */
  ------------------
  |  Branch (8323:3): [True: 928, False: 2.04M]
  ------------------
 8324|    928|#line 2043 "MachineIndependent/glslang.y"
 8325|    928|            {
 8326|    928|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  756|    928|#define parseContext (*pParseContext)
  ------------------
 8327|    928|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|    928|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8327:13): [True: 0, False: 928]
  ------------------
 8328|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8329|    928|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    928|#define parseContext (*pParseContext)
  ------------------
 8330|    928|        (yyval.interm.type).basicType = EbtDouble;
 8331|    928|        (yyval.interm.type).setVector(2);
 8332|    928|    }
 8333|    928|#line 8334 "MachineIndependent/glslang_tab.cpp"
 8334|    928|    break;
 8335|       |
 8336|    924|  case 272: /* type_specifier_nonarray: DVEC3  */
  ------------------
  |  Branch (8336:3): [True: 924, False: 2.04M]
  ------------------
 8337|    924|#line 2051 "MachineIndependent/glslang.y"
 8338|    924|            {
 8339|    924|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  756|    924|#define parseContext (*pParseContext)
  ------------------
 8340|    924|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|    924|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8340:13): [True: 0, False: 924]
  ------------------
 8341|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8342|    924|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    924|#define parseContext (*pParseContext)
  ------------------
 8343|    924|        (yyval.interm.type).basicType = EbtDouble;
 8344|    924|        (yyval.interm.type).setVector(3);
 8345|    924|    }
 8346|    924|#line 8347 "MachineIndependent/glslang_tab.cpp"
 8347|    924|    break;
 8348|       |
 8349|    928|  case 273: /* type_specifier_nonarray: DVEC4  */
  ------------------
  |  Branch (8349:3): [True: 928, False: 2.04M]
  ------------------
 8350|    928|#line 2059 "MachineIndependent/glslang.y"
 8351|    928|            {
 8352|    928|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  756|    928|#define parseContext (*pParseContext)
  ------------------
 8353|    928|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|    928|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8353:13): [True: 0, False: 928]
  ------------------
 8354|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8355|    928|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    928|#define parseContext (*pParseContext)
  ------------------
 8356|    928|        (yyval.interm.type).basicType = EbtDouble;
 8357|    928|        (yyval.interm.type).setVector(4);
 8358|    928|    }
 8359|    928|#line 8360 "MachineIndependent/glslang_tab.cpp"
 8360|    928|    break;
 8361|       |
 8362|     40|  case 274: /* type_specifier_nonarray: BF16VEC2  */
  ------------------
  |  Branch (8362:3): [True: 40, False: 2.04M]
  ------------------
 8363|     40|#line 2067 "MachineIndependent/glslang.y"
 8364|     40|               {
 8365|     40|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     40|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     40|#define parseContext (*pParseContext)
  ------------------
 8366|     40|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     40|#define parseContext (*pParseContext)
  ------------------
 8367|     40|        (yyval.interm.type).basicType = EbtBFloat16;
 8368|     40|        (yyval.interm.type).setVector(2);
 8369|     40|    }
 8370|     40|#line 8371 "MachineIndependent/glslang_tab.cpp"
 8371|     40|    break;
 8372|       |
 8373|     24|  case 275: /* type_specifier_nonarray: BF16VEC3  */
  ------------------
  |  Branch (8373:3): [True: 24, False: 2.04M]
  ------------------
 8374|     24|#line 2073 "MachineIndependent/glslang.y"
 8375|     24|               {
 8376|     24|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8377|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8378|     24|        (yyval.interm.type).basicType = EbtBFloat16;
 8379|     24|        (yyval.interm.type).setVector(3);
 8380|     24|    }
 8381|     24|#line 8382 "MachineIndependent/glslang_tab.cpp"
 8382|     24|    break;
 8383|       |
 8384|     40|  case 276: /* type_specifier_nonarray: BF16VEC4  */
  ------------------
  |  Branch (8384:3): [True: 40, False: 2.04M]
  ------------------
 8385|     40|#line 2079 "MachineIndependent/glslang.y"
 8386|     40|               {
 8387|     40|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     40|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     40|#define parseContext (*pParseContext)
  ------------------
 8388|     40|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     40|#define parseContext (*pParseContext)
  ------------------
 8389|     40|        (yyval.interm.type).basicType = EbtBFloat16;
 8390|     40|        (yyval.interm.type).setVector(4);
 8391|     40|    }
 8392|     40|#line 8393 "MachineIndependent/glslang_tab.cpp"
 8393|     40|    break;
 8394|       |
 8395|     32|  case 277: /* type_specifier_nonarray: FE5M2VEC2  */
  ------------------
  |  Branch (8395:3): [True: 32, False: 2.04M]
  ------------------
 8396|     32|#line 2085 "MachineIndependent/glslang.y"
 8397|     32|                {
 8398|     32|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     32|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     32|#define parseContext (*pParseContext)
  ------------------
 8399|     32|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     32|#define parseContext (*pParseContext)
  ------------------
 8400|     32|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8401|     32|        (yyval.interm.type).setVector(2);
 8402|     32|    }
 8403|     32|#line 8404 "MachineIndependent/glslang_tab.cpp"
 8404|     32|    break;
 8405|       |
 8406|     16|  case 278: /* type_specifier_nonarray: FE5M2VEC3  */
  ------------------
  |  Branch (8406:3): [True: 16, False: 2.04M]
  ------------------
 8407|     16|#line 2091 "MachineIndependent/glslang.y"
 8408|     16|                {
 8409|     16|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
 8410|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
 8411|     16|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8412|     16|        (yyval.interm.type).setVector(3);
 8413|     16|    }
 8414|     16|#line 8415 "MachineIndependent/glslang_tab.cpp"
 8415|     16|    break;
 8416|       |
 8417|     32|  case 279: /* type_specifier_nonarray: FE5M2VEC4  */
  ------------------
  |  Branch (8417:3): [True: 32, False: 2.04M]
  ------------------
 8418|     32|#line 2097 "MachineIndependent/glslang.y"
 8419|     32|                {
 8420|     32|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     32|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     32|#define parseContext (*pParseContext)
  ------------------
 8421|     32|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     32|#define parseContext (*pParseContext)
  ------------------
 8422|     32|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8423|     32|        (yyval.interm.type).setVector(4);
 8424|     32|    }
 8425|     32|#line 8426 "MachineIndependent/glslang_tab.cpp"
 8426|     32|    break;
 8427|       |
 8428|     32|  case 280: /* type_specifier_nonarray: FE4M3VEC2  */
  ------------------
  |  Branch (8428:3): [True: 32, False: 2.04M]
  ------------------
 8429|     32|#line 2103 "MachineIndependent/glslang.y"
 8430|     32|                {
 8431|     32|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     32|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     32|#define parseContext (*pParseContext)
  ------------------
 8432|     32|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     32|#define parseContext (*pParseContext)
  ------------------
 8433|     32|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8434|     32|        (yyval.interm.type).setVector(2);
 8435|     32|    }
 8436|     32|#line 8437 "MachineIndependent/glslang_tab.cpp"
 8437|     32|    break;
 8438|       |
 8439|     16|  case 281: /* type_specifier_nonarray: FE4M3VEC3  */
  ------------------
  |  Branch (8439:3): [True: 16, False: 2.04M]
  ------------------
 8440|     16|#line 2109 "MachineIndependent/glslang.y"
 8441|     16|                {
 8442|     16|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
 8443|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
 8444|     16|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8445|     16|        (yyval.interm.type).setVector(3);
 8446|     16|    }
 8447|     16|#line 8448 "MachineIndependent/glslang_tab.cpp"
 8448|     16|    break;
 8449|       |
 8450|     32|  case 282: /* type_specifier_nonarray: FE4M3VEC4  */
  ------------------
  |  Branch (8450:3): [True: 32, False: 2.04M]
  ------------------
 8451|     32|#line 2115 "MachineIndependent/glslang.y"
 8452|     32|                {
 8453|     32|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     32|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     32|#define parseContext (*pParseContext)
  ------------------
 8454|     32|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     32|#define parseContext (*pParseContext)
  ------------------
 8455|     32|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8456|     32|        (yyval.interm.type).setVector(4);
 8457|     32|    }
 8458|     32|#line 8459 "MachineIndependent/glslang_tab.cpp"
 8459|     32|    break;
 8460|       |
 8461|  3.80k|  case 283: /* type_specifier_nonarray: F16VEC2  */
  ------------------
  |  Branch (8461:3): [True: 3.80k, False: 2.04M]
  ------------------
 8462|  3.80k|#line 2121 "MachineIndependent/glslang.y"
 8463|  3.80k|              {
 8464|  3.80k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  3.80k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  3.80k|#define parseContext (*pParseContext)
  ------------------
 8465|  3.80k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  3.80k|#define parseContext (*pParseContext)
  ------------------
 8466|  3.80k|        (yyval.interm.type).basicType = EbtFloat16;
 8467|  3.80k|        (yyval.interm.type).setVector(2);
 8468|  3.80k|    }
 8469|  3.80k|#line 8470 "MachineIndependent/glslang_tab.cpp"
 8470|  3.80k|    break;
 8471|       |
 8472|  2.62k|  case 284: /* type_specifier_nonarray: F16VEC3  */
  ------------------
  |  Branch (8472:3): [True: 2.62k, False: 2.04M]
  ------------------
 8473|  2.62k|#line 2127 "MachineIndependent/glslang.y"
 8474|  2.62k|              {
 8475|  2.62k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.62k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.62k|#define parseContext (*pParseContext)
  ------------------
 8476|  2.62k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.62k|#define parseContext (*pParseContext)
  ------------------
 8477|  2.62k|        (yyval.interm.type).basicType = EbtFloat16;
 8478|  2.62k|        (yyval.interm.type).setVector(3);
 8479|  2.62k|    }
 8480|  2.62k|#line 8481 "MachineIndependent/glslang_tab.cpp"
 8481|  2.62k|    break;
 8482|       |
 8483|  6.54k|  case 285: /* type_specifier_nonarray: F16VEC4  */
  ------------------
  |  Branch (8483:3): [True: 6.54k, False: 2.03M]
  ------------------
 8484|  6.54k|#line 2133 "MachineIndependent/glslang.y"
 8485|  6.54k|              {
 8486|  6.54k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  6.54k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  6.54k|#define parseContext (*pParseContext)
  ------------------
 8487|  6.54k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  6.54k|#define parseContext (*pParseContext)
  ------------------
 8488|  6.54k|        (yyval.interm.type).basicType = EbtFloat16;
 8489|  6.54k|        (yyval.interm.type).setVector(4);
 8490|  6.54k|    }
 8491|  6.54k|#line 8492 "MachineIndependent/glslang_tab.cpp"
 8492|  6.54k|    break;
 8493|       |
 8494|     16|  case 286: /* type_specifier_nonarray: F32VEC2  */
  ------------------
  |  Branch (8494:3): [True: 16, False: 2.04M]
  ------------------
 8495|     16|#line 2139 "MachineIndependent/glslang.y"
 8496|     16|              {
 8497|     16|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
 8498|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
 8499|     16|        (yyval.interm.type).basicType = EbtFloat;
 8500|     16|        (yyval.interm.type).setVector(2);
 8501|     16|    }
 8502|     16|#line 8503 "MachineIndependent/glslang_tab.cpp"
 8503|     16|    break;
 8504|       |
 8505|     16|  case 287: /* type_specifier_nonarray: F32VEC3  */
  ------------------
  |  Branch (8505:3): [True: 16, False: 2.04M]
  ------------------
 8506|     16|#line 2145 "MachineIndependent/glslang.y"
 8507|     16|              {
 8508|     16|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
 8509|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
 8510|     16|        (yyval.interm.type).basicType = EbtFloat;
 8511|     16|        (yyval.interm.type).setVector(3);
 8512|     16|    }
 8513|     16|#line 8514 "MachineIndependent/glslang_tab.cpp"
 8514|     16|    break;
 8515|       |
 8516|     16|  case 288: /* type_specifier_nonarray: F32VEC4  */
  ------------------
  |  Branch (8516:3): [True: 16, False: 2.04M]
  ------------------
 8517|     16|#line 2151 "MachineIndependent/glslang.y"
 8518|     16|              {
 8519|     16|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
 8520|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
 8521|     16|        (yyval.interm.type).basicType = EbtFloat;
 8522|     16|        (yyval.interm.type).setVector(4);
 8523|     16|    }
 8524|     16|#line 8525 "MachineIndependent/glslang_tab.cpp"
 8525|     16|    break;
 8526|       |
 8527|    360|  case 289: /* type_specifier_nonarray: F64VEC2  */
  ------------------
  |  Branch (8527:3): [True: 360, False: 2.04M]
  ------------------
 8528|    360|#line 2157 "MachineIndependent/glslang.y"
 8529|    360|              {
 8530|    360|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    360|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    360|#define parseContext (*pParseContext)
  ------------------
 8531|    360|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    360|#define parseContext (*pParseContext)
  ------------------
 8532|    360|        (yyval.interm.type).basicType = EbtDouble;
 8533|    360|        (yyval.interm.type).setVector(2);
 8534|    360|    }
 8535|    360|#line 8536 "MachineIndependent/glslang_tab.cpp"
 8536|    360|    break;
 8537|       |
 8538|    344|  case 290: /* type_specifier_nonarray: F64VEC3  */
  ------------------
  |  Branch (8538:3): [True: 344, False: 2.04M]
  ------------------
 8539|    344|#line 2163 "MachineIndependent/glslang.y"
 8540|    344|              {
 8541|    344|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    344|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    344|#define parseContext (*pParseContext)
  ------------------
 8542|    344|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    344|#define parseContext (*pParseContext)
  ------------------
 8543|    344|        (yyval.interm.type).basicType = EbtDouble;
 8544|    344|        (yyval.interm.type).setVector(3);
 8545|    344|    }
 8546|    344|#line 8547 "MachineIndependent/glslang_tab.cpp"
 8547|    344|    break;
 8548|       |
 8549|    344|  case 291: /* type_specifier_nonarray: F64VEC4  */
  ------------------
  |  Branch (8549:3): [True: 344, False: 2.04M]
  ------------------
 8550|    344|#line 2169 "MachineIndependent/glslang.y"
 8551|    344|              {
 8552|    344|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    344|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    344|#define parseContext (*pParseContext)
  ------------------
 8553|    344|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    344|#define parseContext (*pParseContext)
  ------------------
 8554|    344|        (yyval.interm.type).basicType = EbtDouble;
 8555|    344|        (yyval.interm.type).setVector(4);
 8556|    344|    }
 8557|    344|#line 8558 "MachineIndependent/glslang_tab.cpp"
 8558|    344|    break;
 8559|       |
 8560|    800|  case 292: /* type_specifier_nonarray: I8VEC2  */
  ------------------
  |  Branch (8560:3): [True: 800, False: 2.04M]
  ------------------
 8561|    800|#line 2175 "MachineIndependent/glslang.y"
 8562|    800|             {
 8563|    800|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    800|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    800|#define parseContext (*pParseContext)
  ------------------
 8564|    800|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    800|#define parseContext (*pParseContext)
  ------------------
 8565|    800|        (yyval.interm.type).basicType = EbtInt8;
 8566|    800|        (yyval.interm.type).setVector(2);
 8567|    800|    }
 8568|    800|#line 8569 "MachineIndependent/glslang_tab.cpp"
 8569|    800|    break;
 8570|       |
 8571|    776|  case 293: /* type_specifier_nonarray: I8VEC3  */
  ------------------
  |  Branch (8571:3): [True: 776, False: 2.04M]
  ------------------
 8572|    776|#line 2181 "MachineIndependent/glslang.y"
 8573|    776|             {
 8574|    776|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    776|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    776|#define parseContext (*pParseContext)
  ------------------
 8575|    776|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    776|#define parseContext (*pParseContext)
  ------------------
 8576|    776|        (yyval.interm.type).basicType = EbtInt8;
 8577|    776|        (yyval.interm.type).setVector(3);
 8578|    776|    }
 8579|    776|#line 8580 "MachineIndependent/glslang_tab.cpp"
 8580|    776|    break;
 8581|       |
 8582|    800|  case 294: /* type_specifier_nonarray: I8VEC4  */
  ------------------
  |  Branch (8582:3): [True: 800, False: 2.04M]
  ------------------
 8583|    800|#line 2187 "MachineIndependent/glslang.y"
 8584|    800|             {
 8585|    800|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    800|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    800|#define parseContext (*pParseContext)
  ------------------
 8586|    800|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    800|#define parseContext (*pParseContext)
  ------------------
 8587|    800|        (yyval.interm.type).basicType = EbtInt8;
 8588|    800|        (yyval.interm.type).setVector(4);
 8589|    800|    }
 8590|    800|#line 8591 "MachineIndependent/glslang_tab.cpp"
 8591|    800|    break;
 8592|       |
 8593|  1.07k|  case 295: /* type_specifier_nonarray: I16VEC2  */
  ------------------
  |  Branch (8593:3): [True: 1.07k, False: 2.04M]
  ------------------
 8594|  1.07k|#line 2193 "MachineIndependent/glslang.y"
 8595|  1.07k|              {
 8596|  1.07k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.07k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.07k|#define parseContext (*pParseContext)
  ------------------
 8597|  1.07k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.07k|#define parseContext (*pParseContext)
  ------------------
 8598|  1.07k|        (yyval.interm.type).basicType = EbtInt16;
 8599|  1.07k|        (yyval.interm.type).setVector(2);
 8600|  1.07k|    }
 8601|  1.07k|#line 8602 "MachineIndependent/glslang_tab.cpp"
 8602|  1.07k|    break;
 8603|       |
 8604|  1.04k|  case 296: /* type_specifier_nonarray: I16VEC3  */
  ------------------
  |  Branch (8604:3): [True: 1.04k, False: 2.04M]
  ------------------
 8605|  1.04k|#line 2199 "MachineIndependent/glslang.y"
 8606|  1.04k|              {
 8607|  1.04k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.04k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.04k|#define parseContext (*pParseContext)
  ------------------
 8608|  1.04k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.04k|#define parseContext (*pParseContext)
  ------------------
 8609|  1.04k|        (yyval.interm.type).basicType = EbtInt16;
 8610|  1.04k|        (yyval.interm.type).setVector(3);
 8611|  1.04k|    }
 8612|  1.04k|#line 8613 "MachineIndependent/glslang_tab.cpp"
 8613|  1.04k|    break;
 8614|       |
 8615|  1.07k|  case 297: /* type_specifier_nonarray: I16VEC4  */
  ------------------
  |  Branch (8615:3): [True: 1.07k, False: 2.04M]
  ------------------
 8616|  1.07k|#line 2205 "MachineIndependent/glslang.y"
 8617|  1.07k|              {
 8618|  1.07k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.07k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.07k|#define parseContext (*pParseContext)
  ------------------
 8619|  1.07k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.07k|#define parseContext (*pParseContext)
  ------------------
 8620|  1.07k|        (yyval.interm.type).basicType = EbtInt16;
 8621|  1.07k|        (yyval.interm.type).setVector(4);
 8622|  1.07k|    }
 8623|  1.07k|#line 8624 "MachineIndependent/glslang_tab.cpp"
 8624|  1.07k|    break;
 8625|       |
 8626|     24|  case 298: /* type_specifier_nonarray: I32VEC2  */
  ------------------
  |  Branch (8626:3): [True: 24, False: 2.04M]
  ------------------
 8627|     24|#line 2211 "MachineIndependent/glslang.y"
 8628|     24|              {
 8629|     24|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8630|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8631|     24|        (yyval.interm.type).basicType = EbtInt;
 8632|     24|        (yyval.interm.type).setVector(2);
 8633|     24|    }
 8634|     24|#line 8635 "MachineIndependent/glslang_tab.cpp"
 8635|     24|    break;
 8636|       |
 8637|     16|  case 299: /* type_specifier_nonarray: I32VEC3  */
  ------------------
  |  Branch (8637:3): [True: 16, False: 2.04M]
  ------------------
 8638|     16|#line 2217 "MachineIndependent/glslang.y"
 8639|     16|              {
 8640|     16|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
 8641|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
 8642|     16|        (yyval.interm.type).basicType = EbtInt;
 8643|     16|        (yyval.interm.type).setVector(3);
 8644|     16|    }
 8645|     16|#line 8646 "MachineIndependent/glslang_tab.cpp"
 8646|     16|    break;
 8647|       |
 8648|     16|  case 300: /* type_specifier_nonarray: I32VEC4  */
  ------------------
  |  Branch (8648:3): [True: 16, False: 2.04M]
  ------------------
 8649|     16|#line 2223 "MachineIndependent/glslang.y"
 8650|     16|              {
 8651|     16|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
 8652|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
 8653|     16|        (yyval.interm.type).basicType = EbtInt;
 8654|     16|        (yyval.interm.type).setVector(4);
 8655|     16|    }
 8656|     16|#line 8657 "MachineIndependent/glslang_tab.cpp"
 8657|     16|    break;
 8658|       |
 8659|    956|  case 301: /* type_specifier_nonarray: I64VEC2  */
  ------------------
  |  Branch (8659:3): [True: 956, False: 2.04M]
  ------------------
 8660|    956|#line 2229 "MachineIndependent/glslang.y"
 8661|    956|              {
 8662|    956|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    956|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    956|#define parseContext (*pParseContext)
  ------------------
 8663|    956|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    956|#define parseContext (*pParseContext)
  ------------------
 8664|    956|        (yyval.interm.type).basicType = EbtInt64;
 8665|    956|        (yyval.interm.type).setVector(2);
 8666|    956|    }
 8667|    956|#line 8668 "MachineIndependent/glslang_tab.cpp"
 8668|    956|    break;
 8669|       |
 8670|    940|  case 302: /* type_specifier_nonarray: I64VEC3  */
  ------------------
  |  Branch (8670:3): [True: 940, False: 2.04M]
  ------------------
 8671|    940|#line 2235 "MachineIndependent/glslang.y"
 8672|    940|              {
 8673|    940|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    940|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    940|#define parseContext (*pParseContext)
  ------------------
 8674|    940|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    940|#define parseContext (*pParseContext)
  ------------------
 8675|    940|        (yyval.interm.type).basicType = EbtInt64;
 8676|    940|        (yyval.interm.type).setVector(3);
 8677|    940|    }
 8678|    940|#line 8679 "MachineIndependent/glslang_tab.cpp"
 8679|    940|    break;
 8680|       |
 8681|  1.15k|  case 303: /* type_specifier_nonarray: I64VEC4  */
  ------------------
  |  Branch (8681:3): [True: 1.15k, False: 2.04M]
  ------------------
 8682|  1.15k|#line 2241 "MachineIndependent/glslang.y"
 8683|  1.15k|              {
 8684|  1.15k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.15k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.15k|#define parseContext (*pParseContext)
  ------------------
 8685|  1.15k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.15k|#define parseContext (*pParseContext)
  ------------------
 8686|  1.15k|        (yyval.interm.type).basicType = EbtInt64;
 8687|  1.15k|        (yyval.interm.type).setVector(4);
 8688|  1.15k|    }
 8689|  1.15k|#line 8690 "MachineIndependent/glslang_tab.cpp"
 8690|  1.15k|    break;
 8691|       |
 8692|    760|  case 304: /* type_specifier_nonarray: U8VEC2  */
  ------------------
  |  Branch (8692:3): [True: 760, False: 2.04M]
  ------------------
 8693|    760|#line 2247 "MachineIndependent/glslang.y"
 8694|    760|             {
 8695|    760|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    760|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    760|#define parseContext (*pParseContext)
  ------------------
 8696|    760|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    760|#define parseContext (*pParseContext)
  ------------------
 8697|    760|        (yyval.interm.type).basicType = EbtUint8;
 8698|    760|        (yyval.interm.type).setVector(2);
 8699|    760|    }
 8700|    760|#line 8701 "MachineIndependent/glslang_tab.cpp"
 8701|    760|    break;
 8702|       |
 8703|    736|  case 305: /* type_specifier_nonarray: U8VEC3  */
  ------------------
  |  Branch (8703:3): [True: 736, False: 2.04M]
  ------------------
 8704|    736|#line 2253 "MachineIndependent/glslang.y"
 8705|    736|             {
 8706|    736|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    736|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    736|#define parseContext (*pParseContext)
  ------------------
 8707|    736|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    736|#define parseContext (*pParseContext)
  ------------------
 8708|    736|        (yyval.interm.type).basicType = EbtUint8;
 8709|    736|        (yyval.interm.type).setVector(3);
 8710|    736|    }
 8711|    736|#line 8712 "MachineIndependent/glslang_tab.cpp"
 8712|    736|    break;
 8713|       |
 8714|    760|  case 306: /* type_specifier_nonarray: U8VEC4  */
  ------------------
  |  Branch (8714:3): [True: 760, False: 2.04M]
  ------------------
 8715|    760|#line 2259 "MachineIndependent/glslang.y"
 8716|    760|             {
 8717|    760|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    760|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    760|#define parseContext (*pParseContext)
  ------------------
 8718|    760|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    760|#define parseContext (*pParseContext)
  ------------------
 8719|    760|        (yyval.interm.type).basicType = EbtUint8;
 8720|    760|        (yyval.interm.type).setVector(4);
 8721|    760|    }
 8722|    760|#line 8723 "MachineIndependent/glslang_tab.cpp"
 8723|    760|    break;
 8724|       |
 8725|  1.03k|  case 307: /* type_specifier_nonarray: U16VEC2  */
  ------------------
  |  Branch (8725:3): [True: 1.03k, False: 2.04M]
  ------------------
 8726|  1.03k|#line 2265 "MachineIndependent/glslang.y"
 8727|  1.03k|              {
 8728|  1.03k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.03k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.03k|#define parseContext (*pParseContext)
  ------------------
 8729|  1.03k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.03k|#define parseContext (*pParseContext)
  ------------------
 8730|  1.03k|        (yyval.interm.type).basicType = EbtUint16;
 8731|  1.03k|        (yyval.interm.type).setVector(2);
 8732|  1.03k|    }
 8733|  1.03k|#line 8734 "MachineIndependent/glslang_tab.cpp"
 8734|  1.03k|    break;
 8735|       |
 8736|  1.00k|  case 308: /* type_specifier_nonarray: U16VEC3  */
  ------------------
  |  Branch (8736:3): [True: 1.00k, False: 2.04M]
  ------------------
 8737|  1.00k|#line 2271 "MachineIndependent/glslang.y"
 8738|  1.00k|              {
 8739|  1.00k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.00k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.00k|#define parseContext (*pParseContext)
  ------------------
 8740|  1.00k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.00k|#define parseContext (*pParseContext)
  ------------------
 8741|  1.00k|        (yyval.interm.type).basicType = EbtUint16;
 8742|  1.00k|        (yyval.interm.type).setVector(3);
 8743|  1.00k|    }
 8744|  1.00k|#line 8745 "MachineIndependent/glslang_tab.cpp"
 8745|  1.00k|    break;
 8746|       |
 8747|  1.03k|  case 309: /* type_specifier_nonarray: U16VEC4  */
  ------------------
  |  Branch (8747:3): [True: 1.03k, False: 2.04M]
  ------------------
 8748|  1.03k|#line 2277 "MachineIndependent/glslang.y"
 8749|  1.03k|              {
 8750|  1.03k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.03k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.03k|#define parseContext (*pParseContext)
  ------------------
 8751|  1.03k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.03k|#define parseContext (*pParseContext)
  ------------------
 8752|  1.03k|        (yyval.interm.type).basicType = EbtUint16;
 8753|  1.03k|        (yyval.interm.type).setVector(4);
 8754|  1.03k|    }
 8755|  1.03k|#line 8756 "MachineIndependent/glslang_tab.cpp"
 8756|  1.03k|    break;
 8757|       |
 8758|     24|  case 310: /* type_specifier_nonarray: U32VEC2  */
  ------------------
  |  Branch (8758:3): [True: 24, False: 2.04M]
  ------------------
 8759|     24|#line 2283 "MachineIndependent/glslang.y"
 8760|     24|              {
 8761|     24|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8762|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8763|     24|        (yyval.interm.type).basicType = EbtUint;
 8764|     24|        (yyval.interm.type).setVector(2);
 8765|     24|    }
 8766|     24|#line 8767 "MachineIndependent/glslang_tab.cpp"
 8767|     24|    break;
 8768|       |
 8769|     16|  case 311: /* type_specifier_nonarray: U32VEC3  */
  ------------------
  |  Branch (8769:3): [True: 16, False: 2.04M]
  ------------------
 8770|     16|#line 2289 "MachineIndependent/glslang.y"
 8771|     16|              {
 8772|     16|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
 8773|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
 8774|     16|        (yyval.interm.type).basicType = EbtUint;
 8775|     16|        (yyval.interm.type).setVector(3);
 8776|     16|    }
 8777|     16|#line 8778 "MachineIndependent/glslang_tab.cpp"
 8778|     16|    break;
 8779|       |
 8780|     16|  case 312: /* type_specifier_nonarray: U32VEC4  */
  ------------------
  |  Branch (8780:3): [True: 16, False: 2.04M]
  ------------------
 8781|     16|#line 2295 "MachineIndependent/glslang.y"
 8782|     16|              {
 8783|     16|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
 8784|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     16|#define parseContext (*pParseContext)
  ------------------
 8785|     16|        (yyval.interm.type).basicType = EbtUint;
 8786|     16|        (yyval.interm.type).setVector(4);
 8787|     16|    }
 8788|     16|#line 8789 "MachineIndependent/glslang_tab.cpp"
 8789|     16|    break;
 8790|       |
 8791|    924|  case 313: /* type_specifier_nonarray: U64VEC2  */
  ------------------
  |  Branch (8791:3): [True: 924, False: 2.04M]
  ------------------
 8792|    924|#line 2301 "MachineIndependent/glslang.y"
 8793|    924|              {
 8794|    924|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    924|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    924|#define parseContext (*pParseContext)
  ------------------
 8795|    924|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    924|#define parseContext (*pParseContext)
  ------------------
 8796|    924|        (yyval.interm.type).basicType = EbtUint64;
 8797|    924|        (yyval.interm.type).setVector(2);
 8798|    924|    }
 8799|    924|#line 8800 "MachineIndependent/glslang_tab.cpp"
 8800|    924|    break;
 8801|       |
 8802|    908|  case 314: /* type_specifier_nonarray: U64VEC3  */
  ------------------
  |  Branch (8802:3): [True: 908, False: 2.04M]
  ------------------
 8803|    908|#line 2307 "MachineIndependent/glslang.y"
 8804|    908|              {
 8805|    908|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    908|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    908|#define parseContext (*pParseContext)
  ------------------
 8806|    908|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    908|#define parseContext (*pParseContext)
  ------------------
 8807|    908|        (yyval.interm.type).basicType = EbtUint64;
 8808|    908|        (yyval.interm.type).setVector(3);
 8809|    908|    }
 8810|    908|#line 8811 "MachineIndependent/glslang_tab.cpp"
 8811|    908|    break;
 8812|       |
 8813|  1.12k|  case 315: /* type_specifier_nonarray: U64VEC4  */
  ------------------
  |  Branch (8813:3): [True: 1.12k, False: 2.04M]
  ------------------
 8814|  1.12k|#line 2313 "MachineIndependent/glslang.y"
 8815|  1.12k|              {
 8816|  1.12k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.12k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.12k|#define parseContext (*pParseContext)
  ------------------
 8817|  1.12k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.12k|#define parseContext (*pParseContext)
  ------------------
 8818|  1.12k|        (yyval.interm.type).basicType = EbtUint64;
 8819|  1.12k|        (yyval.interm.type).setVector(4);
 8820|  1.12k|    }
 8821|  1.12k|#line 8822 "MachineIndependent/glslang_tab.cpp"
 8822|  1.12k|    break;
 8823|       |
 8824|     36|  case 316: /* type_specifier_nonarray: DMAT2  */
  ------------------
  |  Branch (8824:3): [True: 36, False: 2.04M]
  ------------------
 8825|     36|#line 2319 "MachineIndependent/glslang.y"
 8826|     36|            {
 8827|     36|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
 8828|     36|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8828:13): [True: 0, False: 36]
  ------------------
 8829|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8830|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
 8831|     36|        (yyval.interm.type).basicType = EbtDouble;
 8832|     36|        (yyval.interm.type).setMatrix(2, 2);
 8833|     36|    }
 8834|     36|#line 8835 "MachineIndependent/glslang_tab.cpp"
 8835|     36|    break;
 8836|       |
 8837|     36|  case 317: /* type_specifier_nonarray: DMAT3  */
  ------------------
  |  Branch (8837:3): [True: 36, False: 2.04M]
  ------------------
 8838|     36|#line 2327 "MachineIndependent/glslang.y"
 8839|     36|            {
 8840|     36|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
 8841|     36|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8841:13): [True: 0, False: 36]
  ------------------
 8842|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8843|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
 8844|     36|        (yyval.interm.type).basicType = EbtDouble;
 8845|     36|        (yyval.interm.type).setMatrix(3, 3);
 8846|     36|    }
 8847|     36|#line 8848 "MachineIndependent/glslang_tab.cpp"
 8848|     36|    break;
 8849|       |
 8850|     36|  case 318: /* type_specifier_nonarray: DMAT4  */
  ------------------
  |  Branch (8850:3): [True: 36, False: 2.04M]
  ------------------
 8851|     36|#line 2335 "MachineIndependent/glslang.y"
 8852|     36|            {
 8853|     36|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
 8854|     36|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8854:13): [True: 0, False: 36]
  ------------------
 8855|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8856|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
 8857|     36|        (yyval.interm.type).basicType = EbtDouble;
 8858|     36|        (yyval.interm.type).setMatrix(4, 4);
 8859|     36|    }
 8860|     36|#line 8861 "MachineIndependent/glslang_tab.cpp"
 8861|     36|    break;
 8862|       |
 8863|      0|  case 319: /* type_specifier_nonarray: DMAT2X2  */
  ------------------
  |  Branch (8863:3): [True: 0, False: 2.04M]
  ------------------
 8864|      0|#line 2343 "MachineIndependent/glslang.y"
 8865|      0|              {
 8866|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8867|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8867:13): [True: 0, False: 0]
  ------------------
 8868|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8869|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8870|      0|        (yyval.interm.type).basicType = EbtDouble;
 8871|      0|        (yyval.interm.type).setMatrix(2, 2);
 8872|      0|    }
 8873|      0|#line 8874 "MachineIndependent/glslang_tab.cpp"
 8874|      0|    break;
 8875|       |
 8876|     24|  case 320: /* type_specifier_nonarray: DMAT2X3  */
  ------------------
  |  Branch (8876:3): [True: 24, False: 2.04M]
  ------------------
 8877|     24|#line 2351 "MachineIndependent/glslang.y"
 8878|     24|              {
 8879|     24|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8880|     24|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8880:13): [True: 0, False: 24]
  ------------------
 8881|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8882|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8883|     24|        (yyval.interm.type).basicType = EbtDouble;
 8884|     24|        (yyval.interm.type).setMatrix(2, 3);
 8885|     24|    }
 8886|     24|#line 8887 "MachineIndependent/glslang_tab.cpp"
 8887|     24|    break;
 8888|       |
 8889|     24|  case 321: /* type_specifier_nonarray: DMAT2X4  */
  ------------------
  |  Branch (8889:3): [True: 24, False: 2.04M]
  ------------------
 8890|     24|#line 2359 "MachineIndependent/glslang.y"
 8891|     24|              {
 8892|     24|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8893|     24|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8893:13): [True: 0, False: 24]
  ------------------
 8894|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8895|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8896|     24|        (yyval.interm.type).basicType = EbtDouble;
 8897|     24|        (yyval.interm.type).setMatrix(2, 4);
 8898|     24|    }
 8899|     24|#line 8900 "MachineIndependent/glslang_tab.cpp"
 8900|     24|    break;
 8901|       |
 8902|     24|  case 322: /* type_specifier_nonarray: DMAT3X2  */
  ------------------
  |  Branch (8902:3): [True: 24, False: 2.04M]
  ------------------
 8903|     24|#line 2367 "MachineIndependent/glslang.y"
 8904|     24|              {
 8905|     24|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8906|     24|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8906:13): [True: 0, False: 24]
  ------------------
 8907|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8908|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8909|     24|        (yyval.interm.type).basicType = EbtDouble;
 8910|     24|        (yyval.interm.type).setMatrix(3, 2);
 8911|     24|    }
 8912|     24|#line 8913 "MachineIndependent/glslang_tab.cpp"
 8913|     24|    break;
 8914|       |
 8915|      0|  case 323: /* type_specifier_nonarray: DMAT3X3  */
  ------------------
  |  Branch (8915:3): [True: 0, False: 2.04M]
  ------------------
 8916|      0|#line 2375 "MachineIndependent/glslang.y"
 8917|      0|              {
 8918|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8919|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8919:13): [True: 0, False: 0]
  ------------------
 8920|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8921|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8922|      0|        (yyval.interm.type).basicType = EbtDouble;
 8923|      0|        (yyval.interm.type).setMatrix(3, 3);
 8924|      0|    }
 8925|      0|#line 8926 "MachineIndependent/glslang_tab.cpp"
 8926|      0|    break;
 8927|       |
 8928|     24|  case 324: /* type_specifier_nonarray: DMAT3X4  */
  ------------------
  |  Branch (8928:3): [True: 24, False: 2.04M]
  ------------------
 8929|     24|#line 2383 "MachineIndependent/glslang.y"
 8930|     24|              {
 8931|     24|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8932|     24|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8932:13): [True: 0, False: 24]
  ------------------
 8933|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8934|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8935|     24|        (yyval.interm.type).basicType = EbtDouble;
 8936|     24|        (yyval.interm.type).setMatrix(3, 4);
 8937|     24|    }
 8938|     24|#line 8939 "MachineIndependent/glslang_tab.cpp"
 8939|     24|    break;
 8940|       |
 8941|     24|  case 325: /* type_specifier_nonarray: DMAT4X2  */
  ------------------
  |  Branch (8941:3): [True: 24, False: 2.04M]
  ------------------
 8942|     24|#line 2391 "MachineIndependent/glslang.y"
 8943|     24|              {
 8944|     24|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8945|     24|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8945:13): [True: 0, False: 24]
  ------------------
 8946|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8947|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8948|     24|        (yyval.interm.type).basicType = EbtDouble;
 8949|     24|        (yyval.interm.type).setMatrix(4, 2);
 8950|     24|    }
 8951|     24|#line 8952 "MachineIndependent/glslang_tab.cpp"
 8952|     24|    break;
 8953|       |
 8954|     24|  case 326: /* type_specifier_nonarray: DMAT4X3  */
  ------------------
  |  Branch (8954:3): [True: 24, False: 2.04M]
  ------------------
 8955|     24|#line 2399 "MachineIndependent/glslang.y"
 8956|     24|              {
 8957|     24|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8958|     24|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8958:13): [True: 0, False: 24]
  ------------------
 8959|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8960|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 8961|     24|        (yyval.interm.type).basicType = EbtDouble;
 8962|     24|        (yyval.interm.type).setMatrix(4, 3);
 8963|     24|    }
 8964|     24|#line 8965 "MachineIndependent/glslang_tab.cpp"
 8965|     24|    break;
 8966|       |
 8967|      0|  case 327: /* type_specifier_nonarray: DMAT4X4  */
  ------------------
  |  Branch (8967:3): [True: 0, False: 2.04M]
  ------------------
 8968|      0|#line 2407 "MachineIndependent/glslang.y"
 8969|      0|              {
 8970|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8971|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8971:13): [True: 0, False: 0]
  ------------------
 8972|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8973|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8974|      0|        (yyval.interm.type).basicType = EbtDouble;
 8975|      0|        (yyval.interm.type).setMatrix(4, 4);
 8976|      0|    }
 8977|      0|#line 8978 "MachineIndependent/glslang_tab.cpp"
 8978|      0|    break;
 8979|       |
 8980|     36|  case 328: /* type_specifier_nonarray: F16MAT2  */
  ------------------
  |  Branch (8980:3): [True: 36, False: 2.04M]
  ------------------
 8981|     36|#line 2415 "MachineIndependent/glslang.y"
 8982|     36|              {
 8983|     36|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
 8984|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
 8985|     36|        (yyval.interm.type).basicType = EbtFloat16;
 8986|     36|        (yyval.interm.type).setMatrix(2, 2);
 8987|     36|    }
 8988|     36|#line 8989 "MachineIndependent/glslang_tab.cpp"
 8989|     36|    break;
 8990|       |
 8991|     36|  case 329: /* type_specifier_nonarray: F16MAT3  */
  ------------------
  |  Branch (8991:3): [True: 36, False: 2.04M]
  ------------------
 8992|     36|#line 2421 "MachineIndependent/glslang.y"
 8993|     36|              {
 8994|     36|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
 8995|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
 8996|     36|        (yyval.interm.type).basicType = EbtFloat16;
 8997|     36|        (yyval.interm.type).setMatrix(3, 3);
 8998|     36|    }
 8999|     36|#line 9000 "MachineIndependent/glslang_tab.cpp"
 9000|     36|    break;
 9001|       |
 9002|     36|  case 330: /* type_specifier_nonarray: F16MAT4  */
  ------------------
  |  Branch (9002:3): [True: 36, False: 2.04M]
  ------------------
 9003|     36|#line 2427 "MachineIndependent/glslang.y"
 9004|     36|              {
 9005|     36|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
 9006|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     36|#define parseContext (*pParseContext)
  ------------------
 9007|     36|        (yyval.interm.type).basicType = EbtFloat16;
 9008|     36|        (yyval.interm.type).setMatrix(4, 4);
 9009|     36|    }
 9010|     36|#line 9011 "MachineIndependent/glslang_tab.cpp"
 9011|     36|    break;
 9012|       |
 9013|      0|  case 331: /* type_specifier_nonarray: F16MAT2X2  */
  ------------------
  |  Branch (9013:3): [True: 0, False: 2.04M]
  ------------------
 9014|      0|#line 2433 "MachineIndependent/glslang.y"
 9015|      0|                {
 9016|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9017|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9018|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9019|      0|        (yyval.interm.type).setMatrix(2, 2);
 9020|      0|    }
 9021|      0|#line 9022 "MachineIndependent/glslang_tab.cpp"
 9022|      0|    break;
 9023|       |
 9024|     24|  case 332: /* type_specifier_nonarray: F16MAT2X3  */
  ------------------
  |  Branch (9024:3): [True: 24, False: 2.04M]
  ------------------
 9025|     24|#line 2439 "MachineIndependent/glslang.y"
 9026|     24|                {
 9027|     24|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 9028|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 9029|     24|        (yyval.interm.type).basicType = EbtFloat16;
 9030|     24|        (yyval.interm.type).setMatrix(2, 3);
 9031|     24|    }
 9032|     24|#line 9033 "MachineIndependent/glslang_tab.cpp"
 9033|     24|    break;
 9034|       |
 9035|     24|  case 333: /* type_specifier_nonarray: F16MAT2X4  */
  ------------------
  |  Branch (9035:3): [True: 24, False: 2.04M]
  ------------------
 9036|     24|#line 2445 "MachineIndependent/glslang.y"
 9037|     24|                {
 9038|     24|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 9039|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 9040|     24|        (yyval.interm.type).basicType = EbtFloat16;
 9041|     24|        (yyval.interm.type).setMatrix(2, 4);
 9042|     24|    }
 9043|     24|#line 9044 "MachineIndependent/glslang_tab.cpp"
 9044|     24|    break;
 9045|       |
 9046|     24|  case 334: /* type_specifier_nonarray: F16MAT3X2  */
  ------------------
  |  Branch (9046:3): [True: 24, False: 2.04M]
  ------------------
 9047|     24|#line 2451 "MachineIndependent/glslang.y"
 9048|     24|                {
 9049|     24|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 9050|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 9051|     24|        (yyval.interm.type).basicType = EbtFloat16;
 9052|     24|        (yyval.interm.type).setMatrix(3, 2);
 9053|     24|    }
 9054|     24|#line 9055 "MachineIndependent/glslang_tab.cpp"
 9055|     24|    break;
 9056|       |
 9057|      0|  case 335: /* type_specifier_nonarray: F16MAT3X3  */
  ------------------
  |  Branch (9057:3): [True: 0, False: 2.04M]
  ------------------
 9058|      0|#line 2457 "MachineIndependent/glslang.y"
 9059|      0|                {
 9060|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9061|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9062|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9063|      0|        (yyval.interm.type).setMatrix(3, 3);
 9064|      0|    }
 9065|      0|#line 9066 "MachineIndependent/glslang_tab.cpp"
 9066|      0|    break;
 9067|       |
 9068|     24|  case 336: /* type_specifier_nonarray: F16MAT3X4  */
  ------------------
  |  Branch (9068:3): [True: 24, False: 2.04M]
  ------------------
 9069|     24|#line 2463 "MachineIndependent/glslang.y"
 9070|     24|                {
 9071|     24|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 9072|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 9073|     24|        (yyval.interm.type).basicType = EbtFloat16;
 9074|     24|        (yyval.interm.type).setMatrix(3, 4);
 9075|     24|    }
 9076|     24|#line 9077 "MachineIndependent/glslang_tab.cpp"
 9077|     24|    break;
 9078|       |
 9079|     24|  case 337: /* type_specifier_nonarray: F16MAT4X2  */
  ------------------
  |  Branch (9079:3): [True: 24, False: 2.04M]
  ------------------
 9080|     24|#line 2469 "MachineIndependent/glslang.y"
 9081|     24|                {
 9082|     24|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 9083|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 9084|     24|        (yyval.interm.type).basicType = EbtFloat16;
 9085|     24|        (yyval.interm.type).setMatrix(4, 2);
 9086|     24|    }
 9087|     24|#line 9088 "MachineIndependent/glslang_tab.cpp"
 9088|     24|    break;
 9089|       |
 9090|     24|  case 338: /* type_specifier_nonarray: F16MAT4X3  */
  ------------------
  |  Branch (9090:3): [True: 24, False: 2.04M]
  ------------------
 9091|     24|#line 2475 "MachineIndependent/glslang.y"
 9092|     24|                {
 9093|     24|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 9094|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 9095|     24|        (yyval.interm.type).basicType = EbtFloat16;
 9096|     24|        (yyval.interm.type).setMatrix(4, 3);
 9097|     24|    }
 9098|     24|#line 9099 "MachineIndependent/glslang_tab.cpp"
 9099|     24|    break;
 9100|       |
 9101|      0|  case 339: /* type_specifier_nonarray: F16MAT4X4  */
  ------------------
  |  Branch (9101:3): [True: 0, False: 2.04M]
  ------------------
 9102|      0|#line 2481 "MachineIndependent/glslang.y"
 9103|      0|                {
 9104|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9105|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9106|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9107|      0|        (yyval.interm.type).setMatrix(4, 4);
 9108|      0|    }
 9109|      0|#line 9110 "MachineIndependent/glslang_tab.cpp"
 9110|      0|    break;
 9111|       |
 9112|      0|  case 340: /* type_specifier_nonarray: F32MAT2  */
  ------------------
  |  Branch (9112:3): [True: 0, False: 2.04M]
  ------------------
 9113|      0|#line 2487 "MachineIndependent/glslang.y"
 9114|      0|              {
 9115|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9116|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9117|      0|        (yyval.interm.type).basicType = EbtFloat;
 9118|      0|        (yyval.interm.type).setMatrix(2, 2);
 9119|      0|    }
 9120|      0|#line 9121 "MachineIndependent/glslang_tab.cpp"
 9121|      0|    break;
 9122|       |
 9123|      0|  case 341: /* type_specifier_nonarray: F32MAT3  */
  ------------------
  |  Branch (9123:3): [True: 0, False: 2.04M]
  ------------------
 9124|      0|#line 2493 "MachineIndependent/glslang.y"
 9125|      0|              {
 9126|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9127|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9128|      0|        (yyval.interm.type).basicType = EbtFloat;
 9129|      0|        (yyval.interm.type).setMatrix(3, 3);
 9130|      0|    }
 9131|      0|#line 9132 "MachineIndependent/glslang_tab.cpp"
 9132|      0|    break;
 9133|       |
 9134|      0|  case 342: /* type_specifier_nonarray: F32MAT4  */
  ------------------
  |  Branch (9134:3): [True: 0, False: 2.04M]
  ------------------
 9135|      0|#line 2499 "MachineIndependent/glslang.y"
 9136|      0|              {
 9137|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9138|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9139|      0|        (yyval.interm.type).basicType = EbtFloat;
 9140|      0|        (yyval.interm.type).setMatrix(4, 4);
 9141|      0|    }
 9142|      0|#line 9143 "MachineIndependent/glslang_tab.cpp"
 9143|      0|    break;
 9144|       |
 9145|      0|  case 343: /* type_specifier_nonarray: F32MAT2X2  */
  ------------------
  |  Branch (9145:3): [True: 0, False: 2.04M]
  ------------------
 9146|      0|#line 2505 "MachineIndependent/glslang.y"
 9147|      0|                {
 9148|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9149|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9150|      0|        (yyval.interm.type).basicType = EbtFloat;
 9151|      0|        (yyval.interm.type).setMatrix(2, 2);
 9152|      0|    }
 9153|      0|#line 9154 "MachineIndependent/glslang_tab.cpp"
 9154|      0|    break;
 9155|       |
 9156|      0|  case 344: /* type_specifier_nonarray: F32MAT2X3  */
  ------------------
  |  Branch (9156:3): [True: 0, False: 2.04M]
  ------------------
 9157|      0|#line 2511 "MachineIndependent/glslang.y"
 9158|      0|                {
 9159|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9160|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9161|      0|        (yyval.interm.type).basicType = EbtFloat;
 9162|      0|        (yyval.interm.type).setMatrix(2, 3);
 9163|      0|    }
 9164|      0|#line 9165 "MachineIndependent/glslang_tab.cpp"
 9165|      0|    break;
 9166|       |
 9167|      0|  case 345: /* type_specifier_nonarray: F32MAT2X4  */
  ------------------
  |  Branch (9167:3): [True: 0, False: 2.04M]
  ------------------
 9168|      0|#line 2517 "MachineIndependent/glslang.y"
 9169|      0|                {
 9170|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9171|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9172|      0|        (yyval.interm.type).basicType = EbtFloat;
 9173|      0|        (yyval.interm.type).setMatrix(2, 4);
 9174|      0|    }
 9175|      0|#line 9176 "MachineIndependent/glslang_tab.cpp"
 9176|      0|    break;
 9177|       |
 9178|      0|  case 346: /* type_specifier_nonarray: F32MAT3X2  */
  ------------------
  |  Branch (9178:3): [True: 0, False: 2.04M]
  ------------------
 9179|      0|#line 2523 "MachineIndependent/glslang.y"
 9180|      0|                {
 9181|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9182|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9183|      0|        (yyval.interm.type).basicType = EbtFloat;
 9184|      0|        (yyval.interm.type).setMatrix(3, 2);
 9185|      0|    }
 9186|      0|#line 9187 "MachineIndependent/glslang_tab.cpp"
 9187|      0|    break;
 9188|       |
 9189|      0|  case 347: /* type_specifier_nonarray: F32MAT3X3  */
  ------------------
  |  Branch (9189:3): [True: 0, False: 2.04M]
  ------------------
 9190|      0|#line 2529 "MachineIndependent/glslang.y"
 9191|      0|                {
 9192|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9193|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9194|      0|        (yyval.interm.type).basicType = EbtFloat;
 9195|      0|        (yyval.interm.type).setMatrix(3, 3);
 9196|      0|    }
 9197|      0|#line 9198 "MachineIndependent/glslang_tab.cpp"
 9198|      0|    break;
 9199|       |
 9200|      0|  case 348: /* type_specifier_nonarray: F32MAT3X4  */
  ------------------
  |  Branch (9200:3): [True: 0, False: 2.04M]
  ------------------
 9201|      0|#line 2535 "MachineIndependent/glslang.y"
 9202|      0|                {
 9203|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9204|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9205|      0|        (yyval.interm.type).basicType = EbtFloat;
 9206|      0|        (yyval.interm.type).setMatrix(3, 4);
 9207|      0|    }
 9208|      0|#line 9209 "MachineIndependent/glslang_tab.cpp"
 9209|      0|    break;
 9210|       |
 9211|      0|  case 349: /* type_specifier_nonarray: F32MAT4X2  */
  ------------------
  |  Branch (9211:3): [True: 0, False: 2.04M]
  ------------------
 9212|      0|#line 2541 "MachineIndependent/glslang.y"
 9213|      0|                {
 9214|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9215|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9216|      0|        (yyval.interm.type).basicType = EbtFloat;
 9217|      0|        (yyval.interm.type).setMatrix(4, 2);
 9218|      0|    }
 9219|      0|#line 9220 "MachineIndependent/glslang_tab.cpp"
 9220|      0|    break;
 9221|       |
 9222|      0|  case 350: /* type_specifier_nonarray: F32MAT4X3  */
  ------------------
  |  Branch (9222:3): [True: 0, False: 2.04M]
  ------------------
 9223|      0|#line 2547 "MachineIndependent/glslang.y"
 9224|      0|                {
 9225|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9226|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9227|      0|        (yyval.interm.type).basicType = EbtFloat;
 9228|      0|        (yyval.interm.type).setMatrix(4, 3);
 9229|      0|    }
 9230|      0|#line 9231 "MachineIndependent/glslang_tab.cpp"
 9231|      0|    break;
 9232|       |
 9233|      0|  case 351: /* type_specifier_nonarray: F32MAT4X4  */
  ------------------
  |  Branch (9233:3): [True: 0, False: 2.04M]
  ------------------
 9234|      0|#line 2553 "MachineIndependent/glslang.y"
 9235|      0|                {
 9236|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9237|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9238|      0|        (yyval.interm.type).basicType = EbtFloat;
 9239|      0|        (yyval.interm.type).setMatrix(4, 4);
 9240|      0|    }
 9241|      0|#line 9242 "MachineIndependent/glslang_tab.cpp"
 9242|      0|    break;
 9243|       |
 9244|      0|  case 352: /* type_specifier_nonarray: F64MAT2  */
  ------------------
  |  Branch (9244:3): [True: 0, False: 2.04M]
  ------------------
 9245|      0|#line 2559 "MachineIndependent/glslang.y"
 9246|      0|              {
 9247|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9248|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9249|      0|        (yyval.interm.type).basicType = EbtDouble;
 9250|      0|        (yyval.interm.type).setMatrix(2, 2);
 9251|      0|    }
 9252|      0|#line 9253 "MachineIndependent/glslang_tab.cpp"
 9253|      0|    break;
 9254|       |
 9255|      0|  case 353: /* type_specifier_nonarray: F64MAT3  */
  ------------------
  |  Branch (9255:3): [True: 0, False: 2.04M]
  ------------------
 9256|      0|#line 2565 "MachineIndependent/glslang.y"
 9257|      0|              {
 9258|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9259|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9260|      0|        (yyval.interm.type).basicType = EbtDouble;
 9261|      0|        (yyval.interm.type).setMatrix(3, 3);
 9262|      0|    }
 9263|      0|#line 9264 "MachineIndependent/glslang_tab.cpp"
 9264|      0|    break;
 9265|       |
 9266|      0|  case 354: /* type_specifier_nonarray: F64MAT4  */
  ------------------
  |  Branch (9266:3): [True: 0, False: 2.04M]
  ------------------
 9267|      0|#line 2571 "MachineIndependent/glslang.y"
 9268|      0|              {
 9269|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9270|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9271|      0|        (yyval.interm.type).basicType = EbtDouble;
 9272|      0|        (yyval.interm.type).setMatrix(4, 4);
 9273|      0|    }
 9274|      0|#line 9275 "MachineIndependent/glslang_tab.cpp"
 9275|      0|    break;
 9276|       |
 9277|      0|  case 355: /* type_specifier_nonarray: F64MAT2X2  */
  ------------------
  |  Branch (9277:3): [True: 0, False: 2.04M]
  ------------------
 9278|      0|#line 2577 "MachineIndependent/glslang.y"
 9279|      0|                {
 9280|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9281|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9282|      0|        (yyval.interm.type).basicType = EbtDouble;
 9283|      0|        (yyval.interm.type).setMatrix(2, 2);
 9284|      0|    }
 9285|      0|#line 9286 "MachineIndependent/glslang_tab.cpp"
 9286|      0|    break;
 9287|       |
 9288|      0|  case 356: /* type_specifier_nonarray: F64MAT2X3  */
  ------------------
  |  Branch (9288:3): [True: 0, False: 2.04M]
  ------------------
 9289|      0|#line 2583 "MachineIndependent/glslang.y"
 9290|      0|                {
 9291|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9292|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9293|      0|        (yyval.interm.type).basicType = EbtDouble;
 9294|      0|        (yyval.interm.type).setMatrix(2, 3);
 9295|      0|    }
 9296|      0|#line 9297 "MachineIndependent/glslang_tab.cpp"
 9297|      0|    break;
 9298|       |
 9299|      0|  case 357: /* type_specifier_nonarray: F64MAT2X4  */
  ------------------
  |  Branch (9299:3): [True: 0, False: 2.04M]
  ------------------
 9300|      0|#line 2589 "MachineIndependent/glslang.y"
 9301|      0|                {
 9302|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9303|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9304|      0|        (yyval.interm.type).basicType = EbtDouble;
 9305|      0|        (yyval.interm.type).setMatrix(2, 4);
 9306|      0|    }
 9307|      0|#line 9308 "MachineIndependent/glslang_tab.cpp"
 9308|      0|    break;
 9309|       |
 9310|      0|  case 358: /* type_specifier_nonarray: F64MAT3X2  */
  ------------------
  |  Branch (9310:3): [True: 0, False: 2.04M]
  ------------------
 9311|      0|#line 2595 "MachineIndependent/glslang.y"
 9312|      0|                {
 9313|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9314|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9315|      0|        (yyval.interm.type).basicType = EbtDouble;
 9316|      0|        (yyval.interm.type).setMatrix(3, 2);
 9317|      0|    }
 9318|      0|#line 9319 "MachineIndependent/glslang_tab.cpp"
 9319|      0|    break;
 9320|       |
 9321|      0|  case 359: /* type_specifier_nonarray: F64MAT3X3  */
  ------------------
  |  Branch (9321:3): [True: 0, False: 2.04M]
  ------------------
 9322|      0|#line 2601 "MachineIndependent/glslang.y"
 9323|      0|                {
 9324|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9325|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9326|      0|        (yyval.interm.type).basicType = EbtDouble;
 9327|      0|        (yyval.interm.type).setMatrix(3, 3);
 9328|      0|    }
 9329|      0|#line 9330 "MachineIndependent/glslang_tab.cpp"
 9330|      0|    break;
 9331|       |
 9332|      0|  case 360: /* type_specifier_nonarray: F64MAT3X4  */
  ------------------
  |  Branch (9332:3): [True: 0, False: 2.04M]
  ------------------
 9333|      0|#line 2607 "MachineIndependent/glslang.y"
 9334|      0|                {
 9335|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9336|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9337|      0|        (yyval.interm.type).basicType = EbtDouble;
 9338|      0|        (yyval.interm.type).setMatrix(3, 4);
 9339|      0|    }
 9340|      0|#line 9341 "MachineIndependent/glslang_tab.cpp"
 9341|      0|    break;
 9342|       |
 9343|      0|  case 361: /* type_specifier_nonarray: F64MAT4X2  */
  ------------------
  |  Branch (9343:3): [True: 0, False: 2.04M]
  ------------------
 9344|      0|#line 2613 "MachineIndependent/glslang.y"
 9345|      0|                {
 9346|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9347|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9348|      0|        (yyval.interm.type).basicType = EbtDouble;
 9349|      0|        (yyval.interm.type).setMatrix(4, 2);
 9350|      0|    }
 9351|      0|#line 9352 "MachineIndependent/glslang_tab.cpp"
 9352|      0|    break;
 9353|       |
 9354|      0|  case 362: /* type_specifier_nonarray: F64MAT4X3  */
  ------------------
  |  Branch (9354:3): [True: 0, False: 2.04M]
  ------------------
 9355|      0|#line 2619 "MachineIndependent/glslang.y"
 9356|      0|                {
 9357|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9358|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9359|      0|        (yyval.interm.type).basicType = EbtDouble;
 9360|      0|        (yyval.interm.type).setMatrix(4, 3);
 9361|      0|    }
 9362|      0|#line 9363 "MachineIndependent/glslang_tab.cpp"
 9363|      0|    break;
 9364|       |
 9365|      0|  case 363: /* type_specifier_nonarray: F64MAT4X4  */
  ------------------
  |  Branch (9365:3): [True: 0, False: 2.04M]
  ------------------
 9366|      0|#line 2625 "MachineIndependent/glslang.y"
 9367|      0|                {
 9368|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9369|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9370|      0|        (yyval.interm.type).basicType = EbtDouble;
 9371|      0|        (yyval.interm.type).setMatrix(4, 4);
 9372|      0|    }
 9373|      0|#line 9374 "MachineIndependent/glslang_tab.cpp"
 9374|      0|    break;
 9375|       |
 9376|      0|  case 364: /* type_specifier_nonarray: ACCSTRUCTNV  */
  ------------------
  |  Branch (9376:3): [True: 0, False: 2.04M]
  ------------------
 9377|      0|#line 2631 "MachineIndependent/glslang.y"
 9378|      0|                  {
 9379|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9380|      0|       (yyval.interm.type).basicType = EbtAccStruct;
 9381|      0|    }
 9382|      0|#line 9383 "MachineIndependent/glslang_tab.cpp"
 9383|      0|    break;
 9384|       |
 9385|      0|  case 365: /* type_specifier_nonarray: ACCSTRUCTEXT  */
  ------------------
  |  Branch (9385:3): [True: 0, False: 2.04M]
  ------------------
 9386|      0|#line 2635 "MachineIndependent/glslang.y"
 9387|      0|                   {
 9388|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9389|      0|       (yyval.interm.type).basicType = EbtAccStruct;
 9390|      0|    }
 9391|      0|#line 9392 "MachineIndependent/glslang_tab.cpp"
 9392|      0|    break;
 9393|       |
 9394|      0|  case 366: /* type_specifier_nonarray: RAYQUERYEXT  */
  ------------------
  |  Branch (9394:3): [True: 0, False: 2.04M]
  ------------------
 9395|      0|#line 2639 "MachineIndependent/glslang.y"
 9396|      0|                  {
 9397|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9398|      0|       (yyval.interm.type).basicType = EbtRayQuery;
 9399|      0|    }
 9400|      0|#line 9401 "MachineIndependent/glslang_tab.cpp"
 9401|      0|    break;
 9402|       |
 9403|     24|  case 367: /* type_specifier_nonarray: ATOMIC_UINT  */
  ------------------
  |  Branch (9403:3): [True: 24, False: 2.04M]
  ------------------
 9404|     24|#line 2643 "MachineIndependent/glslang.y"
 9405|     24|                  {
 9406|     24|        parseContext.vulkanRemoved((yyvsp[0].lex).loc, "atomic counter types");
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 9407|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
 9408|     24|        (yyval.interm.type).basicType = EbtAtomicUint;
 9409|     24|    }
 9410|     24|#line 9411 "MachineIndependent/glslang_tab.cpp"
 9411|     24|    break;
 9412|       |
 9413|    222|  case 368: /* type_specifier_nonarray: SAMPLER1D  */
  ------------------
  |  Branch (9413:3): [True: 222, False: 2.04M]
  ------------------
 9414|    222|#line 2648 "MachineIndependent/glslang.y"
 9415|    222|                {
 9416|    222|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    222|#define parseContext (*pParseContext)
  ------------------
 9417|    222|        (yyval.interm.type).basicType = EbtSampler;
 9418|    222|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D);
 9419|    222|    }
 9420|    222|#line 9421 "MachineIndependent/glslang_tab.cpp"
 9421|    222|    break;
 9422|       |
 9423|  1.52k|  case 369: /* type_specifier_nonarray: SAMPLER2D  */
  ------------------
  |  Branch (9423:3): [True: 1.52k, False: 2.04M]
  ------------------
 9424|  1.52k|#line 2653 "MachineIndependent/glslang.y"
 9425|  1.52k|                {
 9426|  1.52k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.52k|#define parseContext (*pParseContext)
  ------------------
 9427|  1.52k|        (yyval.interm.type).basicType = EbtSampler;
 9428|  1.52k|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
 9429|  1.52k|    }
 9430|  1.52k|#line 9431 "MachineIndependent/glslang_tab.cpp"
 9431|  1.52k|    break;
 9432|       |
 9433|    642|  case 370: /* type_specifier_nonarray: SAMPLER3D  */
  ------------------
  |  Branch (9433:3): [True: 642, False: 2.04M]
  ------------------
 9434|    642|#line 2658 "MachineIndependent/glslang.y"
 9435|    642|                {
 9436|    642|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    642|#define parseContext (*pParseContext)
  ------------------
 9437|    642|        (yyval.interm.type).basicType = EbtSampler;
 9438|    642|        (yyval.interm.type).sampler.set(EbtFloat, Esd3D);
 9439|    642|    }
 9440|    642|#line 9441 "MachineIndependent/glslang_tab.cpp"
 9441|    642|    break;
 9442|       |
 9443|    484|  case 371: /* type_specifier_nonarray: SAMPLERCUBE  */
  ------------------
  |  Branch (9443:3): [True: 484, False: 2.04M]
  ------------------
 9444|    484|#line 2663 "MachineIndependent/glslang.y"
 9445|    484|                  {
 9446|    484|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    484|#define parseContext (*pParseContext)
  ------------------
 9447|    484|        (yyval.interm.type).basicType = EbtSampler;
 9448|    484|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube);
 9449|    484|    }
 9450|    484|#line 9451 "MachineIndependent/glslang_tab.cpp"
 9451|    484|    break;
 9452|       |
 9453|    416|  case 372: /* type_specifier_nonarray: SAMPLER2DSHADOW  */
  ------------------
  |  Branch (9453:3): [True: 416, False: 2.04M]
  ------------------
 9454|    416|#line 2668 "MachineIndependent/glslang.y"
 9455|    416|                      {
 9456|    416|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    416|#define parseContext (*pParseContext)
  ------------------
 9457|    416|        (yyval.interm.type).basicType = EbtSampler;
 9458|    416|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, false, true);
 9459|    416|    }
 9460|    416|#line 9461 "MachineIndependent/glslang_tab.cpp"
 9461|    416|    break;
 9462|       |
 9463|    108|  case 373: /* type_specifier_nonarray: SAMPLERCUBESHADOW  */
  ------------------
  |  Branch (9463:3): [True: 108, False: 2.04M]
  ------------------
 9464|    108|#line 2673 "MachineIndependent/glslang.y"
 9465|    108|                        {
 9466|    108|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
 9467|    108|        (yyval.interm.type).basicType = EbtSampler;
 9468|    108|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, false, true);
 9469|    108|    }
 9470|    108|#line 9471 "MachineIndependent/glslang_tab.cpp"
 9471|    108|    break;
 9472|       |
 9473|    388|  case 374: /* type_specifier_nonarray: SAMPLER2DARRAY  */
  ------------------
  |  Branch (9473:3): [True: 388, False: 2.04M]
  ------------------
 9474|    388|#line 2678 "MachineIndependent/glslang.y"
 9475|    388|                     {
 9476|    388|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    388|#define parseContext (*pParseContext)
  ------------------
 9477|    388|        (yyval.interm.type).basicType = EbtSampler;
 9478|    388|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true);
 9479|    388|    }
 9480|    388|#line 9481 "MachineIndependent/glslang_tab.cpp"
 9481|    388|    break;
 9482|       |
 9483|    148|  case 375: /* type_specifier_nonarray: SAMPLER2DARRAYSHADOW  */
  ------------------
  |  Branch (9483:3): [True: 148, False: 2.04M]
  ------------------
 9484|    148|#line 2683 "MachineIndependent/glslang.y"
 9485|    148|                           {
 9486|    148|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    148|#define parseContext (*pParseContext)
  ------------------
 9487|    148|        (yyval.interm.type).basicType = EbtSampler;
 9488|    148|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true, true);
 9489|    148|    }
 9490|    148|#line 9491 "MachineIndependent/glslang_tab.cpp"
 9491|    148|    break;
 9492|       |
 9493|    144|  case 376: /* type_specifier_nonarray: SAMPLER1DSHADOW  */
  ------------------
  |  Branch (9493:3): [True: 144, False: 2.04M]
  ------------------
 9494|    144|#line 2688 "MachineIndependent/glslang.y"
 9495|    144|                      {
 9496|    144|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    144|#define parseContext (*pParseContext)
  ------------------
 9497|    144|        (yyval.interm.type).basicType = EbtSampler;
 9498|    144|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, false, true);
 9499|    144|    }
 9500|    144|#line 9501 "MachineIndependent/glslang_tab.cpp"
 9501|    144|    break;
 9502|       |
 9503|    124|  case 377: /* type_specifier_nonarray: SAMPLER1DARRAY  */
  ------------------
  |  Branch (9503:3): [True: 124, False: 2.04M]
  ------------------
 9504|    124|#line 2693 "MachineIndependent/glslang.y"
 9505|    124|                     {
 9506|    124|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    124|#define parseContext (*pParseContext)
  ------------------
 9507|    124|        (yyval.interm.type).basicType = EbtSampler;
 9508|    124|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, true);
 9509|    124|    }
 9510|    124|#line 9511 "MachineIndependent/glslang_tab.cpp"
 9511|    124|    break;
 9512|       |
 9513|    104|  case 378: /* type_specifier_nonarray: SAMPLER1DARRAYSHADOW  */
  ------------------
  |  Branch (9513:3): [True: 104, False: 2.04M]
  ------------------
 9514|    104|#line 2698 "MachineIndependent/glslang.y"
 9515|    104|                           {
 9516|    104|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    104|#define parseContext (*pParseContext)
  ------------------
 9517|    104|        (yyval.interm.type).basicType = EbtSampler;
 9518|    104|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, true, true);
 9519|    104|    }
 9520|    104|#line 9521 "MachineIndependent/glslang_tab.cpp"
 9521|    104|    break;
 9522|       |
 9523|    164|  case 379: /* type_specifier_nonarray: SAMPLERCUBEARRAY  */
  ------------------
  |  Branch (9523:3): [True: 164, False: 2.04M]
  ------------------
 9524|    164|#line 2703 "MachineIndependent/glslang.y"
 9525|    164|                       {
 9526|    164|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    164|#define parseContext (*pParseContext)
  ------------------
 9527|    164|        (yyval.interm.type).basicType = EbtSampler;
 9528|    164|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, true);
 9529|    164|    }
 9530|    164|#line 9531 "MachineIndependent/glslang_tab.cpp"
 9531|    164|    break;
 9532|       |
 9533|     88|  case 380: /* type_specifier_nonarray: SAMPLERCUBEARRAYSHADOW  */
  ------------------
  |  Branch (9533:3): [True: 88, False: 2.04M]
  ------------------
 9534|     88|#line 2708 "MachineIndependent/glslang.y"
 9535|     88|                             {
 9536|     88|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     88|#define parseContext (*pParseContext)
  ------------------
 9537|     88|        (yyval.interm.type).basicType = EbtSampler;
 9538|     88|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, true, true);
 9539|     88|    }
 9540|     88|#line 9541 "MachineIndependent/glslang_tab.cpp"
 9541|     88|    break;
 9542|       |
 9543|    400|  case 381: /* type_specifier_nonarray: F16SAMPLER1D  */
  ------------------
  |  Branch (9543:3): [True: 400, False: 2.04M]
  ------------------
 9544|    400|#line 2713 "MachineIndependent/glslang.y"
 9545|    400|                   {
 9546|    400|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    400|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    400|#define parseContext (*pParseContext)
  ------------------
 9547|    400|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    400|#define parseContext (*pParseContext)
  ------------------
 9548|    400|        (yyval.interm.type).basicType = EbtSampler;
 9549|    400|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D);
 9550|    400|    }
 9551|    400|#line 9552 "MachineIndependent/glslang_tab.cpp"
 9552|    400|    break;
 9553|       |
 9554|    928|  case 382: /* type_specifier_nonarray: F16SAMPLER2D  */
  ------------------
  |  Branch (9554:3): [True: 928, False: 2.04M]
  ------------------
 9555|    928|#line 2719 "MachineIndependent/glslang.y"
 9556|    928|                   {
 9557|    928|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    928|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    928|#define parseContext (*pParseContext)
  ------------------
 9558|    928|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    928|#define parseContext (*pParseContext)
  ------------------
 9559|    928|        (yyval.interm.type).basicType = EbtSampler;
 9560|    928|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D);
 9561|    928|    }
 9562|    928|#line 9563 "MachineIndependent/glslang_tab.cpp"
 9563|    928|    break;
 9564|       |
 9565|    472|  case 383: /* type_specifier_nonarray: F16SAMPLER3D  */
  ------------------
  |  Branch (9565:3): [True: 472, False: 2.04M]
  ------------------
 9566|    472|#line 2725 "MachineIndependent/glslang.y"
 9567|    472|                   {
 9568|    472|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    472|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    472|#define parseContext (*pParseContext)
  ------------------
 9569|    472|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    472|#define parseContext (*pParseContext)
  ------------------
 9570|    472|        (yyval.interm.type).basicType = EbtSampler;
 9571|    472|        (yyval.interm.type).sampler.set(EbtFloat16, Esd3D);
 9572|    472|    }
 9573|    472|#line 9574 "MachineIndependent/glslang_tab.cpp"
 9574|    472|    break;
 9575|       |
 9576|    296|  case 384: /* type_specifier_nonarray: F16SAMPLERCUBE  */
  ------------------
  |  Branch (9576:3): [True: 296, False: 2.04M]
  ------------------
 9577|    296|#line 2731 "MachineIndependent/glslang.y"
 9578|    296|                     {
 9579|    296|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    296|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    296|#define parseContext (*pParseContext)
  ------------------
 9580|    296|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    296|#define parseContext (*pParseContext)
  ------------------
 9581|    296|        (yyval.interm.type).basicType = EbtSampler;
 9582|    296|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube);
 9583|    296|    }
 9584|    296|#line 9585 "MachineIndependent/glslang_tab.cpp"
 9585|    296|    break;
 9586|       |
 9587|    248|  case 385: /* type_specifier_nonarray: F16SAMPLER1DSHADOW  */
  ------------------
  |  Branch (9587:3): [True: 248, False: 2.04M]
  ------------------
 9588|    248|#line 2737 "MachineIndependent/glslang.y"
 9589|    248|                         {
 9590|    248|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    248|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    248|#define parseContext (*pParseContext)
  ------------------
 9591|    248|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    248|#define parseContext (*pParseContext)
  ------------------
 9592|    248|        (yyval.interm.type).basicType = EbtSampler;
 9593|    248|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, false, true);
 9594|    248|    }
 9595|    248|#line 9596 "MachineIndependent/glslang_tab.cpp"
 9596|    248|    break;
 9597|       |
 9598|    432|  case 386: /* type_specifier_nonarray: F16SAMPLER2DSHADOW  */
  ------------------
  |  Branch (9598:3): [True: 432, False: 2.04M]
  ------------------
 9599|    432|#line 2743 "MachineIndependent/glslang.y"
 9600|    432|                         {
 9601|    432|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    432|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    432|#define parseContext (*pParseContext)
  ------------------
 9602|    432|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    432|#define parseContext (*pParseContext)
  ------------------
 9603|    432|        (yyval.interm.type).basicType = EbtSampler;
 9604|    432|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, false, true);
 9605|    432|    }
 9606|    432|#line 9607 "MachineIndependent/glslang_tab.cpp"
 9607|    432|    break;
 9608|       |
 9609|    176|  case 387: /* type_specifier_nonarray: F16SAMPLERCUBESHADOW  */
  ------------------
  |  Branch (9609:3): [True: 176, False: 2.04M]
  ------------------
 9610|    176|#line 2749 "MachineIndependent/glslang.y"
 9611|    176|                           {
 9612|    176|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    176|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    176|#define parseContext (*pParseContext)
  ------------------
 9613|    176|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    176|#define parseContext (*pParseContext)
  ------------------
 9614|    176|        (yyval.interm.type).basicType = EbtSampler;
 9615|    176|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, false, true);
 9616|    176|    }
 9617|    176|#line 9618 "MachineIndependent/glslang_tab.cpp"
 9618|    176|    break;
 9619|       |
 9620|    208|  case 388: /* type_specifier_nonarray: F16SAMPLER1DARRAY  */
  ------------------
  |  Branch (9620:3): [True: 208, False: 2.04M]
  ------------------
 9621|    208|#line 2755 "MachineIndependent/glslang.y"
 9622|    208|                        {
 9623|    208|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    208|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    208|#define parseContext (*pParseContext)
  ------------------
 9624|    208|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    208|#define parseContext (*pParseContext)
  ------------------
 9625|    208|        (yyval.interm.type).basicType = EbtSampler;
 9626|    208|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, true);
 9627|    208|    }
 9628|    208|#line 9629 "MachineIndependent/glslang_tab.cpp"
 9629|    208|    break;
 9630|       |
 9631|    736|  case 389: /* type_specifier_nonarray: F16SAMPLER2DARRAY  */
  ------------------
  |  Branch (9631:3): [True: 736, False: 2.04M]
  ------------------
 9632|    736|#line 2761 "MachineIndependent/glslang.y"
 9633|    736|                        {
 9634|    736|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    736|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    736|#define parseContext (*pParseContext)
  ------------------
 9635|    736|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    736|#define parseContext (*pParseContext)
  ------------------
 9636|    736|        (yyval.interm.type).basicType = EbtSampler;
 9637|    736|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true);
 9638|    736|    }
 9639|    736|#line 9640 "MachineIndependent/glslang_tab.cpp"
 9640|    736|    break;
 9641|       |
 9642|    176|  case 390: /* type_specifier_nonarray: F16SAMPLER1DARRAYSHADOW  */
  ------------------
  |  Branch (9642:3): [True: 176, False: 2.04M]
  ------------------
 9643|    176|#line 2767 "MachineIndependent/glslang.y"
 9644|    176|                              {
 9645|    176|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    176|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    176|#define parseContext (*pParseContext)
  ------------------
 9646|    176|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    176|#define parseContext (*pParseContext)
  ------------------
 9647|    176|        (yyval.interm.type).basicType = EbtSampler;
 9648|    176|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, true, true);
 9649|    176|    }
 9650|    176|#line 9651 "MachineIndependent/glslang_tab.cpp"
 9651|    176|    break;
 9652|       |
 9653|    232|  case 391: /* type_specifier_nonarray: F16SAMPLER2DARRAYSHADOW  */
  ------------------
  |  Branch (9653:3): [True: 232, False: 2.04M]
  ------------------
 9654|    232|#line 2773 "MachineIndependent/glslang.y"
 9655|    232|                              {
 9656|    232|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    232|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    232|#define parseContext (*pParseContext)
  ------------------
 9657|    232|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    232|#define parseContext (*pParseContext)
  ------------------
 9658|    232|        (yyval.interm.type).basicType = EbtSampler;
 9659|    232|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true, true);
 9660|    232|    }
 9661|    232|#line 9662 "MachineIndependent/glslang_tab.cpp"
 9662|    232|    break;
 9663|       |
 9664|    296|  case 392: /* type_specifier_nonarray: F16SAMPLERCUBEARRAY  */
  ------------------
  |  Branch (9664:3): [True: 296, False: 2.04M]
  ------------------
 9665|    296|#line 2779 "MachineIndependent/glslang.y"
 9666|    296|                          {
 9667|    296|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    296|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    296|#define parseContext (*pParseContext)
  ------------------
 9668|    296|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    296|#define parseContext (*pParseContext)
  ------------------
 9669|    296|        (yyval.interm.type).basicType = EbtSampler;
 9670|    296|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, true);
 9671|    296|    }
 9672|    296|#line 9673 "MachineIndependent/glslang_tab.cpp"
 9673|    296|    break;
 9674|       |
 9675|    128|  case 393: /* type_specifier_nonarray: F16SAMPLERCUBEARRAYSHADOW  */
  ------------------
  |  Branch (9675:3): [True: 128, False: 2.04M]
  ------------------
 9676|    128|#line 2785 "MachineIndependent/glslang.y"
 9677|    128|                                {
 9678|    128|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    128|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    128|#define parseContext (*pParseContext)
  ------------------
 9679|    128|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    128|#define parseContext (*pParseContext)
  ------------------
 9680|    128|        (yyval.interm.type).basicType = EbtSampler;
 9681|    128|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, true, true);
 9682|    128|    }
 9683|    128|#line 9684 "MachineIndependent/glslang_tab.cpp"
 9684|    128|    break;
 9685|       |
 9686|    216|  case 394: /* type_specifier_nonarray: ISAMPLER1D  */
  ------------------
  |  Branch (9686:3): [True: 216, False: 2.04M]
  ------------------
 9687|    216|#line 2791 "MachineIndependent/glslang.y"
 9688|    216|                 {
 9689|    216|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    216|#define parseContext (*pParseContext)
  ------------------
 9690|    216|        (yyval.interm.type).basicType = EbtSampler;
 9691|    216|        (yyval.interm.type).sampler.set(EbtInt, Esd1D);
 9692|    216|    }
 9693|    216|#line 9694 "MachineIndependent/glslang_tab.cpp"
 9694|    216|    break;
 9695|       |
 9696|    480|  case 395: /* type_specifier_nonarray: ISAMPLER2D  */
  ------------------
  |  Branch (9696:3): [True: 480, False: 2.04M]
  ------------------
 9697|    480|#line 2796 "MachineIndependent/glslang.y"
 9698|    480|                 {
 9699|    480|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    480|#define parseContext (*pParseContext)
  ------------------
 9700|    480|        (yyval.interm.type).basicType = EbtSampler;
 9701|    480|        (yyval.interm.type).sampler.set(EbtInt, Esd2D);
 9702|    480|    }
 9703|    480|#line 9704 "MachineIndependent/glslang_tab.cpp"
 9704|    480|    break;
 9705|       |
 9706|    252|  case 396: /* type_specifier_nonarray: ISAMPLER3D  */
  ------------------
  |  Branch (9706:3): [True: 252, False: 2.04M]
  ------------------
 9707|    252|#line 2801 "MachineIndependent/glslang.y"
 9708|    252|                 {
 9709|    252|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    252|#define parseContext (*pParseContext)
  ------------------
 9710|    252|        (yyval.interm.type).basicType = EbtSampler;
 9711|    252|        (yyval.interm.type).sampler.set(EbtInt, Esd3D);
 9712|    252|    }
 9713|    252|#line 9714 "MachineIndependent/glslang_tab.cpp"
 9714|    252|    break;
 9715|       |
 9716|    164|  case 397: /* type_specifier_nonarray: ISAMPLERCUBE  */
  ------------------
  |  Branch (9716:3): [True: 164, False: 2.04M]
  ------------------
 9717|    164|#line 2806 "MachineIndependent/glslang.y"
 9718|    164|                   {
 9719|    164|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    164|#define parseContext (*pParseContext)
  ------------------
 9720|    164|        (yyval.interm.type).basicType = EbtSampler;
 9721|    164|        (yyval.interm.type).sampler.set(EbtInt, EsdCube);
 9722|    164|    }
 9723|    164|#line 9724 "MachineIndependent/glslang_tab.cpp"
 9724|    164|    break;
 9725|       |
 9726|    384|  case 398: /* type_specifier_nonarray: ISAMPLER2DARRAY  */
  ------------------
  |  Branch (9726:3): [True: 384, False: 2.04M]
  ------------------
 9727|    384|#line 2811 "MachineIndependent/glslang.y"
 9728|    384|                      {
 9729|    384|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    384|#define parseContext (*pParseContext)
  ------------------
 9730|    384|        (yyval.interm.type).basicType = EbtSampler;
 9731|    384|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, true);
 9732|    384|    }
 9733|    384|#line 9734 "MachineIndependent/glslang_tab.cpp"
 9734|    384|    break;
 9735|       |
 9736|    480|  case 399: /* type_specifier_nonarray: USAMPLER2D  */
  ------------------
  |  Branch (9736:3): [True: 480, False: 2.04M]
  ------------------
 9737|    480|#line 2816 "MachineIndependent/glslang.y"
 9738|    480|                 {
 9739|    480|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    480|#define parseContext (*pParseContext)
  ------------------
 9740|    480|        (yyval.interm.type).basicType = EbtSampler;
 9741|    480|        (yyval.interm.type).sampler.set(EbtUint, Esd2D);
 9742|    480|    }
 9743|    480|#line 9744 "MachineIndependent/glslang_tab.cpp"
 9744|    480|    break;
 9745|       |
 9746|    252|  case 400: /* type_specifier_nonarray: USAMPLER3D  */
  ------------------
  |  Branch (9746:3): [True: 252, False: 2.04M]
  ------------------
 9747|    252|#line 2821 "MachineIndependent/glslang.y"
 9748|    252|                 {
 9749|    252|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    252|#define parseContext (*pParseContext)
  ------------------
 9750|    252|        (yyval.interm.type).basicType = EbtSampler;
 9751|    252|        (yyval.interm.type).sampler.set(EbtUint, Esd3D);
 9752|    252|    }
 9753|    252|#line 9754 "MachineIndependent/glslang_tab.cpp"
 9754|    252|    break;
 9755|       |
 9756|    164|  case 401: /* type_specifier_nonarray: USAMPLERCUBE  */
  ------------------
  |  Branch (9756:3): [True: 164, False: 2.04M]
  ------------------
 9757|    164|#line 2826 "MachineIndependent/glslang.y"
 9758|    164|                   {
 9759|    164|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    164|#define parseContext (*pParseContext)
  ------------------
 9760|    164|        (yyval.interm.type).basicType = EbtSampler;
 9761|    164|        (yyval.interm.type).sampler.set(EbtUint, EsdCube);
 9762|    164|    }
 9763|    164|#line 9764 "MachineIndependent/glslang_tab.cpp"
 9764|    164|    break;
 9765|       |
 9766|    120|  case 402: /* type_specifier_nonarray: ISAMPLER1DARRAY  */
  ------------------
  |  Branch (9766:3): [True: 120, False: 2.04M]
  ------------------
 9767|    120|#line 2831 "MachineIndependent/glslang.y"
 9768|    120|                      {
 9769|    120|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    120|#define parseContext (*pParseContext)
  ------------------
 9770|    120|        (yyval.interm.type).basicType = EbtSampler;
 9771|    120|        (yyval.interm.type).sampler.set(EbtInt, Esd1D, true);
 9772|    120|    }
 9773|    120|#line 9774 "MachineIndependent/glslang_tab.cpp"
 9774|    120|    break;
 9775|       |
 9776|    164|  case 403: /* type_specifier_nonarray: ISAMPLERCUBEARRAY  */
  ------------------
  |  Branch (9776:3): [True: 164, False: 2.04M]
  ------------------
 9777|    164|#line 2836 "MachineIndependent/glslang.y"
 9778|    164|                        {
 9779|    164|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    164|#define parseContext (*pParseContext)
  ------------------
 9780|    164|        (yyval.interm.type).basicType = EbtSampler;
 9781|    164|        (yyval.interm.type).sampler.set(EbtInt, EsdCube, true);
 9782|    164|    }
 9783|    164|#line 9784 "MachineIndependent/glslang_tab.cpp"
 9784|    164|    break;
 9785|       |
 9786|    216|  case 404: /* type_specifier_nonarray: USAMPLER1D  */
  ------------------
  |  Branch (9786:3): [True: 216, False: 2.04M]
  ------------------
 9787|    216|#line 2841 "MachineIndependent/glslang.y"
 9788|    216|                 {
 9789|    216|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    216|#define parseContext (*pParseContext)
  ------------------
 9790|    216|        (yyval.interm.type).basicType = EbtSampler;
 9791|    216|        (yyval.interm.type).sampler.set(EbtUint, Esd1D);
 9792|    216|    }
 9793|    216|#line 9794 "MachineIndependent/glslang_tab.cpp"
 9794|    216|    break;
 9795|       |
 9796|    120|  case 405: /* type_specifier_nonarray: USAMPLER1DARRAY  */
  ------------------
  |  Branch (9796:3): [True: 120, False: 2.04M]
  ------------------
 9797|    120|#line 2846 "MachineIndependent/glslang.y"
 9798|    120|                      {
 9799|    120|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    120|#define parseContext (*pParseContext)
  ------------------
 9800|    120|        (yyval.interm.type).basicType = EbtSampler;
 9801|    120|        (yyval.interm.type).sampler.set(EbtUint, Esd1D, true);
 9802|    120|    }
 9803|    120|#line 9804 "MachineIndependent/glslang_tab.cpp"
 9804|    120|    break;
 9805|       |
 9806|    164|  case 406: /* type_specifier_nonarray: USAMPLERCUBEARRAY  */
  ------------------
  |  Branch (9806:3): [True: 164, False: 2.04M]
  ------------------
 9807|    164|#line 2851 "MachineIndependent/glslang.y"
 9808|    164|                        {
 9809|    164|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    164|#define parseContext (*pParseContext)
  ------------------
 9810|    164|        (yyval.interm.type).basicType = EbtSampler;
 9811|    164|        (yyval.interm.type).sampler.set(EbtUint, EsdCube, true);
 9812|    164|    }
 9813|    164|#line 9814 "MachineIndependent/glslang_tab.cpp"
 9814|    164|    break;
 9815|       |
 9816|      4|  case 407: /* type_specifier_nonarray: TEXTURECUBEARRAY  */
  ------------------
  |  Branch (9816:3): [True: 4, False: 2.04M]
  ------------------
 9817|      4|#line 2856 "MachineIndependent/glslang.y"
 9818|      4|                       {
 9819|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
 9820|      4|        (yyval.interm.type).basicType = EbtSampler;
 9821|      4|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdCube, true);
 9822|      4|    }
 9823|      4|#line 9824 "MachineIndependent/glslang_tab.cpp"
 9824|      4|    break;
 9825|       |
 9826|      4|  case 408: /* type_specifier_nonarray: ITEXTURECUBEARRAY  */
  ------------------
  |  Branch (9826:3): [True: 4, False: 2.04M]
  ------------------
 9827|      4|#line 2861 "MachineIndependent/glslang.y"
 9828|      4|                        {
 9829|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
 9830|      4|        (yyval.interm.type).basicType = EbtSampler;
 9831|      4|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdCube, true);
 9832|      4|    }
 9833|      4|#line 9834 "MachineIndependent/glslang_tab.cpp"
 9834|      4|    break;
 9835|       |
 9836|      4|  case 409: /* type_specifier_nonarray: UTEXTURECUBEARRAY  */
  ------------------
  |  Branch (9836:3): [True: 4, False: 2.04M]
  ------------------
 9837|      4|#line 2866 "MachineIndependent/glslang.y"
 9838|      4|                        {
 9839|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
 9840|      4|        (yyval.interm.type).basicType = EbtSampler;
 9841|      4|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdCube, true);
 9842|      4|    }
 9843|      4|#line 9844 "MachineIndependent/glslang_tab.cpp"
 9844|      4|    break;
 9845|       |
 9846|    384|  case 410: /* type_specifier_nonarray: USAMPLER2DARRAY  */
  ------------------
  |  Branch (9846:3): [True: 384, False: 2.04M]
  ------------------
 9847|    384|#line 2871 "MachineIndependent/glslang.y"
 9848|    384|                      {
 9849|    384|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    384|#define parseContext (*pParseContext)
  ------------------
 9850|    384|        (yyval.interm.type).basicType = EbtSampler;
 9851|    384|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, true);
 9852|    384|    }
 9853|    384|#line 9854 "MachineIndependent/glslang_tab.cpp"
 9854|    384|    break;
 9855|       |
 9856|     12|  case 411: /* type_specifier_nonarray: TEXTURE2D  */
  ------------------
  |  Branch (9856:3): [True: 12, False: 2.04M]
  ------------------
 9857|     12|#line 2876 "MachineIndependent/glslang.y"
 9858|     12|                {
 9859|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
 9860|     12|        (yyval.interm.type).basicType = EbtSampler;
 9861|     12|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D);
 9862|     12|    }
 9863|     12|#line 9864 "MachineIndependent/glslang_tab.cpp"
 9864|     12|    break;
 9865|       |
 9866|     12|  case 412: /* type_specifier_nonarray: TEXTURE3D  */
  ------------------
  |  Branch (9866:3): [True: 12, False: 2.04M]
  ------------------
 9867|     12|#line 2881 "MachineIndependent/glslang.y"
 9868|     12|                {
 9869|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
 9870|     12|        (yyval.interm.type).basicType = EbtSampler;
 9871|     12|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd3D);
 9872|     12|    }
 9873|     12|#line 9874 "MachineIndependent/glslang_tab.cpp"
 9874|     12|    break;
 9875|       |
 9876|     12|  case 413: /* type_specifier_nonarray: TEXTURE2DARRAY  */
  ------------------
  |  Branch (9876:3): [True: 12, False: 2.04M]
  ------------------
 9877|     12|#line 2886 "MachineIndependent/glslang.y"
 9878|     12|                     {
 9879|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
 9880|     12|        (yyval.interm.type).basicType = EbtSampler;
 9881|     12|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, true);
 9882|     12|    }
 9883|     12|#line 9884 "MachineIndependent/glslang_tab.cpp"
 9884|     12|    break;
 9885|       |
 9886|      4|  case 414: /* type_specifier_nonarray: TEXTURECUBE  */
  ------------------
  |  Branch (9886:3): [True: 4, False: 2.04M]
  ------------------
 9887|      4|#line 2891 "MachineIndependent/glslang.y"
 9888|      4|                  {
 9889|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
 9890|      4|        (yyval.interm.type).basicType = EbtSampler;
 9891|      4|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdCube);
 9892|      4|    }
 9893|      4|#line 9894 "MachineIndependent/glslang_tab.cpp"
 9894|      4|    break;
 9895|       |
 9896|     12|  case 415: /* type_specifier_nonarray: ITEXTURE2D  */
  ------------------
  |  Branch (9896:3): [True: 12, False: 2.04M]
  ------------------
 9897|     12|#line 2896 "MachineIndependent/glslang.y"
 9898|     12|                 {
 9899|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
 9900|     12|        (yyval.interm.type).basicType = EbtSampler;
 9901|     12|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D);
 9902|     12|    }
 9903|     12|#line 9904 "MachineIndependent/glslang_tab.cpp"
 9904|     12|    break;
 9905|       |
 9906|     12|  case 416: /* type_specifier_nonarray: ITEXTURE3D  */
  ------------------
  |  Branch (9906:3): [True: 12, False: 2.04M]
  ------------------
 9907|     12|#line 2901 "MachineIndependent/glslang.y"
 9908|     12|                 {
 9909|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
 9910|     12|        (yyval.interm.type).basicType = EbtSampler;
 9911|     12|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd3D);
 9912|     12|    }
 9913|     12|#line 9914 "MachineIndependent/glslang_tab.cpp"
 9914|     12|    break;
 9915|       |
 9916|      4|  case 417: /* type_specifier_nonarray: ITEXTURECUBE  */
  ------------------
  |  Branch (9916:3): [True: 4, False: 2.04M]
  ------------------
 9917|      4|#line 2906 "MachineIndependent/glslang.y"
 9918|      4|                   {
 9919|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
 9920|      4|        (yyval.interm.type).basicType = EbtSampler;
 9921|      4|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdCube);
 9922|      4|    }
 9923|      4|#line 9924 "MachineIndependent/glslang_tab.cpp"
 9924|      4|    break;
 9925|       |
 9926|     12|  case 418: /* type_specifier_nonarray: ITEXTURE2DARRAY  */
  ------------------
  |  Branch (9926:3): [True: 12, False: 2.04M]
  ------------------
 9927|     12|#line 2911 "MachineIndependent/glslang.y"
 9928|     12|                      {
 9929|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
 9930|     12|        (yyval.interm.type).basicType = EbtSampler;
 9931|     12|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, true);
 9932|     12|    }
 9933|     12|#line 9934 "MachineIndependent/glslang_tab.cpp"
 9934|     12|    break;
 9935|       |
 9936|     12|  case 419: /* type_specifier_nonarray: UTEXTURE2D  */
  ------------------
  |  Branch (9936:3): [True: 12, False: 2.04M]
  ------------------
 9937|     12|#line 2916 "MachineIndependent/glslang.y"
 9938|     12|                 {
 9939|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
 9940|     12|        (yyval.interm.type).basicType = EbtSampler;
 9941|     12|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D);
 9942|     12|    }
 9943|     12|#line 9944 "MachineIndependent/glslang_tab.cpp"
 9944|     12|    break;
 9945|       |
 9946|     12|  case 420: /* type_specifier_nonarray: UTEXTURE3D  */
  ------------------
  |  Branch (9946:3): [True: 12, False: 2.04M]
  ------------------
 9947|     12|#line 2921 "MachineIndependent/glslang.y"
 9948|     12|                 {
 9949|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
 9950|     12|        (yyval.interm.type).basicType = EbtSampler;
 9951|     12|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd3D);
 9952|     12|    }
 9953|     12|#line 9954 "MachineIndependent/glslang_tab.cpp"
 9954|     12|    break;
 9955|       |
 9956|      4|  case 421: /* type_specifier_nonarray: UTEXTURECUBE  */
  ------------------
  |  Branch (9956:3): [True: 4, False: 2.04M]
  ------------------
 9957|      4|#line 2926 "MachineIndependent/glslang.y"
 9958|      4|                   {
 9959|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
 9960|      4|        (yyval.interm.type).basicType = EbtSampler;
 9961|      4|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdCube);
 9962|      4|    }
 9963|      4|#line 9964 "MachineIndependent/glslang_tab.cpp"
 9964|      4|    break;
 9965|       |
 9966|     12|  case 422: /* type_specifier_nonarray: UTEXTURE2DARRAY  */
  ------------------
  |  Branch (9966:3): [True: 12, False: 2.04M]
  ------------------
 9967|     12|#line 2931 "MachineIndependent/glslang.y"
 9968|     12|                      {
 9969|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
 9970|     12|        (yyval.interm.type).basicType = EbtSampler;
 9971|     12|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, true);
 9972|     12|    }
 9973|     12|#line 9974 "MachineIndependent/glslang_tab.cpp"
 9974|     12|    break;
 9975|       |
 9976|      0|  case 423: /* type_specifier_nonarray: SAMPLER  */
  ------------------
  |  Branch (9976:3): [True: 0, False: 2.04M]
  ------------------
 9977|      0|#line 2936 "MachineIndependent/glslang.y"
 9978|      0|              {
 9979|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9980|      0|        (yyval.interm.type).basicType = EbtSampler;
 9981|      0|        (yyval.interm.type).sampler.setPureSampler(false);
 9982|      0|    }
 9983|      0|#line 9984 "MachineIndependent/glslang_tab.cpp"
 9984|      0|    break;
 9985|       |
 9986|      0|  case 424: /* type_specifier_nonarray: SAMPLERSHADOW  */
  ------------------
  |  Branch (9986:3): [True: 0, False: 2.04M]
  ------------------
 9987|      0|#line 2941 "MachineIndependent/glslang.y"
 9988|      0|                    {
 9989|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9990|      0|        (yyval.interm.type).basicType = EbtSampler;
 9991|      0|        (yyval.interm.type).sampler.setPureSampler(true);
 9992|      0|    }
 9993|      0|#line 9994 "MachineIndependent/glslang_tab.cpp"
 9994|      0|    break;
 9995|       |
 9996|    212|  case 425: /* type_specifier_nonarray: SAMPLER2DRECT  */
  ------------------
  |  Branch (9996:3): [True: 212, False: 2.04M]
  ------------------
 9997|    212|#line 2946 "MachineIndependent/glslang.y"
 9998|    212|                    {
 9999|    212|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    212|#define parseContext (*pParseContext)
  ------------------
10000|    212|        (yyval.interm.type).basicType = EbtSampler;
10001|    212|        (yyval.interm.type).sampler.set(EbtFloat, EsdRect);
10002|    212|    }
10003|    212|#line 10004 "MachineIndependent/glslang_tab.cpp"
10004|    212|    break;
10005|       |
10006|    116|  case 426: /* type_specifier_nonarray: SAMPLER2DRECTSHADOW  */
  ------------------
  |  Branch (10006:3): [True: 116, False: 2.04M]
  ------------------
10007|    116|#line 2951 "MachineIndependent/glslang.y"
10008|    116|                          {
10009|    116|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    116|#define parseContext (*pParseContext)
  ------------------
10010|    116|        (yyval.interm.type).basicType = EbtSampler;
10011|    116|        (yyval.interm.type).sampler.set(EbtFloat, EsdRect, false, true);
10012|    116|    }
10013|    116|#line 10014 "MachineIndependent/glslang_tab.cpp"
10014|    116|    break;
10015|       |
10016|    420|  case 427: /* type_specifier_nonarray: F16SAMPLER2DRECT  */
  ------------------
  |  Branch (10016:3): [True: 420, False: 2.04M]
  ------------------
10017|    420|#line 2956 "MachineIndependent/glslang.y"
10018|    420|                       {
10019|    420|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    420|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    420|#define parseContext (*pParseContext)
  ------------------
10020|    420|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    420|#define parseContext (*pParseContext)
  ------------------
10021|    420|        (yyval.interm.type).basicType = EbtSampler;
10022|    420|        (yyval.interm.type).sampler.set(EbtFloat16, EsdRect);
10023|    420|    }
10024|    420|#line 10025 "MachineIndependent/glslang_tab.cpp"
10025|    420|    break;
10026|       |
10027|    228|  case 428: /* type_specifier_nonarray: F16SAMPLER2DRECTSHADOW  */
  ------------------
  |  Branch (10027:3): [True: 228, False: 2.04M]
  ------------------
10028|    228|#line 2962 "MachineIndependent/glslang.y"
10029|    228|                             {
10030|    228|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    228|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    228|#define parseContext (*pParseContext)
  ------------------
10031|    228|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    228|#define parseContext (*pParseContext)
  ------------------
10032|    228|        (yyval.interm.type).basicType = EbtSampler;
10033|    228|        (yyval.interm.type).sampler.set(EbtFloat16, EsdRect, false, true);
10034|    228|    }
10035|    228|#line 10036 "MachineIndependent/glslang_tab.cpp"
10036|    228|    break;
10037|       |
10038|    212|  case 429: /* type_specifier_nonarray: ISAMPLER2DRECT  */
  ------------------
  |  Branch (10038:3): [True: 212, False: 2.04M]
  ------------------
10039|    212|#line 2968 "MachineIndependent/glslang.y"
10040|    212|                     {
10041|    212|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    212|#define parseContext (*pParseContext)
  ------------------
10042|    212|        (yyval.interm.type).basicType = EbtSampler;
10043|    212|        (yyval.interm.type).sampler.set(EbtInt, EsdRect);
10044|    212|    }
10045|    212|#line 10046 "MachineIndependent/glslang_tab.cpp"
10046|    212|    break;
10047|       |
10048|    212|  case 430: /* type_specifier_nonarray: USAMPLER2DRECT  */
  ------------------
  |  Branch (10048:3): [True: 212, False: 2.04M]
  ------------------
10049|    212|#line 2973 "MachineIndependent/glslang.y"
10050|    212|                     {
10051|    212|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    212|#define parseContext (*pParseContext)
  ------------------
10052|    212|        (yyval.interm.type).basicType = EbtSampler;
10053|    212|        (yyval.interm.type).sampler.set(EbtUint, EsdRect);
10054|    212|    }
10055|    212|#line 10056 "MachineIndependent/glslang_tab.cpp"
10056|    212|    break;
10057|       |
10058|      8|  case 431: /* type_specifier_nonarray: SAMPLERBUFFER  */
  ------------------
  |  Branch (10058:3): [True: 8, False: 2.04M]
  ------------------
10059|      8|#line 2978 "MachineIndependent/glslang.y"
10060|      8|                    {
10061|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      8|#define parseContext (*pParseContext)
  ------------------
10062|      8|        (yyval.interm.type).basicType = EbtSampler;
10063|      8|        (yyval.interm.type).sampler.set(EbtFloat, EsdBuffer);
10064|      8|    }
10065|      8|#line 10066 "MachineIndependent/glslang_tab.cpp"
10066|      8|    break;
10067|       |
10068|     12|  case 432: /* type_specifier_nonarray: F16SAMPLERBUFFER  */
  ------------------
  |  Branch (10068:3): [True: 12, False: 2.04M]
  ------------------
10069|     12|#line 2983 "MachineIndependent/glslang.y"
10070|     12|                       {
10071|     12|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
10072|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
10073|     12|        (yyval.interm.type).basicType = EbtSampler;
10074|     12|        (yyval.interm.type).sampler.set(EbtFloat16, EsdBuffer);
10075|     12|    }
10076|     12|#line 10077 "MachineIndependent/glslang_tab.cpp"
10077|     12|    break;
10078|       |
10079|      8|  case 433: /* type_specifier_nonarray: ISAMPLERBUFFER  */
  ------------------
  |  Branch (10079:3): [True: 8, False: 2.04M]
  ------------------
10080|      8|#line 2989 "MachineIndependent/glslang.y"
10081|      8|                     {
10082|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      8|#define parseContext (*pParseContext)
  ------------------
10083|      8|        (yyval.interm.type).basicType = EbtSampler;
10084|      8|        (yyval.interm.type).sampler.set(EbtInt, EsdBuffer);
10085|      8|    }
10086|      8|#line 10087 "MachineIndependent/glslang_tab.cpp"
10087|      8|    break;
10088|       |
10089|      8|  case 434: /* type_specifier_nonarray: USAMPLERBUFFER  */
  ------------------
  |  Branch (10089:3): [True: 8, False: 2.04M]
  ------------------
10090|      8|#line 2994 "MachineIndependent/glslang.y"
10091|      8|                     {
10092|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      8|#define parseContext (*pParseContext)
  ------------------
10093|      8|        (yyval.interm.type).basicType = EbtSampler;
10094|      8|        (yyval.interm.type).sampler.set(EbtUint, EsdBuffer);
10095|      8|    }
10096|      8|#line 10097 "MachineIndependent/glslang_tab.cpp"
10097|      8|    break;
10098|       |
10099|     24|  case 435: /* type_specifier_nonarray: SAMPLER2DMS  */
  ------------------
  |  Branch (10099:3): [True: 24, False: 2.04M]
  ------------------
10100|     24|#line 2999 "MachineIndependent/glslang.y"
10101|     24|                  {
10102|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
10103|     24|        (yyval.interm.type).basicType = EbtSampler;
10104|     24|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, false, false, true);
10105|     24|    }
10106|     24|#line 10107 "MachineIndependent/glslang_tab.cpp"
10107|     24|    break;
10108|       |
10109|     24|  case 436: /* type_specifier_nonarray: F16SAMPLER2DMS  */
  ------------------
  |  Branch (10109:3): [True: 24, False: 2.04M]
  ------------------
10110|     24|#line 3004 "MachineIndependent/glslang.y"
10111|     24|                     {
10112|     24|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
10113|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
10114|     24|        (yyval.interm.type).basicType = EbtSampler;
10115|     24|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, false, false, true);
10116|     24|    }
10117|     24|#line 10118 "MachineIndependent/glslang_tab.cpp"
10118|     24|    break;
10119|       |
10120|     24|  case 437: /* type_specifier_nonarray: ISAMPLER2DMS  */
  ------------------
  |  Branch (10120:3): [True: 24, False: 2.04M]
  ------------------
10121|     24|#line 3010 "MachineIndependent/glslang.y"
10122|     24|                   {
10123|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
10124|     24|        (yyval.interm.type).basicType = EbtSampler;
10125|     24|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, false, false, true);
10126|     24|    }
10127|     24|#line 10128 "MachineIndependent/glslang_tab.cpp"
10128|     24|    break;
10129|       |
10130|     24|  case 438: /* type_specifier_nonarray: USAMPLER2DMS  */
  ------------------
  |  Branch (10130:3): [True: 24, False: 2.04M]
  ------------------
10131|     24|#line 3015 "MachineIndependent/glslang.y"
10132|     24|                   {
10133|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
10134|     24|        (yyval.interm.type).basicType = EbtSampler;
10135|     24|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, false, false, true);
10136|     24|    }
10137|     24|#line 10138 "MachineIndependent/glslang_tab.cpp"
10138|     24|    break;
10139|       |
10140|     24|  case 439: /* type_specifier_nonarray: SAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10140:3): [True: 24, False: 2.04M]
  ------------------
10141|     24|#line 3020 "MachineIndependent/glslang.y"
10142|     24|                       {
10143|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
10144|     24|        (yyval.interm.type).basicType = EbtSampler;
10145|     24|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true, false, true);
10146|     24|    }
10147|     24|#line 10148 "MachineIndependent/glslang_tab.cpp"
10148|     24|    break;
10149|       |
10150|     24|  case 440: /* type_specifier_nonarray: F16SAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10150:3): [True: 24, False: 2.04M]
  ------------------
10151|     24|#line 3025 "MachineIndependent/glslang.y"
10152|     24|                          {
10153|     24|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
10154|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
10155|     24|        (yyval.interm.type).basicType = EbtSampler;
10156|     24|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true, false, true);
10157|     24|    }
10158|     24|#line 10159 "MachineIndependent/glslang_tab.cpp"
10159|     24|    break;
10160|       |
10161|     24|  case 441: /* type_specifier_nonarray: ISAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10161:3): [True: 24, False: 2.04M]
  ------------------
10162|     24|#line 3031 "MachineIndependent/glslang.y"
10163|     24|                        {
10164|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
10165|     24|        (yyval.interm.type).basicType = EbtSampler;
10166|     24|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, true, false, true);
10167|     24|    }
10168|     24|#line 10169 "MachineIndependent/glslang_tab.cpp"
10169|     24|    break;
10170|       |
10171|     24|  case 442: /* type_specifier_nonarray: USAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10171:3): [True: 24, False: 2.04M]
  ------------------
10172|     24|#line 3036 "MachineIndependent/glslang.y"
10173|     24|                        {
10174|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     24|#define parseContext (*pParseContext)
  ------------------
10175|     24|        (yyval.interm.type).basicType = EbtSampler;
10176|     24|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, true, false, true);
10177|     24|    }
10178|     24|#line 10179 "MachineIndependent/glslang_tab.cpp"
10179|     24|    break;
10180|       |
10181|      8|  case 443: /* type_specifier_nonarray: TEXTURE1D  */
  ------------------
  |  Branch (10181:3): [True: 8, False: 2.04M]
  ------------------
10182|      8|#line 3041 "MachineIndependent/glslang.y"
10183|      8|                {
10184|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      8|#define parseContext (*pParseContext)
  ------------------
10185|      8|        (yyval.interm.type).basicType = EbtSampler;
10186|      8|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd1D);
10187|      8|    }
10188|      8|#line 10189 "MachineIndependent/glslang_tab.cpp"
10189|      8|    break;
10190|       |
10191|     12|  case 444: /* type_specifier_nonarray: F16TEXTURE1D  */
  ------------------
  |  Branch (10191:3): [True: 12, False: 2.04M]
  ------------------
10192|     12|#line 3046 "MachineIndependent/glslang.y"
10193|     12|                   {
10194|     12|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
10195|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
10196|     12|        (yyval.interm.type).basicType = EbtSampler;
10197|     12|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd1D);
10198|     12|    }
10199|     12|#line 10200 "MachineIndependent/glslang_tab.cpp"
10200|     12|    break;
10201|       |
10202|     20|  case 445: /* type_specifier_nonarray: F16TEXTURE2D  */
  ------------------
  |  Branch (10202:3): [True: 20, False: 2.04M]
  ------------------
10203|     20|#line 3052 "MachineIndependent/glslang.y"
10204|     20|                   {
10205|     20|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     20|#define parseContext (*pParseContext)
  ------------------
10206|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     20|#define parseContext (*pParseContext)
  ------------------
10207|     20|        (yyval.interm.type).basicType = EbtSampler;
10208|     20|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D);
10209|     20|    }
10210|     20|#line 10211 "MachineIndependent/glslang_tab.cpp"
10211|     20|    break;
10212|       |
10213|     20|  case 446: /* type_specifier_nonarray: F16TEXTURE3D  */
  ------------------
  |  Branch (10213:3): [True: 20, False: 2.04M]
  ------------------
10214|     20|#line 3058 "MachineIndependent/glslang.y"
10215|     20|                   {
10216|     20|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     20|#define parseContext (*pParseContext)
  ------------------
10217|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     20|#define parseContext (*pParseContext)
  ------------------
10218|     20|        (yyval.interm.type).basicType = EbtSampler;
10219|     20|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd3D);
10220|     20|    }
10221|     20|#line 10222 "MachineIndependent/glslang_tab.cpp"
10222|     20|    break;
10223|       |
10224|      4|  case 447: /* type_specifier_nonarray: F16TEXTURECUBE  */
  ------------------
  |  Branch (10224:3): [True: 4, False: 2.04M]
  ------------------
10225|      4|#line 3064 "MachineIndependent/glslang.y"
10226|      4|                     {
10227|      4|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
10228|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
10229|      4|        (yyval.interm.type).basicType = EbtSampler;
10230|      4|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdCube);
10231|      4|    }
10232|      4|#line 10233 "MachineIndependent/glslang_tab.cpp"
10233|      4|    break;
10234|       |
10235|      8|  case 448: /* type_specifier_nonarray: TEXTURE1DARRAY  */
  ------------------
  |  Branch (10235:3): [True: 8, False: 2.04M]
  ------------------
10236|      8|#line 3070 "MachineIndependent/glslang.y"
10237|      8|                     {
10238|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      8|#define parseContext (*pParseContext)
  ------------------
10239|      8|        (yyval.interm.type).basicType = EbtSampler;
10240|      8|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd1D, true);
10241|      8|    }
10242|      8|#line 10243 "MachineIndependent/glslang_tab.cpp"
10243|      8|    break;
10244|       |
10245|     12|  case 449: /* type_specifier_nonarray: F16TEXTURE1DARRAY  */
  ------------------
  |  Branch (10245:3): [True: 12, False: 2.04M]
  ------------------
10246|     12|#line 3075 "MachineIndependent/glslang.y"
10247|     12|                        {
10248|     12|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
10249|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
10250|     12|        (yyval.interm.type).basicType = EbtSampler;
10251|     12|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd1D, true);
10252|     12|    }
10253|     12|#line 10254 "MachineIndependent/glslang_tab.cpp"
10254|     12|    break;
10255|       |
10256|     20|  case 450: /* type_specifier_nonarray: F16TEXTURE2DARRAY  */
  ------------------
  |  Branch (10256:3): [True: 20, False: 2.04M]
  ------------------
10257|     20|#line 3081 "MachineIndependent/glslang.y"
10258|     20|                        {
10259|     20|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     20|#define parseContext (*pParseContext)
  ------------------
10260|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     20|#define parseContext (*pParseContext)
  ------------------
10261|     20|        (yyval.interm.type).basicType = EbtSampler;
10262|     20|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, true);
10263|     20|    }
10264|     20|#line 10265 "MachineIndependent/glslang_tab.cpp"
10265|     20|    break;
10266|       |
10267|      4|  case 451: /* type_specifier_nonarray: F16TEXTURECUBEARRAY  */
  ------------------
  |  Branch (10267:3): [True: 4, False: 2.04M]
  ------------------
10268|      4|#line 3087 "MachineIndependent/glslang.y"
10269|      4|                          {
10270|      4|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
10271|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
10272|      4|        (yyval.interm.type).basicType = EbtSampler;
10273|      4|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdCube, true);
10274|      4|    }
10275|      4|#line 10276 "MachineIndependent/glslang_tab.cpp"
10276|      4|    break;
10277|       |
10278|      8|  case 452: /* type_specifier_nonarray: ITEXTURE1D  */
  ------------------
  |  Branch (10278:3): [True: 8, False: 2.04M]
  ------------------
10279|      8|#line 3093 "MachineIndependent/glslang.y"
10280|      8|                 {
10281|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      8|#define parseContext (*pParseContext)
  ------------------
10282|      8|        (yyval.interm.type).basicType = EbtSampler;
10283|      8|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd1D);
10284|      8|    }
10285|      8|#line 10286 "MachineIndependent/glslang_tab.cpp"
10286|      8|    break;
10287|       |
10288|      8|  case 453: /* type_specifier_nonarray: ITEXTURE1DARRAY  */
  ------------------
  |  Branch (10288:3): [True: 8, False: 2.04M]
  ------------------
10289|      8|#line 3098 "MachineIndependent/glslang.y"
10290|      8|                      {
10291|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      8|#define parseContext (*pParseContext)
  ------------------
10292|      8|        (yyval.interm.type).basicType = EbtSampler;
10293|      8|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd1D, true);
10294|      8|    }
10295|      8|#line 10296 "MachineIndependent/glslang_tab.cpp"
10296|      8|    break;
10297|       |
10298|      8|  case 454: /* type_specifier_nonarray: UTEXTURE1D  */
  ------------------
  |  Branch (10298:3): [True: 8, False: 2.04M]
  ------------------
10299|      8|#line 3103 "MachineIndependent/glslang.y"
10300|      8|                 {
10301|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      8|#define parseContext (*pParseContext)
  ------------------
10302|      8|        (yyval.interm.type).basicType = EbtSampler;
10303|      8|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd1D);
10304|      8|    }
10305|      8|#line 10306 "MachineIndependent/glslang_tab.cpp"
10306|      8|    break;
10307|       |
10308|      8|  case 455: /* type_specifier_nonarray: UTEXTURE1DARRAY  */
  ------------------
  |  Branch (10308:3): [True: 8, False: 2.04M]
  ------------------
10309|      8|#line 3108 "MachineIndependent/glslang.y"
10310|      8|                      {
10311|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      8|#define parseContext (*pParseContext)
  ------------------
10312|      8|        (yyval.interm.type).basicType = EbtSampler;
10313|      8|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd1D, true);
10314|      8|    }
10315|      8|#line 10316 "MachineIndependent/glslang_tab.cpp"
10316|      8|    break;
10317|       |
10318|     10|  case 456: /* type_specifier_nonarray: TEXTURE2DRECT  */
  ------------------
  |  Branch (10318:3): [True: 10, False: 2.04M]
  ------------------
10319|     10|#line 3113 "MachineIndependent/glslang.y"
10320|     10|                    {
10321|     10|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     10|#define parseContext (*pParseContext)
  ------------------
10322|     10|        (yyval.interm.type).basicType = EbtSampler;
10323|     10|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdRect);
10324|     10|    }
10325|     10|#line 10326 "MachineIndependent/glslang_tab.cpp"
10326|     10|    break;
10327|       |
10328|     18|  case 457: /* type_specifier_nonarray: F16TEXTURE2DRECT  */
  ------------------
  |  Branch (10328:3): [True: 18, False: 2.04M]
  ------------------
10329|     18|#line 3118 "MachineIndependent/glslang.y"
10330|     18|                       {
10331|     18|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     18|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     18|#define parseContext (*pParseContext)
  ------------------
10332|     18|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     18|#define parseContext (*pParseContext)
  ------------------
10333|     18|        (yyval.interm.type).basicType = EbtSampler;
10334|     18|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdRect);
10335|     18|    }
10336|     18|#line 10337 "MachineIndependent/glslang_tab.cpp"
10337|     18|    break;
10338|       |
10339|     10|  case 458: /* type_specifier_nonarray: ITEXTURE2DRECT  */
  ------------------
  |  Branch (10339:3): [True: 10, False: 2.04M]
  ------------------
10340|     10|#line 3124 "MachineIndependent/glslang.y"
10341|     10|                     {
10342|     10|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     10|#define parseContext (*pParseContext)
  ------------------
10343|     10|        (yyval.interm.type).basicType = EbtSampler;
10344|     10|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdRect);
10345|     10|    }
10346|     10|#line 10347 "MachineIndependent/glslang_tab.cpp"
10347|     10|    break;
10348|       |
10349|     10|  case 459: /* type_specifier_nonarray: UTEXTURE2DRECT  */
  ------------------
  |  Branch (10349:3): [True: 10, False: 2.04M]
  ------------------
10350|     10|#line 3129 "MachineIndependent/glslang.y"
10351|     10|                     {
10352|     10|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     10|#define parseContext (*pParseContext)
  ------------------
10353|     10|        (yyval.interm.type).basicType = EbtSampler;
10354|     10|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdRect);
10355|     10|    }
10356|     10|#line 10357 "MachineIndependent/glslang_tab.cpp"
10357|     10|    break;
10358|       |
10359|      4|  case 460: /* type_specifier_nonarray: TEXTUREBUFFER  */
  ------------------
  |  Branch (10359:3): [True: 4, False: 2.04M]
  ------------------
10360|      4|#line 3134 "MachineIndependent/glslang.y"
10361|      4|                    {
10362|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
10363|      4|        (yyval.interm.type).basicType = EbtSampler;
10364|      4|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdBuffer);
10365|      4|    }
10366|      4|#line 10367 "MachineIndependent/glslang_tab.cpp"
10367|      4|    break;
10368|       |
10369|      6|  case 461: /* type_specifier_nonarray: F16TEXTUREBUFFER  */
  ------------------
  |  Branch (10369:3): [True: 6, False: 2.04M]
  ------------------
10370|      6|#line 3139 "MachineIndependent/glslang.y"
10371|      6|                       {
10372|      6|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
10373|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
10374|      6|        (yyval.interm.type).basicType = EbtSampler;
10375|      6|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdBuffer);
10376|      6|    }
10377|      6|#line 10378 "MachineIndependent/glslang_tab.cpp"
10378|      6|    break;
10379|       |
10380|      4|  case 462: /* type_specifier_nonarray: ITEXTUREBUFFER  */
  ------------------
  |  Branch (10380:3): [True: 4, False: 2.04M]
  ------------------
10381|      4|#line 3145 "MachineIndependent/glslang.y"
10382|      4|                     {
10383|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
10384|      4|        (yyval.interm.type).basicType = EbtSampler;
10385|      4|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdBuffer);
10386|      4|    }
10387|      4|#line 10388 "MachineIndependent/glslang_tab.cpp"
10388|      4|    break;
10389|       |
10390|      4|  case 463: /* type_specifier_nonarray: UTEXTUREBUFFER  */
  ------------------
  |  Branch (10390:3): [True: 4, False: 2.04M]
  ------------------
10391|      4|#line 3150 "MachineIndependent/glslang.y"
10392|      4|                     {
10393|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
10394|      4|        (yyval.interm.type).basicType = EbtSampler;
10395|      4|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdBuffer);
10396|      4|    }
10397|      4|#line 10398 "MachineIndependent/glslang_tab.cpp"
10398|      4|    break;
10399|       |
10400|      8|  case 464: /* type_specifier_nonarray: TEXTURE2DMS  */
  ------------------
  |  Branch (10400:3): [True: 8, False: 2.04M]
  ------------------
10401|      8|#line 3155 "MachineIndependent/glslang.y"
10402|      8|                  {
10403|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      8|#define parseContext (*pParseContext)
  ------------------
10404|      8|        (yyval.interm.type).basicType = EbtSampler;
10405|      8|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, false, false, true);
10406|      8|    }
10407|      8|#line 10408 "MachineIndependent/glslang_tab.cpp"
10408|      8|    break;
10409|       |
10410|     12|  case 465: /* type_specifier_nonarray: F16TEXTURE2DMS  */
  ------------------
  |  Branch (10410:3): [True: 12, False: 2.04M]
  ------------------
10411|     12|#line 3160 "MachineIndependent/glslang.y"
10412|     12|                     {
10413|     12|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
10414|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
10415|     12|        (yyval.interm.type).basicType = EbtSampler;
10416|     12|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, false, false, true);
10417|     12|    }
10418|     12|#line 10419 "MachineIndependent/glslang_tab.cpp"
10419|     12|    break;
10420|       |
10421|      8|  case 466: /* type_specifier_nonarray: ITEXTURE2DMS  */
  ------------------
  |  Branch (10421:3): [True: 8, False: 2.04M]
  ------------------
10422|      8|#line 3166 "MachineIndependent/glslang.y"
10423|      8|                   {
10424|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      8|#define parseContext (*pParseContext)
  ------------------
10425|      8|        (yyval.interm.type).basicType = EbtSampler;
10426|      8|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, false, false, true);
10427|      8|    }
10428|      8|#line 10429 "MachineIndependent/glslang_tab.cpp"
10429|      8|    break;
10430|       |
10431|      8|  case 467: /* type_specifier_nonarray: UTEXTURE2DMS  */
  ------------------
  |  Branch (10431:3): [True: 8, False: 2.04M]
  ------------------
10432|      8|#line 3171 "MachineIndependent/glslang.y"
10433|      8|                   {
10434|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      8|#define parseContext (*pParseContext)
  ------------------
10435|      8|        (yyval.interm.type).basicType = EbtSampler;
10436|      8|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, false, false, true);
10437|      8|    }
10438|      8|#line 10439 "MachineIndependent/glslang_tab.cpp"
10439|      8|    break;
10440|       |
10441|      8|  case 468: /* type_specifier_nonarray: TEXTURE2DMSARRAY  */
  ------------------
  |  Branch (10441:3): [True: 8, False: 2.04M]
  ------------------
10442|      8|#line 3176 "MachineIndependent/glslang.y"
10443|      8|                       {
10444|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      8|#define parseContext (*pParseContext)
  ------------------
10445|      8|        (yyval.interm.type).basicType = EbtSampler;
10446|      8|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, true, false, true);
10447|      8|    }
10448|      8|#line 10449 "MachineIndependent/glslang_tab.cpp"
10449|      8|    break;
10450|       |
10451|     12|  case 469: /* type_specifier_nonarray: F16TEXTURE2DMSARRAY  */
  ------------------
  |  Branch (10451:3): [True: 12, False: 2.04M]
  ------------------
10452|     12|#line 3181 "MachineIndependent/glslang.y"
10453|     12|                          {
10454|     12|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
10455|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     12|#define parseContext (*pParseContext)
  ------------------
10456|     12|        (yyval.interm.type).basicType = EbtSampler;
10457|     12|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, true, false, true);
10458|     12|    }
10459|     12|#line 10460 "MachineIndependent/glslang_tab.cpp"
10460|     12|    break;
10461|       |
10462|      8|  case 470: /* type_specifier_nonarray: ITEXTURE2DMSARRAY  */
  ------------------
  |  Branch (10462:3): [True: 8, False: 2.04M]
  ------------------
10463|      8|#line 3187 "MachineIndependent/glslang.y"
10464|      8|                        {
10465|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      8|#define parseContext (*pParseContext)
  ------------------
10466|      8|        (yyval.interm.type).basicType = EbtSampler;
10467|      8|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, true, false, true);
10468|      8|    }
10469|      8|#line 10470 "MachineIndependent/glslang_tab.cpp"
10470|      8|    break;
10471|       |
10472|      8|  case 471: /* type_specifier_nonarray: UTEXTURE2DMSARRAY  */
  ------------------
  |  Branch (10472:3): [True: 8, False: 2.04M]
  ------------------
10473|      8|#line 3192 "MachineIndependent/glslang.y"
10474|      8|                        {
10475|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      8|#define parseContext (*pParseContext)
  ------------------
10476|      8|        (yyval.interm.type).basicType = EbtSampler;
10477|      8|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, true, false, true);
10478|      8|    }
10479|      8|#line 10480 "MachineIndependent/glslang_tab.cpp"
10480|      8|    break;
10481|       |
10482|     92|  case 472: /* type_specifier_nonarray: IMAGE1D  */
  ------------------
  |  Branch (10482:3): [True: 92, False: 2.04M]
  ------------------
10483|     92|#line 3197 "MachineIndependent/glslang.y"
10484|     92|              {
10485|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
10486|     92|        (yyval.interm.type).basicType = EbtSampler;
10487|     92|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd1D);
10488|     92|    }
10489|     92|#line 10490 "MachineIndependent/glslang_tab.cpp"
10490|     92|    break;
10491|       |
10492|     92|  case 473: /* type_specifier_nonarray: F16IMAGE1D  */
  ------------------
  |  Branch (10492:3): [True: 92, False: 2.04M]
  ------------------
10493|     92|#line 3202 "MachineIndependent/glslang.y"
10494|     92|                 {
10495|     92|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
10496|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
10497|     92|        (yyval.interm.type).basicType = EbtSampler;
10498|     92|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd1D);
10499|     92|    }
10500|     92|#line 10501 "MachineIndependent/glslang_tab.cpp"
10501|     92|    break;
10502|       |
10503|     92|  case 474: /* type_specifier_nonarray: IIMAGE1D  */
  ------------------
  |  Branch (10503:3): [True: 92, False: 2.04M]
  ------------------
10504|     92|#line 3208 "MachineIndependent/glslang.y"
10505|     92|               {
10506|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
10507|     92|        (yyval.interm.type).basicType = EbtSampler;
10508|     92|        (yyval.interm.type).sampler.setImage(EbtInt, Esd1D);
10509|     92|    }
10510|     92|#line 10511 "MachineIndependent/glslang_tab.cpp"
10511|     92|    break;
10512|       |
10513|     92|  case 475: /* type_specifier_nonarray: UIMAGE1D  */
  ------------------
  |  Branch (10513:3): [True: 92, False: 2.04M]
  ------------------
10514|     92|#line 3213 "MachineIndependent/glslang.y"
10515|     92|               {
10516|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
10517|     92|        (yyval.interm.type).basicType = EbtSampler;
10518|     92|        (yyval.interm.type).sampler.setImage(EbtUint, Esd1D);
10519|     92|    }
10520|     92|#line 10521 "MachineIndependent/glslang_tab.cpp"
10521|     92|    break;
10522|       |
10523|    100|  case 476: /* type_specifier_nonarray: IMAGE2D  */
  ------------------
  |  Branch (10523:3): [True: 100, False: 2.04M]
  ------------------
10524|    100|#line 3218 "MachineIndependent/glslang.y"
10525|    100|              {
10526|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10527|    100|        (yyval.interm.type).basicType = EbtSampler;
10528|    100|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D);
10529|    100|    }
10530|    100|#line 10531 "MachineIndependent/glslang_tab.cpp"
10531|    100|    break;
10532|       |
10533|    100|  case 477: /* type_specifier_nonarray: F16IMAGE2D  */
  ------------------
  |  Branch (10533:3): [True: 100, False: 2.04M]
  ------------------
10534|    100|#line 3223 "MachineIndependent/glslang.y"
10535|    100|                 {
10536|    100|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10537|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10538|    100|        (yyval.interm.type).basicType = EbtSampler;
10539|    100|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D);
10540|    100|    }
10541|    100|#line 10542 "MachineIndependent/glslang_tab.cpp"
10542|    100|    break;
10543|       |
10544|    100|  case 478: /* type_specifier_nonarray: IIMAGE2D  */
  ------------------
  |  Branch (10544:3): [True: 100, False: 2.04M]
  ------------------
10545|    100|#line 3229 "MachineIndependent/glslang.y"
10546|    100|               {
10547|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10548|    100|        (yyval.interm.type).basicType = EbtSampler;
10549|    100|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D);
10550|    100|    }
10551|    100|#line 10552 "MachineIndependent/glslang_tab.cpp"
10552|    100|    break;
10553|       |
10554|    100|  case 479: /* type_specifier_nonarray: UIMAGE2D  */
  ------------------
  |  Branch (10554:3): [True: 100, False: 2.04M]
  ------------------
10555|    100|#line 3234 "MachineIndependent/glslang.y"
10556|    100|               {
10557|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10558|    100|        (yyval.interm.type).basicType = EbtSampler;
10559|    100|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D);
10560|    100|    }
10561|    100|#line 10562 "MachineIndependent/glslang_tab.cpp"
10562|    100|    break;
10563|       |
10564|    100|  case 480: /* type_specifier_nonarray: IMAGE3D  */
  ------------------
  |  Branch (10564:3): [True: 100, False: 2.04M]
  ------------------
10565|    100|#line 3239 "MachineIndependent/glslang.y"
10566|    100|              {
10567|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10568|    100|        (yyval.interm.type).basicType = EbtSampler;
10569|    100|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd3D);
10570|    100|    }
10571|    100|#line 10572 "MachineIndependent/glslang_tab.cpp"
10572|    100|    break;
10573|       |
10574|    100|  case 481: /* type_specifier_nonarray: F16IMAGE3D  */
  ------------------
  |  Branch (10574:3): [True: 100, False: 2.04M]
  ------------------
10575|    100|#line 3244 "MachineIndependent/glslang.y"
10576|    100|                 {
10577|    100|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10578|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10579|    100|        (yyval.interm.type).basicType = EbtSampler;
10580|    100|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd3D);
10581|    100|    }
10582|    100|#line 10583 "MachineIndependent/glslang_tab.cpp"
10583|    100|    break;
10584|       |
10585|    100|  case 482: /* type_specifier_nonarray: IIMAGE3D  */
  ------------------
  |  Branch (10585:3): [True: 100, False: 2.04M]
  ------------------
10586|    100|#line 3250 "MachineIndependent/glslang.y"
10587|    100|               {
10588|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10589|    100|        (yyval.interm.type).basicType = EbtSampler;
10590|    100|        (yyval.interm.type).sampler.setImage(EbtInt, Esd3D);
10591|    100|    }
10592|    100|#line 10593 "MachineIndependent/glslang_tab.cpp"
10593|    100|    break;
10594|       |
10595|    100|  case 483: /* type_specifier_nonarray: UIMAGE3D  */
  ------------------
  |  Branch (10595:3): [True: 100, False: 2.04M]
  ------------------
10596|    100|#line 3255 "MachineIndependent/glslang.y"
10597|    100|               {
10598|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10599|    100|        (yyval.interm.type).basicType = EbtSampler;
10600|    100|        (yyval.interm.type).sampler.setImage(EbtUint, Esd3D);
10601|    100|    }
10602|    100|#line 10603 "MachineIndependent/glslang_tab.cpp"
10603|    100|    break;
10604|       |
10605|     88|  case 484: /* type_specifier_nonarray: IMAGE2DRECT  */
  ------------------
  |  Branch (10605:3): [True: 88, False: 2.04M]
  ------------------
10606|     88|#line 3260 "MachineIndependent/glslang.y"
10607|     88|                  {
10608|     88|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     88|#define parseContext (*pParseContext)
  ------------------
10609|     88|        (yyval.interm.type).basicType = EbtSampler;
10610|     88|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdRect);
10611|     88|    }
10612|     88|#line 10613 "MachineIndependent/glslang_tab.cpp"
10613|     88|    break;
10614|       |
10615|     88|  case 485: /* type_specifier_nonarray: F16IMAGE2DRECT  */
  ------------------
  |  Branch (10615:3): [True: 88, False: 2.04M]
  ------------------
10616|     88|#line 3265 "MachineIndependent/glslang.y"
10617|     88|                     {
10618|     88|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     88|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     88|#define parseContext (*pParseContext)
  ------------------
10619|     88|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     88|#define parseContext (*pParseContext)
  ------------------
10620|     88|        (yyval.interm.type).basicType = EbtSampler;
10621|     88|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdRect);
10622|     88|    }
10623|     88|#line 10624 "MachineIndependent/glslang_tab.cpp"
10624|     88|    break;
10625|       |
10626|     88|  case 486: /* type_specifier_nonarray: IIMAGE2DRECT  */
  ------------------
  |  Branch (10626:3): [True: 88, False: 2.04M]
  ------------------
10627|     88|#line 3271 "MachineIndependent/glslang.y"
10628|     88|                   {
10629|     88|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     88|#define parseContext (*pParseContext)
  ------------------
10630|     88|        (yyval.interm.type).basicType = EbtSampler;
10631|     88|        (yyval.interm.type).sampler.setImage(EbtInt, EsdRect);
10632|     88|    }
10633|     88|#line 10634 "MachineIndependent/glslang_tab.cpp"
10634|     88|    break;
10635|       |
10636|     88|  case 487: /* type_specifier_nonarray: UIMAGE2DRECT  */
  ------------------
  |  Branch (10636:3): [True: 88, False: 2.04M]
  ------------------
10637|     88|#line 3276 "MachineIndependent/glslang.y"
10638|     88|                   {
10639|     88|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     88|#define parseContext (*pParseContext)
  ------------------
10640|     88|        (yyval.interm.type).basicType = EbtSampler;
10641|     88|        (yyval.interm.type).sampler.setImage(EbtUint, EsdRect);
10642|     88|    }
10643|     88|#line 10644 "MachineIndependent/glslang_tab.cpp"
10644|     88|    break;
10645|       |
10646|    100|  case 488: /* type_specifier_nonarray: IMAGECUBE  */
  ------------------
  |  Branch (10646:3): [True: 100, False: 2.04M]
  ------------------
10647|    100|#line 3281 "MachineIndependent/glslang.y"
10648|    100|                {
10649|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10650|    100|        (yyval.interm.type).basicType = EbtSampler;
10651|    100|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdCube);
10652|    100|    }
10653|    100|#line 10654 "MachineIndependent/glslang_tab.cpp"
10654|    100|    break;
10655|       |
10656|    100|  case 489: /* type_specifier_nonarray: F16IMAGECUBE  */
  ------------------
  |  Branch (10656:3): [True: 100, False: 2.04M]
  ------------------
10657|    100|#line 3286 "MachineIndependent/glslang.y"
10658|    100|                   {
10659|    100|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10660|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10661|    100|        (yyval.interm.type).basicType = EbtSampler;
10662|    100|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdCube);
10663|    100|    }
10664|    100|#line 10665 "MachineIndependent/glslang_tab.cpp"
10665|    100|    break;
10666|       |
10667|    100|  case 490: /* type_specifier_nonarray: IIMAGECUBE  */
  ------------------
  |  Branch (10667:3): [True: 100, False: 2.04M]
  ------------------
10668|    100|#line 3292 "MachineIndependent/glslang.y"
10669|    100|                 {
10670|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10671|    100|        (yyval.interm.type).basicType = EbtSampler;
10672|    100|        (yyval.interm.type).sampler.setImage(EbtInt, EsdCube);
10673|    100|    }
10674|    100|#line 10675 "MachineIndependent/glslang_tab.cpp"
10675|    100|    break;
10676|       |
10677|    100|  case 491: /* type_specifier_nonarray: UIMAGECUBE  */
  ------------------
  |  Branch (10677:3): [True: 100, False: 2.04M]
  ------------------
10678|    100|#line 3297 "MachineIndependent/glslang.y"
10679|    100|                 {
10680|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10681|    100|        (yyval.interm.type).basicType = EbtSampler;
10682|    100|        (yyval.interm.type).sampler.setImage(EbtUint, EsdCube);
10683|    100|    }
10684|    100|#line 10685 "MachineIndependent/glslang_tab.cpp"
10685|    100|    break;
10686|       |
10687|     84|  case 492: /* type_specifier_nonarray: IMAGEBUFFER  */
  ------------------
  |  Branch (10687:3): [True: 84, False: 2.04M]
  ------------------
10688|     84|#line 3302 "MachineIndependent/glslang.y"
10689|     84|                  {
10690|     84|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     84|#define parseContext (*pParseContext)
  ------------------
10691|     84|        (yyval.interm.type).basicType = EbtSampler;
10692|     84|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdBuffer);
10693|     84|    }
10694|     84|#line 10695 "MachineIndependent/glslang_tab.cpp"
10695|     84|    break;
10696|       |
10697|     84|  case 493: /* type_specifier_nonarray: F16IMAGEBUFFER  */
  ------------------
  |  Branch (10697:3): [True: 84, False: 2.04M]
  ------------------
10698|     84|#line 3307 "MachineIndependent/glslang.y"
10699|     84|                     {
10700|     84|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     84|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     84|#define parseContext (*pParseContext)
  ------------------
10701|     84|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     84|#define parseContext (*pParseContext)
  ------------------
10702|     84|        (yyval.interm.type).basicType = EbtSampler;
10703|     84|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdBuffer);
10704|     84|    }
10705|     84|#line 10706 "MachineIndependent/glslang_tab.cpp"
10706|     84|    break;
10707|       |
10708|     84|  case 494: /* type_specifier_nonarray: IIMAGEBUFFER  */
  ------------------
  |  Branch (10708:3): [True: 84, False: 2.04M]
  ------------------
10709|     84|#line 3313 "MachineIndependent/glslang.y"
10710|     84|                   {
10711|     84|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     84|#define parseContext (*pParseContext)
  ------------------
10712|     84|        (yyval.interm.type).basicType = EbtSampler;
10713|     84|        (yyval.interm.type).sampler.setImage(EbtInt, EsdBuffer);
10714|     84|    }
10715|     84|#line 10716 "MachineIndependent/glslang_tab.cpp"
10716|     84|    break;
10717|       |
10718|     84|  case 495: /* type_specifier_nonarray: UIMAGEBUFFER  */
  ------------------
  |  Branch (10718:3): [True: 84, False: 2.04M]
  ------------------
10719|     84|#line 3318 "MachineIndependent/glslang.y"
10720|     84|                   {
10721|     84|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     84|#define parseContext (*pParseContext)
  ------------------
10722|     84|        (yyval.interm.type).basicType = EbtSampler;
10723|     84|        (yyval.interm.type).sampler.setImage(EbtUint, EsdBuffer);
10724|     84|    }
10725|     84|#line 10726 "MachineIndependent/glslang_tab.cpp"
10726|     84|    break;
10727|       |
10728|     92|  case 496: /* type_specifier_nonarray: IMAGE1DARRAY  */
  ------------------
  |  Branch (10728:3): [True: 92, False: 2.04M]
  ------------------
10729|     92|#line 3323 "MachineIndependent/glslang.y"
10730|     92|                   {
10731|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
10732|     92|        (yyval.interm.type).basicType = EbtSampler;
10733|     92|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd1D, true);
10734|     92|    }
10735|     92|#line 10736 "MachineIndependent/glslang_tab.cpp"
10736|     92|    break;
10737|       |
10738|     92|  case 497: /* type_specifier_nonarray: F16IMAGE1DARRAY  */
  ------------------
  |  Branch (10738:3): [True: 92, False: 2.04M]
  ------------------
10739|     92|#line 3328 "MachineIndependent/glslang.y"
10740|     92|                      {
10741|     92|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
10742|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
10743|     92|        (yyval.interm.type).basicType = EbtSampler;
10744|     92|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd1D, true);
10745|     92|    }
10746|     92|#line 10747 "MachineIndependent/glslang_tab.cpp"
10747|     92|    break;
10748|       |
10749|     92|  case 498: /* type_specifier_nonarray: IIMAGE1DARRAY  */
  ------------------
  |  Branch (10749:3): [True: 92, False: 2.04M]
  ------------------
10750|     92|#line 3334 "MachineIndependent/glslang.y"
10751|     92|                    {
10752|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
10753|     92|        (yyval.interm.type).basicType = EbtSampler;
10754|     92|        (yyval.interm.type).sampler.setImage(EbtInt, Esd1D, true);
10755|     92|    }
10756|     92|#line 10757 "MachineIndependent/glslang_tab.cpp"
10757|     92|    break;
10758|       |
10759|     92|  case 499: /* type_specifier_nonarray: UIMAGE1DARRAY  */
  ------------------
  |  Branch (10759:3): [True: 92, False: 2.04M]
  ------------------
10760|     92|#line 3339 "MachineIndependent/glslang.y"
10761|     92|                    {
10762|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
10763|     92|        (yyval.interm.type).basicType = EbtSampler;
10764|     92|        (yyval.interm.type).sampler.setImage(EbtUint, Esd1D, true);
10765|     92|    }
10766|     92|#line 10767 "MachineIndependent/glslang_tab.cpp"
10767|     92|    break;
10768|       |
10769|    100|  case 500: /* type_specifier_nonarray: IMAGE2DARRAY  */
  ------------------
  |  Branch (10769:3): [True: 100, False: 2.04M]
  ------------------
10770|    100|#line 3344 "MachineIndependent/glslang.y"
10771|    100|                   {
10772|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10773|    100|        (yyval.interm.type).basicType = EbtSampler;
10774|    100|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, true);
10775|    100|    }
10776|    100|#line 10777 "MachineIndependent/glslang_tab.cpp"
10777|    100|    break;
10778|       |
10779|    100|  case 501: /* type_specifier_nonarray: F16IMAGE2DARRAY  */
  ------------------
  |  Branch (10779:3): [True: 100, False: 2.04M]
  ------------------
10780|    100|#line 3349 "MachineIndependent/glslang.y"
10781|    100|                      {
10782|    100|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10783|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10784|    100|        (yyval.interm.type).basicType = EbtSampler;
10785|    100|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, true);
10786|    100|    }
10787|    100|#line 10788 "MachineIndependent/glslang_tab.cpp"
10788|    100|    break;
10789|       |
10790|    100|  case 502: /* type_specifier_nonarray: IIMAGE2DARRAY  */
  ------------------
  |  Branch (10790:3): [True: 100, False: 2.04M]
  ------------------
10791|    100|#line 3355 "MachineIndependent/glslang.y"
10792|    100|                    {
10793|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10794|    100|        (yyval.interm.type).basicType = EbtSampler;
10795|    100|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, true);
10796|    100|    }
10797|    100|#line 10798 "MachineIndependent/glslang_tab.cpp"
10798|    100|    break;
10799|       |
10800|    100|  case 503: /* type_specifier_nonarray: UIMAGE2DARRAY  */
  ------------------
  |  Branch (10800:3): [True: 100, False: 2.04M]
  ------------------
10801|    100|#line 3360 "MachineIndependent/glslang.y"
10802|    100|                    {
10803|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10804|    100|        (yyval.interm.type).basicType = EbtSampler;
10805|    100|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, true);
10806|    100|    }
10807|    100|#line 10808 "MachineIndependent/glslang_tab.cpp"
10808|    100|    break;
10809|       |
10810|    100|  case 504: /* type_specifier_nonarray: IMAGECUBEARRAY  */
  ------------------
  |  Branch (10810:3): [True: 100, False: 2.04M]
  ------------------
10811|    100|#line 3365 "MachineIndependent/glslang.y"
10812|    100|                     {
10813|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10814|    100|        (yyval.interm.type).basicType = EbtSampler;
10815|    100|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdCube, true);
10816|    100|    }
10817|    100|#line 10818 "MachineIndependent/glslang_tab.cpp"
10818|    100|    break;
10819|       |
10820|    100|  case 505: /* type_specifier_nonarray: F16IMAGECUBEARRAY  */
  ------------------
  |  Branch (10820:3): [True: 100, False: 2.04M]
  ------------------
10821|    100|#line 3370 "MachineIndependent/glslang.y"
10822|    100|                        {
10823|    100|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10824|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10825|    100|        (yyval.interm.type).basicType = EbtSampler;
10826|    100|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdCube, true);
10827|    100|    }
10828|    100|#line 10829 "MachineIndependent/glslang_tab.cpp"
10829|    100|    break;
10830|       |
10831|    100|  case 506: /* type_specifier_nonarray: IIMAGECUBEARRAY  */
  ------------------
  |  Branch (10831:3): [True: 100, False: 2.04M]
  ------------------
10832|    100|#line 3376 "MachineIndependent/glslang.y"
10833|    100|                      {
10834|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10835|    100|        (yyval.interm.type).basicType = EbtSampler;
10836|    100|        (yyval.interm.type).sampler.setImage(EbtInt, EsdCube, true);
10837|    100|    }
10838|    100|#line 10839 "MachineIndependent/glslang_tab.cpp"
10839|    100|    break;
10840|       |
10841|    100|  case 507: /* type_specifier_nonarray: UIMAGECUBEARRAY  */
  ------------------
  |  Branch (10841:3): [True: 100, False: 2.04M]
  ------------------
10842|    100|#line 3381 "MachineIndependent/glslang.y"
10843|    100|                      {
10844|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10845|    100|        (yyval.interm.type).basicType = EbtSampler;
10846|    100|        (yyval.interm.type).sampler.setImage(EbtUint, EsdCube, true);
10847|    100|    }
10848|    100|#line 10849 "MachineIndependent/glslang_tab.cpp"
10849|    100|    break;
10850|       |
10851|     92|  case 508: /* type_specifier_nonarray: IMAGE2DMS  */
  ------------------
  |  Branch (10851:3): [True: 92, False: 2.04M]
  ------------------
10852|     92|#line 3386 "MachineIndependent/glslang.y"
10853|     92|                {
10854|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
10855|     92|        (yyval.interm.type).basicType = EbtSampler;
10856|     92|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, false, false, true);
10857|     92|    }
10858|     92|#line 10859 "MachineIndependent/glslang_tab.cpp"
10859|     92|    break;
10860|       |
10861|     92|  case 509: /* type_specifier_nonarray: F16IMAGE2DMS  */
  ------------------
  |  Branch (10861:3): [True: 92, False: 2.04M]
  ------------------
10862|     92|#line 3391 "MachineIndependent/glslang.y"
10863|     92|                   {
10864|     92|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
10865|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
10866|     92|        (yyval.interm.type).basicType = EbtSampler;
10867|     92|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, false, false, true);
10868|     92|    }
10869|     92|#line 10870 "MachineIndependent/glslang_tab.cpp"
10870|     92|    break;
10871|       |
10872|     92|  case 510: /* type_specifier_nonarray: IIMAGE2DMS  */
  ------------------
  |  Branch (10872:3): [True: 92, False: 2.04M]
  ------------------
10873|     92|#line 3397 "MachineIndependent/glslang.y"
10874|     92|                 {
10875|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
10876|     92|        (yyval.interm.type).basicType = EbtSampler;
10877|     92|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, false, false, true);
10878|     92|    }
10879|     92|#line 10880 "MachineIndependent/glslang_tab.cpp"
10880|     92|    break;
10881|       |
10882|     92|  case 511: /* type_specifier_nonarray: UIMAGE2DMS  */
  ------------------
  |  Branch (10882:3): [True: 92, False: 2.04M]
  ------------------
10883|     92|#line 3402 "MachineIndependent/glslang.y"
10884|     92|                 {
10885|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
10886|     92|        (yyval.interm.type).basicType = EbtSampler;
10887|     92|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, false, false, true);
10888|     92|    }
10889|     92|#line 10890 "MachineIndependent/glslang_tab.cpp"
10890|     92|    break;
10891|       |
10892|     92|  case 512: /* type_specifier_nonarray: IMAGE2DMSARRAY  */
  ------------------
  |  Branch (10892:3): [True: 92, False: 2.04M]
  ------------------
10893|     92|#line 3407 "MachineIndependent/glslang.y"
10894|     92|                     {
10895|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
10896|     92|        (yyval.interm.type).basicType = EbtSampler;
10897|     92|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, true, false, true);
10898|     92|    }
10899|     92|#line 10900 "MachineIndependent/glslang_tab.cpp"
10900|     92|    break;
10901|       |
10902|     92|  case 513: /* type_specifier_nonarray: F16IMAGE2DMSARRAY  */
  ------------------
  |  Branch (10902:3): [True: 92, False: 2.04M]
  ------------------
10903|     92|#line 3412 "MachineIndependent/glslang.y"
10904|     92|                        {
10905|     92|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
10906|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
10907|     92|        (yyval.interm.type).basicType = EbtSampler;
10908|     92|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, true, false, true);
10909|     92|    }
10910|     92|#line 10911 "MachineIndependent/glslang_tab.cpp"
10911|     92|    break;
10912|       |
10913|     92|  case 514: /* type_specifier_nonarray: IIMAGE2DMSARRAY  */
  ------------------
  |  Branch (10913:3): [True: 92, False: 2.04M]
  ------------------
10914|     92|#line 3418 "MachineIndependent/glslang.y"
10915|     92|                      {
10916|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
10917|     92|        (yyval.interm.type).basicType = EbtSampler;
10918|     92|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, true, false, true);
10919|     92|    }
10920|     92|#line 10921 "MachineIndependent/glslang_tab.cpp"
10921|     92|    break;
10922|       |
10923|     92|  case 515: /* type_specifier_nonarray: UIMAGE2DMSARRAY  */
  ------------------
  |  Branch (10923:3): [True: 92, False: 2.04M]
  ------------------
10924|     92|#line 3423 "MachineIndependent/glslang.y"
10925|     92|                      {
10926|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
10927|     92|        (yyval.interm.type).basicType = EbtSampler;
10928|     92|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, true, false, true);
10929|     92|    }
10930|     92|#line 10931 "MachineIndependent/glslang_tab.cpp"
10931|     92|    break;
10932|       |
10933|     92|  case 516: /* type_specifier_nonarray: I64IMAGE1D  */
  ------------------
  |  Branch (10933:3): [True: 92, False: 2.04M]
  ------------------
10934|     92|#line 3428 "MachineIndependent/glslang.y"
10935|     92|                 {
10936|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
10937|     92|        (yyval.interm.type).basicType = EbtSampler;
10938|     92|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd1D);
10939|     92|    }
10940|     92|#line 10941 "MachineIndependent/glslang_tab.cpp"
10941|     92|    break;
10942|       |
10943|     92|  case 517: /* type_specifier_nonarray: U64IMAGE1D  */
  ------------------
  |  Branch (10943:3): [True: 92, False: 2.04M]
  ------------------
10944|     92|#line 3433 "MachineIndependent/glslang.y"
10945|     92|                 {
10946|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
10947|     92|        (yyval.interm.type).basicType = EbtSampler;
10948|     92|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd1D);
10949|     92|    }
10950|     92|#line 10951 "MachineIndependent/glslang_tab.cpp"
10951|     92|    break;
10952|       |
10953|    100|  case 518: /* type_specifier_nonarray: I64IMAGE2D  */
  ------------------
  |  Branch (10953:3): [True: 100, False: 2.04M]
  ------------------
10954|    100|#line 3438 "MachineIndependent/glslang.y"
10955|    100|                 {
10956|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10957|    100|        (yyval.interm.type).basicType = EbtSampler;
10958|    100|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D);
10959|    100|    }
10960|    100|#line 10961 "MachineIndependent/glslang_tab.cpp"
10961|    100|    break;
10962|       |
10963|    100|  case 519: /* type_specifier_nonarray: U64IMAGE2D  */
  ------------------
  |  Branch (10963:3): [True: 100, False: 2.04M]
  ------------------
10964|    100|#line 3443 "MachineIndependent/glslang.y"
10965|    100|                 {
10966|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10967|    100|        (yyval.interm.type).basicType = EbtSampler;
10968|    100|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D);
10969|    100|    }
10970|    100|#line 10971 "MachineIndependent/glslang_tab.cpp"
10971|    100|    break;
10972|       |
10973|    100|  case 520: /* type_specifier_nonarray: I64IMAGE3D  */
  ------------------
  |  Branch (10973:3): [True: 100, False: 2.04M]
  ------------------
10974|    100|#line 3448 "MachineIndependent/glslang.y"
10975|    100|                 {
10976|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10977|    100|        (yyval.interm.type).basicType = EbtSampler;
10978|    100|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd3D);
10979|    100|    }
10980|    100|#line 10981 "MachineIndependent/glslang_tab.cpp"
10981|    100|    break;
10982|       |
10983|    100|  case 521: /* type_specifier_nonarray: U64IMAGE3D  */
  ------------------
  |  Branch (10983:3): [True: 100, False: 2.04M]
  ------------------
10984|    100|#line 3453 "MachineIndependent/glslang.y"
10985|    100|                 {
10986|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
10987|    100|        (yyval.interm.type).basicType = EbtSampler;
10988|    100|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd3D);
10989|    100|    }
10990|    100|#line 10991 "MachineIndependent/glslang_tab.cpp"
10991|    100|    break;
10992|       |
10993|     88|  case 522: /* type_specifier_nonarray: I64IMAGE2DRECT  */
  ------------------
  |  Branch (10993:3): [True: 88, False: 2.04M]
  ------------------
10994|     88|#line 3458 "MachineIndependent/glslang.y"
10995|     88|                     {
10996|     88|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     88|#define parseContext (*pParseContext)
  ------------------
10997|     88|        (yyval.interm.type).basicType = EbtSampler;
10998|     88|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdRect);
10999|     88|    }
11000|     88|#line 11001 "MachineIndependent/glslang_tab.cpp"
11001|     88|    break;
11002|       |
11003|     88|  case 523: /* type_specifier_nonarray: U64IMAGE2DRECT  */
  ------------------
  |  Branch (11003:3): [True: 88, False: 2.04M]
  ------------------
11004|     88|#line 3463 "MachineIndependent/glslang.y"
11005|     88|                     {
11006|     88|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     88|#define parseContext (*pParseContext)
  ------------------
11007|     88|        (yyval.interm.type).basicType = EbtSampler;
11008|     88|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdRect);
11009|     88|    }
11010|     88|#line 11011 "MachineIndependent/glslang_tab.cpp"
11011|     88|    break;
11012|       |
11013|    100|  case 524: /* type_specifier_nonarray: I64IMAGECUBE  */
  ------------------
  |  Branch (11013:3): [True: 100, False: 2.04M]
  ------------------
11014|    100|#line 3468 "MachineIndependent/glslang.y"
11015|    100|                   {
11016|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
11017|    100|        (yyval.interm.type).basicType = EbtSampler;
11018|    100|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdCube);
11019|    100|    }
11020|    100|#line 11021 "MachineIndependent/glslang_tab.cpp"
11021|    100|    break;
11022|       |
11023|    100|  case 525: /* type_specifier_nonarray: U64IMAGECUBE  */
  ------------------
  |  Branch (11023:3): [True: 100, False: 2.04M]
  ------------------
11024|    100|#line 3473 "MachineIndependent/glslang.y"
11025|    100|                   {
11026|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
11027|    100|        (yyval.interm.type).basicType = EbtSampler;
11028|    100|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdCube);
11029|    100|    }
11030|    100|#line 11031 "MachineIndependent/glslang_tab.cpp"
11031|    100|    break;
11032|       |
11033|     84|  case 526: /* type_specifier_nonarray: I64IMAGEBUFFER  */
  ------------------
  |  Branch (11033:3): [True: 84, False: 2.04M]
  ------------------
11034|     84|#line 3478 "MachineIndependent/glslang.y"
11035|     84|                     {
11036|     84|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     84|#define parseContext (*pParseContext)
  ------------------
11037|     84|        (yyval.interm.type).basicType = EbtSampler;
11038|     84|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdBuffer);
11039|     84|    }
11040|     84|#line 11041 "MachineIndependent/glslang_tab.cpp"
11041|     84|    break;
11042|       |
11043|     84|  case 527: /* type_specifier_nonarray: U64IMAGEBUFFER  */
  ------------------
  |  Branch (11043:3): [True: 84, False: 2.04M]
  ------------------
11044|     84|#line 3483 "MachineIndependent/glslang.y"
11045|     84|                     {
11046|     84|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     84|#define parseContext (*pParseContext)
  ------------------
11047|     84|        (yyval.interm.type).basicType = EbtSampler;
11048|     84|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdBuffer);
11049|     84|    }
11050|     84|#line 11051 "MachineIndependent/glslang_tab.cpp"
11051|     84|    break;
11052|       |
11053|     92|  case 528: /* type_specifier_nonarray: I64IMAGE1DARRAY  */
  ------------------
  |  Branch (11053:3): [True: 92, False: 2.04M]
  ------------------
11054|     92|#line 3488 "MachineIndependent/glslang.y"
11055|     92|                      {
11056|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
11057|     92|        (yyval.interm.type).basicType = EbtSampler;
11058|     92|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd1D, true);
11059|     92|    }
11060|     92|#line 11061 "MachineIndependent/glslang_tab.cpp"
11061|     92|    break;
11062|       |
11063|     92|  case 529: /* type_specifier_nonarray: U64IMAGE1DARRAY  */
  ------------------
  |  Branch (11063:3): [True: 92, False: 2.04M]
  ------------------
11064|     92|#line 3493 "MachineIndependent/glslang.y"
11065|     92|                      {
11066|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
11067|     92|        (yyval.interm.type).basicType = EbtSampler;
11068|     92|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd1D, true);
11069|     92|    }
11070|     92|#line 11071 "MachineIndependent/glslang_tab.cpp"
11071|     92|    break;
11072|       |
11073|    100|  case 530: /* type_specifier_nonarray: I64IMAGE2DARRAY  */
  ------------------
  |  Branch (11073:3): [True: 100, False: 2.04M]
  ------------------
11074|    100|#line 3498 "MachineIndependent/glslang.y"
11075|    100|                      {
11076|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
11077|    100|        (yyval.interm.type).basicType = EbtSampler;
11078|    100|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, true);
11079|    100|    }
11080|    100|#line 11081 "MachineIndependent/glslang_tab.cpp"
11081|    100|    break;
11082|       |
11083|    100|  case 531: /* type_specifier_nonarray: U64IMAGE2DARRAY  */
  ------------------
  |  Branch (11083:3): [True: 100, False: 2.04M]
  ------------------
11084|    100|#line 3503 "MachineIndependent/glslang.y"
11085|    100|                      {
11086|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
11087|    100|        (yyval.interm.type).basicType = EbtSampler;
11088|    100|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, true);
11089|    100|    }
11090|    100|#line 11091 "MachineIndependent/glslang_tab.cpp"
11091|    100|    break;
11092|       |
11093|    100|  case 532: /* type_specifier_nonarray: I64IMAGECUBEARRAY  */
  ------------------
  |  Branch (11093:3): [True: 100, False: 2.04M]
  ------------------
11094|    100|#line 3508 "MachineIndependent/glslang.y"
11095|    100|                        {
11096|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
11097|    100|        (yyval.interm.type).basicType = EbtSampler;
11098|    100|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdCube, true);
11099|    100|    }
11100|    100|#line 11101 "MachineIndependent/glslang_tab.cpp"
11101|    100|    break;
11102|       |
11103|    100|  case 533: /* type_specifier_nonarray: U64IMAGECUBEARRAY  */
  ------------------
  |  Branch (11103:3): [True: 100, False: 2.04M]
  ------------------
11104|    100|#line 3513 "MachineIndependent/glslang.y"
11105|    100|                        {
11106|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
11107|    100|        (yyval.interm.type).basicType = EbtSampler;
11108|    100|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdCube, true);
11109|    100|    }
11110|    100|#line 11111 "MachineIndependent/glslang_tab.cpp"
11111|    100|    break;
11112|       |
11113|     92|  case 534: /* type_specifier_nonarray: I64IMAGE2DMS  */
  ------------------
  |  Branch (11113:3): [True: 92, False: 2.04M]
  ------------------
11114|     92|#line 3518 "MachineIndependent/glslang.y"
11115|     92|                   {
11116|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
11117|     92|        (yyval.interm.type).basicType = EbtSampler;
11118|     92|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, false, false, true);
11119|     92|    }
11120|     92|#line 11121 "MachineIndependent/glslang_tab.cpp"
11121|     92|    break;
11122|       |
11123|     92|  case 535: /* type_specifier_nonarray: U64IMAGE2DMS  */
  ------------------
  |  Branch (11123:3): [True: 92, False: 2.04M]
  ------------------
11124|     92|#line 3523 "MachineIndependent/glslang.y"
11125|     92|                   {
11126|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
11127|     92|        (yyval.interm.type).basicType = EbtSampler;
11128|     92|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, false, false, true);
11129|     92|    }
11130|     92|#line 11131 "MachineIndependent/glslang_tab.cpp"
11131|     92|    break;
11132|       |
11133|     92|  case 536: /* type_specifier_nonarray: I64IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11133:3): [True: 92, False: 2.04M]
  ------------------
11134|     92|#line 3528 "MachineIndependent/glslang.y"
11135|     92|                        {
11136|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
11137|     92|        (yyval.interm.type).basicType = EbtSampler;
11138|     92|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, true, false, true);
11139|     92|    }
11140|     92|#line 11141 "MachineIndependent/glslang_tab.cpp"
11141|     92|    break;
11142|       |
11143|     92|  case 537: /* type_specifier_nonarray: U64IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11143:3): [True: 92, False: 2.04M]
  ------------------
11144|     92|#line 3533 "MachineIndependent/glslang.y"
11145|     92|                        {
11146|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     92|#define parseContext (*pParseContext)
  ------------------
11147|     92|        (yyval.interm.type).basicType = EbtSampler;
11148|     92|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, true, false, true);
11149|     92|    }
11150|     92|#line 11151 "MachineIndependent/glslang_tab.cpp"
11151|     92|    break;
11152|       |
11153|    270|  case 538: /* type_specifier_nonarray: SAMPLEREXTERNALOES  */
  ------------------
  |  Branch (11153:3): [True: 270, False: 2.04M]
  ------------------
11154|    270|#line 3538 "MachineIndependent/glslang.y"
11155|    270|                         {  // GL_OES_EGL_image_external
11156|    270|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    270|#define parseContext (*pParseContext)
  ------------------
11157|    270|        (yyval.interm.type).basicType = EbtSampler;
11158|    270|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
11159|    270|        (yyval.interm.type).sampler.external = true;
11160|    270|    }
11161|    270|#line 11162 "MachineIndependent/glslang_tab.cpp"
11162|    270|    break;
11163|       |
11164|    720|  case 539: /* type_specifier_nonarray: SAMPLEREXTERNAL2DY2YEXT  */
  ------------------
  |  Branch (11164:3): [True: 720, False: 2.04M]
  ------------------
11165|    720|#line 3544 "MachineIndependent/glslang.y"
11166|    720|                              { // GL_EXT_YUV_target
11167|    720|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    720|#define parseContext (*pParseContext)
  ------------------
11168|    720|        (yyval.interm.type).basicType = EbtSampler;
11169|    720|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
11170|    720|        (yyval.interm.type).sampler.yuv = true;
11171|    720|    }
11172|    720|#line 11173 "MachineIndependent/glslang_tab.cpp"
11173|    720|    break;
11174|       |
11175|      0|  case 540: /* type_specifier_nonarray: ATTACHMENTEXT  */
  ------------------
  |  Branch (11175:3): [True: 0, False: 2.04M]
  ------------------
11176|      0|#line 3550 "MachineIndependent/glslang.y"
11177|      0|                    {
11178|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11179|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11180|      0|        (yyval.interm.type).basicType = EbtSampler;
11181|      0|        (yyval.interm.type).sampler.setAttachmentEXT(EbtFloat);
11182|      0|    }
11183|      0|#line 11184 "MachineIndependent/glslang_tab.cpp"
11184|      0|    break;
11185|       |
11186|      0|  case 541: /* type_specifier_nonarray: IATTACHMENTEXT  */
  ------------------
  |  Branch (11186:3): [True: 0, False: 2.04M]
  ------------------
11187|      0|#line 3556 "MachineIndependent/glslang.y"
11188|      0|                     {
11189|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11190|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11191|      0|        (yyval.interm.type).basicType = EbtSampler;
11192|      0|        (yyval.interm.type).sampler.setAttachmentEXT(EbtInt);
11193|      0|    }
11194|      0|#line 11195 "MachineIndependent/glslang_tab.cpp"
11195|      0|    break;
11196|       |
11197|      0|  case 542: /* type_specifier_nonarray: UATTACHMENTEXT  */
  ------------------
  |  Branch (11197:3): [True: 0, False: 2.04M]
  ------------------
11198|      0|#line 3562 "MachineIndependent/glslang.y"
11199|      0|                     {
11200|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11201|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11202|      0|        (yyval.interm.type).basicType = EbtSampler;
11203|      0|        (yyval.interm.type).sampler.setAttachmentEXT(EbtUint);
11204|      0|    }
11205|      0|#line 11206 "MachineIndependent/glslang_tab.cpp"
11206|      0|    break;
11207|       |
11208|      0|  case 543: /* type_specifier_nonarray: SUBPASSINPUT  */
  ------------------
  |  Branch (11208:3): [True: 0, False: 2.04M]
  ------------------
11209|      0|#line 3568 "MachineIndependent/glslang.y"
11210|      0|                   {
11211|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11212|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11213|      0|        (yyval.interm.type).basicType = EbtSampler;
11214|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat);
11215|      0|    }
11216|      0|#line 11217 "MachineIndependent/glslang_tab.cpp"
11217|      0|    break;
11218|       |
11219|      0|  case 544: /* type_specifier_nonarray: SUBPASSINPUTMS  */
  ------------------
  |  Branch (11219:3): [True: 0, False: 2.04M]
  ------------------
11220|      0|#line 3574 "MachineIndependent/glslang.y"
11221|      0|                     {
11222|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11223|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11224|      0|        (yyval.interm.type).basicType = EbtSampler;
11225|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat, true);
11226|      0|    }
11227|      0|#line 11228 "MachineIndependent/glslang_tab.cpp"
11228|      0|    break;
11229|       |
11230|      0|  case 545: /* type_specifier_nonarray: F16SUBPASSINPUT  */
  ------------------
  |  Branch (11230:3): [True: 0, False: 2.04M]
  ------------------
11231|      0|#line 3580 "MachineIndependent/glslang.y"
11232|      0|                      {
11233|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11234|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11235|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11236|      0|        (yyval.interm.type).basicType = EbtSampler;
11237|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat16);
11238|      0|    }
11239|      0|#line 11240 "MachineIndependent/glslang_tab.cpp"
11240|      0|    break;
11241|       |
11242|      0|  case 546: /* type_specifier_nonarray: F16SUBPASSINPUTMS  */
  ------------------
  |  Branch (11242:3): [True: 0, False: 2.04M]
  ------------------
11243|      0|#line 3587 "MachineIndependent/glslang.y"
11244|      0|                        {
11245|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11246|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11247|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11248|      0|        (yyval.interm.type).basicType = EbtSampler;
11249|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat16, true);
11250|      0|    }
11251|      0|#line 11252 "MachineIndependent/glslang_tab.cpp"
11252|      0|    break;
11253|       |
11254|      0|  case 547: /* type_specifier_nonarray: ISUBPASSINPUT  */
  ------------------
  |  Branch (11254:3): [True: 0, False: 2.04M]
  ------------------
11255|      0|#line 3594 "MachineIndependent/glslang.y"
11256|      0|                    {
11257|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11258|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11259|      0|        (yyval.interm.type).basicType = EbtSampler;
11260|      0|        (yyval.interm.type).sampler.setSubpass(EbtInt);
11261|      0|    }
11262|      0|#line 11263 "MachineIndependent/glslang_tab.cpp"
11263|      0|    break;
11264|       |
11265|      0|  case 548: /* type_specifier_nonarray: ISUBPASSINPUTMS  */
  ------------------
  |  Branch (11265:3): [True: 0, False: 2.04M]
  ------------------
11266|      0|#line 3600 "MachineIndependent/glslang.y"
11267|      0|                      {
11268|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11269|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11270|      0|        (yyval.interm.type).basicType = EbtSampler;
11271|      0|        (yyval.interm.type).sampler.setSubpass(EbtInt, true);
11272|      0|    }
11273|      0|#line 11274 "MachineIndependent/glslang_tab.cpp"
11274|      0|    break;
11275|       |
11276|      0|  case 549: /* type_specifier_nonarray: USUBPASSINPUT  */
  ------------------
  |  Branch (11276:3): [True: 0, False: 2.04M]
  ------------------
11277|      0|#line 3606 "MachineIndependent/glslang.y"
11278|      0|                    {
11279|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11280|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11281|      0|        (yyval.interm.type).basicType = EbtSampler;
11282|      0|        (yyval.interm.type).sampler.setSubpass(EbtUint);
11283|      0|    }
11284|      0|#line 11285 "MachineIndependent/glslang_tab.cpp"
11285|      0|    break;
11286|       |
11287|      0|  case 550: /* type_specifier_nonarray: USUBPASSINPUTMS  */
  ------------------
  |  Branch (11287:3): [True: 0, False: 2.04M]
  ------------------
11288|      0|#line 3612 "MachineIndependent/glslang.y"
11289|      0|                      {
11290|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11291|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11292|      0|        (yyval.interm.type).basicType = EbtSampler;
11293|      0|        (yyval.interm.type).sampler.setSubpass(EbtUint, true);
11294|      0|    }
11295|      0|#line 11296 "MachineIndependent/glslang_tab.cpp"
11296|      0|    break;
11297|       |
11298|     84|  case 551: /* type_specifier_nonarray: FCOOPMATNV  */
  ------------------
  |  Branch (11298:3): [True: 84, False: 2.04M]
  ------------------
11299|     84|#line 3618 "MachineIndependent/glslang.y"
11300|     84|                 {
11301|     84|        parseContext.fcoopmatCheckNV((yyvsp[0].lex).loc, "fcoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     84|#define parseContext (*pParseContext)
  ------------------
                      parseContext.fcoopmatCheckNV((yyvsp[0].lex).loc, "fcoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     84|#define parseContext (*pParseContext)
  ------------------
11302|     84|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     84|#define parseContext (*pParseContext)
  ------------------
11303|     84|        (yyval.interm.type).basicType = EbtFloat;
11304|     84|        (yyval.interm.type).coopmatNV = true;
11305|     84|        (yyval.interm.type).coopmatKHR = false;
11306|     84|    }
11307|     84|#line 11308 "MachineIndependent/glslang_tab.cpp"
11308|     84|    break;
11309|       |
11310|    112|  case 552: /* type_specifier_nonarray: ICOOPMATNV  */
  ------------------
  |  Branch (11310:3): [True: 112, False: 2.04M]
  ------------------
11311|    112|#line 3625 "MachineIndependent/glslang.y"
11312|    112|                 {
11313|    112|        parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "icoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    112|#define parseContext (*pParseContext)
  ------------------
                      parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "icoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    112|#define parseContext (*pParseContext)
  ------------------
11314|    112|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    112|#define parseContext (*pParseContext)
  ------------------
11315|    112|        (yyval.interm.type).basicType = EbtInt;
11316|    112|        (yyval.interm.type).coopmatNV = true;
11317|    112|        (yyval.interm.type).coopmatKHR = false;
11318|    112|    }
11319|    112|#line 11320 "MachineIndependent/glslang_tab.cpp"
11320|    112|    break;
11321|       |
11322|    112|  case 553: /* type_specifier_nonarray: UCOOPMATNV  */
  ------------------
  |  Branch (11322:3): [True: 112, False: 2.04M]
  ------------------
11323|    112|#line 3632 "MachineIndependent/glslang.y"
11324|    112|                 {
11325|    112|        parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "ucoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    112|#define parseContext (*pParseContext)
  ------------------
                      parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "ucoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    112|#define parseContext (*pParseContext)
  ------------------
11326|    112|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    112|#define parseContext (*pParseContext)
  ------------------
11327|    112|        (yyval.interm.type).basicType = EbtUint;
11328|    112|        (yyval.interm.type).coopmatNV = true;
11329|    112|        (yyval.interm.type).coopmatKHR = false;
11330|    112|    }
11331|    112|#line 11332 "MachineIndependent/glslang_tab.cpp"
11332|    112|    break;
11333|       |
11334|    848|  case 554: /* type_specifier_nonarray: COOPMAT  */
  ------------------
  |  Branch (11334:3): [True: 848, False: 2.04M]
  ------------------
11335|    848|#line 3639 "MachineIndependent/glslang.y"
11336|    848|              {
11337|    848|        parseContext.coopmatCheck((yyvsp[0].lex).loc, "coopmat", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    848|#define parseContext (*pParseContext)
  ------------------
                      parseContext.coopmatCheck((yyvsp[0].lex).loc, "coopmat", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    848|#define parseContext (*pParseContext)
  ------------------
11338|    848|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    848|#define parseContext (*pParseContext)
  ------------------
11339|    848|        (yyval.interm.type).basicType = EbtCoopmat;
11340|    848|        (yyval.interm.type).coopmatNV = false;
11341|    848|        (yyval.interm.type).coopmatKHR = true;
11342|    848|    }
11343|    848|#line 11344 "MachineIndependent/glslang_tab.cpp"
11344|    848|    break;
11345|       |
11346|    240|  case 555: /* type_specifier_nonarray: TENSORLAYOUTNV  */
  ------------------
  |  Branch (11346:3): [True: 240, False: 2.04M]
  ------------------
11347|    240|#line 3646 "MachineIndependent/glslang.y"
11348|    240|                     {
11349|    240|        parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorLayoutNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    240|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorLayoutNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    240|#define parseContext (*pParseContext)
  ------------------
11350|    240|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    240|#define parseContext (*pParseContext)
  ------------------
11351|    240|        (yyval.interm.type).basicType = EbtTensorLayoutNV;
11352|    240|    }
11353|    240|#line 11354 "MachineIndependent/glslang_tab.cpp"
11354|    240|    break;
11355|       |
11356|    148|  case 556: /* type_specifier_nonarray: TENSORVIEWNV  */
  ------------------
  |  Branch (11356:3): [True: 148, False: 2.04M]
  ------------------
11357|    148|#line 3651 "MachineIndependent/glslang.y"
11358|    148|                   {
11359|    148|        parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorViewNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    148|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorViewNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    148|#define parseContext (*pParseContext)
  ------------------
11360|    148|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    148|#define parseContext (*pParseContext)
  ------------------
11361|    148|        (yyval.interm.type).basicType = EbtTensorViewNV;
11362|    148|    }
11363|    148|#line 11364 "MachineIndependent/glslang_tab.cpp"
11364|    148|    break;
11365|       |
11366|     52|  case 557: /* type_specifier_nonarray: FUNCTION  */
  ------------------
  |  Branch (11366:3): [True: 52, False: 2.04M]
  ------------------
11367|     52|#line 3656 "MachineIndependent/glslang.y"
11368|     52|               {
11369|     52|        (yyval.interm.type).init((yyvsp[0].lex).loc);
11370|     52|        (yyval.interm.type).basicType = EbtFunction;
11371|     52|    }
11372|     52|#line 11373 "MachineIndependent/glslang_tab.cpp"
11373|     52|    break;
11374|       |
11375|  3.18k|  case 558: /* type_specifier_nonarray: COOPVECNV  */
  ------------------
  |  Branch (11375:3): [True: 3.18k, False: 2.04M]
  ------------------
11376|  3.18k|#line 3660 "MachineIndependent/glslang.y"
11377|  3.18k|                {
11378|  3.18k|        parseContext.coopvecCheck((yyvsp[0].lex).loc, "coopvecNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  3.18k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.coopvecCheck((yyvsp[0].lex).loc, "coopvecNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  3.18k|#define parseContext (*pParseContext)
  ------------------
11379|  3.18k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  3.18k|#define parseContext (*pParseContext)
  ------------------
11380|  3.18k|        (yyval.interm.type).basicType = EbtCoopvecNV;
11381|  3.18k|        (yyval.interm.type).coopvecNV = true;
11382|  3.18k|    }
11383|  3.18k|#line 11384 "MachineIndependent/glslang_tab.cpp"
11384|  3.18k|    break;
11385|       |
11386|    244|  case 559: /* type_specifier_nonarray: TENSORARM  */
  ------------------
  |  Branch (11386:3): [True: 244, False: 2.04M]
  ------------------
11387|    244|#line 3666 "MachineIndependent/glslang.y"
11388|    244|                {
11389|    244|        parseContext.tensorCheckARM((yyvsp[0].lex).loc, "tensorARM", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    244|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorCheckARM((yyvsp[0].lex).loc, "tensorARM", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    244|#define parseContext (*pParseContext)
  ------------------
11390|    244|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    244|#define parseContext (*pParseContext)
  ------------------
11391|    244|        (yyval.interm.type).tensorRankARM = 1; // placeholder value
11392|    244|        (yyval.interm.type).basicType = EbtTensorARM;
11393|    244|    }
11394|    244|#line 11395 "MachineIndependent/glslang_tab.cpp"
11395|    244|    break;
11396|       |
11397|  2.35k|  case 560: /* type_specifier_nonarray: VECTOR  */
  ------------------
  |  Branch (11397:3): [True: 2.35k, False: 2.04M]
  ------------------
11398|  2.35k|#line 3672 "MachineIndependent/glslang.y"
11399|  2.35k|             {
11400|  2.35k|        parseContext.longVectorCheck((yyvsp[0].lex).loc, "vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.35k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.longVectorCheck((yyvsp[0].lex).loc, "vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.35k|#define parseContext (*pParseContext)
  ------------------
11401|  2.35k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.35k|#define parseContext (*pParseContext)
  ------------------
11402|  2.35k|        (yyval.interm.type).basicType = EbtLongVector;
11403|  2.35k|        (yyval.interm.type).longVector = true;
11404|  2.35k|    }
11405|  2.35k|#line 11406 "MachineIndependent/glslang_tab.cpp"
11406|  2.35k|    break;
11407|       |
11408|      0|  case 561: /* type_specifier_nonarray: spirv_type_specifier  */
  ------------------
  |  Branch (11408:3): [True: 0, False: 2.04M]
  ------------------
11409|      0|#line 3678 "MachineIndependent/glslang.y"
11410|      0|                           {
11411|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V type specifier");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11412|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
11413|      0|    }
11414|      0|#line 11415 "MachineIndependent/glslang_tab.cpp"
11415|      0|    break;
11416|       |
11417|      0|  case 562: /* type_specifier_nonarray: HITOBJECTNV  */
  ------------------
  |  Branch (11417:3): [True: 0, False: 2.04M]
  ------------------
11418|      0|#line 3682 "MachineIndependent/glslang.y"
11419|      0|                  {
11420|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11421|      0|       (yyval.interm.type).basicType = EbtHitObjectNV;
11422|      0|    }
11423|      0|#line 11424 "MachineIndependent/glslang_tab.cpp"
11424|      0|    break;
11425|       |
11426|      0|  case 563: /* type_specifier_nonarray: HITOBJECTEXT  */
  ------------------
  |  Branch (11426:3): [True: 0, False: 2.04M]
  ------------------
11427|      0|#line 3686 "MachineIndependent/glslang.y"
11428|      0|                   {
11429|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11430|      0|       (yyval.interm.type).basicType = EbtHitObjectEXT;
11431|      0|    }
11432|      0|#line 11433 "MachineIndependent/glslang_tab.cpp"
11433|      0|    break;
11434|       |
11435|    102|  case 564: /* type_specifier_nonarray: struct_specifier  */
  ------------------
  |  Branch (11435:3): [True: 102, False: 2.04M]
  ------------------
11436|    102|#line 3690 "MachineIndependent/glslang.y"
11437|    102|                       {
11438|    102|        (yyval.interm.type) = (yyvsp[0].interm.type);
11439|    102|        (yyval.interm.type).qualifier.storage = parseContext.symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
  ------------------
  |  |  756|    102|#define parseContext (*pParseContext)
  ------------------
  |  Branch (11439:49): [True: 102, False: 0]
  ------------------
11440|    102|        parseContext.structTypeCheck((yyval.interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  756|    102|#define parseContext (*pParseContext)
  ------------------
11441|    102|    }
11442|    102|#line 11443 "MachineIndependent/glslang_tab.cpp"
11443|    102|    break;
11444|       |
11445|    142|  case 565: /* type_specifier_nonarray: TYPE_NAME  */
  ------------------
  |  Branch (11445:3): [True: 142, False: 2.04M]
  ------------------
11446|    142|#line 3695 "MachineIndependent/glslang.y"
11447|    142|                {
11448|       |        //
11449|       |        // This is for user defined type names.  The lexical phase looked up the
11450|       |        // type.
11451|       |        //
11452|    142|        if (const TVariable* variable = ((yyvsp[0].lex).symbol)->getAsVariable()) {
  ------------------
  |  Branch (11452:30): [True: 142, False: 0]
  ------------------
11453|    142|            const TType& structure = variable->getType();
11454|    142|            (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    142|#define parseContext (*pParseContext)
  ------------------
11455|    142|            (yyval.interm.type).basicType = EbtStruct;
11456|    142|            (yyval.interm.type).userDef = &structure;
11457|    142|        } else
11458|      0|            parseContext.error((yyvsp[0].lex).loc, "expected type name", (yyvsp[0].lex).string->c_str(), "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11459|    142|    }
11460|    142|#line 11461 "MachineIndependent/glslang_tab.cpp"
11461|    142|    break;
11462|       |
11463|  8.52k|  case 566: /* precision_qualifier: HIGH_PRECISION  */
  ------------------
  |  Branch (11463:3): [True: 8.52k, False: 2.03M]
  ------------------
11464|  8.52k|#line 3711 "MachineIndependent/glslang.y"
11465|  8.52k|                     {
11466|  8.52k|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "highp precision qualifier");
  ------------------
  |  |  756|  8.52k|#define parseContext (*pParseContext)
  ------------------
11467|  8.52k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  8.52k|#define parseContext (*pParseContext)
  ------------------
11468|  8.52k|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqHigh);
  ------------------
  |  |  756|  8.52k|#define parseContext (*pParseContext)
  ------------------
11469|  8.52k|    }
11470|  8.52k|#line 11471 "MachineIndependent/glslang_tab.cpp"
11471|  8.52k|    break;
11472|       |
11473|    700|  case 567: /* precision_qualifier: MEDIUM_PRECISION  */
  ------------------
  |  Branch (11473:3): [True: 700, False: 2.04M]
  ------------------
11474|    700|#line 3716 "MachineIndependent/glslang.y"
11475|    700|                       {
11476|    700|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "mediump precision qualifier");
  ------------------
  |  |  756|    700|#define parseContext (*pParseContext)
  ------------------
11477|    700|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    700|#define parseContext (*pParseContext)
  ------------------
11478|    700|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqMedium);
  ------------------
  |  |  756|    700|#define parseContext (*pParseContext)
  ------------------
11479|    700|    }
11480|    700|#line 11481 "MachineIndependent/glslang_tab.cpp"
11481|    700|    break;
11482|       |
11483|     40|  case 568: /* precision_qualifier: LOW_PRECISION  */
  ------------------
  |  Branch (11483:3): [True: 40, False: 2.04M]
  ------------------
11484|     40|#line 3721 "MachineIndependent/glslang.y"
11485|     40|                    {
11486|     40|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "lowp precision qualifier");
  ------------------
  |  |  756|     40|#define parseContext (*pParseContext)
  ------------------
11487|     40|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     40|#define parseContext (*pParseContext)
  ------------------
11488|     40|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqLow);
  ------------------
  |  |  756|     40|#define parseContext (*pParseContext)
  ------------------
11489|     40|    }
11490|     40|#line 11491 "MachineIndependent/glslang_tab.cpp"
11491|     40|    break;
11492|       |
11493|    102|  case 569: /* $@3: %empty  */
  ------------------
  |  Branch (11493:3): [True: 102, False: 2.04M]
  ------------------
11494|    102|#line 3729 "MachineIndependent/glslang.y"
11495|    102|                                   { parseContext.nestedStructCheck((yyvsp[-2].lex).loc); }
  ------------------
  |  |  756|    102|#define parseContext (*pParseContext)
  ------------------
11496|    102|#line 11497 "MachineIndependent/glslang_tab.cpp"
11497|    102|    break;
11498|       |
11499|    102|  case 570: /* struct_specifier: STRUCT IDENTIFIER LEFT_BRACE $@3 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (11499:3): [True: 102, False: 2.04M]
  ------------------
11500|    102|#line 3729 "MachineIndependent/glslang.y"
11501|    102|                                                                                                                   {
11502|    102|        TType* structure = new TType((yyvsp[-1].interm.typeList), *(yyvsp[-4].lex).string);
11503|    102|        parseContext.structArrayCheck((yyvsp[-4].lex).loc, *structure);
  ------------------
  |  |  756|    102|#define parseContext (*pParseContext)
  ------------------
11504|       |
11505|    102|        TVariable* userTypeDef = new TVariable((yyvsp[-4].lex).string, *structure, true);
11506|    102|        if (! parseContext.symbolTable.insert(*userTypeDef))
  ------------------
  |  |  756|    102|#define parseContext (*pParseContext)
  ------------------
  |  Branch (11506:13): [True: 0, False: 102]
  ------------------
11507|      0|            parseContext.error((yyvsp[-4].lex).loc, "redefinition", (yyvsp[-4].lex).string->c_str(), "struct");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11508|    102|        else if (parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  756|    102|#define parseContext (*pParseContext)
  ------------------
  |  Branch (11508:18): [True: 0, False: 102]
  ------------------
11509|      0|                 && structure->containsOpaque())
  ------------------
  |  Branch (11509:21): [True: 0, False: 0]
  ------------------
11510|      0|            parseContext.relaxedSymbols.push_back(structure->getTypeName());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11511|       |
11512|    102|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
11513|    102|        (yyval.interm.type).basicType = EbtStruct;
11514|    102|        (yyval.interm.type).userDef = structure;
11515|    102|        --parseContext.structNestingLevel;
  ------------------
  |  |  756|    102|#define parseContext (*pParseContext)
  ------------------
11516|    102|    }
11517|    102|#line 11518 "MachineIndependent/glslang_tab.cpp"
11518|    102|    break;
11519|       |
11520|      0|  case 571: /* $@4: %empty  */
  ------------------
  |  Branch (11520:3): [True: 0, False: 2.04M]
  ------------------
11521|      0|#line 3745 "MachineIndependent/glslang.y"
11522|      0|                        { parseContext.nestedStructCheck((yyvsp[-1].lex).loc); }
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11523|      0|#line 11524 "MachineIndependent/glslang_tab.cpp"
11524|      0|    break;
11525|       |
11526|      0|  case 572: /* struct_specifier: STRUCT LEFT_BRACE $@4 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (11526:3): [True: 0, False: 2.04M]
  ------------------
11527|      0|#line 3745 "MachineIndependent/glslang.y"
11528|      0|                                                                                                        {
11529|      0|        TType* structure = new TType((yyvsp[-1].interm.typeList), TString(""));
11530|      0|        (yyval.interm.type).init((yyvsp[-4].lex).loc);
11531|      0|        (yyval.interm.type).basicType = EbtStruct;
11532|      0|        (yyval.interm.type).userDef = structure;
11533|      0|        --parseContext.structNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11534|      0|    }
11535|      0|#line 11536 "MachineIndependent/glslang_tab.cpp"
11536|      0|    break;
11537|       |
11538|    102|  case 573: /* struct_declaration_list: struct_declaration_without_heap  */
  ------------------
  |  Branch (11538:3): [True: 102, False: 2.04M]
  ------------------
11539|    102|#line 3755 "MachineIndependent/glslang.y"
11540|    102|                                      {
11541|    102|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
11542|    102|    }
11543|    102|#line 11544 "MachineIndependent/glslang_tab.cpp"
11544|    102|    break;
11545|       |
11546|      0|  case 574: /* struct_declaration_list: struct_declaration_with_heap  */
  ------------------
  |  Branch (11546:3): [True: 0, False: 2.04M]
  ------------------
11547|      0|#line 3758 "MachineIndependent/glslang.y"
11548|      0|                                   {
11549|      0|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
11550|      0|    }
11551|      0|#line 11552 "MachineIndependent/glslang_tab.cpp"
11552|      0|    break;
11553|       |
11554|      0|  case 575: /* struct_declaration_list: struct_declaration_with_heap struct_declaration_without_heap  */
  ------------------
  |  Branch (11554:3): [True: 0, False: 2.04M]
  ------------------
11555|      0|#line 3761 "MachineIndependent/glslang.y"
11556|      0|                                                                   {
11557|      0|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
11558|      0|        for (unsigned int i = 0; i < (yyvsp[0].interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (11558:34): [True: 0, False: 0]
  ------------------
11559|      0|            for (unsigned int j = 0; j < (yyval.interm.typeList)->size(); ++j) {
  ------------------
  |  Branch (11559:38): [True: 0, False: 0]
  ------------------
11560|      0|                if ((*(yyval.interm.typeList))[j].type->getFieldName() == (*(yyvsp[0].interm.typeList))[i].type->getFieldName())
  ------------------
  |  Branch (11560:21): [True: 0, False: 0]
  ------------------
11561|      0|                    parseContext.error((*(yyvsp[0].interm.typeList))[i].loc, "duplicate member name:", "", (*(yyvsp[0].interm.typeList))[i].type->getFieldName().c_str());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11562|      0|            }
11563|      0|            (yyval.interm.typeList)->push_back((*(yyvsp[0].interm.typeList))[i]);
11564|      0|        }
11565|      0|    }
11566|      0|#line 11567 "MachineIndependent/glslang_tab.cpp"
11567|      0|    break;
11568|       |
11569|      0|  case 576: /* struct_declaration_list: struct_declaration_without_heap struct_declaration_with_heap  */
  ------------------
  |  Branch (11569:3): [True: 0, False: 2.04M]
  ------------------
11570|      0|#line 3771 "MachineIndependent/glslang.y"
11571|      0|                                                                   {
11572|      0|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
11573|      0|        for (unsigned int i = 0; i < (yyvsp[0].interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (11573:34): [True: 0, False: 0]
  ------------------
11574|      0|            for (unsigned int j = 0; j < (yyval.interm.typeList)->size(); ++j) {
  ------------------
  |  Branch (11574:38): [True: 0, False: 0]
  ------------------
11575|      0|                if ((*(yyval.interm.typeList))[j].type->getFieldName() == (*(yyvsp[0].interm.typeList))[i].type->getFieldName())
  ------------------
  |  Branch (11575:21): [True: 0, False: 0]
  ------------------
11576|      0|                    parseContext.error((*(yyvsp[0].interm.typeList))[i].loc, "duplicate member name:", "", (*(yyvsp[0].interm.typeList))[i].type->getFieldName().c_str());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11577|      0|            }
11578|      0|            (yyval.interm.typeList)->push_back((*(yyvsp[0].interm.typeList))[i]);
11579|      0|        }
11580|      0|    }
11581|      0|#line 11582 "MachineIndependent/glslang_tab.cpp"
11582|      0|    break;
11583|       |
11584|      0|  case 577: /* struct_declaration_with_heap: block_heap_inner_structure struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (11584:3): [True: 0, False: 2.04M]
  ------------------
11585|      0|#line 3784 "MachineIndependent/glslang.y"
11586|      0|                                                                  {
11587|      0|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
11588|      0|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11589|      0|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11590|       |
11591|      0|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (11591:34): [True: 0, False: 0]
  ------------------
11592|      0|            TType type((yyvsp[-2].interm.type));
11593|      0|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
11594|      0|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
11595|      0|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
11596|      0|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11597|      0|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
11598|      0|        }
11599|      0|    }
11600|      0|#line 11601 "MachineIndependent/glslang_tab.cpp"
11601|      0|    break;
11602|       |
11603|      0|  case 578: /* $@5: %empty  */
  ------------------
  |  Branch (11603:3): [True: 0, False: 2.04M]
  ------------------
11604|      0|#line 3801 "MachineIndependent/glslang.y"
11605|      0|                                { parseContext.nestedBlockCheck((yyvsp[-1].interm.type).loc, true); }
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11606|      0|#line 11607 "MachineIndependent/glslang_tab.cpp"
11607|      0|    break;
11608|       |
11609|      0|  case 579: /* block_heap_inner_structure: type_qualifier LEFT_BRACE $@5 struct_declaration_without_heap RIGHT_BRACE  */
  ------------------
  |  Branch (11609:3): [True: 0, False: 2.04M]
  ------------------
11610|      0|#line 3801 "MachineIndependent/glslang.y"
11611|      0|                                                                                                                             {
11612|      0|        --parseContext.blockNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11613|      0|        parseContext.globalQualifierFixCheck((yyvsp[-4].interm.type).loc, (yyvsp[-4].interm.type).qualifier);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11614|      0|        parseContext.checkNoShaderLayouts((yyvsp[-4].interm.type).loc, (yyvsp[-4].interm.type).shaderQualifiers);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11615|      0|        (yyval.interm.type).init((yyvsp[-4].interm.type).loc);
11616|      0|        TType* innerStructure = new TType((yyvsp[-1].interm.typeList), TString(""));
11617|      0|        (yyval.interm.type).basicType = EbtBlock;
11618|      0|        (yyval.interm.type).userDef = innerStructure;
11619|      0|        (yyval.interm.type).qualifier = (yyvsp[-4].interm.type).qualifier;
11620|      0|        (yyval.interm.type).qualifier.layoutDescriptorHeap = true;
11621|      0|        (yyval.interm.type).qualifier.layoutDescriptorInnerBlock = true;
11622|      0|    }
11623|      0|#line 11624 "MachineIndependent/glslang_tab.cpp"
11624|      0|    break;
11625|       |
11626|    138|  case 580: /* struct_declaration_without_heap: struct_declaration  */
  ------------------
  |  Branch (11626:3): [True: 138, False: 2.04M]
  ------------------
11627|    138|#line 3816 "MachineIndependent/glslang.y"
11628|    138|                         {
11629|    138|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
11630|    138|    }
11631|    138|#line 11632 "MachineIndependent/glslang_tab.cpp"
11632|    138|    break;
11633|       |
11634|    380|  case 581: /* struct_declaration_without_heap: struct_declaration_without_heap struct_declaration  */
  ------------------
  |  Branch (11634:3): [True: 380, False: 2.04M]
  ------------------
11635|    380|#line 3819 "MachineIndependent/glslang.y"
11636|    380|                                                         {
11637|    380|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
11638|    760|        for (unsigned int i = 0; i < (yyvsp[0].interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (11638:34): [True: 380, False: 380]
  ------------------
11639|  1.22k|            for (unsigned int j = 0; j < (yyval.interm.typeList)->size(); ++j) {
  ------------------
  |  Branch (11639:38): [True: 846, False: 380]
  ------------------
11640|    846|                if ((*(yyval.interm.typeList))[j].type->getFieldName() == (*(yyvsp[0].interm.typeList))[i].type->getFieldName())
  ------------------
  |  Branch (11640:21): [True: 0, False: 846]
  ------------------
11641|      0|                    parseContext.error((*(yyvsp[0].interm.typeList))[i].loc, "duplicate member name:", "", (*(yyvsp[0].interm.typeList))[i].type->getFieldName().c_str());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11642|    846|            }
11643|    380|            (yyval.interm.typeList)->push_back((*(yyvsp[0].interm.typeList))[i]);
11644|    380|        }
11645|    380|    }
11646|    380|#line 11647 "MachineIndependent/glslang_tab.cpp"
11647|    380|    break;
11648|       |
11649|    228|  case 582: /* struct_declaration: type_specifier struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (11649:3): [True: 228, False: 2.04M]
  ------------------
11650|    228|#line 3832 "MachineIndependent/glslang.y"
11651|    228|                                                      {
11652|    228|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (11652:13): [True: 0, False: 228]
  ------------------
11653|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11654|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11655|      0|            if (parseContext.isEsProfile())
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (11655:17): [True: 0, False: 0]
  ------------------
11656|      0|                parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11657|      0|        }
11658|       |
11659|    228|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
11660|       |
11661|    228|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  756|    228|#define parseContext (*pParseContext)
  ------------------
11662|    228|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  756|    228|#define parseContext (*pParseContext)
  ------------------
11663|       |
11664|    456|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (11664:34): [True: 228, False: 228]
  ------------------
11665|    228|            TType type((yyvsp[-2].interm.type));
11666|    228|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
11667|    228|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
11668|    228|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
11669|    228|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  756|    228|#define parseContext (*pParseContext)
  ------------------
11670|    228|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
11671|    228|        }
11672|    228|    }
11673|    228|#line 11674 "MachineIndependent/glslang_tab.cpp"
11674|    228|    break;
11675|       |
11676|    290|  case 583: /* struct_declaration: type_qualifier type_specifier struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (11676:3): [True: 290, False: 2.04M]
  ------------------
11677|    290|#line 3854 "MachineIndependent/glslang.y"
11678|    290|                                                                     {
11679|    290|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (11679:13): [True: 0, False: 290]
  ------------------
11680|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11681|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11682|      0|            if (parseContext.isEsProfile())
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (11682:17): [True: 0, False: 0]
  ------------------
11683|      0|                parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11684|      0|        }
11685|       |
11686|    290|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
11687|       |
11688|    290|        parseContext.memberQualifierCheck((yyvsp[-3].interm.type));
  ------------------
  |  |  756|    290|#define parseContext (*pParseContext)
  ------------------
11689|    290|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  756|    290|#define parseContext (*pParseContext)
  ------------------
11690|    290|        parseContext.mergeQualifiers((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).qualifier, (yyvsp[-3].interm.type).qualifier, true);
  ------------------
  |  |  756|    290|#define parseContext (*pParseContext)
  ------------------
11691|    290|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  756|    290|#define parseContext (*pParseContext)
  ------------------
11692|       |
11693|    580|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (11693:34): [True: 290, False: 290]
  ------------------
11694|    290|            TType type((yyvsp[-2].interm.type));
11695|    290|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
11696|    290|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
11697|    290|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
11698|    290|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  756|    290|#define parseContext (*pParseContext)
  ------------------
11699|    290|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
11700|    290|        }
11701|    290|    }
11702|    290|#line 11703 "MachineIndependent/glslang_tab.cpp"
11703|    290|    break;
11704|       |
11705|    518|  case 584: /* struct_declarator_list: struct_declarator  */
  ------------------
  |  Branch (11705:3): [True: 518, False: 2.04M]
  ------------------
11706|    518|#line 3881 "MachineIndependent/glslang.y"
11707|    518|                        {
11708|    518|        (yyval.interm.typeList) = new TTypeList;
11709|    518|        (yyval.interm.typeList)->push_back((yyvsp[0].interm.typeLine));
11710|    518|    }
11711|    518|#line 11712 "MachineIndependent/glslang_tab.cpp"
11712|    518|    break;
11713|       |
11714|      0|  case 585: /* struct_declarator_list: struct_declarator_list COMMA struct_declarator  */
  ------------------
  |  Branch (11714:3): [True: 0, False: 2.04M]
  ------------------
11715|      0|#line 3885 "MachineIndependent/glslang.y"
11716|      0|                                                     {
11717|      0|        (yyval.interm.typeList)->push_back((yyvsp[0].interm.typeLine));
11718|      0|    }
11719|      0|#line 11720 "MachineIndependent/glslang_tab.cpp"
11720|      0|    break;
11721|       |
11722|    418|  case 586: /* struct_declarator: IDENTIFIER  */
  ------------------
  |  Branch (11722:3): [True: 418, False: 2.04M]
  ------------------
11723|    418|#line 3891 "MachineIndependent/glslang.y"
11724|    418|                 {
11725|    418|        (yyval.interm.typeLine).type = new TType(EbtVoid);
11726|    418|        (yyval.interm.typeLine).loc = (yyvsp[0].lex).loc;
11727|    418|        (yyval.interm.typeLine).type->setFieldName(*(yyvsp[0].lex).string);
11728|    418|    }
11729|    418|#line 11730 "MachineIndependent/glslang_tab.cpp"
11730|    418|    break;
11731|       |
11732|    100|  case 587: /* struct_declarator: IDENTIFIER array_specifier  */
  ------------------
  |  Branch (11732:3): [True: 100, False: 2.04M]
  ------------------
11733|    100|#line 3896 "MachineIndependent/glslang.y"
11734|    100|                                 {
11735|    100|        parseContext.arrayOfArrayVersionCheck((yyvsp[-1].lex).loc, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
11736|       |
11737|    100|        (yyval.interm.typeLine).type = new TType(EbtVoid);
11738|    100|        (yyval.interm.typeLine).loc = (yyvsp[-1].lex).loc;
11739|    100|        (yyval.interm.typeLine).type->setFieldName(*(yyvsp[-1].lex).string);
11740|    100|        (yyval.interm.typeLine).type->transferArraySizes((yyvsp[0].interm).arraySizes);
11741|    100|    }
11742|    100|#line 11743 "MachineIndependent/glslang_tab.cpp"
11743|    100|    break;
11744|       |
11745|  1.25k|  case 588: /* initializer: assignment_expression  */
  ------------------
  |  Branch (11745:3): [True: 1.25k, False: 2.04M]
  ------------------
11746|  1.25k|#line 3907 "MachineIndependent/glslang.y"
11747|  1.25k|                            {
11748|  1.25k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
11749|  1.25k|    }
11750|  1.25k|#line 11751 "MachineIndependent/glslang_tab.cpp"
11751|  1.25k|    break;
11752|       |
11753|      0|  case 589: /* initializer: LEFT_BRACE initializer_list RIGHT_BRACE  */
  ------------------
  |  Branch (11753:3): [True: 0, False: 2.04M]
  ------------------
11754|      0|#line 3910 "MachineIndependent/glslang.y"
11755|      0|                                              {
11756|      0|        const char* initFeature = "{ } style initializers";
11757|      0|        parseContext.requireProfile((yyvsp[-2].lex).loc, ~EEsProfile, initFeature);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11758|      0|        parseContext.profileRequires((yyvsp[-2].lex).loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11759|      0|        (yyval.interm.intermTypedNode) = (yyvsp[-1].interm.intermTypedNode);
11760|      0|    }
11761|      0|#line 11762 "MachineIndependent/glslang_tab.cpp"
11762|      0|    break;
11763|       |
11764|      0|  case 590: /* initializer: LEFT_BRACE initializer_list COMMA RIGHT_BRACE  */
  ------------------
  |  Branch (11764:3): [True: 0, False: 2.04M]
  ------------------
11765|      0|#line 3916 "MachineIndependent/glslang.y"
11766|      0|                                                    {
11767|      0|        const char* initFeature = "{ } style initializers";
11768|      0|        parseContext.requireProfile((yyvsp[-3].lex).loc, ~EEsProfile, initFeature);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11769|      0|        parseContext.profileRequires((yyvsp[-3].lex).loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11770|      0|        (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
11771|      0|    }
11772|      0|#line 11773 "MachineIndependent/glslang_tab.cpp"
11773|      0|    break;
11774|       |
11775|      0|  case 591: /* initializer: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (11775:3): [True: 0, False: 2.04M]
  ------------------
11776|      0|#line 3922 "MachineIndependent/glslang.y"
11777|      0|                             {
11778|      0|        const char* initFeature = "empty { } initializer";
11779|      0|        parseContext.profileRequires((yyvsp[-1].lex).loc, EEsProfile, 0, E_GL_EXT_null_initializer, initFeature);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11780|      0|        parseContext.profileRequires((yyvsp[-1].lex).loc, ~EEsProfile, 0, E_GL_EXT_null_initializer, initFeature);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11781|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.makeAggregate((yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11782|      0|    }
11783|      0|#line 11784 "MachineIndependent/glslang_tab.cpp"
11784|      0|    break;
11785|       |
11786|      0|  case 592: /* initializer_list: initializer  */
  ------------------
  |  Branch (11786:3): [True: 0, False: 2.04M]
  ------------------
11787|      0|#line 3931 "MachineIndependent/glslang.y"
11788|      0|                  {
11789|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.growAggregate(0, (yyvsp[0].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode)->getLoc());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11790|      0|    }
11791|      0|#line 11792 "MachineIndependent/glslang_tab.cpp"
11792|      0|    break;
11793|       |
11794|      0|  case 593: /* initializer_list: initializer_list COMMA initializer  */
  ------------------
  |  Branch (11794:3): [True: 0, False: 2.04M]
  ------------------
11795|      0|#line 3934 "MachineIndependent/glslang.y"
11796|      0|                                         {
11797|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11798|      0|    }
11799|      0|#line 11800 "MachineIndependent/glslang_tab.cpp"
11800|      0|    break;
11801|       |
11802|      0|  case 594: /* declaration_statement: declaration  */
  ------------------
  |  Branch (11802:3): [True: 0, False: 2.04M]
  ------------------
11803|      0|#line 3940 "MachineIndependent/glslang.y"
11804|      0|                  { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11805|      0|#line 11806 "MachineIndependent/glslang_tab.cpp"
11806|      0|    break;
11807|       |
11808|      0|  case 595: /* statement: compound_statement  */
  ------------------
  |  Branch (11808:3): [True: 0, False: 2.04M]
  ------------------
11809|      0|#line 3944 "MachineIndependent/glslang.y"
11810|      0|                          { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11811|      0|#line 11812 "MachineIndependent/glslang_tab.cpp"
11812|      0|    break;
11813|       |
11814|      0|  case 596: /* statement: simple_statement  */
  ------------------
  |  Branch (11814:3): [True: 0, False: 2.04M]
  ------------------
11815|      0|#line 3945 "MachineIndependent/glslang.y"
11816|      0|                          { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11817|      0|#line 11818 "MachineIndependent/glslang_tab.cpp"
11818|      0|    break;
11819|       |
11820|      0|  case 597: /* simple_statement: declaration_statement  */
  ------------------
  |  Branch (11820:3): [True: 0, False: 2.04M]
  ------------------
11821|      0|#line 3951 "MachineIndependent/glslang.y"
11822|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11823|      0|#line 11824 "MachineIndependent/glslang_tab.cpp"
11824|      0|    break;
11825|       |
11826|      0|  case 598: /* simple_statement: expression_statement  */
  ------------------
  |  Branch (11826:3): [True: 0, False: 2.04M]
  ------------------
11827|      0|#line 3952 "MachineIndependent/glslang.y"
11828|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11829|      0|#line 11830 "MachineIndependent/glslang_tab.cpp"
11830|      0|    break;
11831|       |
11832|      0|  case 599: /* simple_statement: selection_statement  */
  ------------------
  |  Branch (11832:3): [True: 0, False: 2.04M]
  ------------------
11833|      0|#line 3953 "MachineIndependent/glslang.y"
11834|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11835|      0|#line 11836 "MachineIndependent/glslang_tab.cpp"
11836|      0|    break;
11837|       |
11838|      0|  case 600: /* simple_statement: switch_statement  */
  ------------------
  |  Branch (11838:3): [True: 0, False: 2.04M]
  ------------------
11839|      0|#line 3954 "MachineIndependent/glslang.y"
11840|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11841|      0|#line 11842 "MachineIndependent/glslang_tab.cpp"
11842|      0|    break;
11843|       |
11844|      0|  case 601: /* simple_statement: case_label  */
  ------------------
  |  Branch (11844:3): [True: 0, False: 2.04M]
  ------------------
11845|      0|#line 3955 "MachineIndependent/glslang.y"
11846|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11847|      0|#line 11848 "MachineIndependent/glslang_tab.cpp"
11848|      0|    break;
11849|       |
11850|      0|  case 602: /* simple_statement: iteration_statement  */
  ------------------
  |  Branch (11850:3): [True: 0, False: 2.04M]
  ------------------
11851|      0|#line 3956 "MachineIndependent/glslang.y"
11852|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11853|      0|#line 11854 "MachineIndependent/glslang_tab.cpp"
11854|      0|    break;
11855|       |
11856|      0|  case 603: /* simple_statement: jump_statement  */
  ------------------
  |  Branch (11856:3): [True: 0, False: 2.04M]
  ------------------
11857|      0|#line 3957 "MachineIndependent/glslang.y"
11858|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11859|      0|#line 11860 "MachineIndependent/glslang_tab.cpp"
11860|      0|    break;
11861|       |
11862|      0|  case 604: /* simple_statement: demote_statement  */
  ------------------
  |  Branch (11862:3): [True: 0, False: 2.04M]
  ------------------
11863|      0|#line 3958 "MachineIndependent/glslang.y"
11864|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11865|      0|#line 11866 "MachineIndependent/glslang_tab.cpp"
11866|      0|    break;
11867|       |
11868|      0|  case 605: /* demote_statement: DEMOTE SEMICOLON  */
  ------------------
  |  Branch (11868:3): [True: 0, False: 2.04M]
  ------------------
11869|      0|#line 3962 "MachineIndependent/glslang.y"
11870|      0|                       {
11871|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "demote");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11872|      0|        parseContext.requireExtensions((yyvsp[-1].lex).loc, 1, &E_GL_EXT_demote_to_helper_invocation, "demote");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11873|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpDemote, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11874|      0|    }
11875|      0|#line 11876 "MachineIndependent/glslang_tab.cpp"
11876|      0|    break;
11877|       |
11878|      0|  case 606: /* compound_statement: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (11878:3): [True: 0, False: 2.04M]
  ------------------
11879|      0|#line 3970 "MachineIndependent/glslang.y"
11880|      0|                             { (yyval.interm.intermNode) = 0; }
11881|      0|#line 11882 "MachineIndependent/glslang_tab.cpp"
11882|      0|    break;
11883|       |
11884|      0|  case 607: /* $@6: %empty  */
  ------------------
  |  Branch (11884:3): [True: 0, False: 2.04M]
  ------------------
11885|      0|#line 3971 "MachineIndependent/glslang.y"
11886|      0|                 {
11887|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11888|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11889|      0|    }
11890|      0|#line 11891 "MachineIndependent/glslang_tab.cpp"
11891|      0|    break;
11892|       |
11893|      0|  case 608: /* $@7: %empty  */
  ------------------
  |  Branch (11893:3): [True: 0, False: 2.04M]
  ------------------
11894|      0|#line 3975 "MachineIndependent/glslang.y"
11895|      0|                     {
11896|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11897|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11898|      0|    }
11899|      0|#line 11900 "MachineIndependent/glslang_tab.cpp"
11900|      0|    break;
11901|       |
11902|      0|  case 609: /* compound_statement: LEFT_BRACE $@6 statement_list $@7 RIGHT_BRACE  */
  ------------------
  |  Branch (11902:3): [True: 0, False: 2.04M]
  ------------------
11903|      0|#line 3979 "MachineIndependent/glslang.y"
11904|      0|                  {
11905|      0|        if ((yyvsp[-2].interm.intermNode) && (yyvsp[-2].interm.intermNode)->getAsAggregate()) {
  ------------------
  |  Branch (11905:13): [True: 0, False: 0]
  |  Branch (11905:46): [True: 0, False: 0]
  ------------------
11906|      0|            (yyvsp[-2].interm.intermNode)->getAsAggregate()->setOperator(parseContext.intermediate.getDebugInfo() ? EOpScope : EOpSequence);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (11906:74): [True: 0, False: 0]
  ------------------
11907|      0|            (yyvsp[-2].interm.intermNode)->getAsAggregate()->setEndLoc((yyvsp[0].lex).loc);
11908|      0|        }
11909|      0|        (yyval.interm.intermNode) = (yyvsp[-2].interm.intermNode);
11910|      0|    }
11911|      0|#line 11912 "MachineIndependent/glslang_tab.cpp"
11912|      0|    break;
11913|       |
11914|      0|  case 610: /* statement_no_new_scope: compound_statement_no_new_scope  */
  ------------------
  |  Branch (11914:3): [True: 0, False: 2.04M]
  ------------------
11915|      0|#line 3989 "MachineIndependent/glslang.y"
11916|      0|                                      { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11917|      0|#line 11918 "MachineIndependent/glslang_tab.cpp"
11918|      0|    break;
11919|       |
11920|      0|  case 611: /* statement_no_new_scope: simple_statement  */
  ------------------
  |  Branch (11920:3): [True: 0, False: 2.04M]
  ------------------
11921|      0|#line 3990 "MachineIndependent/glslang.y"
11922|      0|                                      { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11923|      0|#line 11924 "MachineIndependent/glslang_tab.cpp"
11924|      0|    break;
11925|       |
11926|      0|  case 612: /* $@8: %empty  */
  ------------------
  |  Branch (11926:3): [True: 0, False: 2.04M]
  ------------------
11927|      0|#line 3994 "MachineIndependent/glslang.y"
11928|      0|      {
11929|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11930|      0|    }
11931|      0|#line 11932 "MachineIndependent/glslang_tab.cpp"
11932|      0|    break;
11933|       |
11934|      0|  case 613: /* statement_scoped: $@8 compound_statement  */
  ------------------
  |  Branch (11934:3): [True: 0, False: 2.04M]
  ------------------
11935|      0|#line 3997 "MachineIndependent/glslang.y"
11936|      0|                          {
11937|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11938|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
11939|      0|    }
11940|      0|#line 11941 "MachineIndependent/glslang_tab.cpp"
11941|      0|    break;
11942|       |
11943|      0|  case 614: /* $@9: %empty  */
  ------------------
  |  Branch (11943:3): [True: 0, False: 2.04M]
  ------------------
11944|      0|#line 4001 "MachineIndependent/glslang.y"
11945|      0|      {
11946|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11947|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11948|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11949|      0|    }
11950|      0|#line 11951 "MachineIndependent/glslang_tab.cpp"
11951|      0|    break;
11952|       |
11953|      0|  case 615: /* statement_scoped: $@9 simple_statement  */
  ------------------
  |  Branch (11953:3): [True: 0, False: 2.04M]
  ------------------
11954|      0|#line 4006 "MachineIndependent/glslang.y"
11955|      0|                       {
11956|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11957|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11958|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11959|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
11960|      0|    }
11961|      0|#line 11962 "MachineIndependent/glslang_tab.cpp"
11962|      0|    break;
11963|       |
11964|      0|  case 616: /* compound_statement_no_new_scope: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (11964:3): [True: 0, False: 2.04M]
  ------------------
11965|      0|#line 4015 "MachineIndependent/glslang.y"
11966|      0|                             {
11967|      0|        (yyval.interm.intermNode) = 0;
11968|      0|    }
11969|      0|#line 11970 "MachineIndependent/glslang_tab.cpp"
11970|      0|    break;
11971|       |
11972|      0|  case 617: /* compound_statement_no_new_scope: LEFT_BRACE statement_list RIGHT_BRACE  */
  ------------------
  |  Branch (11972:3): [True: 0, False: 2.04M]
  ------------------
11973|      0|#line 4018 "MachineIndependent/glslang.y"
11974|      0|                                            {
11975|      0|        if ((yyvsp[-1].interm.intermNode) && (yyvsp[-1].interm.intermNode)->getAsAggregate()) {
  ------------------
  |  Branch (11975:13): [True: 0, False: 0]
  |  Branch (11975:46): [True: 0, False: 0]
  ------------------
11976|      0|            (yyvsp[-1].interm.intermNode)->getAsAggregate()->setOperator(EOpSequence);
11977|      0|            (yyvsp[-1].interm.intermNode)->getAsAggregate()->setEndLoc((yyvsp[0].lex).loc);
11978|      0|        }
11979|      0|        (yyval.interm.intermNode) = (yyvsp[-1].interm.intermNode);
11980|      0|    }
11981|      0|#line 11982 "MachineIndependent/glslang_tab.cpp"
11982|      0|    break;
11983|       |
11984|      0|  case 618: /* statement_list: statement  */
  ------------------
  |  Branch (11984:3): [True: 0, False: 2.04M]
  ------------------
11985|      0|#line 4028 "MachineIndependent/glslang.y"
11986|      0|                {
11987|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11988|      0|        if ((yyvsp[0].interm.intermNode) && (yyvsp[0].interm.intermNode)->getAsBranchNode() && ((yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpCase ||
  ------------------
  |  Branch (11988:13): [True: 0, False: 0]
  |  Branch (11988:45): [True: 0, False: 0]
  |  Branch (11988:97): [True: 0, False: 0]
  ------------------
11989|      0|                                            (yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpDefault)) {
  ------------------
  |  Branch (11989:45): [True: 0, False: 0]
  ------------------
11990|      0|            parseContext.wrapupSwitchSubsequence(0, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11991|      0|            (yyval.interm.intermNode) = 0;  // start a fresh subsequence for what's after this case
11992|      0|        }
11993|      0|    }
11994|      0|#line 11995 "MachineIndependent/glslang_tab.cpp"
11995|      0|    break;
11996|       |
11997|      0|  case 619: /* statement_list: statement_list statement  */
  ------------------
  |  Branch (11997:3): [True: 0, False: 2.04M]
  ------------------
11998|      0|#line 4036 "MachineIndependent/glslang.y"
11999|      0|                               {
12000|      0|        if ((yyvsp[0].interm.intermNode) && (yyvsp[0].interm.intermNode)->getAsBranchNode() && ((yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpCase ||
  ------------------
  |  Branch (12000:13): [True: 0, False: 0]
  |  Branch (12000:45): [True: 0, False: 0]
  |  Branch (12000:97): [True: 0, False: 0]
  ------------------
12001|      0|                                            (yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpDefault)) {
  ------------------
  |  Branch (12001:45): [True: 0, False: 0]
  ------------------
12002|      0|            parseContext.wrapupSwitchSubsequence((yyvsp[-1].interm.intermNode) ? (yyvsp[-1].interm.intermNode)->getAsAggregate() : 0, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12002:50): [True: 0, False: 0]
  ------------------
12003|      0|            (yyval.interm.intermNode) = 0;  // start a fresh subsequence for what's after this case
12004|      0|        } else
12005|      0|            (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-1].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12006|      0|    }
12007|      0|#line 12008 "MachineIndependent/glslang_tab.cpp"
12008|      0|    break;
12009|       |
12010|      0|  case 620: /* expression_statement: SEMICOLON  */
  ------------------
  |  Branch (12010:3): [True: 0, False: 2.04M]
  ------------------
12011|      0|#line 4047 "MachineIndependent/glslang.y"
12012|      0|                 { (yyval.interm.intermNode) = 0; }
12013|      0|#line 12014 "MachineIndependent/glslang_tab.cpp"
12014|      0|    break;
12015|       |
12016|      0|  case 621: /* expression_statement: expression SEMICOLON  */
  ------------------
  |  Branch (12016:3): [True: 0, False: 2.04M]
  ------------------
12017|      0|#line 4048 "MachineIndependent/glslang.y"
12018|      0|                            { (yyval.interm.intermNode) = static_cast<TIntermNode*>((yyvsp[-1].interm.intermTypedNode)); }
12019|      0|#line 12020 "MachineIndependent/glslang_tab.cpp"
12020|      0|    break;
12021|       |
12022|      0|  case 622: /* selection_statement: selection_statement_nonattributed  */
  ------------------
  |  Branch (12022:3): [True: 0, False: 2.04M]
  ------------------
12023|      0|#line 4052 "MachineIndependent/glslang.y"
12024|      0|                                        {
12025|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12026|      0|    }
12027|      0|#line 12028 "MachineIndependent/glslang_tab.cpp"
12028|      0|    break;
12029|       |
12030|      0|  case 623: /* selection_statement: attribute selection_statement_nonattributed  */
  ------------------
  |  Branch (12030:3): [True: 0, False: 2.04M]
  ------------------
12031|      0|#line 4055 "MachineIndependent/glslang.y"
12032|      0|                                                  {
12033|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 1, &E_GL_EXT_control_flow_attributes, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12034|      0|        parseContext.handleSelectionAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12035|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12036|      0|    }
12037|      0|#line 12038 "MachineIndependent/glslang_tab.cpp"
12038|      0|    break;
12039|       |
12040|      0|  case 624: /* selection_statement_nonattributed: IF LEFT_PAREN expression RIGHT_PAREN selection_rest_statement  */
  ------------------
  |  Branch (12040:3): [True: 0, False: 2.04M]
  ------------------
12041|      0|#line 4062 "MachineIndependent/glslang.y"
12042|      0|                                                                    {
12043|      0|        parseContext.boolCheck((yyvsp[-4].lex).loc, (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12044|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addSelection((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.nodePair), (yyvsp[-4].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12045|      0|    }
12046|      0|#line 12047 "MachineIndependent/glslang_tab.cpp"
12047|      0|    break;
12048|       |
12049|      0|  case 625: /* selection_rest_statement: statement_scoped ELSE statement_scoped  */
  ------------------
  |  Branch (12049:3): [True: 0, False: 2.04M]
  ------------------
12050|      0|#line 4069 "MachineIndependent/glslang.y"
12051|      0|                                             {
12052|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode);
12053|      0|        (yyval.interm.nodePair).node2 = (yyvsp[0].interm.intermNode);
12054|      0|    }
12055|      0|#line 12056 "MachineIndependent/glslang_tab.cpp"
12056|      0|    break;
12057|       |
12058|      0|  case 626: /* selection_rest_statement: statement_scoped  */
  ------------------
  |  Branch (12058:3): [True: 0, False: 2.04M]
  ------------------
12059|      0|#line 4073 "MachineIndependent/glslang.y"
12060|      0|                       {
12061|      0|        (yyval.interm.nodePair).node1 = (yyvsp[0].interm.intermNode);
12062|      0|        (yyval.interm.nodePair).node2 = 0;
12063|      0|    }
12064|      0|#line 12065 "MachineIndependent/glslang_tab.cpp"
12065|      0|    break;
12066|       |
12067|      0|  case 627: /* condition: expression  */
  ------------------
  |  Branch (12067:3): [True: 0, False: 2.04M]
  ------------------
12068|      0|#line 4081 "MachineIndependent/glslang.y"
12069|      0|                 {
12070|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermTypedNode);
12071|      0|        parseContext.boolCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12072|      0|    }
12073|      0|#line 12074 "MachineIndependent/glslang_tab.cpp"
12074|      0|    break;
12075|       |
12076|      0|  case 628: /* condition: fully_specified_type IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (12076:3): [True: 0, False: 2.04M]
  ------------------
12077|      0|#line 4085 "MachineIndependent/glslang.y"
12078|      0|                                                        {
12079|      0|        parseContext.boolCheck((yyvsp[-2].lex).loc, (yyvsp[-3].interm.type));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12080|       |
12081|      0|        TType type((yyvsp[-3].interm.type));
12082|      0|        (yyval.interm.intermNode) = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-3].interm.type), 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12083|      0|    }
12084|      0|#line 12085 "MachineIndependent/glslang_tab.cpp"
12085|      0|    break;
12086|       |
12087|      0|  case 629: /* switch_statement: switch_statement_nonattributed  */
  ------------------
  |  Branch (12087:3): [True: 0, False: 2.04M]
  ------------------
12088|      0|#line 4094 "MachineIndependent/glslang.y"
12089|      0|                                     {
12090|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12091|      0|    }
12092|      0|#line 12093 "MachineIndependent/glslang_tab.cpp"
12093|      0|    break;
12094|       |
12095|      0|  case 630: /* switch_statement: attribute switch_statement_nonattributed  */
  ------------------
  |  Branch (12095:3): [True: 0, False: 2.04M]
  ------------------
12096|      0|#line 4097 "MachineIndependent/glslang.y"
12097|      0|                                               {
12098|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 1, &E_GL_EXT_control_flow_attributes, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12099|      0|        parseContext.handleSwitchAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12100|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12101|      0|    }
12102|      0|#line 12103 "MachineIndependent/glslang_tab.cpp"
12103|      0|    break;
12104|       |
12105|      0|  case 631: /* $@10: %empty  */
  ------------------
  |  Branch (12105:3): [True: 0, False: 2.04M]
  ------------------
12106|      0|#line 4104 "MachineIndependent/glslang.y"
12107|      0|                                               {
12108|       |        // start new switch sequence on the switch stack
12109|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12110|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12111|      0|        parseContext.switchSequenceStack.push_back(new TIntermSequence);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12112|      0|        parseContext.switchLevel.push_back(parseContext.statementNestingLevel);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.switchLevel.push_back(parseContext.statementNestingLevel);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12113|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12114|      0|    }
12115|      0|#line 12116 "MachineIndependent/glslang_tab.cpp"
12116|      0|    break;
12117|       |
12118|      0|  case 632: /* switch_statement_nonattributed: SWITCH LEFT_PAREN expression RIGHT_PAREN $@10 LEFT_BRACE switch_statement_list RIGHT_BRACE  */
  ------------------
  |  Branch (12118:3): [True: 0, False: 2.04M]
  ------------------
12119|      0|#line 4112 "MachineIndependent/glslang.y"
12120|      0|                                                 {
12121|      0|        (yyval.interm.intermNode) = parseContext.addSwitch((yyvsp[-7].lex).loc, (yyvsp[-5].interm.intermTypedNode), (yyvsp[-1].interm.intermNode) ? (yyvsp[-1].interm.intermNode)->getAsAggregate() : 0);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12121:117): [True: 0, False: 0]
  ------------------
12122|      0|        delete parseContext.switchSequenceStack.back();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12123|      0|        parseContext.switchSequenceStack.pop_back();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12124|      0|        parseContext.switchLevel.pop_back();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12125|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12126|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12127|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12128|      0|    }
12129|      0|#line 12130 "MachineIndependent/glslang_tab.cpp"
12130|      0|    break;
12131|       |
12132|      0|  case 633: /* switch_statement_list: %empty  */
  ------------------
  |  Branch (12132:3): [True: 0, False: 2.04M]
  ------------------
12133|      0|#line 4124 "MachineIndependent/glslang.y"
12134|      0|                    {
12135|      0|        (yyval.interm.intermNode) = 0;
12136|      0|    }
12137|      0|#line 12138 "MachineIndependent/glslang_tab.cpp"
12138|      0|    break;
12139|       |
12140|      0|  case 634: /* switch_statement_list: statement_list  */
  ------------------
  |  Branch (12140:3): [True: 0, False: 2.04M]
  ------------------
12141|      0|#line 4127 "MachineIndependent/glslang.y"
12142|      0|                     {
12143|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12144|      0|    }
12145|      0|#line 12146 "MachineIndependent/glslang_tab.cpp"
12146|      0|    break;
12147|       |
12148|      0|  case 635: /* case_label: CASE expression COLON  */
  ------------------
  |  Branch (12148:3): [True: 0, False: 2.04M]
  ------------------
12149|      0|#line 4133 "MachineIndependent/glslang.y"
12150|      0|                            {
12151|      0|        (yyval.interm.intermNode) = 0;
12152|      0|        if (parseContext.switchLevel.size() == 0)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12152:13): [True: 0, False: 0]
  ------------------
12153|      0|            parseContext.error((yyvsp[-2].lex).loc, "cannot appear outside switch statement", "case", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12154|      0|        else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12154:18): [True: 0, False: 0]
  ------------------
12155|      0|            parseContext.error((yyvsp[-2].lex).loc, "cannot be nested inside control flow", "case", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12156|      0|        else {
12157|      0|            parseContext.constantValueCheck((yyvsp[-1].interm.intermTypedNode), "case");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12158|      0|            parseContext.integerCheck((yyvsp[-1].interm.intermTypedNode), "case");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12159|      0|            (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpCase, (yyvsp[-1].interm.intermTypedNode), (yyvsp[-2].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12160|      0|        }
12161|      0|    }
12162|      0|#line 12163 "MachineIndependent/glslang_tab.cpp"
12163|      0|    break;
12164|       |
12165|      0|  case 636: /* case_label: DEFAULT COLON  */
  ------------------
  |  Branch (12165:3): [True: 0, False: 2.04M]
  ------------------
12166|      0|#line 4145 "MachineIndependent/glslang.y"
12167|      0|                    {
12168|      0|        (yyval.interm.intermNode) = 0;
12169|      0|        if (parseContext.switchLevel.size() == 0)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12169:13): [True: 0, False: 0]
  ------------------
12170|      0|            parseContext.error((yyvsp[-1].lex).loc, "cannot appear outside switch statement", "default", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12171|      0|        else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12171:18): [True: 0, False: 0]
  ------------------
12172|      0|            parseContext.error((yyvsp[-1].lex).loc, "cannot be nested inside control flow", "default", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12173|      0|        else
12174|      0|            (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpDefault, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12175|      0|    }
12176|      0|#line 12177 "MachineIndependent/glslang_tab.cpp"
12177|      0|    break;
12178|       |
12179|      0|  case 637: /* iteration_statement: iteration_statement_nonattributed  */
  ------------------
  |  Branch (12179:3): [True: 0, False: 2.04M]
  ------------------
12180|      0|#line 4157 "MachineIndependent/glslang.y"
12181|      0|                                        {
12182|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12183|      0|    }
12184|      0|#line 12185 "MachineIndependent/glslang_tab.cpp"
12185|      0|    break;
12186|       |
12187|      0|  case 638: /* iteration_statement: attribute iteration_statement_nonattributed  */
  ------------------
  |  Branch (12187:3): [True: 0, False: 2.04M]
  ------------------
12188|      0|#line 4160 "MachineIndependent/glslang.y"
12189|      0|                                                  {
12190|      0|        const char * extensions[2] = { E_GL_EXT_control_flow_attributes, E_GL_EXT_control_flow_attributes2 };
12191|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 2, extensions, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12192|      0|        parseContext.handleLoopAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12193|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12194|      0|    }
12195|      0|#line 12196 "MachineIndependent/glslang_tab.cpp"
12196|      0|    break;
12197|       |
12198|      0|  case 639: /* $@11: %empty  */
  ------------------
  |  Branch (12198:3): [True: 0, False: 2.04M]
  ------------------
12199|      0|#line 4168 "MachineIndependent/glslang.y"
12200|      0|                       {
12201|      0|        if (! parseContext.limits.whileLoops)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12201:13): [True: 0, False: 0]
  ------------------
12202|      0|            parseContext.error((yyvsp[-1].lex).loc, "while loops not available", "limitation", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12203|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12204|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12205|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12206|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12207|      0|    }
12208|      0|#line 12209 "MachineIndependent/glslang_tab.cpp"
12209|      0|    break;
12210|       |
12211|      0|  case 640: /* iteration_statement_nonattributed: WHILE LEFT_PAREN $@11 condition RIGHT_PAREN statement_no_new_scope  */
  ------------------
  |  Branch (12211:3): [True: 0, False: 2.04M]
  ------------------
12212|      0|#line 4176 "MachineIndependent/glslang.y"
12213|      0|                                                   {
12214|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12215|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addLoop((yyvsp[0].interm.intermNode), (yyvsp[-2].interm.intermNode), 0, true, (yyvsp[-5].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12216|      0|        if (parseContext.intermediate.getDebugInfo()) {
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12216:13): [True: 0, False: 0]
  ------------------
12217|      0|            (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyval.interm.intermNode), (yyvsp[-5].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12218|      0|            (yyval.interm.intermNode)->getAsAggregate()->setOperator(EOpScope);
12219|      0|        }
12220|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12221|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12222|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12223|      0|    }
12224|      0|#line 12225 "MachineIndependent/glslang_tab.cpp"
12225|      0|    break;
12226|       |
12227|      0|  case 641: /* $@12: %empty  */
  ------------------
  |  Branch (12227:3): [True: 0, False: 2.04M]
  ------------------
12228|      0|#line 4187 "MachineIndependent/glslang.y"
12229|      0|         {
12230|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12231|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12232|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12233|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12234|      0|    }
12235|      0|#line 12236 "MachineIndependent/glslang_tab.cpp"
12236|      0|    break;
12237|       |
12238|      0|  case 642: /* iteration_statement_nonattributed: DO $@12 statement WHILE LEFT_PAREN expression RIGHT_PAREN SEMICOLON  */
  ------------------
  |  Branch (12238:3): [True: 0, False: 2.04M]
  ------------------
12239|      0|#line 4193 "MachineIndependent/glslang.y"
12240|      0|                                                                  {
12241|      0|        if (! parseContext.limits.whileLoops)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12241:13): [True: 0, False: 0]
  ------------------
12242|      0|            parseContext.error((yyvsp[-7].lex).loc, "do-while loops not available", "limitation", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12243|       |
12244|      0|        parseContext.boolCheck((yyvsp[0].lex).loc, (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12245|       |
12246|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addLoop((yyvsp[-5].interm.intermNode), (yyvsp[-2].interm.intermTypedNode), 0, false, (yyvsp[-4].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12247|      0|        if (parseContext.intermediate.getDebugInfo()) {
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12247:13): [True: 0, False: 0]
  ------------------
12248|      0|            (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyval.interm.intermNode), (yyvsp[-4].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12249|      0|            (yyval.interm.intermNode)->getAsAggregate()->setOperator(EOpScope);
12250|      0|        }
12251|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12252|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12253|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12254|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12255|      0|    }
12256|      0|#line 12257 "MachineIndependent/glslang_tab.cpp"
12257|      0|    break;
12258|       |
12259|      0|  case 643: /* $@13: %empty  */
  ------------------
  |  Branch (12259:3): [True: 0, False: 2.04M]
  ------------------
12260|      0|#line 4209 "MachineIndependent/glslang.y"
12261|      0|                     {
12262|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12263|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12264|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12265|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12266|      0|    }
12267|      0|#line 12268 "MachineIndependent/glslang_tab.cpp"
12268|      0|    break;
12269|       |
12270|      0|  case 644: /* iteration_statement_nonattributed: FOR LEFT_PAREN $@13 for_init_statement for_rest_statement RIGHT_PAREN statement_no_new_scope  */
  ------------------
  |  Branch (12270:3): [True: 0, False: 2.04M]
  ------------------
12271|      0|#line 4215 "MachineIndependent/glslang.y"
12272|      0|                                                                               {
12273|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12274|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[-3].interm.intermNode), (yyvsp[-5].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12275|      0|        TIntermLoop* forLoop = parseContext.intermediate.addLoop((yyvsp[0].interm.intermNode), reinterpret_cast<TIntermTyped*>((yyvsp[-2].interm.nodePair).node1), reinterpret_cast<TIntermTyped*>((yyvsp[-2].interm.nodePair).node2), true, (yyvsp[-6].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12276|      0|        if (! parseContext.limits.nonInductiveForLoops)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12276:13): [True: 0, False: 0]
  ------------------
12277|      0|            parseContext.inductiveLoopCheck((yyvsp[-6].lex).loc, (yyvsp[-3].interm.intermNode), forLoop);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12278|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyval.interm.intermNode), forLoop, (yyvsp[-6].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12279|      0|        (yyval.interm.intermNode)->getAsAggregate()->setOperator(parseContext.intermediate.getDebugInfo() ? EOpScope : EOpSequence);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12279:66): [True: 0, False: 0]
  ------------------
12280|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12281|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12282|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12283|      0|    }
12284|      0|#line 12285 "MachineIndependent/glslang_tab.cpp"
12285|      0|    break;
12286|       |
12287|      0|  case 645: /* for_init_statement: expression_statement  */
  ------------------
  |  Branch (12287:3): [True: 0, False: 2.04M]
  ------------------
12288|      0|#line 4230 "MachineIndependent/glslang.y"
12289|      0|                           {
12290|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12291|      0|    }
12292|      0|#line 12293 "MachineIndependent/glslang_tab.cpp"
12293|      0|    break;
12294|       |
12295|      0|  case 646: /* for_init_statement: declaration_statement  */
  ------------------
  |  Branch (12295:3): [True: 0, False: 2.04M]
  ------------------
12296|      0|#line 4233 "MachineIndependent/glslang.y"
12297|      0|                            {
12298|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12299|      0|    }
12300|      0|#line 12301 "MachineIndependent/glslang_tab.cpp"
12301|      0|    break;
12302|       |
12303|      0|  case 647: /* conditionopt: condition  */
  ------------------
  |  Branch (12303:3): [True: 0, False: 2.04M]
  ------------------
12304|      0|#line 4239 "MachineIndependent/glslang.y"
12305|      0|                {
12306|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12307|      0|    }
12308|      0|#line 12309 "MachineIndependent/glslang_tab.cpp"
12309|      0|    break;
12310|       |
12311|      0|  case 648: /* conditionopt: %empty  */
  ------------------
  |  Branch (12311:3): [True: 0, False: 2.04M]
  ------------------
12312|      0|#line 4242 "MachineIndependent/glslang.y"
12313|      0|                        {
12314|      0|        (yyval.interm.intermNode) = 0;
12315|      0|    }
12316|      0|#line 12317 "MachineIndependent/glslang_tab.cpp"
12317|      0|    break;
12318|       |
12319|      0|  case 649: /* for_rest_statement: conditionopt SEMICOLON  */
  ------------------
  |  Branch (12319:3): [True: 0, False: 2.04M]
  ------------------
12320|      0|#line 4248 "MachineIndependent/glslang.y"
12321|      0|                             {
12322|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-1].interm.intermNode);
12323|      0|        (yyval.interm.nodePair).node2 = 0;
12324|      0|    }
12325|      0|#line 12326 "MachineIndependent/glslang_tab.cpp"
12326|      0|    break;
12327|       |
12328|      0|  case 650: /* for_rest_statement: conditionopt SEMICOLON expression  */
  ------------------
  |  Branch (12328:3): [True: 0, False: 2.04M]
  ------------------
12329|      0|#line 4252 "MachineIndependent/glslang.y"
12330|      0|                                         {
12331|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode);
12332|      0|        (yyval.interm.nodePair).node2 = (yyvsp[0].interm.intermTypedNode);
12333|      0|    }
12334|      0|#line 12335 "MachineIndependent/glslang_tab.cpp"
12335|      0|    break;
12336|       |
12337|      0|  case 651: /* jump_statement: CONTINUE SEMICOLON  */
  ------------------
  |  Branch (12337:3): [True: 0, False: 2.04M]
  ------------------
12338|      0|#line 4259 "MachineIndependent/glslang.y"
12339|      0|                         {
12340|      0|        if (parseContext.loopNestingLevel <= 0)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12340:13): [True: 0, False: 0]
  ------------------
12341|      0|            parseContext.error((yyvsp[-1].lex).loc, "continue statement only allowed in loops", "", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12342|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpContinue, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12343|      0|    }
12344|      0|#line 12345 "MachineIndependent/glslang_tab.cpp"
12345|      0|    break;
12346|       |
12347|      0|  case 652: /* jump_statement: BREAK SEMICOLON  */
  ------------------
  |  Branch (12347:3): [True: 0, False: 2.04M]
  ------------------
12348|      0|#line 4264 "MachineIndependent/glslang.y"
12349|      0|                      {
12350|      0|        if (parseContext.loopNestingLevel + parseContext.switchSequenceStack.size() <= 0)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.loopNestingLevel + parseContext.switchSequenceStack.size() <= 0)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12350:13): [True: 0, False: 0]
  ------------------
12351|      0|            parseContext.error((yyvsp[-1].lex).loc, "break statement only allowed in switch and loops", "", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12352|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpBreak, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12353|      0|    }
12354|      0|#line 12355 "MachineIndependent/glslang_tab.cpp"
12355|      0|    break;
12356|       |
12357|      0|  case 653: /* jump_statement: RETURN SEMICOLON  */
  ------------------
  |  Branch (12357:3): [True: 0, False: 2.04M]
  ------------------
12358|      0|#line 4269 "MachineIndependent/glslang.y"
12359|      0|                       {
12360|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpReturn, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12361|      0|        if (parseContext.currentFunctionType->getBasicType() != EbtVoid)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12361:13): [True: 0, False: 0]
  ------------------
12362|      0|            parseContext.error((yyvsp[-1].lex).loc, "non-void function must return a value", "return", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12363|      0|        if (parseContext.inMain)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12363:13): [True: 0, False: 0]
  ------------------
12364|      0|            parseContext.postEntryPointReturn = true;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12365|      0|    }
12366|      0|#line 12367 "MachineIndependent/glslang_tab.cpp"
12367|      0|    break;
12368|       |
12369|      0|  case 654: /* jump_statement: RETURN expression SEMICOLON  */
  ------------------
  |  Branch (12369:3): [True: 0, False: 2.04M]
  ------------------
12370|      0|#line 4276 "MachineIndependent/glslang.y"
12371|      0|                                  {
12372|      0|        (yyval.interm.intermNode) = parseContext.handleReturnValue((yyvsp[-2].lex).loc, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12373|      0|    }
12374|      0|#line 12375 "MachineIndependent/glslang_tab.cpp"
12375|      0|    break;
12376|       |
12377|      0|  case 655: /* jump_statement: DISCARD SEMICOLON  */
  ------------------
  |  Branch (12377:3): [True: 0, False: 2.04M]
  ------------------
12378|      0|#line 4279 "MachineIndependent/glslang.y"
12379|      0|                        {
12380|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "discard");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12381|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpKill, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12382|      0|    }
12383|      0|#line 12384 "MachineIndependent/glslang_tab.cpp"
12384|      0|    break;
12385|       |
12386|      0|  case 656: /* jump_statement: TERMINATE_INVOCATION SEMICOLON  */
  ------------------
  |  Branch (12386:3): [True: 0, False: 2.04M]
  ------------------
12387|      0|#line 4283 "MachineIndependent/glslang.y"
12388|      0|                                     {
12389|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "terminateInvocation");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12390|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpTerminateInvocation, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12391|      0|    }
12392|      0|#line 12393 "MachineIndependent/glslang_tab.cpp"
12393|      0|    break;
12394|       |
12395|      0|  case 657: /* jump_statement: TERMINATE_RAY SEMICOLON  */
  ------------------
  |  Branch (12395:3): [True: 0, False: 2.04M]
  ------------------
12396|      0|#line 4287 "MachineIndependent/glslang.y"
12397|      0|                              {
12398|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangAnyHit, "terminateRayEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12399|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpTerminateRayKHR, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12400|      0|    }
12401|      0|#line 12402 "MachineIndependent/glslang_tab.cpp"
12402|      0|    break;
12403|       |
12404|      0|  case 658: /* jump_statement: IGNORE_INTERSECTION SEMICOLON  */
  ------------------
  |  Branch (12404:3): [True: 0, False: 2.04M]
  ------------------
12405|      0|#line 4291 "MachineIndependent/glslang.y"
12406|      0|                                    {
12407|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangAnyHit, "ignoreIntersectionEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12408|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpIgnoreIntersectionKHR, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12409|      0|    }
12410|      0|#line 12411 "MachineIndependent/glslang_tab.cpp"
12411|      0|    break;
12412|       |
12413|    299|  case 659: /* translation_unit: external_declaration  */
  ------------------
  |  Branch (12413:3): [True: 299, False: 2.04M]
  ------------------
12414|    299|#line 4300 "MachineIndependent/glslang.y"
12415|    299|                           {
12416|    299|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12417|    299|        parseContext.intermediate.setTreeRoot((yyval.interm.intermNode));
  ------------------
  |  |  756|    299|#define parseContext (*pParseContext)
  ------------------
12418|    299|    }
12419|    299|#line 12420 "MachineIndependent/glslang_tab.cpp"
12420|    299|    break;
12421|       |
12422|  75.0k|  case 660: /* translation_unit: translation_unit external_declaration  */
  ------------------
  |  Branch (12422:3): [True: 75.0k, False: 1.97M]
  ------------------
12423|  75.0k|#line 4304 "MachineIndependent/glslang.y"
12424|  75.0k|                                            {
12425|  75.0k|        if ((yyvsp[0].interm.intermNode) != nullptr) {
  ------------------
  |  Branch (12425:13): [True: 0, False: 75.0k]
  ------------------
12426|      0|            (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-1].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12427|      0|            parseContext.intermediate.setTreeRoot((yyval.interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12428|      0|        }
12429|  75.0k|    }
12430|  75.0k|#line 12431 "MachineIndependent/glslang_tab.cpp"
12431|  75.0k|    break;
12432|       |
12433|      0|  case 661: /* external_declaration: function_definition  */
  ------------------
  |  Branch (12433:3): [True: 0, False: 2.04M]
  ------------------
12434|      0|#line 4313 "MachineIndependent/glslang.y"
12435|      0|                          {
12436|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12437|      0|    }
12438|      0|#line 12439 "MachineIndependent/glslang_tab.cpp"
12439|      0|    break;
12440|       |
12441|  75.3k|  case 662: /* external_declaration: declaration  */
  ------------------
  |  Branch (12441:3): [True: 75.3k, False: 1.97M]
  ------------------
12442|  75.3k|#line 4316 "MachineIndependent/glslang.y"
12443|  75.3k|                  {
12444|  75.3k|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12445|  75.3k|    }
12446|  75.3k|#line 12447 "MachineIndependent/glslang_tab.cpp"
12447|  75.3k|    break;
12448|       |
12449|      0|  case 663: /* external_declaration: SEMICOLON  */
  ------------------
  |  Branch (12449:3): [True: 0, False: 2.04M]
  ------------------
12450|      0|#line 4319 "MachineIndependent/glslang.y"
12451|      0|                {
12452|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ~EEsProfile, "extraneous semicolon");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12453|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ~EEsProfile, 460, nullptr, "extraneous semicolon");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12454|      0|        (yyval.interm.intermNode) = nullptr;
12455|      0|    }
12456|      0|#line 12457 "MachineIndependent/glslang_tab.cpp"
12457|      0|    break;
12458|       |
12459|      0|  case 664: /* $@14: %empty  */
  ------------------
  |  Branch (12459:3): [True: 0, False: 2.04M]
  ------------------
12460|      0|#line 4327 "MachineIndependent/glslang.y"
12461|      0|                         {
12462|      0|        (yyvsp[0].interm).function = parseContext.handleFunctionDeclarator((yyvsp[0].interm).loc, *(yyvsp[0].interm).function, false /* not prototype */);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12463|      0|        (yyvsp[0].interm).intermNode = parseContext.handleFunctionDefinition((yyvsp[0].interm).loc, *(yyvsp[0].interm).function);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12464|       |
12465|       |        // For ES 100 only, according to ES shading language 100 spec: A function
12466|       |        // body has a scope nested inside the function's definition.
12467|      0|        if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12467:13): [True: 0, False: 0]
  |  Branch (12467:51): [True: 0, False: 0]
  ------------------
12468|      0|        {
12469|      0|            parseContext.symbolTable.push();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12470|      0|            ++parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12471|      0|        }
12472|      0|    }
12473|      0|#line 12474 "MachineIndependent/glslang_tab.cpp"
12474|      0|    break;
12475|       |
12476|      0|  case 665: /* function_definition: function_prototype $@14 compound_statement_no_new_scope  */
  ------------------
  |  Branch (12476:3): [True: 0, False: 2.04M]
  ------------------
12477|      0|#line 4339 "MachineIndependent/glslang.y"
12478|      0|                                    {
12479|       |        //   May be best done as post process phase on intermediate code
12480|      0|        if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsValue)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsValue)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12480:13): [True: 0, False: 0]
  |  Branch (12480:76): [True: 0, False: 0]
  ------------------
12481|      0|            parseContext.error((yyvsp[-2].interm).loc, "function does not return a value:", "", (yyvsp[-2].interm).function->getName().c_str());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12482|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12483|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12484|      0|        (yyval.interm.intermNode)->getAsAggregate()->setLinkType((yyvsp[-2].interm).function->getLinkType());
12485|      0|        parseContext.intermediate.setAggregateOperator((yyval.interm.intermNode), EOpFunction, (yyvsp[-2].interm).function->getType(), (yyvsp[-2].interm).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12486|      0|        (yyval.interm.intermNode)->getAsAggregate()->setName((yyvsp[-2].interm).function->getMangledName().c_str());
12487|       |
12488|       |        // store the pragma information for debug and optimize and other vendor specific
12489|       |        // information. This information can be queried from the parse tree
12490|      0|        (yyval.interm.intermNode)->getAsAggregate()->setOptimize(parseContext.contextPragma.optimize);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12491|      0|        (yyval.interm.intermNode)->getAsAggregate()->setDebug(parseContext.contextPragma.debug);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12492|      0|        (yyval.interm.intermNode)->getAsAggregate()->setPragmaTable(parseContext.contextPragma.pragmaTable);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12493|       |
12494|       |        // Set currentFunctionType to empty pointer when goes outside of the function
12495|      0|        parseContext.currentFunctionType = nullptr;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12496|       |
12497|       |        // For ES 100 only, according to ES shading language 100 spec: A function
12498|       |        // body has a scope nested inside the function's definition.
12499|      0|        if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12499:13): [True: 0, False: 0]
  |  Branch (12499:51): [True: 0, False: 0]
  ------------------
12500|      0|        {
12501|      0|            parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12502|      0|            --parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12503|      0|        }
12504|      0|    }
12505|      0|#line 12506 "MachineIndependent/glslang_tab.cpp"
12506|      0|    break;
12507|       |
12508|      0|  case 666: /* attribute: LEFT_BRACKET LEFT_BRACKET attribute_list RIGHT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (12508:3): [True: 0, False: 2.04M]
  ------------------
12509|      0|#line 4369 "MachineIndependent/glslang.y"
12510|      0|                                                                           {
12511|      0|        (yyval.interm.attributes) = (yyvsp[-2].interm.attributes);
12512|      0|    }
12513|      0|#line 12514 "MachineIndependent/glslang_tab.cpp"
12514|      0|    break;
12515|       |
12516|      0|  case 667: /* attribute_list: single_attribute  */
  ------------------
  |  Branch (12516:3): [True: 0, False: 2.04M]
  ------------------
12517|      0|#line 4374 "MachineIndependent/glslang.y"
12518|      0|                       {
12519|      0|        (yyval.interm.attributes) = (yyvsp[0].interm.attributes);
12520|      0|    }
12521|      0|#line 12522 "MachineIndependent/glslang_tab.cpp"
12522|      0|    break;
12523|       |
12524|      0|  case 668: /* attribute_list: attribute_list COMMA single_attribute  */
  ------------------
  |  Branch (12524:3): [True: 0, False: 2.04M]
  ------------------
12525|      0|#line 4377 "MachineIndependent/glslang.y"
12526|      0|                                            {
12527|      0|        (yyval.interm.attributes) = parseContext.mergeAttributes((yyvsp[-2].interm.attributes), (yyvsp[0].interm.attributes));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12528|      0|    }
12529|      0|#line 12530 "MachineIndependent/glslang_tab.cpp"
12530|      0|    break;
12531|       |
12532|      0|  case 669: /* single_attribute: IDENTIFIER  */
  ------------------
  |  Branch (12532:3): [True: 0, False: 2.04M]
  ------------------
12533|      0|#line 4382 "MachineIndependent/glslang.y"
12534|      0|                 {
12535|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(*(yyvsp[0].lex).string);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12536|      0|    }
12537|      0|#line 12538 "MachineIndependent/glslang_tab.cpp"
12538|      0|    break;
12539|       |
12540|      0|  case 670: /* single_attribute: IDENTIFIER LEFT_PAREN constant_expression RIGHT_PAREN  */
  ------------------
  |  Branch (12540:3): [True: 0, False: 2.04M]
  ------------------
12541|      0|#line 4385 "MachineIndependent/glslang.y"
12542|      0|                                                            {
12543|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(*(yyvsp[-3].lex).string, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12544|      0|    }
12545|      0|#line 12546 "MachineIndependent/glslang_tab.cpp"
12546|      0|    break;
12547|       |
12548|      0|  case 671: /* spirv_requirements_list: spirv_requirements_parameter  */
  ------------------
  |  Branch (12548:3): [True: 0, False: 2.04M]
  ------------------
12549|      0|#line 4390 "MachineIndependent/glslang.y"
12550|      0|                                   {
12551|      0|        (yyval.interm.spirvReq) = (yyvsp[0].interm.spirvReq);
12552|      0|    }
12553|      0|#line 12554 "MachineIndependent/glslang_tab.cpp"
12554|      0|    break;
12555|       |
12556|      0|  case 672: /* spirv_requirements_list: spirv_requirements_list COMMA spirv_requirements_parameter  */
  ------------------
  |  Branch (12556:3): [True: 0, False: 2.04M]
  ------------------
12557|      0|#line 4393 "MachineIndependent/glslang.y"
12558|      0|                                                                 {
12559|      0|        (yyval.interm.spirvReq) = parseContext.mergeSpirvRequirements((yyvsp[-1].lex).loc, (yyvsp[-2].interm.spirvReq), (yyvsp[0].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12560|      0|    }
12561|      0|#line 12562 "MachineIndependent/glslang_tab.cpp"
12562|      0|    break;
12563|       |
12564|      0|  case 673: /* spirv_requirements_parameter: IDENTIFIER EQUAL LEFT_BRACKET spirv_extension_list RIGHT_BRACKET  */
  ------------------
  |  Branch (12564:3): [True: 0, False: 2.04M]
  ------------------
12565|      0|#line 4398 "MachineIndependent/glslang.y"
12566|      0|                                                                       {
12567|      0|        (yyval.interm.spirvReq) = parseContext.makeSpirvRequirement((yyvsp[-3].lex).loc, *(yyvsp[-4].lex).string, (yyvsp[-1].interm.intermNode)->getAsAggregate(), nullptr);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12568|      0|    }
12569|      0|#line 12570 "MachineIndependent/glslang_tab.cpp"
12570|      0|    break;
12571|       |
12572|      0|  case 674: /* spirv_requirements_parameter: IDENTIFIER EQUAL LEFT_BRACKET spirv_capability_list RIGHT_BRACKET  */
  ------------------
  |  Branch (12572:3): [True: 0, False: 2.04M]
  ------------------
12573|      0|#line 4401 "MachineIndependent/glslang.y"
12574|      0|                                                                        {
12575|      0|        (yyval.interm.spirvReq) = parseContext.makeSpirvRequirement((yyvsp[-3].lex).loc, *(yyvsp[-4].lex).string, nullptr, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12576|      0|    }
12577|      0|#line 12578 "MachineIndependent/glslang_tab.cpp"
12578|      0|    break;
12579|       |
12580|      0|  case 675: /* spirv_extension_list: STRING_LITERAL  */
  ------------------
  |  Branch (12580:3): [True: 0, False: 2.04M]
  ------------------
12581|      0|#line 4406 "MachineIndependent/glslang.y"
12582|      0|                     {
12583|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12584|      0|    }
12585|      0|#line 12586 "MachineIndependent/glslang_tab.cpp"
12586|      0|    break;
12587|       |
12588|      0|  case 676: /* spirv_extension_list: spirv_extension_list COMMA STRING_LITERAL  */
  ------------------
  |  Branch (12588:3): [True: 0, False: 2.04M]
  ------------------
12589|      0|#line 4409 "MachineIndependent/glslang.y"
12590|      0|                                                {
12591|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12592|      0|    }
12593|      0|#line 12594 "MachineIndependent/glslang_tab.cpp"
12594|      0|    break;
12595|       |
12596|      0|  case 677: /* spirv_capability_list: INTCONSTANT  */
  ------------------
  |  Branch (12596:3): [True: 0, False: 2.04M]
  ------------------
12597|      0|#line 4414 "MachineIndependent/glslang.y"
12598|      0|                  {
12599|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12600|      0|    }
12601|      0|#line 12602 "MachineIndependent/glslang_tab.cpp"
12602|      0|    break;
12603|       |
12604|      0|  case 678: /* spirv_capability_list: spirv_capability_list COMMA INTCONSTANT  */
  ------------------
  |  Branch (12604:3): [True: 0, False: 2.04M]
  ------------------
12605|      0|#line 4417 "MachineIndependent/glslang.y"
12606|      0|                                              {
12607|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12608|      0|    }
12609|      0|#line 12610 "MachineIndependent/glslang_tab.cpp"
12610|      0|    break;
12611|       |
12612|      0|  case 679: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (12612:3): [True: 0, False: 2.04M]
  ------------------
12613|      0|#line 4422 "MachineIndependent/glslang.y"
12614|      0|                                                              {
12615|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-1].lex).i);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12616|      0|        (yyval.interm.intermNode) = 0;
12617|      0|    }
12618|      0|#line 12619 "MachineIndependent/glslang_tab.cpp"
12619|      0|    break;
12620|       |
12621|      0|  case 680: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (12621:3): [True: 0, False: 2.04M]
  ------------------
12622|      0|#line 4426 "MachineIndependent/glslang.y"
12623|      0|                                                                                            {
12624|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12625|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-1].lex).i);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12626|      0|        (yyval.interm.intermNode) = 0;
12627|      0|    }
12628|      0|#line 12629 "MachineIndependent/glslang_tab.cpp"
12629|      0|    break;
12630|       |
12631|      0|  case 681: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN INTCONSTANT COMMA spirv_execution_mode_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12631:3): [True: 0, False: 2.04M]
  ------------------
12632|      0|#line 4431 "MachineIndependent/glslang.y"
12633|      0|                                                                                                        {
12634|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12635|      0|        (yyval.interm.intermNode) = 0;
12636|      0|    }
12637|      0|#line 12638 "MachineIndependent/glslang_tab.cpp"
12638|      0|    break;
12639|       |
12640|      0|  case 682: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_execution_mode_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12640:3): [True: 0, False: 2.04M]
  ------------------
12641|      0|#line 4435 "MachineIndependent/glslang.y"
12642|      0|                                                                                                                                      {
12643|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12644|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12645|      0|        (yyval.interm.intermNode) = 0;
12646|      0|    }
12647|      0|#line 12648 "MachineIndependent/glslang_tab.cpp"
12648|      0|    break;
12649|       |
12650|      0|  case 683: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE_ID LEFT_PAREN INTCONSTANT COMMA spirv_execution_mode_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12650:3): [True: 0, False: 2.04M]
  ------------------
12651|      0|#line 4440 "MachineIndependent/glslang.y"
12652|      0|                                                                                                              {
12653|      0|        parseContext.intermediate.insertSpirvExecutionModeId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12654|      0|        (yyval.interm.intermNode) = 0;
12655|      0|    }
12656|      0|#line 12657 "MachineIndependent/glslang_tab.cpp"
12657|      0|    break;
12658|       |
12659|      0|  case 684: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE_ID LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_execution_mode_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12659:3): [True: 0, False: 2.04M]
  ------------------
12660|      0|#line 4444 "MachineIndependent/glslang.y"
12661|      0|                                                                                                                                            {
12662|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12663|      0|        parseContext.intermediate.insertSpirvExecutionModeId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12664|      0|        (yyval.interm.intermNode) = 0;
12665|      0|    }
12666|      0|#line 12667 "MachineIndependent/glslang_tab.cpp"
12667|      0|    break;
12668|       |
12669|      0|  case 685: /* spirv_execution_mode_parameter_list: spirv_execution_mode_parameter  */
  ------------------
  |  Branch (12669:3): [True: 0, False: 2.04M]
  ------------------
12670|      0|#line 4451 "MachineIndependent/glslang.y"
12671|      0|                                     {
12672|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12673|      0|    }
12674|      0|#line 12675 "MachineIndependent/glslang_tab.cpp"
12675|      0|    break;
12676|       |
12677|      0|  case 686: /* spirv_execution_mode_parameter_list: spirv_execution_mode_parameter_list COMMA spirv_execution_mode_parameter  */
  ------------------
  |  Branch (12677:3): [True: 0, False: 2.04M]
  ------------------
12678|      0|#line 4454 "MachineIndependent/glslang.y"
12679|      0|                                                                               {
12680|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12681|      0|    }
12682|      0|#line 12683 "MachineIndependent/glslang_tab.cpp"
12683|      0|    break;
12684|       |
12685|      0|  case 687: /* spirv_execution_mode_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (12685:3): [True: 0, False: 2.04M]
  ------------------
12686|      0|#line 4459 "MachineIndependent/glslang.y"
12687|      0|                    {
12688|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12689|      0|    }
12690|      0|#line 12691 "MachineIndependent/glslang_tab.cpp"
12691|      0|    break;
12692|       |
12693|      0|  case 688: /* spirv_execution_mode_parameter: INTCONSTANT  */
  ------------------
  |  Branch (12693:3): [True: 0, False: 2.04M]
  ------------------
12694|      0|#line 4462 "MachineIndependent/glslang.y"
12695|      0|                  {
12696|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12697|      0|    }
12698|      0|#line 12699 "MachineIndependent/glslang_tab.cpp"
12699|      0|    break;
12700|       |
12701|      0|  case 689: /* spirv_execution_mode_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (12701:3): [True: 0, False: 2.04M]
  ------------------
12702|      0|#line 4465 "MachineIndependent/glslang.y"
12703|      0|                   {
12704|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12705|      0|    }
12706|      0|#line 12707 "MachineIndependent/glslang_tab.cpp"
12707|      0|    break;
12708|       |
12709|      0|  case 690: /* spirv_execution_mode_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (12709:3): [True: 0, False: 2.04M]
  ------------------
12710|      0|#line 4468 "MachineIndependent/glslang.y"
12711|      0|                   {
12712|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12713|      0|    }
12714|      0|#line 12715 "MachineIndependent/glslang_tab.cpp"
12715|      0|    break;
12716|       |
12717|      0|  case 691: /* spirv_execution_mode_parameter: STRING_LITERAL  */
  ------------------
  |  Branch (12717:3): [True: 0, False: 2.04M]
  ------------------
12718|      0|#line 4471 "MachineIndependent/glslang.y"
12719|      0|                     {
12720|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12721|      0|    }
12722|      0|#line 12723 "MachineIndependent/glslang_tab.cpp"
12723|      0|    break;
12724|       |
12725|      0|  case 692: /* spirv_execution_mode_id_parameter_list: constant_expression  */
  ------------------
  |  Branch (12725:3): [True: 0, False: 2.04M]
  ------------------
12726|      0|#line 4476 "MachineIndependent/glslang.y"
12727|      0|                          {
12728|      0|        if ((yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (12728:13): [True: 0, False: 0]
  ------------------
12729|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtInt &&
  ------------------
  |  Branch (12729:13): [True: 0, False: 0]
  ------------------
12730|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtUint &&
  ------------------
  |  Branch (12730:13): [True: 0, False: 0]
  ------------------
12731|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtBool &&
  ------------------
  |  Branch (12731:13): [True: 0, False: 0]
  ------------------
12732|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtString)
  ------------------
  |  Branch (12732:13): [True: 0, False: 0]
  ------------------
12733|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "this type not allowed", (yyvsp[0].interm.intermTypedNode)->getType().getBasicString(), "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12734|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12735|      0|    }
12736|      0|#line 12737 "MachineIndependent/glslang_tab.cpp"
12737|      0|    break;
12738|       |
12739|      0|  case 693: /* spirv_execution_mode_id_parameter_list: spirv_execution_mode_id_parameter_list COMMA constant_expression  */
  ------------------
  |  Branch (12739:3): [True: 0, False: 2.04M]
  ------------------
12740|      0|#line 4485 "MachineIndependent/glslang.y"
12741|      0|                                                                       {
12742|      0|        if ((yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (12742:13): [True: 0, False: 0]
  ------------------
12743|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtInt &&
  ------------------
  |  Branch (12743:13): [True: 0, False: 0]
  ------------------
12744|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtUint &&
  ------------------
  |  Branch (12744:13): [True: 0, False: 0]
  ------------------
12745|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtBool &&
  ------------------
  |  Branch (12745:13): [True: 0, False: 0]
  ------------------
12746|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtString)
  ------------------
  |  Branch (12746:13): [True: 0, False: 0]
  ------------------
12747|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "this type not allowed", (yyvsp[0].interm.intermTypedNode)->getType().getBasicString(), "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12748|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12749|      0|    }
12750|      0|#line 12751 "MachineIndependent/glslang_tab.cpp"
12751|      0|    break;
12752|       |
12753|      0|  case 694: /* spirv_storage_class_qualifier: SPIRV_STORAGE_CLASS LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (12753:3): [True: 0, False: 2.04M]
  ------------------
12754|      0|#line 4496 "MachineIndependent/glslang.y"
12755|      0|                                                             {
12756|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
12757|      0|        (yyval.interm.type).qualifier.storage = EvqSpirvStorageClass;
12758|      0|        (yyval.interm.type).qualifier.spirvStorageClass = (yyvsp[-1].lex).i;
12759|      0|    }
12760|      0|#line 12761 "MachineIndependent/glslang_tab.cpp"
12761|      0|    break;
12762|       |
12763|      0|  case 695: /* spirv_storage_class_qualifier: SPIRV_STORAGE_CLASS LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (12763:3): [True: 0, False: 2.04M]
  ------------------
12764|      0|#line 4501 "MachineIndependent/glslang.y"
12765|      0|                                                                                           {
12766|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
12767|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12768|      0|        (yyval.interm.type).qualifier.storage = EvqSpirvStorageClass;
12769|      0|        (yyval.interm.type).qualifier.spirvStorageClass = (yyvsp[-1].lex).i;
12770|      0|    }
12771|      0|#line 12772 "MachineIndependent/glslang_tab.cpp"
12772|      0|    break;
12773|       |
12774|      0|  case 696: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (12774:3): [True: 0, False: 2.04M]
  ------------------
12775|      0|#line 4509 "MachineIndependent/glslang.y"
12776|      0|                                                       {
12777|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
12778|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-1].lex).i);
12779|      0|    }
12780|      0|#line 12781 "MachineIndependent/glslang_tab.cpp"
12781|      0|    break;
12782|       |
12783|      0|  case 697: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (12783:3): [True: 0, False: 2.04M]
  ------------------
12784|      0|#line 4513 "MachineIndependent/glslang.y"
12785|      0|                                                                                     {
12786|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
12787|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12788|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-1].lex).i);
12789|      0|    }
12790|      0|#line 12791 "MachineIndependent/glslang_tab.cpp"
12791|      0|    break;
12792|       |
12793|      0|  case 698: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN INTCONSTANT COMMA spirv_decorate_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12793:3): [True: 0, False: 2.04M]
  ------------------
12794|      0|#line 4518 "MachineIndependent/glslang.y"
12795|      0|                                                                                            {
12796|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
12797|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
12798|      0|    }
12799|      0|#line 12800 "MachineIndependent/glslang_tab.cpp"
12800|      0|    break;
12801|       |
12802|      0|  case 699: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12802:3): [True: 0, False: 2.04M]
  ------------------
12803|      0|#line 4522 "MachineIndependent/glslang.y"
12804|      0|                                                                                                                          {
12805|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
12806|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12807|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
12808|      0|    }
12809|      0|#line 12810 "MachineIndependent/glslang_tab.cpp"
12810|      0|    break;
12811|       |
12812|      0|  case 700: /* spirv_decorate_qualifier: SPIRV_DECORATE_ID LEFT_PAREN INTCONSTANT COMMA spirv_decorate_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12812:3): [True: 0, False: 2.04M]
  ------------------
12813|      0|#line 4527 "MachineIndependent/glslang.y"
12814|      0|                                                                                                  {
12815|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
12816|      0|        (yyval.interm.type).qualifier.setSpirvDecorateId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
12817|      0|    }
12818|      0|#line 12819 "MachineIndependent/glslang_tab.cpp"
12819|      0|    break;
12820|       |
12821|      0|  case 701: /* spirv_decorate_qualifier: SPIRV_DECORATE_ID LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12821:3): [True: 0, False: 2.04M]
  ------------------
12822|      0|#line 4531 "MachineIndependent/glslang.y"
12823|      0|                                                                                                                                {
12824|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
12825|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12826|      0|        (yyval.interm.type).qualifier.setSpirvDecorateId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
12827|      0|    }
12828|      0|#line 12829 "MachineIndependent/glslang_tab.cpp"
12829|      0|    break;
12830|       |
12831|      0|  case 702: /* spirv_decorate_qualifier: SPIRV_DECORATE_STRING LEFT_PAREN INTCONSTANT COMMA spirv_decorate_string_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12831:3): [True: 0, False: 2.04M]
  ------------------
12832|      0|#line 4536 "MachineIndependent/glslang.y"
12833|      0|                                                                                                          {
12834|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
12835|      0|        (yyval.interm.type).qualifier.setSpirvDecorateString((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
12836|      0|    }
12837|      0|#line 12838 "MachineIndependent/glslang_tab.cpp"
12838|      0|    break;
12839|       |
12840|      0|  case 703: /* spirv_decorate_qualifier: SPIRV_DECORATE_STRING LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_string_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12840:3): [True: 0, False: 2.04M]
  ------------------
12841|      0|#line 4540 "MachineIndependent/glslang.y"
12842|      0|                                                                                                                                        {
12843|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
12844|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12845|      0|        (yyval.interm.type).qualifier.setSpirvDecorateString((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
12846|      0|    }
12847|      0|#line 12848 "MachineIndependent/glslang_tab.cpp"
12848|      0|    break;
12849|       |
12850|      0|  case 704: /* spirv_decorate_parameter_list: spirv_decorate_parameter  */
  ------------------
  |  Branch (12850:3): [True: 0, False: 2.04M]
  ------------------
12851|      0|#line 4547 "MachineIndependent/glslang.y"
12852|      0|                               {
12853|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12854|      0|    }
12855|      0|#line 12856 "MachineIndependent/glslang_tab.cpp"
12856|      0|    break;
12857|       |
12858|      0|  case 705: /* spirv_decorate_parameter_list: spirv_decorate_parameter_list COMMA spirv_decorate_parameter  */
  ------------------
  |  Branch (12858:3): [True: 0, False: 2.04M]
  ------------------
12859|      0|#line 4550 "MachineIndependent/glslang.y"
12860|      0|                                                                   {
12861|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12862|      0|    }
12863|      0|#line 12864 "MachineIndependent/glslang_tab.cpp"
12864|      0|    break;
12865|       |
12866|      0|  case 706: /* spirv_decorate_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (12866:3): [True: 0, False: 2.04M]
  ------------------
12867|      0|#line 4555 "MachineIndependent/glslang.y"
12868|      0|                    {
12869|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12870|      0|    }
12871|      0|#line 12872 "MachineIndependent/glslang_tab.cpp"
12872|      0|    break;
12873|       |
12874|      0|  case 707: /* spirv_decorate_parameter: INTCONSTANT  */
  ------------------
  |  Branch (12874:3): [True: 0, False: 2.04M]
  ------------------
12875|      0|#line 4558 "MachineIndependent/glslang.y"
12876|      0|                  {
12877|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12878|      0|    }
12879|      0|#line 12880 "MachineIndependent/glslang_tab.cpp"
12880|      0|    break;
12881|       |
12882|      0|  case 708: /* spirv_decorate_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (12882:3): [True: 0, False: 2.04M]
  ------------------
12883|      0|#line 4561 "MachineIndependent/glslang.y"
12884|      0|                   {
12885|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12886|      0|    }
12887|      0|#line 12888 "MachineIndependent/glslang_tab.cpp"
12888|      0|    break;
12889|       |
12890|      0|  case 709: /* spirv_decorate_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (12890:3): [True: 0, False: 2.04M]
  ------------------
12891|      0|#line 4564 "MachineIndependent/glslang.y"
12892|      0|                   {
12893|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12894|      0|    }
12895|      0|#line 12896 "MachineIndependent/glslang_tab.cpp"
12896|      0|    break;
12897|       |
12898|      0|  case 710: /* spirv_decorate_id_parameter_list: spirv_decorate_id_parameter  */
  ------------------
  |  Branch (12898:3): [True: 0, False: 2.04M]
  ------------------
12899|      0|#line 4569 "MachineIndependent/glslang.y"
12900|      0|                                  {
12901|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12902|      0|    }
12903|      0|#line 12904 "MachineIndependent/glslang_tab.cpp"
12904|      0|    break;
12905|       |
12906|      0|  case 711: /* spirv_decorate_id_parameter_list: spirv_decorate_id_parameter_list COMMA spirv_decorate_id_parameter  */
  ------------------
  |  Branch (12906:3): [True: 0, False: 2.04M]
  ------------------
12907|      0|#line 4572 "MachineIndependent/glslang.y"
12908|      0|                                                                         {
12909|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12910|      0|    }
12911|      0|#line 12912 "MachineIndependent/glslang_tab.cpp"
12912|      0|    break;
12913|       |
12914|      0|  case 712: /* spirv_decorate_id_parameter: variable_identifier  */
  ------------------
  |  Branch (12914:3): [True: 0, False: 2.04M]
  ------------------
12915|      0|#line 4577 "MachineIndependent/glslang.y"
12916|      0|                          {
12917|      0|        if ((yyvsp[0].interm.intermTypedNode)->getAsConstantUnion() || (yyvsp[0].interm.intermTypedNode)->getAsSymbolNode())
  ------------------
  |  Branch (12917:13): [True: 0, False: 0]
  |  Branch (12917:72): [True: 0, False: 0]
  ------------------
12918|      0|            (yyval.interm.intermNode) = (yyvsp[0].interm.intermTypedNode);
12919|      0|        else
12920|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "only allow constants or variables which are not elements of a composite", "", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12921|      0|    }
12922|      0|#line 12923 "MachineIndependent/glslang_tab.cpp"
12923|      0|    break;
12924|       |
12925|      0|  case 713: /* spirv_decorate_id_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (12925:3): [True: 0, False: 2.04M]
  ------------------
12926|      0|#line 4583 "MachineIndependent/glslang.y"
12927|      0|                    {
12928|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12929|      0|    }
12930|      0|#line 12931 "MachineIndependent/glslang_tab.cpp"
12931|      0|    break;
12932|       |
12933|      0|  case 714: /* spirv_decorate_id_parameter: INTCONSTANT  */
  ------------------
  |  Branch (12933:3): [True: 0, False: 2.04M]
  ------------------
12934|      0|#line 4586 "MachineIndependent/glslang.y"
12935|      0|                  {
12936|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12937|      0|    }
12938|      0|#line 12939 "MachineIndependent/glslang_tab.cpp"
12939|      0|    break;
12940|       |
12941|      0|  case 715: /* spirv_decorate_id_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (12941:3): [True: 0, False: 2.04M]
  ------------------
12942|      0|#line 4589 "MachineIndependent/glslang.y"
12943|      0|                   {
12944|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12945|      0|    }
12946|      0|#line 12947 "MachineIndependent/glslang_tab.cpp"
12947|      0|    break;
12948|       |
12949|      0|  case 716: /* spirv_decorate_id_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (12949:3): [True: 0, False: 2.04M]
  ------------------
12950|      0|#line 4592 "MachineIndependent/glslang.y"
12951|      0|                   {
12952|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12953|      0|    }
12954|      0|#line 12955 "MachineIndependent/glslang_tab.cpp"
12955|      0|    break;
12956|       |
12957|      0|  case 717: /* spirv_decorate_string_parameter_list: STRING_LITERAL  */
  ------------------
  |  Branch (12957:3): [True: 0, False: 2.04M]
  ------------------
12958|      0|#line 4597 "MachineIndependent/glslang.y"
12959|      0|                     {
12960|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12961|      0|            parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12962|      0|    }
12963|      0|#line 12964 "MachineIndependent/glslang_tab.cpp"
12964|      0|    break;
12965|       |
12966|      0|  case 718: /* spirv_decorate_string_parameter_list: spirv_decorate_string_parameter_list COMMA STRING_LITERAL  */
  ------------------
  |  Branch (12966:3): [True: 0, False: 2.04M]
  ------------------
12967|      0|#line 4601 "MachineIndependent/glslang.y"
12968|      0|                                                                {
12969|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12970|      0|    }
12971|      0|#line 12972 "MachineIndependent/glslang_tab.cpp"
12972|      0|    break;
12973|       |
12974|      0|  case 719: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_instruction_qualifier_list COMMA spirv_type_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12974:3): [True: 0, False: 2.04M]
  ------------------
12975|      0|#line 4606 "MachineIndependent/glslang.y"
12976|      0|                                                                                                         {
12977|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12978|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-3].interm.spirvInst), (yyvsp[-1].interm.spirvTypeParams));
12979|      0|    }
12980|      0|#line 12981 "MachineIndependent/glslang_tab.cpp"
12981|      0|    break;
12982|       |
12983|      0|  case 720: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list COMMA spirv_type_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12983:3): [True: 0, False: 2.04M]
  ------------------
12984|      0|#line 4610 "MachineIndependent/glslang.y"
12985|      0|                                                                                                                                       {
12986|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12987|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12988|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-3].interm.spirvInst), (yyvsp[-1].interm.spirvTypeParams));
12989|      0|    }
12990|      0|#line 12991 "MachineIndependent/glslang_tab.cpp"
12991|      0|    break;
12992|       |
12993|      0|  case 721: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (12993:3): [True: 0, False: 2.04M]
  ------------------
12994|      0|#line 4615 "MachineIndependent/glslang.y"
12995|      0|                                                                         {
12996|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12997|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-1].interm.spirvInst));
12998|      0|    }
12999|      0|#line 13000 "MachineIndependent/glslang_tab.cpp"
13000|      0|    break;
13001|       |
13002|      0|  case 722: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13002:3): [True: 0, False: 2.04M]
  ------------------
13003|      0|#line 4619 "MachineIndependent/glslang.y"
13004|      0|                                                                                                       {
13005|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
13006|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
13007|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-1].interm.spirvInst));
13008|      0|    }
13009|      0|#line 13010 "MachineIndependent/glslang_tab.cpp"
13010|      0|    break;
13011|       |
13012|      0|  case 723: /* spirv_type_parameter_list: spirv_type_parameter  */
  ------------------
  |  Branch (13012:3): [True: 0, False: 2.04M]
  ------------------
13013|      0|#line 4626 "MachineIndependent/glslang.y"
13014|      0|                           {
13015|      0|        (yyval.interm.spirvTypeParams) = (yyvsp[0].interm.spirvTypeParams);
13016|      0|    }
13017|      0|#line 13018 "MachineIndependent/glslang_tab.cpp"
13018|      0|    break;
13019|       |
13020|      0|  case 724: /* spirv_type_parameter_list: spirv_type_parameter_list COMMA spirv_type_parameter  */
  ------------------
  |  Branch (13020:3): [True: 0, False: 2.04M]
  ------------------
13021|      0|#line 4629 "MachineIndependent/glslang.y"
13022|      0|                                                           {
13023|      0|        (yyval.interm.spirvTypeParams) = parseContext.mergeSpirvTypeParameters((yyvsp[-2].interm.spirvTypeParams), (yyvsp[0].interm.spirvTypeParams));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
13024|      0|    }
13025|      0|#line 13026 "MachineIndependent/glslang_tab.cpp"
13026|      0|    break;
13027|       |
13028|      0|  case 725: /* spirv_type_parameter: constant_expression  */
  ------------------
  |  Branch (13028:3): [True: 0, False: 2.04M]
  ------------------
13029|      0|#line 4634 "MachineIndependent/glslang.y"
13030|      0|                          {
13031|      0|        (yyval.interm.spirvTypeParams) = parseContext.makeSpirvTypeParameters((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode)->getAsConstantUnion());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
13032|      0|    }
13033|      0|#line 13034 "MachineIndependent/glslang_tab.cpp"
13034|      0|    break;
13035|       |
13036|      0|  case 726: /* spirv_type_parameter: type_specifier_nonarray  */
  ------------------
  |  Branch (13036:3): [True: 0, False: 2.04M]
  ------------------
13037|      0|#line 4637 "MachineIndependent/glslang.y"
13038|      0|                              {
13039|      0|        (yyval.interm.spirvTypeParams) = parseContext.makeSpirvTypeParameters((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
13040|      0|    }
13041|      0|#line 13042 "MachineIndependent/glslang_tab.cpp"
13042|      0|    break;
13043|       |
13044|      0|  case 727: /* spirv_instruction_qualifier: SPIRV_INSTRUCTION LEFT_PAREN spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13044:3): [True: 0, False: 2.04M]
  ------------------
13045|      0|#line 4642 "MachineIndependent/glslang.y"
13046|      0|                                                                                {
13047|      0|        (yyval.interm.spirvInst) = (yyvsp[-1].interm.spirvInst);
13048|      0|    }
13049|      0|#line 13050 "MachineIndependent/glslang_tab.cpp"
13050|      0|    break;
13051|       |
13052|      0|  case 728: /* spirv_instruction_qualifier: SPIRV_INSTRUCTION LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13052:3): [True: 0, False: 2.04M]
  ------------------
13053|      0|#line 4645 "MachineIndependent/glslang.y"
13054|      0|                                                                                                              {
13055|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
13056|      0|        (yyval.interm.spirvInst) = (yyvsp[-1].interm.spirvInst);
13057|      0|    }
13058|      0|#line 13059 "MachineIndependent/glslang_tab.cpp"
13059|      0|    break;
13060|       |
13061|      0|  case 729: /* spirv_instruction_qualifier_list: spirv_instruction_qualifier_id  */
  ------------------
  |  Branch (13061:3): [True: 0, False: 2.04M]
  ------------------
13062|      0|#line 4651 "MachineIndependent/glslang.y"
13063|      0|                                     {
13064|      0|        (yyval.interm.spirvInst) = (yyvsp[0].interm.spirvInst);
13065|      0|    }
13066|      0|#line 13067 "MachineIndependent/glslang_tab.cpp"
13067|      0|    break;
13068|       |
13069|      0|  case 730: /* spirv_instruction_qualifier_list: spirv_instruction_qualifier_list COMMA spirv_instruction_qualifier_id  */
  ------------------
  |  Branch (13069:3): [True: 0, False: 2.04M]
  ------------------
13070|      0|#line 4654 "MachineIndependent/glslang.y"
13071|      0|                                                                            {
13072|      0|        (yyval.interm.spirvInst) = parseContext.mergeSpirvInstruction((yyvsp[-1].lex).loc, (yyvsp[-2].interm.spirvInst), (yyvsp[0].interm.spirvInst));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
13073|      0|    }
13074|      0|#line 13075 "MachineIndependent/glslang_tab.cpp"
13075|      0|    break;
13076|       |
13077|      0|  case 731: /* spirv_instruction_qualifier_id: IDENTIFIER EQUAL STRING_LITERAL  */
  ------------------
  |  Branch (13077:3): [True: 0, False: 2.04M]
  ------------------
13078|      0|#line 4659 "MachineIndependent/glslang.y"
13079|      0|                                      {
13080|      0|        (yyval.interm.spirvInst) = parseContext.makeSpirvInstruction((yyvsp[-1].lex).loc, *(yyvsp[-2].lex).string, *(yyvsp[0].lex).string);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
13081|      0|    }
13082|      0|#line 13083 "MachineIndependent/glslang_tab.cpp"
13083|      0|    break;
13084|       |
13085|      0|  case 732: /* spirv_instruction_qualifier_id: IDENTIFIER EQUAL INTCONSTANT  */
  ------------------
  |  Branch (13085:3): [True: 0, False: 2.04M]
  ------------------
13086|      0|#line 4662 "MachineIndependent/glslang.y"
13087|      0|                                   {
13088|      0|        (yyval.interm.spirvInst) = parseContext.makeSpirvInstruction((yyvsp[-1].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[0].lex).i);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
13089|      0|    }
13090|      0|#line 13091 "MachineIndependent/glslang_tab.cpp"
13091|      0|    break;
13092|       |
13093|       |
13094|      0|#line 13095 "MachineIndependent/glslang_tab.cpp"
13095|       |
13096|      0|      default: break;
  ------------------
  |  Branch (13096:7): [True: 0, False: 2.04M]
  ------------------
13097|  2.04M|    }
13098|       |  /* User semantic actions sometimes alter yychar, and that requires
13099|       |     that yytoken be updated with the new translation.  We take the
13100|       |     approach of translating immediately before every use of yytoken.
13101|       |     One alternative is translating here after every semantic action,
13102|       |     but that translation would be missed if the semantic action invokes
13103|       |     YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
13104|       |     if it invokes YYBACKUP.  In the case of YYABORT or YYACCEPT, an
13105|       |     incorrect destructor might then be invoked immediately.  In the
13106|       |     case of YYERROR or YYBACKUP, subsequent parser actions might lead
13107|       |     to an incorrect destructor call or verbose syntax error message
13108|       |     before the lookahead is translated.  */
13109|  2.04M|  YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc);
  ------------------
  |  | 4800|  2.04M|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 4801|  2.04M|do {                                                                      \
  |  | 4802|  2.04M|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (4802:7): [True: 0, False: 2.04M]
  |  |  ------------------
  |  | 4803|  2.04M|    {                                                                     \
  |  | 4804|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4805|      0|      yy_symbol_print (stderr,                                            \
  |  | 4806|      0|                  Kind, Value, pParseContext); \
  |  | 4807|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4808|      0|    }                                                                     \
  |  | 4809|  2.04M|} while (0)
  |  |  ------------------
  |  |  |  Branch (4809:10): [Folded, False: 2.04M]
  |  |  ------------------
  ------------------
13110|       |
13111|  2.04M|  YYPOPSTACK (yylen);
  ------------------
  |  | 5277|  2.04M|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13112|  2.04M|  yylen = 0;
13113|       |
13114|  2.04M|  *++yyvsp = yyval;
13115|       |
13116|       |  /* Now 'shift' the result of the reduction.  Determine what state
13117|       |     that goes to, based on the state we popped back to and the rule
13118|       |     number reduced by.  */
13119|  2.04M|  {
13120|  2.04M|    const int yylhs = yyr1[yyn] - YYNTOKENS;
  ------------------
  |  | 1089|  2.04M|#define YYNTOKENS  488
  ------------------
13121|  2.04M|    const int yyi = yypgoto[yylhs] + *yyssp;
13122|  2.04M|    yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp
  ------------------
  |  | 1086|  3.17M|#define YYLAST   13823
  ------------------
  |  Branch (13122:16): [True: 1.12M, False: 917k]
  |  Branch (13122:28): [True: 1.12M, False: 0]
  |  Branch (13122:45): [True: 685k, False: 443k]
  ------------------
13123|  2.04M|               ? yytable[yyi]
13124|  2.04M|               : yydefgoto[yylhs]);
13125|  2.04M|  }
13126|       |
13127|  2.04M|  goto yynewstate;
13128|       |
13129|       |
13130|       |/*--------------------------------------.
13131|       || yyerrlab -- here on detecting error.  |
13132|       |`--------------------------------------*/
13133|     58|yyerrlab:
13134|       |  /* Make sure we have latest lookahead translation.  See comments at
13135|       |     user semantic actions for why this is necessary.  */
13136|     58|  yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
  ------------------
  |  | 1104|    116|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1098|     58|#define YYMAXUTOK   742
  |  |  ------------------
  |  |  |  Branch (1104:4): [True: 58, False: 0]
  |  |  |  Branch (1104:18): [True: 58, False: 0]
  |  |  ------------------
  |  | 1105|    116|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|     58|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1106|    116|   : YYSYMBOL_YYUNDEF)
  ------------------
  |  Branch (13136:13): [True: 0, False: 58]
  ------------------
13137|       |  /* If not already recovering from an error, report this error.  */
13138|     58|  if (!yyerrstatus)
  ------------------
  |  Branch (13138:7): [True: 58, False: 0]
  ------------------
13139|     58|    {
13140|     58|      ++yynerrs;
13141|     58|      {
13142|     58|        yypcontext_t yyctx
13143|     58|          = {yyssp, yytoken};
13144|     58|        char const *yymsgp = YY_("syntax error");
  ------------------
  |  |  888|     58|#  define YY_(Msgid) Msgid
  ------------------
13145|     58|        int yysyntax_error_status;
13146|     58|        yysyntax_error_status = yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
13147|     58|        if (yysyntax_error_status == 0)
  ------------------
  |  Branch (13147:13): [True: 58, False: 0]
  ------------------
13148|     58|          yymsgp = yymsg;
13149|      0|        else if (yysyntax_error_status == -1)
  ------------------
  |  Branch (13149:18): [True: 0, False: 0]
  ------------------
13150|      0|          {
13151|      0|            if (yymsg != yymsgbuf)
  ------------------
  |  Branch (13151:17): [True: 0, False: 0]
  ------------------
13152|      0|              YYSTACK_FREE (yymsg);
  ------------------
  |  |  996|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1015|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13153|      0|            yymsg = YY_CAST (char *,
  ------------------
  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
13154|      0|                             YYSTACK_ALLOC (YY_CAST (YYSIZE_T, yymsg_alloc)));
13155|      0|            if (yymsg)
  ------------------
  |  Branch (13155:17): [True: 0, False: 0]
  ------------------
13156|      0|              {
13157|      0|                yysyntax_error_status
13158|      0|                  = yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
13159|      0|                yymsgp = yymsg;
13160|      0|              }
13161|      0|            else
13162|      0|              {
13163|      0|                yymsg = yymsgbuf;
13164|      0|                yymsg_alloc = sizeof yymsgbuf;
13165|      0|                yysyntax_error_status = YYENOMEM;
13166|      0|              }
13167|      0|          }
13168|     58|        yyerror (pParseContext, yymsgp);
  ------------------
  |  |  757|     58|#define yyerror(context, msg) context->parserError(msg)
  ------------------
13169|     58|        if (yysyntax_error_status == YYENOMEM)
  ------------------
  |  Branch (13169:13): [True: 0, False: 58]
  ------------------
13170|      0|          YYNOMEM;
  ------------------
  |  | 4756|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
13171|     58|      }
13172|     58|    }
13173|       |
13174|     58|  if (yyerrstatus == 3)
  ------------------
  |  Branch (13174:7): [True: 0, False: 58]
  ------------------
13175|      0|    {
13176|       |      /* If just tried and failed to reuse lookahead token after an
13177|       |         error, discard it.  */
13178|       |
13179|      0|      if (yychar <= YYEOF)
  ------------------
  |  Branch (13179:11): [True: 0, False: 0]
  ------------------
13180|      0|        {
13181|       |          /* Return failure if at end of input.  */
13182|      0|          if (yychar == YYEOF)
  ------------------
  |  Branch (13182:15): [True: 0, False: 0]
  ------------------
13183|      0|            YYABORT;
  ------------------
  |  | 4754|      0|#define YYABORT         goto yyabortlab
  ------------------
13184|      0|        }
13185|      0|      else
13186|      0|        {
13187|      0|          yydestruct ("Error: discarding",
13188|      0|                      yytoken, &yylval, pParseContext);
13189|      0|          yychar = YYEMPTY;
13190|      0|        }
13191|      0|    }
13192|       |
13193|       |  /* Else will try to reuse lookahead token after shifting the error
13194|       |     token.  */
13195|     58|  goto yyerrlab1;
13196|       |
13197|       |
13198|       |/*---------------------------------------------------.
13199|       || yyerrorlab -- error raised explicitly by YYERROR.  |
13200|       |`---------------------------------------------------*/
13201|     58|yyerrorlab:
13202|       |  /* Pacify compilers when the user code never invokes YYERROR and the
13203|       |     label yyerrorlab therefore never appears in user code.  */
13204|      0|  if (0)
  ------------------
  |  Branch (13204:7): [Folded, False: 0]
  ------------------
13205|      0|    YYERROR;
  ------------------
  |  | 4755|      0|#define YYERROR         goto yyerrorlab
  ------------------
13206|      0|  ++yynerrs;
13207|       |
13208|       |  /* Do not reclaim the symbols of the rule whose action triggered
13209|       |     this YYERROR.  */
13210|      0|  YYPOPSTACK (yylen);
  ------------------
  |  | 5277|      0|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13211|      0|  yylen = 0;
13212|      0|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 4863|      0|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 4864|      0|do {                                                            \
  |  | 4865|      0|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (4865:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 4866|      0|    yy_stack_print ((Bottom), (Top));                           \
  |  | 4867|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (4867:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
13213|      0|  yystate = *yyssp;
13214|      0|  goto yyerrlab1;
13215|       |
13216|       |
13217|       |/*-------------------------------------------------------------.
13218|       || yyerrlab1 -- common code for both syntax error and YYERROR.  |
13219|       |`-------------------------------------------------------------*/
13220|     58|yyerrlab1:
13221|     58|  yyerrstatus = 3;      /* Each real token shifted decrements this.  */
13222|       |
13223|       |  /* Pop stack until we find a state that shifts the error token.  */
13224|     58|  for (;;)
13225|     80|    {
13226|     80|      yyn = yypact[yystate];
13227|     80|      if (!yypact_value_is_default (yyn))
  ------------------
  |  | 1451|     80|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1448|     80|#define YYPACT_NINF (-849)
  |  |  ------------------
  ------------------
  |  Branch (13227:11): [True: 80, False: 0]
  ------------------
13228|     80|        {
13229|     80|          yyn += YYSYMBOL_YYerror;
13230|     80|          if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror)
  ------------------
  |  | 1086|    149|#define YYLAST   13823
  ------------------
  |  Branch (13230:15): [True: 69, False: 11]
  |  Branch (13230:27): [True: 69, False: 0]
  |  Branch (13230:44): [True: 0, False: 69]
  ------------------
13231|      0|            {
13232|      0|              yyn = yytable[yyn];
13233|      0|              if (0 < yyn)
  ------------------
  |  Branch (13233:19): [True: 0, False: 0]
  ------------------
13234|      0|                break;
13235|      0|            }
13236|     80|        }
13237|       |
13238|       |      /* Pop the current state because it cannot handle the error token.  */
13239|     80|      if (yyssp == yyss)
  ------------------
  |  Branch (13239:11): [True: 58, False: 22]
  ------------------
13240|     58|        YYABORT;
  ------------------
  |  | 4754|     58|#define YYABORT         goto yyabortlab
  ------------------
13241|       |
13242|       |
13243|     22|      yydestruct ("Error: popping",
13244|     22|                  YY_ACCESSING_SYMBOL (yystate), yyvsp, pParseContext);
  ------------------
  |  | 1271|     22|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  100|     22|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
13245|     22|      YYPOPSTACK (1);
  ------------------
  |  | 5277|     22|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13246|     22|      yystate = *yyssp;
13247|     22|      YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 4863|     22|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 4864|     22|do {                                                            \
  |  | 4865|     22|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (4865:7): [True: 0, False: 22]
  |  |  ------------------
  |  | 4866|     22|    yy_stack_print ((Bottom), (Top));                           \
  |  | 4867|     22|} while (0)
  |  |  ------------------
  |  |  |  Branch (4867:10): [Folded, False: 22]
  |  |  ------------------
  ------------------
13248|     22|    }
13249|       |
13250|      0|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
13251|      0|  *++yyvsp = yylval;
13252|      0|  YY_IGNORE_MAYBE_UNINITIALIZED_END
13253|       |
13254|       |
13255|       |  /* Shift the error token.  */
13256|      0|  YY_SYMBOL_PRINT ("Shifting", YY_ACCESSING_SYMBOL (yyn), yyvsp, yylsp);
  ------------------
  |  | 4800|      0|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 4801|      0|do {                                                                      \
  |  | 4802|      0|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (4802:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 4803|      0|    {                                                                     \
  |  | 4804|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4805|      0|      yy_symbol_print (stderr,                                            \
  |  | 4806|      0|                  Kind, Value, pParseContext); \
  |  | 4807|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4808|      0|    }                                                                     \
  |  | 4809|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (4809:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
13257|       |
13258|      0|  yystate = yyn;
13259|      0|  goto yynewstate;
13260|       |
13261|       |
13262|       |/*-------------------------------------.
13263|       || yyacceptlab -- YYACCEPT comes here.  |
13264|       |`-------------------------------------*/
13265|    288|yyacceptlab:
13266|    288|  yyresult = 0;
13267|    288|  goto yyreturnlab;
13268|       |
13269|       |
13270|       |/*-----------------------------------.
13271|       || yyabortlab -- YYABORT comes here.  |
13272|       |`-----------------------------------*/
13273|     58|yyabortlab:
13274|     58|  yyresult = 1;
13275|     58|  goto yyreturnlab;
13276|       |
13277|       |
13278|       |/*-----------------------------------------------------------.
13279|       || yyexhaustedlab -- YYNOMEM (memory exhaustion) comes here.  |
13280|       |`-----------------------------------------------------------*/
13281|      0|yyexhaustedlab:
13282|      0|  yyerror (pParseContext, YY_("memory exhausted"));
  ------------------
  |  |  757|      0|#define yyerror(context, msg) context->parserError(msg)
  ------------------
13283|      0|  yyresult = 2;
13284|      0|  goto yyreturnlab;
13285|       |
13286|       |
13287|       |/*----------------------------------------------------------.
13288|       || yyreturnlab -- parsing is finished, clean up and return.  |
13289|       |`----------------------------------------------------------*/
13290|    346|yyreturnlab:
13291|    346|  if (yychar != YYEMPTY)
  ------------------
  |  Branch (13291:7): [True: 58, False: 288]
  ------------------
13292|     58|    {
13293|       |      /* Make sure we have latest lookahead translation.  See comments at
13294|       |         user semantic actions for why this is necessary.  */
13295|     58|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  | 1104|     58|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1098|     58|#define YYMAXUTOK   742
  |  |  ------------------
  |  |  |  Branch (1104:4): [True: 58, False: 0]
  |  |  |  Branch (1104:18): [True: 58, False: 0]
  |  |  ------------------
  |  | 1105|     58|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|     58|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1106|     58|   : YYSYMBOL_YYUNDEF)
  ------------------
13296|     58|      yydestruct ("Cleanup: discarding lookahead",
13297|     58|                  yytoken, &yylval, pParseContext);
13298|     58|    }
13299|       |  /* Do not reclaim the symbols of the rule whose action triggered
13300|       |     this YYABORT or YYACCEPT.  */
13301|    346|  YYPOPSTACK (yylen);
  ------------------
  |  | 5277|    346|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13302|    346|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 4863|    346|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 4864|    346|do {                                                            \
  |  | 4865|    346|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (4865:7): [True: 0, False: 346]
  |  |  ------------------
  |  | 4866|    346|    yy_stack_print ((Bottom), (Top));                           \
  |  | 4867|    346|} while (0)
  |  |  ------------------
  |  |  |  Branch (4867:10): [Folded, False: 346]
  |  |  ------------------
  ------------------
13303|    922|  while (yyssp != yyss)
  ------------------
  |  Branch (13303:10): [True: 576, False: 346]
  ------------------
13304|    576|    {
13305|    576|      yydestruct ("Cleanup: popping",
13306|    576|                  YY_ACCESSING_SYMBOL (+*yyssp), yyvsp, pParseContext);
  ------------------
  |  | 1271|    576|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  100|    576|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
13307|    576|      YYPOPSTACK (1);
  ------------------
  |  | 5277|    576|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13308|    576|    }
13309|    346|#ifndef yyoverflow
13310|    346|  if (yyss != yyssa)
  ------------------
  |  Branch (13310:7): [True: 0, False: 346]
  ------------------
13311|      0|    YYSTACK_FREE (yyss);
  ------------------
  |  |  996|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1015|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13312|    346|#endif
13313|    346|  if (yymsg != yymsgbuf)
  ------------------
  |  Branch (13313:7): [True: 0, False: 346]
  ------------------
13314|      0|    YYSTACK_FREE (yymsg);
  ------------------
  |  |  996|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1015|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13315|    346|  return yyresult;
13316|     58|}
glslang_tab.cpp:_ZL14yysyntax_errorPlPPcPK12yypcontext_t:
 5121|     58|{
 5122|     58|  enum { YYARGS_MAX = 5 };
 5123|       |  /* Internationalized format string. */
 5124|     58|  const char *yyformat = YY_NULLPTR;
  ------------------
  |  |  110|     58|#    define YY_NULLPTR nullptr
  ------------------
 5125|       |  /* Arguments of yyformat: reported tokens (one for the "unexpected",
 5126|       |     one per "expected"). */
 5127|     58|  yysymbol_kind_t yyarg[YYARGS_MAX];
 5128|       |  /* Cumulated lengths of YYARG.  */
 5129|     58|  YYPTRDIFF_T yysize = 0;
  ------------------
  |  |  838|     58|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5130|       |
 5131|       |  /* Actual size of YYARG. */
 5132|     58|  int yycount = yy_syntax_error_arguments (yyctx, yyarg, YYARGS_MAX);
 5133|     58|  if (yycount == YYENOMEM)
  ------------------
  |  Branch (5133:7): [True: 0, False: 58]
  ------------------
 5134|      0|    return YYENOMEM;
 5135|       |
 5136|     58|  switch (yycount)
 5137|     58|    {
 5138|      0|#define YYCASE_(N, S)                       \
 5139|      0|      case N:                               \
 5140|      0|        yyformat = S;                       \
 5141|      0|        break
 5142|      0|    default: /* Avoid compiler warnings. */
  ------------------
  |  Branch (5142:5): [True: 0, False: 58]
  ------------------
 5143|      0|      YYCASE_(0, YY_("syntax error"));
  ------------------
  |  | 5139|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5139:7): [True: 0, False: 58]
  |  |  ------------------
  |  | 5140|      0|        yyformat = S;                       \
  |  | 5141|      0|        break
  ------------------
 5144|     47|      YYCASE_(1, YY_("syntax error, unexpected %s"));
  ------------------
  |  | 5139|     47|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5139:7): [True: 47, False: 11]
  |  |  ------------------
  |  | 5140|     47|        yyformat = S;                       \
  |  | 5141|     47|        break
  ------------------
 5145|      0|      YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
  ------------------
  |  | 5139|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5139:7): [True: 0, False: 58]
  |  |  ------------------
  |  | 5140|      0|        yyformat = S;                       \
  |  | 5141|      0|        break
  ------------------
 5146|     11|      YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
  ------------------
  |  | 5139|     11|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5139:7): [True: 11, False: 47]
  |  |  ------------------
  |  | 5140|     11|        yyformat = S;                       \
  |  | 5141|     11|        break
  ------------------
 5147|      0|      YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
  ------------------
  |  | 5139|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5139:7): [True: 0, False: 58]
  |  |  ------------------
  |  | 5140|      0|        yyformat = S;                       \
  |  | 5141|      0|        break
  ------------------
 5148|     58|      YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
  ------------------
  |  | 5139|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5139:7): [True: 0, False: 58]
  |  |  ------------------
  |  | 5140|      0|        yyformat = S;                       \
  |  | 5141|      0|        break
  ------------------
 5149|     58|#undef YYCASE_
 5150|     58|    }
 5151|       |
 5152|       |  /* Compute error message size.  Don't count the "%s"s, but reserve
 5153|       |     room for the terminator.  */
 5154|     58|  yysize = yystrlen (yyformat) - 2 * yycount + 1;
  ------------------
  |  | 4980|     58|#  define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))
  |  |  ------------------
  |  |  |  |  100|     58|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
 5155|     58|  {
 5156|     58|    int yyi;
 5157|    138|    for (yyi = 0; yyi < yycount; ++yyi)
  ------------------
  |  Branch (5157:19): [True: 80, False: 58]
  ------------------
 5158|     80|      {
 5159|     80|        YYPTRDIFF_T yysize1
  ------------------
  |  |  838|     80|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5160|     80|          = yysize + yytnamerr (YY_NULLPTR, yytname[yyarg[yyi]]);
  ------------------
  |  |  110|     80|#    define YY_NULLPTR nullptr
  ------------------
 5161|     80|        if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)
  ------------------
  |  |  998|     80|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  866|     80|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|    160|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (100:50): [True: 80, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5161:13): [True: 80, False: 0]
  |  Branch (5161:34): [True: 80, False: 0]
  ------------------
 5162|     80|          yysize = yysize1;
 5163|      0|        else
 5164|      0|          return YYENOMEM;
 5165|     80|      }
 5166|     58|  }
 5167|       |
 5168|     58|  if (*yymsg_alloc < yysize)
  ------------------
  |  Branch (5168:7): [True: 0, False: 58]
  ------------------
 5169|      0|    {
 5170|      0|      *yymsg_alloc = 2 * yysize;
 5171|      0|      if (! (yysize <= *yymsg_alloc
  ------------------
  |  Branch (5171:14): [True: 0, False: 0]
  ------------------
 5172|      0|             && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM))
  ------------------
  |  |  998|      0|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  866|      0|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (100:50): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5172:17): [True: 0, False: 0]
  ------------------
 5173|      0|        *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM;
  ------------------
  |  |  998|      0|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  866|      0|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (100:50): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5174|      0|      return -1;
 5175|      0|    }
 5176|       |
 5177|       |  /* Avoid sprintf, as that infringes on the user's name space.
 5178|       |     Don't have undefined behavior even if the translation
 5179|       |     produced a string with the wrong number of "%s"s.  */
 5180|     58|  {
 5181|     58|    char *yyp = *yymsg;
 5182|     58|    int yyi = 0;
 5183|  1.76k|    while ((*yyp = *yyformat) != '\0')
  ------------------
  |  Branch (5183:12): [True: 1.70k, False: 58]
  ------------------
 5184|  1.70k|      if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
  ------------------
  |  Branch (5184:11): [True: 80, False: 1.62k]
  |  Branch (5184:26): [True: 80, False: 0]
  |  Branch (5184:48): [True: 80, False: 0]
  ------------------
 5185|     80|        {
 5186|     80|          yyp += yytnamerr (yyp, yytname[yyarg[yyi++]]);
 5187|     80|          yyformat += 2;
 5188|     80|        }
 5189|  1.62k|      else
 5190|  1.62k|        {
 5191|  1.62k|          ++yyp;
 5192|  1.62k|          ++yyformat;
 5193|  1.62k|        }
 5194|     58|  }
 5195|     58|  return 0;
 5196|     58|}
glslang_tab.cpp:_ZL25yy_syntax_error_argumentsPK12yypcontext_tP15yysymbol_kind_ti:
 5068|     58|{
 5069|       |  /* Actual size of YYARG. */
 5070|     58|  int yycount = 0;
 5071|       |  /* There are many possibilities here to consider:
 5072|       |     - If this state is a consistent state with a default action, then
 5073|       |       the only way this function was invoked is if the default action
 5074|       |       is an error action.  In that case, don't check for expected
 5075|       |       tokens because there are none.
 5076|       |     - The only way there can be no lookahead present (in yychar) is if
 5077|       |       this state is a consistent state with a default action.  Thus,
 5078|       |       detecting the absence of a lookahead is sufficient to determine
 5079|       |       that there is no unexpected or expected token to report.  In that
 5080|       |       case, just report a simple "syntax error".
 5081|       |     - Don't assume there isn't a lookahead just because this state is a
 5082|       |       consistent state with a default action.  There might have been a
 5083|       |       previous inconsistent state, consistent state with a non-default
 5084|       |       action, or user semantic action that manipulated yychar.
 5085|       |     - Of course, the expected token list depends on states to have
 5086|       |       correct lookahead information, and it depends on the parser not
 5087|       |       to perform extra reductions after fetching a lookahead from the
 5088|       |       scanner and before detecting a syntax error.  Thus, state merging
 5089|       |       (from LALR or IELR) and default reductions corrupt the expected
 5090|       |       token list.  However, the list is correct for canonical LR with
 5091|       |       one exception: it will still contain any token that will not be
 5092|       |       accepted due to an error action in a later state.
 5093|       |  */
 5094|     58|  if (yyctx->yytoken != YYSYMBOL_YYEMPTY)
  ------------------
  |  Branch (5094:7): [True: 58, False: 0]
  ------------------
 5095|     58|    {
 5096|     58|      int yyn;
 5097|     58|      if (yyarg)
  ------------------
  |  Branch (5097:11): [True: 58, False: 0]
  ------------------
 5098|     58|        yyarg[yycount] = yyctx->yytoken;
 5099|     58|      ++yycount;
 5100|     58|      yyn = yypcontext_expected_tokens (yyctx,
 5101|     58|                                        yyarg ? yyarg + 1 : yyarg, yyargn - 1);
  ------------------
  |  Branch (5101:41): [True: 58, False: 0]
  ------------------
 5102|     58|      if (yyn == YYENOMEM)
  ------------------
  |  Branch (5102:11): [True: 0, False: 58]
  ------------------
 5103|      0|        return YYENOMEM;
 5104|     58|      else
 5105|     58|        yycount += yyn;
 5106|     58|    }
 5107|     58|  return yycount;
 5108|     58|}
glslang_tab.cpp:_ZL26yypcontext_expected_tokensPK12yypcontext_tP15yysymbol_kind_ti:
 4944|     58|{
 4945|       |  /* Actual size of YYARG. */
 4946|     58|  int yycount = 0;
 4947|     58|  int yyn = yypact[+*yyctx->yyssp];
 4948|     58|  if (!yypact_value_is_default (yyn))
  ------------------
  |  | 1451|     58|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1448|     58|#define YYPACT_NINF (-849)
  |  |  ------------------
  ------------------
  |  Branch (4948:7): [True: 58, False: 0]
  ------------------
 4949|     58|    {
 4950|       |      /* Start YYX at -YYN if negative to avoid negative indexes in
 4951|       |         YYCHECK.  In other words, skip the first -YYN actions for
 4952|       |         this state because they are default actions.  */
 4953|     58|      int yyxbegin = yyn < 0 ? -yyn : 0;
  ------------------
  |  Branch (4953:22): [True: 11, False: 47]
  ------------------
 4954|       |      /* Stay within bounds of both yycheck and yytname.  */
 4955|     58|      int yychecklim = YYLAST - yyn + 1;
  ------------------
  |  | 1086|     58|#define YYLAST   13823
  ------------------
 4956|     58|      int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
  ------------------
  |  | 1089|     58|#define YYNTOKENS  488
  ------------------
                    int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
  ------------------
  |  | 1089|     58|#define YYNTOKENS  488
  ------------------
  |  Branch (4956:20): [True: 0, False: 58]
  ------------------
 4957|     58|      int yyx;
 4958|  2.34k|      for (yyx = yyxbegin; yyx < yyxend; ++yyx)
  ------------------
  |  Branch (4958:28): [True: 2.33k, False: 11]
  ------------------
 4959|  2.33k|        if (yycheck[yyx + yyn] == yyx && yyx != YYSYMBOL_YYerror
  ------------------
  |  Branch (4959:13): [True: 257, False: 2.07k]
  |  Branch (4959:42): [True: 257, False: 0]
  ------------------
 4960|      0|            && !yytable_value_is_error (yytable[yyx + yyn]))
  ------------------
  |  | 1456|      0|  0
  ------------------
  |  Branch (4960:16): [True: 0, Folded]
  ------------------
 4961|    257|          {
 4962|    257|            if (!yyarg)
  ------------------
  |  Branch (4962:17): [True: 0, False: 257]
  ------------------
 4963|      0|              ++yycount;
 4964|    257|            else if (yycount == yyargn)
  ------------------
  |  Branch (4964:22): [True: 47, False: 210]
  ------------------
 4965|     47|              return 0;
 4966|    210|            else
 4967|    210|              yyarg[yycount++] = YY_CAST (yysymbol_kind_t, yyx);
  ------------------
  |  |  100|    210|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 4968|    257|          }
 4969|     58|    }
 4970|     11|  if (yyarg && yycount == 0 && 0 < yyargn)
  ------------------
  |  Branch (4970:7): [True: 11, False: 0]
  |  Branch (4970:16): [True: 0, False: 11]
  |  Branch (4970:32): [True: 0, False: 0]
  ------------------
 4971|      0|    yyarg[0] = YYSYMBOL_YYEMPTY;
 4972|     11|  return yycount;
 4973|     58|}
glslang_tab.cpp:_ZL9yytnamerrPcPKc:
 5024|    160|{
 5025|    160|  if (*yystr == '"')
  ------------------
  |  Branch (5025:7): [True: 92, False: 68]
  ------------------
 5026|     92|    {
 5027|     92|      YYPTRDIFF_T yyn = 0;
  ------------------
  |  |  838|     92|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5028|     92|      char const *yyp = yystr;
 5029|     92|      for (;;)
 5030|  1.10k|        switch (*++yyp)
 5031|  1.10k|          {
 5032|      0|          case '\'':
  ------------------
  |  Branch (5032:11): [True: 0, False: 1.10k]
  ------------------
 5033|      0|          case ',':
  ------------------
  |  Branch (5033:11): [True: 0, False: 1.10k]
  ------------------
 5034|      0|            goto do_not_strip_quotes;
 5035|       |
 5036|      0|          case '\\':
  ------------------
  |  Branch (5036:11): [True: 0, False: 1.10k]
  ------------------
 5037|      0|            if (*++yyp != '\\')
  ------------------
  |  Branch (5037:17): [True: 0, False: 0]
  ------------------
 5038|      0|              goto do_not_strip_quotes;
 5039|      0|            else
 5040|      0|              goto append;
 5041|       |
 5042|      0|          append:
 5043|  1.01k|          default:
  ------------------
  |  Branch (5043:11): [True: 1.01k, False: 92]
  ------------------
 5044|  1.01k|            if (yyres)
  ------------------
  |  Branch (5044:17): [True: 506, False: 506]
  ------------------
 5045|    506|              yyres[yyn] = *yyp;
 5046|  1.01k|            yyn++;
 5047|  1.01k|            break;
 5048|       |
 5049|     92|          case '"':
  ------------------
  |  Branch (5049:11): [True: 92, False: 1.01k]
  ------------------
 5050|     92|            if (yyres)
  ------------------
  |  Branch (5050:17): [True: 46, False: 46]
  ------------------
 5051|     46|              yyres[yyn] = '\0';
 5052|     92|            return yyn;
 5053|  1.10k|          }
 5054|      0|    do_not_strip_quotes: ;
 5055|      0|    }
 5056|       |
 5057|     68|  if (yyres)
  ------------------
  |  Branch (5057:7): [True: 34, False: 34]
  ------------------
 5058|     34|    return yystpcpy (yyres, yystr) - yyres;
  ------------------
  |  | 4996|     34|#  define yystpcpy stpcpy
  ------------------
 5059|     34|  else
 5060|     34|    return yystrlen (yystr);
  ------------------
  |  | 4980|     34|#  define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))
  |  |  ------------------
  |  |  |  |  100|     34|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
 5061|     68|}
glslang_tab.cpp:_ZL10yydestructPKc15yysymbol_kind_tP7YYSTYPEPN7glslang13TParseContextE:
 5206|    656|{
 5207|    656|  YY_USE (yyvaluep);
  ------------------
  |  |  911|    656|# define YY_USE(E) ((void) (E))
  ------------------
 5208|    656|  YY_USE (pParseContext);
  ------------------
  |  |  911|    656|# define YY_USE(E) ((void) (E))
  ------------------
 5209|    656|  if (!yymsg)
  ------------------
  |  Branch (5209:7): [True: 0, False: 656]
  ------------------
 5210|      0|    yymsg = "Deleting";
 5211|    656|  YY_SYMBOL_PRINT (yymsg, yykind, yyvaluep, yylocationp);
  ------------------
  |  | 4800|    656|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 4801|    656|do {                                                                      \
  |  | 4802|    656|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (4802:7): [True: 0, False: 656]
  |  |  ------------------
  |  | 4803|    656|    {                                                                     \
  |  | 4804|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4805|      0|      yy_symbol_print (stderr,                                            \
  |  | 4806|      0|                  Kind, Value, pParseContext); \
  |  | 4807|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4808|      0|    }                                                                     \
  |  | 4809|    656|} while (0)
  |  |  ------------------
  |  |  |  Branch (4809:10): [Folded, False: 656]
  |  |  ------------------
  ------------------
 5212|       |
 5213|    656|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 5214|    656|  YY_USE (yykind);
  ------------------
  |  |  911|    656|# define YY_USE(E) ((void) (E))
  ------------------
 5215|    656|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 5216|    656|}

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

_ZN7glslang10TPpContext9CPPdefineEPNS_8TPpTokenE:
   96|  8.18k|{
   97|  8.18k|    MacroSymbol mac;
   98|       |
   99|       |    // get the macro name
  100|  8.18k|    int token = scanToken(ppToken);
  101|  8.18k|    if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (101:9): [True: 0, False: 8.18k]
  ------------------
  102|      0|        parseContext.ppError(ppToken->loc, "must be followed by macro name", "#define", "");
  103|      0|        return token;
  104|      0|    }
  105|  8.18k|    if (ppToken->loc.string >= 0) {
  ------------------
  |  Branch (105:9): [True: 2, False: 8.18k]
  ------------------
  106|       |        // We are in user code; check for reserved name use:
  107|      2|        parseContext.reservedPpErrorCheck(ppToken->loc, ppToken->name, "#define");
  108|      2|    }
  109|       |
  110|       |    // save the macro name
  111|  8.18k|    const int defAtom = atomStrings.getAddAtom(ppToken->name);
  112|  8.18k|    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|  8.18k|    token = scanToken(ppToken);
  116|  8.18k|    if (token == '(' && !ppToken->space) {
  ------------------
  |  Branch (116:9): [True: 0, False: 8.18k]
  |  Branch (116:25): [True: 0, False: 0]
  ------------------
  117|      0|        mac.functionLike = 1;
  118|      0|        do {
  119|      0|            token = scanToken(ppToken);
  120|      0|            if (mac.args.size() == 0 && token == ')')
  ------------------
  |  Branch (120:17): [True: 0, False: 0]
  |  Branch (120:41): [True: 0, False: 0]
  ------------------
  121|      0|                break;
  122|      0|            if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (122:17): [True: 0, False: 0]
  ------------------
  123|      0|                parseContext.ppError(ppToken->loc, "bad argument", "#define", "");
  124|       |
  125|      0|                return token;
  126|      0|            }
  127|      0|            const int argAtom = atomStrings.getAddAtom(ppToken->name);
  128|       |
  129|       |            // check for duplication of parameter name
  130|      0|            bool duplicate = false;
  131|      0|            for (size_t a = 0; a < mac.args.size(); ++a) {
  ------------------
  |  Branch (131:32): [True: 0, False: 0]
  ------------------
  132|      0|                if (mac.args[a] == argAtom) {
  ------------------
  |  Branch (132:21): [True: 0, False: 0]
  ------------------
  133|      0|                    parseContext.ppError(ppToken->loc, "duplicate macro parameter", "#define", "");
  134|      0|                    duplicate = true;
  135|      0|                    break;
  136|      0|                }
  137|      0|            }
  138|      0|            if (! duplicate)
  ------------------
  |  Branch (138:17): [True: 0, False: 0]
  ------------------
  139|      0|                mac.args.push_back(argAtom);
  140|      0|            token = scanToken(ppToken);
  141|      0|        } while (token == ',');
  ------------------
  |  Branch (141:18): [True: 0, False: 0]
  ------------------
  142|      0|        if (token != ')') {
  ------------------
  |  Branch (142:13): [True: 0, False: 0]
  ------------------
  143|      0|            parseContext.ppError(ppToken->loc, "missing parenthesis", "#define", "");
  144|       |
  145|      0|            return token;
  146|      0|        }
  147|       |
  148|      0|        token = scanToken(ppToken);
  149|  8.18k|    } else if (token != '\n' && token != EndOfInput && !ppToken->space) {
  ------------------
  |  Branch (149:16): [True: 8.18k, False: 2]
  |  Branch (149:33): [True: 8.18k, False: 0]
  |  Branch (149:56): [True: 0, False: 8.18k]
  ------------------
  150|      0|        parseContext.ppWarn(ppToken->loc, "missing space after macro name", "#define", "");
  151|       |
  152|      0|        return token;
  153|      0|    }
  154|       |
  155|  8.18k|    int pendingPoundSymbols = 0;
  156|  8.18k|    TPpToken savePound;
  157|       |    // record the definition of the macro
  158|  16.3k|    while (token != '\n' && token != EndOfInput) {
  ------------------
  |  Branch (158:12): [True: 8.18k, False: 8.18k]
  |  Branch (158:29): [True: 8.18k, False: 0]
  ------------------
  159|  8.18k|        if (token == '#') {
  ------------------
  |  Branch (159:13): [True: 0, False: 8.18k]
  ------------------
  160|      0|            pendingPoundSymbols++;
  161|      0|            if (pendingPoundSymbols == 0) {
  ------------------
  |  Branch (161:17): [True: 0, False: 0]
  ------------------
  162|      0|                savePound = *ppToken;
  163|      0|            }
  164|  8.18k|        } else if (pendingPoundSymbols == 0) {
  ------------------
  |  Branch (164:20): [True: 8.18k, False: 0]
  ------------------
  165|  8.18k|            mac.body.putToken(token, ppToken);
  166|  8.18k|        } 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|  8.18k|        token = scanToken(ppToken);
  203|  8.18k|    }
  204|  8.18k|    if (pendingPoundSymbols != 0) {
  ------------------
  |  Branch (204:9): [True: 0, False: 8.18k]
  ------------------
  205|      0|        parseContext.ppError(ppToken->loc, "Macro ended with incomplete '#' paste/stringify operators", "#", "");
  206|      0|    }
  207|       |
  208|       |    // check for duplicate definition
  209|  8.18k|    MacroSymbol* existing = lookupMacroDef(defAtom);
  210|  8.18k|    if (existing != nullptr) {
  ------------------
  |  Branch (210:9): [True: 0, False: 8.18k]
  ------------------
  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|  8.18k|        addMacroDef(defAtom, mac);
  255|       |
  256|  8.18k|    return '\n';
  257|  8.18k|}
_ZN7glslang10TPpContext7CPPelseEiPNS_8TPpTokenE:
  287|     76|{
  288|     76|    inElseSkip = true;
  289|     76|    int depth = 0;
  290|     76|    int token = scanToken(ppToken);
  291|       |
  292|  1.81M|    while (token != EndOfInput) {
  ------------------
  |  Branch (292:12): [True: 1.81M, False: 9]
  ------------------
  293|  1.81M|        if (token != '#') {
  ------------------
  |  Branch (293:13): [True: 1.53M, False: 273k]
  ------------------
  294|  5.96M|            while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (294:20): [True: 4.42M, False: 1.53M]
  |  Branch (294:37): [True: 4.42M, False: 58]
  ------------------
  295|  4.42M|                token = scanToken(ppToken);
  296|       |
  297|  1.53M|            if (token == EndOfInput)
  ------------------
  |  Branch (297:17): [True: 58, False: 1.53M]
  ------------------
  298|     58|                return token;
  299|       |
  300|  1.53M|            token = scanToken(ppToken);
  301|  1.53M|            continue;
  302|  1.53M|        }
  303|       |
  304|   273k|        if ((token = scanToken(ppToken)) != PpAtomIdentifier)
  ------------------
  |  Branch (304:13): [True: 32.7k, False: 240k]
  ------------------
  305|  32.7k|            continue;
  306|       |
  307|   240k|        int nextAtom = atomStrings.getAtom(ppToken->name);
  308|   240k|        if (nextAtom == PpAtomIf || nextAtom == PpAtomIfdef || nextAtom == PpAtomIfndef) {
  ------------------
  |  Branch (308:13): [True: 1.01k, False: 239k]
  |  Branch (308:37): [True: 101, False: 239k]
  |  Branch (308:64): [True: 1, False: 239k]
  ------------------
  309|  1.11k|            depth++;
  310|  1.11k|            if (ifdepth >= maxIfNesting || elsetracker >= maxIfNesting) {
  ------------------
  |  Branch (310:17): [True: 0, False: 1.11k]
  |  Branch (310:44): [True: 0, False: 1.11k]
  ------------------
  311|      0|                parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#if/#ifdef/#ifndef", "");
  312|      0|                return EndOfInput;
  313|  1.11k|            } else {
  314|  1.11k|                ifdepth++;
  315|  1.11k|                elsetracker++;
  316|  1.11k|            }
  317|   239k|        } else if (nextAtom == PpAtomEndif) {
  ------------------
  |  Branch (317:20): [True: 355, False: 238k]
  ------------------
  318|    355|            token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  319|    355|            elseSeen[elsetracker] = false;
  320|    355|            --elsetracker;
  321|    355|            if (depth == 0) {
  ------------------
  |  Branch (321:17): [True: 7, False: 348]
  ------------------
  322|       |                // found the #endif we are looking for
  323|      7|                if (ifdepth > 0)
  ------------------
  |  Branch (323:21): [True: 6, False: 1]
  ------------------
  324|      6|                    --ifdepth;
  325|      7|                break;
  326|      7|            }
  327|    348|            --depth;
  328|    348|            --ifdepth;
  329|   238k|        } else if (matchelse && depth == 0) {
  ------------------
  |  Branch (329:20): [True: 238k, False: 1]
  |  Branch (329:33): [True: 37.3k, False: 201k]
  ------------------
  330|  37.3k|            if (nextAtom == PpAtomElse) {
  ------------------
  |  Branch (330:17): [True: 0, False: 37.3k]
  ------------------
  331|      0|                elseSeen[elsetracker] = true;
  332|      0|                token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  333|       |                // found the #else we are looking for
  334|      0|                break;
  335|  37.3k|            } else if (nextAtom == PpAtomElif) {
  ------------------
  |  Branch (335:24): [True: 2, False: 37.3k]
  ------------------
  336|      2|                if (elseSeen[elsetracker])
  ------------------
  |  Branch (336:21): [True: 0, False: 2]
  ------------------
  337|      0|                    parseContext.ppError(ppToken->loc, "#elif after #else", "#elif", "");
  338|       |                /* we decrement ifdepth here, because CPPif will increment
  339|       |                * it and we really want to leave it alone */
  340|      2|                if (ifdepth > 0) {
  ------------------
  |  Branch (340:21): [True: 2, False: 0]
  ------------------
  341|      2|                    --ifdepth;
  342|      2|                    elseSeen[elsetracker] = false;
  343|      2|                    --elsetracker;
  344|      2|                }
  345|      2|                inElseSkip = false;
  346|      2|                return CPPif(ppToken);
  347|      2|            }
  348|   201k|        } else if (nextAtom == PpAtomElse) {
  ------------------
  |  Branch (348:20): [True: 21, False: 201k]
  ------------------
  349|     21|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (349:17): [True: 0, False: 21]
  ------------------
  350|      0|                parseContext.ppError(ppToken->loc, "#else after #else", "#else", "");
  351|     21|            else
  352|     21|                elseSeen[elsetracker] = true;
  353|     21|            token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  354|   201k|        } else if (nextAtom == PpAtomElif) {
  ------------------
  |  Branch (354:20): [True: 189, False: 201k]
  ------------------
  355|    189|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (355:17): [True: 0, False: 189]
  ------------------
  356|      0|                parseContext.ppError(ppToken->loc, "#elif after #else", "#elif", "");
  357|    189|        }
  358|   240k|    }
  359|       |    
  360|     16|    inElseSkip = false;
  361|     16|    return token;
  362|     76|}
_ZN7glslang10TPpContext15extraTokenCheckEiPNS_8TPpTokenEi:
  366|    454|{
  367|    454|    if (token != '\n' && token != EndOfInput) {
  ------------------
  |  Branch (367:9): [True: 0, False: 454]
  |  Branch (367:26): [True: 0, False: 0]
  ------------------
  368|      0|        static const char* message = "unexpected tokens following directive";
  369|       |
  370|      0|        const char* label;
  371|      0|        if (contextAtom == PpAtomElse)
  ------------------
  |  Branch (371:13): [True: 0, False: 0]
  ------------------
  372|      0|            label = "#else";
  373|      0|        else if (contextAtom == PpAtomElif)
  ------------------
  |  Branch (373:18): [True: 0, False: 0]
  ------------------
  374|      0|            label = "#elif";
  375|      0|        else if (contextAtom == PpAtomEndif)
  ------------------
  |  Branch (375:18): [True: 0, False: 0]
  ------------------
  376|      0|            label = "#endif";
  377|      0|        else if (contextAtom == PpAtomIf)
  ------------------
  |  Branch (377:18): [True: 0, False: 0]
  ------------------
  378|      0|            label = "#if";
  379|      0|        else if (contextAtom == PpAtomLine)
  ------------------
  |  Branch (379:18): [True: 0, False: 0]
  ------------------
  380|      0|            label = "#line";
  381|      0|        else
  382|      0|            label = "";
  383|       |
  384|      0|        if (parseContext.relaxedErrors())
  ------------------
  |  Branch (384:13): [True: 0, False: 0]
  ------------------
  385|      0|            parseContext.ppWarn(ppToken->loc, message, label, "");
  386|      0|        else
  387|      0|            parseContext.ppError(ppToken->loc, message, label, "");
  388|       |
  389|      0|        while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (389:16): [True: 0, False: 0]
  |  Branch (389:33): [True: 0, False: 0]
  ------------------
  390|      0|            token = scanToken(ppToken);
  391|      0|    }
  392|       |
  393|    454|    return token;
  394|    454|}
_ZN7glslang10TPpContext4evalEiibRiRbPNS_8TPpTokenE:
  464|  17.4k|{
  465|  17.4k|    TSourceLoc loc = ppToken->loc;  // because we sometimes read the newline before reporting the error
  466|  17.4k|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (466:9): [True: 11, False: 17.4k]
  ------------------
  467|     11|        if (strcmp("defined", ppToken->name) == 0) {
  ------------------
  |  Branch (467:13): [True: 7, False: 4]
  ------------------
  468|      7|            if (! parseContext.isReadingHLSL() && isMacroInput()) {
  ------------------
  |  Branch (468:17): [True: 2, False: 5]
  |  Branch (468:51): [True: 0, False: 2]
  ------------------
  469|      0|                if (parseContext.relaxedErrors())
  ------------------
  |  Branch (469:21): [True: 0, False: 0]
  ------------------
  470|      0|                    parseContext.ppWarn(ppToken->loc, "nonportable when expanded from macros for preprocessor expression",
  471|      0|                        "defined", "");
  472|      0|                else
  473|      0|                    parseContext.ppError(ppToken->loc, "cannot use in preprocessor expression when expanded from macros",
  474|      0|                        "defined", "");
  475|      0|            }
  476|      7|            bool needclose = 0;
  477|      7|            token = scanToken(ppToken);
  478|      7|            if (token == '(') {
  ------------------
  |  Branch (478:17): [True: 7, False: 0]
  ------------------
  479|      7|                needclose = true;
  480|      7|                token = scanToken(ppToken);
  481|      7|            }
  482|      7|            if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (482:17): [True: 0, False: 7]
  ------------------
  483|      0|                parseContext.ppError(loc, "incorrect directive, expected identifier", "preprocessor evaluation", "");
  484|      0|                err = true;
  485|      0|                res = 0;
  486|       |
  487|      0|                return token;
  488|      0|            }
  489|       |
  490|      7|            MacroSymbol* macro = lookupMacroDef(atomStrings.getAtom(ppToken->name));
  491|      7|            res = macro != nullptr ? !macro->undef : 0;
  ------------------
  |  Branch (491:19): [True: 0, False: 7]
  ------------------
  492|      7|            token = scanToken(ppToken);
  493|      7|            if (needclose) {
  ------------------
  |  Branch (493:17): [True: 7, False: 0]
  ------------------
  494|      7|                if (token != ')') {
  ------------------
  |  Branch (494:21): [True: 0, False: 7]
  ------------------
  495|      0|                    parseContext.ppError(loc, "expected ')'", "preprocessor evaluation", "");
  496|      0|                    err = true;
  497|      0|                    res = 0;
  498|       |
  499|      0|                    return token;
  500|      0|                }
  501|      7|                token = scanToken(ppToken);
  502|      7|            }
  503|      7|        } else {
  504|      4|            token = tokenPaste(token, *ppToken);
  505|      4|            token = evalToToken(token, shortCircuit, res, err, ppToken);
  506|      4|            return eval(token, precedence, shortCircuit, res, err, ppToken);
  507|      4|        }
  508|  17.4k|    } else if (token == PpAtomConstInt) {
  ------------------
  |  Branch (508:16): [True: 74, False: 17.4k]
  ------------------
  509|     74|        res = ppToken->ival;
  510|     74|        token = scanToken(ppToken);
  511|  17.4k|    } else if (token == '(') {
  ------------------
  |  Branch (511:16): [True: 17.3k, False: 109]
  ------------------
  512|  17.3k|        token = scanToken(ppToken);
  513|  17.3k|        token = eval(token, MIN_PRECEDENCE, shortCircuit, res, err, ppToken);
  514|  17.3k|        if (! err) {
  ------------------
  |  Branch (514:13): [True: 0, False: 17.3k]
  ------------------
  515|      0|            if (token != ')') {
  ------------------
  |  Branch (515:17): [True: 0, False: 0]
  ------------------
  516|      0|                parseContext.ppError(loc, "expected ')'", "preprocessor evaluation", "");
  517|      0|                err = true;
  518|      0|                res = 0;
  519|       |
  520|      0|                return token;
  521|      0|            }
  522|      0|            token = scanToken(ppToken);
  523|      0|        }
  524|  17.3k|    } else {
  525|    109|        int op = NUM_ELEMENTS(unop) - 1;
  ------------------
  |  |  461|    109|#define NUM_ELEMENTS(A) (sizeof(A) / sizeof(A[0]))
  ------------------
  526|    352|        for (; op >= 0; op--) {
  ------------------
  |  Branch (526:16): [True: 351, False: 1]
  ------------------
  527|    351|            if (unop[op].token == token)
  ------------------
  |  Branch (527:17): [True: 108, False: 243]
  ------------------
  528|    108|                break;
  529|    351|        }
  530|    109|        if (op >= 0) {
  ------------------
  |  Branch (530:13): [True: 108, False: 1]
  ------------------
  531|    108|            token = scanToken(ppToken);
  532|    108|            token = eval(token, UNARY, shortCircuit, res, err, ppToken);
  533|    108|            res = unop[op].op(res);
  534|    108|        } else {
  535|      1|            parseContext.ppError(loc, "bad expression", "preprocessor evaluation", "");
  536|      1|            err = true;
  537|      1|            res = 0;
  538|       |
  539|      1|            return token;
  540|      1|        }
  541|    109|    }
  542|       |
  543|  17.4k|    token = evalToToken(token, shortCircuit, res, err, ppToken);
  544|       |
  545|       |    // Perform evaluation of binary operation, if there is one, otherwise we are done.
  546|  17.4k|    while (! err) {
  ------------------
  |  Branch (546:12): [True: 195, False: 17.3k]
  ------------------
  547|    195|        if (token == ')' || token == '\n')
  ------------------
  |  Branch (547:13): [True: 0, False: 195]
  |  Branch (547:29): [True: 186, False: 9]
  ------------------
  548|    186|            break;
  549|      9|        int op;
  550|    126|        for (op = NUM_ELEMENTS(binop) - 1; op >= 0; op--) {
  ------------------
  |  |  461|      9|#define NUM_ELEMENTS(A) (sizeof(A) / sizeof(A[0]))
  ------------------
  |  Branch (550:44): [True: 126, False: 0]
  ------------------
  551|    126|            if (binop[op].token == token)
  ------------------
  |  Branch (551:17): [True: 9, False: 117]
  ------------------
  552|      9|                break;
  553|    126|        }
  554|      9|        if (op < 0 || binop[op].precedence <= precedence)
  ------------------
  |  Branch (554:13): [True: 0, False: 9]
  |  Branch (554:23): [True: 3, False: 6]
  ------------------
  555|      3|            break;
  556|      6|        int leftSide = res;
  557|       |
  558|       |        // Setup short-circuiting, needed for ES, unless already in a short circuit.
  559|       |        // (Once in a short-circuit, can't turn off again, until that whole subexpression is done.
  560|      6|        if (! shortCircuit) {
  ------------------
  |  Branch (560:13): [True: 6, False: 0]
  ------------------
  561|      6|            if ((token == PpAtomOr  && leftSide == 1) ||
  ------------------
  |  Branch (561:18): [True: 0, False: 6]
  |  Branch (561:40): [True: 0, False: 0]
  ------------------
  562|      6|                (token == PpAtomAnd && leftSide == 0))
  ------------------
  |  Branch (562:18): [True: 0, False: 6]
  |  Branch (562:40): [True: 0, False: 0]
  ------------------
  563|      0|                shortCircuit = true;
  564|      6|        }
  565|       |
  566|      6|        token = scanToken(ppToken);
  567|      6|        token = eval(token, binop[op].precedence, shortCircuit, res, err, ppToken);
  568|       |
  569|      6|        if (binop[op].op == op_div || binop[op].op == op_mod) {
  ------------------
  |  Branch (569:13): [True: 0, False: 6]
  |  Branch (569:39): [True: 0, False: 6]
  ------------------
  570|      0|            if (res == 0) {
  ------------------
  |  Branch (570:17): [True: 0, False: 0]
  ------------------
  571|      0|                parseContext.ppError(loc, "division by 0", "preprocessor evaluation", "");
  572|      0|                res = 1;
  573|      0|            }
  574|      0|        }
  575|      6|        res = binop[op].op(leftSide, res);
  576|      6|    }
  577|       |
  578|  17.4k|    return token;
  579|  17.4k|}
_ZN7glslang10TPpContext11evalToTokenEibRiRbPNS_8TPpTokenE:
  583|  17.4k|{
  584|  17.5k|    while (token == PpAtomIdentifier && strcmp("defined", ppToken->name) != 0) {
  ------------------
  |  Branch (584:12): [True: 4, False: 17.4k]
  |  Branch (584:41): [True: 4, False: 0]
  ------------------
  585|      4|        switch (MacroExpand(ppToken, true, false)) {
  ------------------
  |  Branch (585:17): [True: 4, False: 0]
  ------------------
  586|      0|        case MacroExpandNotStarted:
  ------------------
  |  Branch (586:9): [True: 0, False: 4]
  ------------------
  587|      0|        case MacroExpandError:
  ------------------
  |  Branch (587:9): [True: 0, False: 4]
  ------------------
  588|      0|            parseContext.ppError(ppToken->loc, "can't evaluate expression", "preprocessor evaluation", "");
  589|      0|            err = true;
  590|      0|            res = 0;
  591|      0|            break;
  592|      0|        case MacroExpandStarted:
  ------------------
  |  Branch (592:9): [True: 0, False: 4]
  ------------------
  593|      0|            break;
  594|      4|        case MacroExpandUndef:
  ------------------
  |  Branch (594:9): [True: 4, False: 0]
  ------------------
  595|      4|            if (! shortCircuit && parseContext.isEsProfile()) {
  ------------------
  |  Branch (595:17): [True: 4, False: 0]
  |  Branch (595:35): [True: 2, False: 2]
  ------------------
  596|      2|                const char* message = "undefined macro in expression not allowed in es profile";
  597|      2|                if (parseContext.relaxedErrors())
  ------------------
  |  Branch (597:21): [True: 2, False: 0]
  ------------------
  598|      2|                    parseContext.ppWarn(ppToken->loc, message, "preprocessor evaluation", ppToken->name);
  599|      0|                else
  600|      0|                    parseContext.ppError(ppToken->loc, message, "preprocessor evaluation", ppToken->name);
  601|      2|            }
  602|      4|            break;
  603|      4|        }
  604|      4|        token = scanToken(ppToken);
  605|      4|        if (err)
  ------------------
  |  Branch (605:13): [True: 0, False: 4]
  ------------------
  606|      0|            break;
  607|      4|    }
  608|       |
  609|  17.4k|    return token;
  610|  17.4k|}
_ZN7glslang10TPpContext5CPPifEPNS_8TPpTokenE:
  614|     76|{
  615|     76|    int token = scanToken(ppToken);
  616|     76|    if (ifdepth >= maxIfNesting || elsetracker >= maxIfNesting) {
  ------------------
  |  Branch (616:9): [True: 0, False: 76]
  |  Branch (616:36): [True: 0, False: 76]
  ------------------
  617|      0|        parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#if", "");
  618|      0|        return EndOfInput;
  619|     76|    } else {
  620|     76|        elsetracker++;
  621|     76|        ifdepth++;
  622|     76|    }
  623|     76|    int res = 0;
  624|     76|    bool err = false;
  625|     76|    token = eval(token, MIN_PRECEDENCE, false, res, err, ppToken);
  626|     76|    token = extraTokenCheck(PpAtomIf, ppToken, token);
  627|     76|    if (!res && !err)
  ------------------
  |  Branch (627:9): [True: 74, False: 2]
  |  Branch (627:17): [True: 73, False: 1]
  ------------------
  628|     73|        token = CPPelse(1, ppToken);
  629|       |
  630|     76|    return token;
  631|     76|}
_ZN7glslang10TPpContext8CPPifdefEiPNS_8TPpTokenE:
  635|      2|{
  636|      2|    int token = scanToken(ppToken);
  637|      2|    if (ifdepth > maxIfNesting || elsetracker > maxIfNesting) {
  ------------------
  |  Branch (637:9): [True: 0, False: 2]
  |  Branch (637:35): [True: 0, False: 2]
  ------------------
  638|      0|        parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#ifdef", "");
  639|      0|        return EndOfInput;
  640|      2|    } else {
  641|      2|        elsetracker++;
  642|      2|        ifdepth++;
  643|      2|    }
  644|       |
  645|      2|    if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (645:9): [True: 0, False: 2]
  ------------------
  646|      0|        if (defined)
  ------------------
  |  Branch (646:13): [True: 0, False: 0]
  ------------------
  647|      0|            parseContext.ppError(ppToken->loc, "must be followed by macro name", "#ifdef", "");
  648|      0|        else
  649|      0|            parseContext.ppError(ppToken->loc, "must be followed by macro name", "#ifndef", "");
  650|      2|    } else {
  651|      2|        MacroSymbol* macro = lookupMacroDef(atomStrings.getAtom(ppToken->name));
  652|      2|        token = scanToken(ppToken);
  653|      2|        if (token != '\n') {
  ------------------
  |  Branch (653:13): [True: 0, False: 2]
  ------------------
  654|      0|            parseContext.ppError(ppToken->loc, "unexpected tokens following #ifdef directive - expected a newline", "#ifdef", "");
  655|      0|            while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (655:20): [True: 0, False: 0]
  |  Branch (655:37): [True: 0, False: 0]
  ------------------
  656|      0|                token = scanToken(ppToken);
  657|      0|        }
  658|      2|        if (((macro != nullptr && !macro->undef) ? 1 : 0) != defined)
  ------------------
  |  Branch (658:13): [True: 2, False: 0]
  |  Branch (658:15): [True: 0, False: 2]
  |  Branch (658:35): [True: 0, False: 0]
  ------------------
  659|      2|            token = CPPelse(1, ppToken);
  660|      2|    }
  661|       |
  662|      2|    return token;
  663|      2|}
_ZN7glslang10TPpContext11readCPPlineEPNS_8TPpTokenE:
  969|  8.27k|{
  970|  8.27k|    int token = scanToken(ppToken);
  971|       |
  972|  8.27k|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (972:9): [True: 8.27k, False: 5]
  ------------------
  973|  8.27k|        switch (atomStrings.getAtom(ppToken->name)) {
  974|  8.18k|        case PpAtomDefine:
  ------------------
  |  Branch (974:9): [True: 8.18k, False: 89]
  ------------------
  975|  8.18k|            token = CPPdefine(ppToken);
  976|  8.18k|            break;
  977|      0|        case PpAtomElse:
  ------------------
  |  Branch (977:9): [True: 0, False: 8.27k]
  ------------------
  978|      0|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (978:17): [True: 0, False: 0]
  ------------------
  979|      0|                parseContext.ppError(ppToken->loc, "#else after #else", "#else", "");
  980|      0|            elseSeen[elsetracker] = true;
  981|      0|            if (ifdepth == 0)
  ------------------
  |  Branch (981:17): [True: 0, False: 0]
  ------------------
  982|      0|                parseContext.ppError(ppToken->loc, "mismatched statements", "#else", "");
  983|      0|            token = extraTokenCheck(PpAtomElse, ppToken, scanToken(ppToken));
  984|      0|            token = CPPelse(0, ppToken);
  985|      0|            break;
  986|      1|        case PpAtomElif:
  ------------------
  |  Branch (986:9): [True: 1, False: 8.27k]
  ------------------
  987|      1|            if (ifdepth == 0)
  ------------------
  |  Branch (987:17): [True: 1, False: 0]
  ------------------
  988|      1|                parseContext.ppError(ppToken->loc, "mismatched statements", "#elif", "");
  989|      1|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (989:17): [True: 0, False: 1]
  ------------------
  990|      0|                parseContext.ppError(ppToken->loc, "#elif after #else", "#elif", "");
  991|       |            // this token is really a dont care, but we still need to eat the tokens
  992|      1|            token = scanToken(ppToken);
  993|     21|            while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (993:20): [True: 20, False: 1]
  |  Branch (993:37): [True: 20, False: 0]
  ------------------
  994|     20|                token = scanToken(ppToken);
  995|      1|            token = CPPelse(0, ppToken);
  996|      1|            break;
  997|      2|        case PpAtomEndif:
  ------------------
  |  Branch (997:9): [True: 2, False: 8.27k]
  ------------------
  998|      2|            if (ifdepth == 0)
  ------------------
  |  Branch (998:17): [True: 0, False: 2]
  ------------------
  999|      0|                parseContext.ppError(ppToken->loc, "mismatched statements", "#endif", "");
 1000|      2|            else {
 1001|      2|                elseSeen[elsetracker] = false;
 1002|      2|                --elsetracker;
 1003|      2|                --ifdepth;
 1004|      2|            }
 1005|      2|            token = extraTokenCheck(PpAtomEndif, ppToken, scanToken(ppToken));
 1006|      2|            break;
 1007|     74|        case PpAtomIf:
  ------------------
  |  Branch (1007:9): [True: 74, False: 8.19k]
  ------------------
 1008|     74|            token = CPPif(ppToken);
 1009|     74|            break;
 1010|      2|        case PpAtomIfdef:
  ------------------
  |  Branch (1010:9): [True: 2, False: 8.27k]
  ------------------
 1011|      2|            token = CPPifdef(1, ppToken);
 1012|      2|            break;
 1013|      0|        case PpAtomIfndef:
  ------------------
  |  Branch (1013:9): [True: 0, False: 8.27k]
  ------------------
 1014|      0|            token = CPPifdef(0, ppToken);
 1015|      0|            break;
 1016|      0|        case PpAtomLine:
  ------------------
  |  Branch (1016:9): [True: 0, False: 8.27k]
  ------------------
 1017|      0|            token = CPPline(ppToken);
 1018|      0|            break;
 1019|      0|        case PpAtomInclude:
  ------------------
  |  Branch (1019:9): [True: 0, False: 8.27k]
  ------------------
 1020|      0|            if(!parseContext.isReadingHLSL()) {
  ------------------
  |  Branch (1020:16): [True: 0, False: 0]
  ------------------
 1021|      0|                const std::array exts = { E_GL_GOOGLE_include_directive, E_GL_ARB_shading_language_include };
 1022|      0|                parseContext.ppRequireExtensions(ppToken->loc, exts, "#include");
 1023|      0|            }
 1024|      0|            token = CPPinclude(ppToken);
 1025|      0|            break;
 1026|      0|        case PpAtomPragma:
  ------------------
  |  Branch (1026:9): [True: 0, False: 8.27k]
  ------------------
 1027|      0|            token = CPPpragma(ppToken);
 1028|      0|            break;
 1029|      0|        case PpAtomUndef:
  ------------------
  |  Branch (1029:9): [True: 0, False: 8.27k]
  ------------------
 1030|      0|            token = CPPundef(ppToken);
 1031|      0|            break;
 1032|      0|        case PpAtomError:
  ------------------
  |  Branch (1032:9): [True: 0, False: 8.27k]
  ------------------
 1033|      0|            token = CPPerror(ppToken);
 1034|      0|            break;
 1035|      0|        case PpAtomVersion:
  ------------------
  |  Branch (1035:9): [True: 0, False: 8.27k]
  ------------------
 1036|      0|            token = CPPversion(ppToken);
 1037|      0|            break;
 1038|      0|        case PpAtomExtension:
  ------------------
  |  Branch (1038:9): [True: 0, False: 8.27k]
  ------------------
 1039|      0|            token = CPPextension(ppToken);
 1040|      0|            break;
 1041|     10|        default:
  ------------------
  |  Branch (1041:9): [True: 10, False: 8.26k]
  ------------------
 1042|     10|            parseContext.ppError(ppToken->loc, "invalid directive:", "#", ppToken->name);
 1043|     10|            break;
 1044|  8.27k|        }
 1045|  8.27k|    } else if (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (1045:16): [True: 1, False: 4]
  |  Branch (1045:33): [True: 1, False: 0]
  ------------------
 1046|      1|        parseContext.ppError(ppToken->loc, "invalid directive", "#", "");
 1047|       |
 1048|  8.38k|    while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (1048:12): [True: 175, False: 8.21k]
  |  Branch (1048:29): [True: 108, False: 67]
  ------------------
 1049|    108|        token = scanToken(ppToken);
 1050|       |
 1051|  8.27k|    return token;
 1052|  8.27k|}
_ZN7glslang10TPpContext10tZeroInput4scanEPNS_8TPpTokenE:
 1198|      8|{
 1199|      8|    if (done)
  ------------------
  |  Branch (1199:9): [True: 4, False: 4]
  ------------------
 1200|      4|        return EndOfInput;
 1201|       |
 1202|      4|    ppToken->name[0] = '0';
 1203|      4|    ppToken->name[1] = 0;
 1204|      4|    ppToken->ival = 0;
 1205|      4|    ppToken->space = false;
 1206|      4|    done = true;
 1207|       |
 1208|      4|    return PpAtomConstInt;
 1209|      8|}
_ZN7glslang10TPpContext11MacroExpandEPNS_8TPpTokenEbb:
 1224|  1.07M|{
 1225|  1.07M|    ppToken->space = false;
 1226|  1.07M|    int macroAtom = atomStrings.getAtom(ppToken->name);
 1227|  1.07M|    if (ppToken->fullyExpanded)
  ------------------
  |  Branch (1227:9): [True: 0, False: 1.07M]
  ------------------
 1228|      0|        return MacroExpandNotStarted;
 1229|       |
 1230|  1.07M|    switch (macroAtom) {
 1231|      0|    case PpAtomLineMacro:
  ------------------
  |  Branch (1231:5): [True: 0, False: 1.07M]
  ------------------
 1232|       |        // Arguments which are macro have been replaced in the first stage.
 1233|      0|        if (ppToken->ival == 0)
  ------------------
  |  Branch (1233:13): [True: 0, False: 0]
  ------------------
 1234|      0|            ppToken->ival = parseContext.getCurrentLoc().line;
 1235|      0|        snprintf(ppToken->name, sizeof(ppToken->name), "%d", ppToken->ival);
 1236|      0|        UngetToken(PpAtomConstInt, ppToken);
 1237|      0|        return MacroExpandStarted;
 1238|       |
 1239|      0|    case PpAtomFileMacro: {
  ------------------
  |  Branch (1239:5): [True: 0, False: 1.07M]
  ------------------
 1240|      0|        if (parseContext.getCurrentLoc().name)
  ------------------
  |  Branch (1240:13): [True: 0, False: 0]
  ------------------
 1241|      0|            parseContext.ppRequireExtensions(ppToken->loc, 1, &E_GL_GOOGLE_cpp_style_line_directive, "filename-based __FILE__");
 1242|      0|        ppToken->ival = parseContext.getCurrentLoc().string;
 1243|      0|        snprintf(ppToken->name, sizeof(ppToken->name), "%s", ppToken->loc.getStringNameOrNum().c_str());
 1244|      0|        UngetToken(PpAtomConstInt, ppToken);
 1245|      0|        return MacroExpandStarted;
 1246|      0|    }
 1247|       |
 1248|      0|    case PpAtomVersionMacro:
  ------------------
  |  Branch (1248:5): [True: 0, False: 1.07M]
  ------------------
 1249|      0|        ppToken->ival = parseContext.version;
 1250|      0|        snprintf(ppToken->name, sizeof(ppToken->name), "%d", ppToken->ival);
 1251|      0|        UngetToken(PpAtomConstInt, ppToken);
 1252|      0|        return MacroExpandStarted;
 1253|       |
 1254|  1.07M|    default:
  ------------------
  |  Branch (1254:5): [True: 1.07M, False: 0]
  ------------------
 1255|  1.07M|        break;
 1256|  1.07M|    }
 1257|       |
 1258|  1.07M|    MacroSymbol* macro = macroAtom == 0 ? nullptr : lookupMacroDef(macroAtom);
  ------------------
  |  Branch (1258:26): [True: 1.07M, False: 0]
  ------------------
 1259|       |
 1260|       |    // no recursive expansions
 1261|  1.07M|    if (macro != nullptr && macro->busy) {
  ------------------
  |  Branch (1261:9): [True: 0, False: 1.07M]
  |  Branch (1261:29): [True: 0, False: 0]
  ------------------
 1262|      0|        ppToken->fullyExpanded = true;
 1263|      0|        return MacroExpandNotStarted;
 1264|      0|    }
 1265|       |
 1266|       |    // not expanding undefined macros
 1267|  1.07M|    if ((macro == nullptr || macro->undef) && ! expandUndef)
  ------------------
  |  Branch (1267:10): [True: 1.07M, False: 0]
  |  Branch (1267:30): [True: 0, False: 0]
  |  Branch (1267:47): [True: 1.07M, False: 4]
  ------------------
 1268|  1.07M|        return MacroExpandNotStarted;
 1269|       |
 1270|       |    // 0 is the value of an undefined macro
 1271|      4|    if ((macro == nullptr || macro->undef) && expandUndef) {
  ------------------
  |  Branch (1271:10): [True: 4, False: 0]
  |  Branch (1271:30): [True: 0, False: 0]
  |  Branch (1271:47): [True: 4, False: 0]
  ------------------
 1272|      4|        pushInput(new tZeroInput(this));
 1273|      4|        return MacroExpandUndef;
 1274|      4|    }
 1275|       |
 1276|      0|    tMacroInput *in = new tMacroInput(this);
 1277|       |
 1278|      0|    TSourceLoc loc = ppToken->loc;  // in case we go to the next line before discovering the error
 1279|      0|    in->mac = macro;
 1280|      0|    if (macro->functionLike) {
  ------------------
  |  Branch (1280:9): [True: 0, False: 0]
  ------------------
 1281|       |        // We don't know yet if this will be a successful call of a
 1282|       |        // function-like macro; need to look for a '(', but without trashing
 1283|       |        // the passed in ppToken, until we know we are no longer speculative.
 1284|      0|        TPpToken parenToken;
 1285|      0|        int token = scanToken(&parenToken);
 1286|      0|        if (newLineOkay) {
  ------------------
  |  Branch (1286:13): [True: 0, False: 0]
  ------------------
 1287|      0|            while (token == '\n')
  ------------------
  |  Branch (1287:20): [True: 0, False: 0]
  ------------------
 1288|      0|                token = scanToken(&parenToken);
 1289|      0|        }
 1290|      0|        if (token != '(') {
  ------------------
  |  Branch (1290:13): [True: 0, False: 0]
  ------------------
 1291|       |            // Function-like macro called with object-like syntax: okay, don't expand.
 1292|       |            // (We ate exactly one token that might not be white space; put it back.
 1293|      0|            UngetToken(token, &parenToken);
 1294|      0|            delete in;
 1295|      0|            return MacroExpandNotStarted;
 1296|      0|        }
 1297|      0|        in->args.resize(in->mac->args.size());
 1298|      0|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1298:28): [True: 0, False: 0]
  ------------------
 1299|      0|            in->args[i] = new TokenStream;
 1300|      0|        in->expandedArgs.resize(in->mac->args.size());
 1301|      0|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1301:28): [True: 0, False: 0]
  ------------------
 1302|      0|            in->expandedArgs[i] = nullptr;
 1303|      0|        size_t arg = 0;
 1304|      0|        bool tokenRecorded = false;
 1305|      0|        do {
 1306|      0|            TVector<char> nestStack;
 1307|      0|            while (true) {
  ------------------
  |  Branch (1307:20): [True: 0, Folded]
  ------------------
 1308|      0|                token = scanToken(ppToken);
 1309|      0|                if (token == EndOfInput || token == tMarkerInput::marker) {
  ------------------
  |  Branch (1309:21): [True: 0, False: 0]
  |  Branch (1309:44): [True: 0, False: 0]
  ------------------
 1310|      0|                    parseContext.ppError(loc, "End of input in macro", "macro expansion", atomStrings.getString(macroAtom));
 1311|      0|                    delete in;
 1312|      0|                    return MacroExpandError;
 1313|      0|                }
 1314|      0|                if (token == '\n') {
  ------------------
  |  Branch (1314:21): [True: 0, False: 0]
  ------------------
 1315|      0|                    if (! newLineOkay) {
  ------------------
  |  Branch (1315:25): [True: 0, False: 0]
  ------------------
 1316|      0|                        parseContext.ppError(loc, "End of line in macro substitution:", "macro expansion", atomStrings.getString(macroAtom));
 1317|      0|                        delete in;
 1318|      0|                        return MacroExpandError;
 1319|      0|                    }
 1320|      0|                    continue;
 1321|      0|                }
 1322|      0|                if (token == '#') {
  ------------------
  |  Branch (1322:21): [True: 0, False: 0]
  ------------------
 1323|      0|                    parseContext.ppError(ppToken->loc, "unexpected '#'", "macro expansion", atomStrings.getString(macroAtom));
 1324|      0|                    delete in;
 1325|      0|                    return MacroExpandError;
 1326|      0|                }
 1327|      0|                if (in->mac->args.size() == 0 && token != ')')
  ------------------
  |  Branch (1327:21): [True: 0, False: 0]
  |  Branch (1327:50): [True: 0, False: 0]
  ------------------
 1328|      0|                    break;
 1329|      0|                if (nestStack.size() == 0 && (token == ',' || token == ')'))
  ------------------
  |  Branch (1329:21): [True: 0, False: 0]
  |  Branch (1329:47): [True: 0, False: 0]
  |  Branch (1329:63): [True: 0, False: 0]
  ------------------
 1330|      0|                    break;
 1331|      0|                if (token == '(')
  ------------------
  |  Branch (1331:21): [True: 0, False: 0]
  ------------------
 1332|      0|                    nestStack.push_back(')');
 1333|      0|                else if (token == '{' && parseContext.isReadingHLSL())
  ------------------
  |  Branch (1333:26): [True: 0, False: 0]
  |  Branch (1333:42): [True: 0, False: 0]
  ------------------
 1334|      0|                    nestStack.push_back('}');
 1335|      0|                else if (nestStack.size() > 0 && token == nestStack.back())
  ------------------
  |  Branch (1335:26): [True: 0, False: 0]
  |  Branch (1335:50): [True: 0, False: 0]
  ------------------
 1336|      0|                    nestStack.pop_back();
 1337|       |
 1338|       |                //Macro replacement list is expanded in the last stage.
 1339|      0|                if (atomStrings.getAtom(ppToken->name) == PpAtomLineMacro)
  ------------------
  |  Branch (1339:21): [True: 0, False: 0]
  ------------------
 1340|      0|                    ppToken->ival = parseContext.getCurrentLoc().line;
 1341|       |
 1342|      0|                in->args[arg]->putToken(token, ppToken);
 1343|      0|                tokenRecorded = true;
 1344|      0|            }
 1345|       |            // end of single argument scan
 1346|       |
 1347|      0|            if (token == ')') {
  ------------------
  |  Branch (1347:17): [True: 0, False: 0]
  ------------------
 1348|       |                // closing paren of call
 1349|      0|                if (in->mac->args.size() == 1 && !tokenRecorded)
  ------------------
  |  Branch (1349:21): [True: 0, False: 0]
  |  Branch (1349:50): [True: 0, False: 0]
  ------------------
 1350|      0|                    break;
 1351|      0|                arg++;
 1352|      0|                break;
 1353|      0|            }
 1354|      0|            arg++;
 1355|      0|        } while (arg < in->mac->args.size());
  ------------------
  |  Branch (1355:18): [True: 0, False: 0]
  ------------------
 1356|       |        // end of all arguments scan
 1357|       |
 1358|      0|        if (arg < in->mac->args.size())
  ------------------
  |  Branch (1358:13): [True: 0, False: 0]
  ------------------
 1359|      0|            parseContext.ppError(loc, "Too few args in Macro", "macro expansion", atomStrings.getString(macroAtom));
 1360|      0|        else if (token != ')') {
  ------------------
  |  Branch (1360:18): [True: 0, False: 0]
  ------------------
 1361|       |            // Error recover code; find end of call, if possible
 1362|      0|            int depth = 0;
 1363|      0|            while (token != EndOfInput && (depth > 0 || token != ')')) {
  ------------------
  |  Branch (1363:20): [True: 0, False: 0]
  |  Branch (1363:44): [True: 0, False: 0]
  |  Branch (1363:57): [True: 0, False: 0]
  ------------------
 1364|      0|                if (token == ')' || token == '}')
  ------------------
  |  Branch (1364:21): [True: 0, False: 0]
  |  Branch (1364:37): [True: 0, False: 0]
  ------------------
 1365|      0|                    depth--;
 1366|      0|                token = scanToken(ppToken);
 1367|      0|                if (token == '(' || token == '{')
  ------------------
  |  Branch (1367:21): [True: 0, False: 0]
  |  Branch (1367:37): [True: 0, False: 0]
  ------------------
 1368|      0|                    depth++;
 1369|      0|            }
 1370|       |
 1371|      0|            if (token == EndOfInput) {
  ------------------
  |  Branch (1371:17): [True: 0, False: 0]
  ------------------
 1372|      0|                parseContext.ppError(loc, "End of input in macro", "macro expansion", atomStrings.getString(macroAtom));
 1373|      0|                delete in;
 1374|      0|                return MacroExpandError;
 1375|      0|            }
 1376|      0|            parseContext.ppError(loc, "Too many args in macro", "macro expansion", atomStrings.getString(macroAtom));
 1377|      0|        }
 1378|       |
 1379|       |        // We need both expanded and non-expanded forms of the argument, for whether or
 1380|       |        // not token pasting will be applied later when the argument is consumed next to ##.
 1381|      0|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1381:28): [True: 0, False: 0]
  ------------------
 1382|      0|            in->expandedArgs[i] = PrescanMacroArg(*in->args[i], ppToken, newLineOkay);
 1383|      0|    }
 1384|       |
 1385|      0|    pushInput(in);
 1386|      0|    macro->busy = 1;
 1387|      0|    macro->body.reset();
 1388|       |
 1389|      0|    return MacroExpandStarted;
 1390|      0|}
Pp.cpp:_ZN7glslang12_GLOBAL__N_16op_posEi:
  422|     67|    int op_pos(int a) { return a; }
Pp.cpp:_ZN7glslang12_GLOBAL__N_17op_cmplEi:
  424|     38|    int op_cmpl(int a) { return ~a; }
Pp.cpp:_ZN7glslang12_GLOBAL__N_16op_notEi:
  425|      3|    int op_not(int a) { return !a; }
Pp.cpp:_ZN7glslang12_GLOBAL__N_16op_andEii:
  408|      6|    int op_and(int a, int b) { return a & b; }

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

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

_ZN7glslang8TPpTokenC2Ev:
   93|  6.25M|    TPpToken() { clear(); }
_ZN7glslang8TPpToken5clearEv:
   95|  15.8M|    {
   96|  15.8M|        space = false;
   97|  15.8M|        i64val = 0;
   98|  15.8M|        loc.init();
   99|  15.8M|        name[0] = 0;
  100|  15.8M|        fullyExpanded = false;
  101|  15.8M|    }
_ZNK7glslang14TStringAtomMap7getAtomEPKc:
  141|  1.32M|    {
  142|  1.32M|        auto it = atomMap.find(s);
  143|  1.32M|        return it == atomMap.end() ? 0 : it->second;
  ------------------
  |  Branch (143:16): [True: 1.30M, False: 26.4k]
  ------------------
  144|  1.32M|    }
_ZN7glslang14TStringAtomMap10getAddAtomEPKc:
  148|  8.18k|    {
  149|  8.18k|        int atom = getAtom(s);
  150|  8.18k|        if (atom == 0) {
  ------------------
  |  Branch (150:13): [True: 8.18k, False: 0]
  ------------------
  151|  8.18k|            atom = nextAtom++;
  152|  8.18k|            addAtomFixed(s, atom);
  153|  8.18k|        }
  154|  8.18k|        return atom;
  155|  8.18k|    }
_ZNK7glslang14TStringAtomMap9getStringEi:
  158|  2.05M|    const char* getString(int atom) const { return stringMap[atom]->c_str(); }
_ZN7glslang14TStringAtomMap12addAtomFixedEPKci:
  176|  72.1k|    {
  177|  72.1k|        auto it = atomMap.insert(std::pair<TString, int>(s, atom)).first;
  178|  72.1k|        if (stringMap.size() < (size_t)atom + 1)
  ------------------
  |  Branch (178:13): [True: 1.06k, False: 71.1k]
  ------------------
  179|  1.06k|            stringMap.resize(atom + 100, &badToken);
  180|  72.1k|        stringMap[atom] = &it->first;
  181|  72.1k|    }
_ZN7glslang10TPpContext6tInputC2EPS0_:
  208|    420|        tInput(TPpContext* p) : done(false), pp(p) { }
_ZN7glslang10TPpContext6tInputD2Ev:
  209|    420|        virtual ~tInput() { }
_ZN7glslang10TPpContext6tInput11peekPastingEv:
  214|  3.33M|        virtual bool peekPasting() { return false; }             // true when about to see ##
_ZN7glslang10TPpContext6tInput12isMacroInputEv:
  217|      2|        virtual bool isMacroInput() { return false; }
_ZN7glslang10TPpContext6tInput13isStringInputEv:
  218|      4|        virtual bool isStringInput() { return false; }
_ZN7glslang10TPpContext6tInput15notifyActivatedEv:
  221|    420|        virtual void notifyActivated() {}
_ZN7glslang10TPpContext6tInput13notifyDeletedEv:
  223|    420|        virtual void notifyDeleted() {}
_ZN7glslang10TPpContext9pushInputEPNS0_6tInputE:
  232|    420|    {
  233|    420|        inputStack.push_back(in);
  234|    420|        in->notifyActivated();
  235|    420|    }
_ZN7glslang10TPpContext8popInputEv:
  237|    420|    {
  238|    420|        inputStack.back()->notifyDeleted();
  239|    420|        delete inputStack.back();
  240|    420|        inputStack.pop_back();
  241|    420|    }
_ZN7glslang10TPpContext11TokenStream5TokenC2EiRKNS_8TPpTokenE:
  255|  8.18k|                atom(atom),
  256|  8.18k|                space(ppToken.space),
  257|  8.18k|                i64val(ppToken.i64val),
  258|  8.18k|                name(ppToken.name) { }
_ZN7glslang10TPpContext11TokenStreamC2Ev:
  278|  16.3k|        TokenStream() : currentPos(0) { }
_ZN7glslang10TPpContext11MacroSymbolC2Ev:
  326|  16.3k|        MacroSymbol() : functionLike(0), busy(0), undef(0) { }
_ZN7glslang10TPpContext14lookupMacroDefEi:
  337|  8.19k|    {
  338|  8.19k|        auto existingMacroIt = macroDefs.find(atom);
  339|  8.19k|        return (existingMacroIt == macroDefs.end()) ? nullptr : &(existingMacroIt->second);
  ------------------
  |  Branch (339:16): [True: 8.19k, False: 0]
  ------------------
  340|  8.19k|    }
_ZN7glslang10TPpContext11addMacroDefEiRNS0_11MacroSymbolE:
  341|  8.18k|    void addMacroDef(int atom, MacroSymbol& macroDef) { macroDefs[atom] = macroDef; }
_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE:
  364|  9.61M|    {
  365|  9.61M|        int token = EndOfInput;
  366|       |
  367|  9.61M|        while (! inputStack.empty()) {
  ------------------
  |  Branch (367:16): [True: 9.61M, False: 396]
  ------------------
  368|  9.61M|            token = inputStack.back()->scan(ppToken);
  369|  9.61M|            if (token != EndOfInput || inputStack.empty())
  ------------------
  |  Branch (369:17): [True: 9.61M, False: 400]
  |  Branch (369:40): [True: 0, False: 400]
  ------------------
  370|  9.61M|                break;
  371|    400|            popInput();
  372|    400|        }
  373|  9.61M|        if (!inputStack.empty() && inputStack.back()->isStringInput() && !inElseSkip) {
  ------------------
  |  Branch (373:13): [True: 9.61M, False: 396]
  |  Branch (373:36): [True: 9.61M, False: 4]
  |  Branch (373:74): [True: 3.38M, False: 6.23M]
  ------------------
  374|  3.38M|            if (token == '\n') {
  ------------------
  |  Branch (374:17): [True: 206k, False: 3.17M]
  ------------------
  375|   206k|                lastLineTokens.clear();
  376|   206k|                lastLineTokenLocs.clear();
  377|  3.17M|            } else {
  378|  3.17M|                lastLineTokens.push_back(token);
  379|  3.17M|                lastLineTokenLocs.push_back(ppToken->loc);
  380|  3.17M|            }
  381|  3.38M|        }
  382|  9.61M|        return token;
  383|  9.61M|    }
_ZN7glslang10TPpContext7getCharEv:
  384|  45.2k|    int  getChar() { return inputStack.back()->getch(); }
_ZN7glslang10TPpContext9ungetCharEv:
  385|  19.3k|    void ungetChar() { inputStack.back()->ungetch(); }
_ZN7glslang10TPpContext11peekPastingEv:
  386|  3.33M|    bool peekPasting() { return !inputStack.empty() && inputStack.back()->peekPasting(); }
  ------------------
  |  Branch (386:33): [True: 3.33M, False: 329]
  |  Branch (386:56): [True: 0, False: 3.33M]
  ------------------
_ZN7glslang10TPpContext12isMacroInputEv:
  392|      2|    bool isMacroInput() { return inputStack.size() > 0 && inputStack.back()->isMacroInput(); }
  ------------------
  |  Branch (392:34): [True: 2, False: 0]
  |  Branch (392:59): [True: 0, False: 2]
  ------------------
_ZN7glslang10TPpContext10tZeroInputC2EPS0_:
  478|      4|        tZeroInput(TPpContext* pp) : tInput(pp) { }
_ZN7glslang10TPpContext12tStringInputC2EPS0_RNS_13TInputScannerE:
  564|    416|        tStringInput(TPpContext* pp, TInputScanner& i) : tInput(pp), input(&i) { }
_ZN7glslang10TPpContext12tStringInput13isStringInputEv:
  566|  9.61M|        bool isStringInput() override { return true; }
_ZN7glslang10TPpContext12tStringInput5getchEv:
  571|  27.3M|        {
  572|  27.3M|            int ch = input->get();
  573|       |
  574|  27.3M|            if (ch == '\\') {
  ------------------
  |  Branch (574:17): [True: 61.2k, False: 27.3M]
  ------------------
  575|       |                // Move past escaped newlines, as many as sequentially exist
  576|  61.6k|                do {
  577|  61.6k|                    if (input->peek() == '\r' || input->peek() == '\n') {
  ------------------
  |  Branch (577:25): [True: 33.3k, False: 28.3k]
  |  Branch (577:50): [True: 641, False: 27.6k]
  ------------------
  578|  33.9k|                        bool allowed = pp->parseContext.lineContinuationCheck(input->getSourceLoc(), pp->inComment);
  579|  33.9k|                        if (! allowed && pp->inComment)
  ------------------
  |  Branch (579:29): [True: 23.4k, False: 10.5k]
  |  Branch (579:42): [True: 23.4k, False: 0]
  ------------------
  580|  23.4k|                            return '\\';
  581|       |
  582|       |                        // escape one newline now
  583|  10.5k|                        ch = input->get();
  584|  10.5k|                        int nextch = input->get();
  585|  10.5k|                        if (ch == '\r' && nextch == '\n')
  ------------------
  |  Branch (585:29): [True: 9.88k, False: 641]
  |  Branch (585:43): [True: 650, False: 9.23k]
  ------------------
  586|    650|                            ch = input->get();
  587|  9.87k|                        else
  588|  9.87k|                            ch = nextch;
  589|  10.5k|                    } else
  590|  27.6k|                        return '\\';
  591|  61.6k|                } while (ch == '\\');
  ------------------
  |  Branch (591:26): [True: 415, False: 10.1k]
  ------------------
  592|  61.2k|            }
  593|       |
  594|       |            // handle any non-escaped newline
  595|  27.3M|            if (ch == '\r' || ch == '\n') {
  ------------------
  |  Branch (595:17): [True: 2.06M, False: 25.2M]
  |  Branch (595:31): [True: 1.04M, False: 24.2M]
  ------------------
  596|  3.11M|                if (ch == '\r' && input->peek() == '\n')
  ------------------
  |  Branch (596:21): [True: 2.06M, False: 1.04M]
  |  Branch (596:35): [True: 8.97k, False: 2.05M]
  ------------------
  597|  8.97k|                    input->get();
  598|  3.11M|                return '\n';
  599|  3.11M|            }
  600|       |
  601|  24.2M|            return ch;
  602|  27.3M|        }
_ZN7glslang10TPpContext12tStringInput7ungetchEv:
  609|  3.17M|        {
  610|  3.17M|            input->unget();
  611|       |
  612|  3.17M|            do {
  613|  3.17M|                int ch = input->peek();
  614|  3.17M|                if (ch == '\r' || ch == '\n') {
  ------------------
  |  Branch (614:21): [True: 894k, False: 2.27M]
  |  Branch (614:35): [True: 288k, False: 1.99M]
  ------------------
  615|  1.18M|                    if (ch == '\n') {
  ------------------
  |  Branch (615:25): [True: 288k, False: 894k]
  ------------------
  616|       |                        // correct for two-character newline
  617|   288k|                        input->unget();
  618|   288k|                        if (input->peek() != '\r')
  ------------------
  |  Branch (618:29): [True: 287k, False: 723]
  ------------------
  619|   287k|                            input->get();
  620|   288k|                    }
  621|       |                    // now in front of a complete newline, move past an escape character
  622|  1.18M|                    input->unget();
  623|  1.18M|                    if (input->peek() == '\\')
  ------------------
  |  Branch (623:25): [True: 392, False: 1.18M]
  ------------------
  624|    392|                        input->unget();
  625|  1.18M|                    else {
  626|  1.18M|                        input->get();
  627|  1.18M|                        break;
  628|  1.18M|                    }
  629|  1.18M|                } else
  630|  1.99M|                    break;
  631|  3.17M|            } while (true);
  ------------------
  |  Branch (631:22): [True: 392, Folded]
  ------------------
  632|  3.17M|        }

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

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

_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_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|      3|    for (int i = 0; i < (int)seq.size(); ++i) {
  ------------------
  |  Branch (309:21): [True: 1, False: 2]
  ------------------
  310|      1|        current_object_.clear();
  311|      1|        seq[i]->traverse(this);
  312|      1|    }
  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|    108|    const_iterator begin() const { return data_; }
Initialize.cpp:_ZNK4spanIKN7glslang12_GLOBAL__N_115BuiltInFunctionEE3endEv:
   61|    108|    const_iterator end() const { return data_ + count_; }
Initialize.cpp:_ZNK4spanIKN7glslang12_GLOBAL__N_110VersioningEE5emptyEv:
   73|  4.27k|    bool empty() const { return count_ == 0; }
Initialize.cpp:_ZNK4spanIKN7glslang12_GLOBAL__N_110VersioningEE5beginEv:
   58|  1.76k|    const_iterator begin() const { return data_; }
Initialize.cpp:_ZNK4spanIKN7glslang12_GLOBAL__N_110VersioningEE3endEv:
   61|  1.76k|    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|     52|    span(Container &c) : data_(c.data()), count_(c.size()) {}
Initialize.cpp:_ZN4spanIKN7glslang12_GLOBAL__N_115BuiltInFunctionEEC2IKNSt3__15arrayIS2_Lm3EEEEERT_:
   55|     56|    span(Container &c) : data_(c.data()), count_(c.size()) {}

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

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

