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

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

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

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

_ZN7glslang16HlslParseContextC2ERNS_12TSymbolTableERNS_13TIntermediateEbi8EProfileRKNS_10SpvVersionE11EShLanguageR9TInfoSinkNSt3__112basic_stringIcNSC_11char_traitsIcEENS_14pool_allocatorIcEEEEb11EShMessages:
   69|    357|    TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language, infoSink,
   70|    357|                      forwardCompatible, messages, &sourceEntryPointName),
   71|    357|    annotationNestingLevel(0),
   72|    357|    inputPatch(nullptr),
   73|    357|    nextInLocation(0), nextOutLocation(0),
   74|    357|    entryPointFunction(nullptr),
   75|    357|    entryPointFunctionBody(nullptr),
   76|    357|    gsStreamOutput(nullptr),
   77|    357|    clipDistanceOutput(nullptr),
   78|    357|    cullDistanceOutput(nullptr),
   79|    357|    clipDistanceInput(nullptr),
   80|    357|    cullDistanceInput(nullptr),
   81|    357|    parsingEntrypointParameters(false)
   82|    357|{
   83|    357|    globalUniformDefaults.clear();
   84|    357|    globalUniformDefaults.layoutMatrix = ElmRowMajor;
   85|    357|    globalUniformDefaults.layoutPacking = ElpStd140;
   86|       |
   87|    357|    globalBufferDefaults.clear();
   88|    357|    globalBufferDefaults.layoutMatrix = ElmRowMajor;
   89|    357|    globalBufferDefaults.layoutPacking = ElpStd430;
   90|       |
   91|    357|    globalInputDefaults.clear();
   92|    357|    globalOutputDefaults.clear();
   93|       |
   94|    357|    clipSemanticNSizeIn.fill(0);
   95|    357|    cullSemanticNSizeIn.fill(0);
   96|    357|    clipSemanticNSizeOut.fill(0);
   97|    357|    cullSemanticNSizeOut.fill(0);
   98|       |
   99|       |    // "Shaders in the transform
  100|       |    // feedback capturing mode have an initial global default of
  101|       |    //     layout(xfb_buffer = 0) out;"
  102|    357|    if (language == EShLangVertex ||
  ------------------
  |  Branch (102:9): [True: 84, False: 273]
  ------------------
  103|    273|        language == EShLangTessControl ||
  ------------------
  |  Branch (103:9): [True: 21, False: 252]
  ------------------
  104|    252|        language == EShLangTessEvaluation ||
  ------------------
  |  Branch (104:9): [True: 21, False: 231]
  ------------------
  105|    231|        language == EShLangGeometry)
  ------------------
  |  Branch (105:9): [True: 21, False: 210]
  ------------------
  106|    147|        globalOutputDefaults.layoutXfbBuffer = 0;
  107|       |
  108|    357|    if (language == EShLangGeometry)
  ------------------
  |  Branch (108:9): [True: 21, False: 336]
  ------------------
  109|     21|        globalOutputDefaults.layoutStream = 0;
  110|    357|}
_ZN7glslang16HlslParseContextD2Ev:
  113|    357|{
  114|    357|}
_ZN7glslang16HlslParseContext27initializeExtensionBehaviorEv:
  117|     21|{
  118|     21|    TParseContextBase::initializeExtensionBehavior();
  119|       |
  120|       |    // HLSL allows #line by default.
  121|     21|    extensionBehavior[E_GL_GOOGLE_cpp_style_line_directive] = EBhEnable;
  122|     21|}
_ZN7glslang16HlslParseContext9setLimitsERK16TBuiltInResource:
  125|     21|{
  126|     21|    resources = r;
  127|     21|    intermediate.setLimits(resources);
  128|     21|}
_ZN7glslang16HlslParseContext18parseShaderStringsERNS_10TPpContextERNS_13TInputScannerEb:
  136|     42|{
  137|     42|    currentScanner = &input;
  138|     42|    ppContext.setInput(input, versionWillBeError);
  139|       |
  140|     42|    HlslScanContext scanContext(*this, ppContext);
  141|     42|    HlslGrammar grammar(scanContext, *this);
  142|     42|    if (!grammar.parse()) {
  ------------------
  |  Branch (142:9): [True: 0, False: 42]
  ------------------
  143|       |        // Print a message formated such that if you click on the message it will take you right to
  144|       |        // the line through most UIs.
  145|      0|        const glslang::TSourceLoc& sourceLoc = input.getSourceLoc();
  146|      0|        infoSink.info << sourceLoc.getFilenameStr() << "(" << sourceLoc.line << "): error at column " << sourceLoc.column
  147|      0|                      << ", HLSL parsing failed.\n";
  148|      0|        ++numErrors;
  149|      0|        return false;
  150|      0|    }
  151|       |
  152|     42|    finish();
  153|       |
  154|     42|    return numErrors == 0;
  155|     42|}
_ZN7glslang16HlslParseContext19getLayoutFromTxTypeERKNS_10TSourceLocERKNS_5TTypeE:
  196|  1.19k|{
  197|  1.19k|    if (txType.isStruct()) {
  ------------------
  |  Branch (197:9): [True: 0, False: 1.19k]
  ------------------
  198|       |        // TODO: implement.
  199|      0|        error(loc, "unimplemented: structure type in image or buffer", "", "");
  200|      0|        return ElfNone;
  201|      0|    }
  202|       |
  203|  1.19k|    const int components = txType.getVectorSize();
  204|  1.19k|    const TBasicType txBasicType = txType.getBasicType();
  205|       |
  206|  1.19k|    const auto selectFormat = [this,&components](TLayoutFormat v1, TLayoutFormat v2, TLayoutFormat v4) -> TLayoutFormat {
  207|  1.19k|        if (intermediate.getNoStorageFormat())
  208|  1.19k|            return ElfNone;
  209|       |
  210|  1.19k|        return components == 1 ? v1 :
  211|  1.19k|               components == 2 ? v2 : v4;
  212|  1.19k|    };
  213|       |
  214|  1.19k|    switch (txBasicType) {
  215|    399|    case EbtFloat: return selectFormat(ElfR32f,  ElfRg32f,  ElfRgba32f);
  ------------------
  |  Branch (215:5): [True: 399, False: 798]
  ------------------
  216|    399|    case EbtInt:   return selectFormat(ElfR32i,  ElfRg32i,  ElfRgba32i);
  ------------------
  |  Branch (216:5): [True: 399, False: 798]
  ------------------
  217|    399|    case EbtUint:  return selectFormat(ElfR32ui, ElfRg32ui, ElfRgba32ui);
  ------------------
  |  Branch (217:5): [True: 399, False: 798]
  ------------------
  218|      0|    default:
  ------------------
  |  Branch (218:5): [True: 0, False: 1.19k]
  ------------------
  219|      0|        error(loc, "unknown basic type in image format", "", "");
  220|      0|        return ElfNone;
  221|  1.19k|    }
  222|  1.19k|}
_ZN7glslang16HlslParseContext24handleFunctionDeclaratorERKNS_10TSourceLocERNS_9TFunctionEb:
 1605|  84.0k|{
 1606|       |    //
 1607|       |    // Multiple declarations of the same function name are allowed.
 1608|       |    //
 1609|       |    // If this is a definition, the definition production code will check for redefinitions
 1610|       |    // (we don't know at this point if it's a definition or not).
 1611|       |    //
 1612|  84.0k|    bool builtIn;
 1613|  84.0k|    TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn);
 1614|  84.0k|    const TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr;
  ------------------
  |  Branch (1614:32): [True: 504, False: 83.5k]
  ------------------
 1615|       |
 1616|  84.0k|    if (prototype) {
  ------------------
  |  Branch (1616:9): [True: 84.0k, False: 0]
  ------------------
 1617|       |        // All built-in functions are defined, even though they don't have a body.
 1618|       |        // Count their prototype as a definition instead.
 1619|  84.0k|        if (symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (1619:13): [True: 84.0k, False: 0]
  ------------------
 1620|  84.0k|            function.setDefined();
 1621|      0|        else {
 1622|      0|            if (prevDec && ! builtIn)
  ------------------
  |  Branch (1622:17): [True: 0, False: 0]
  |  Branch (1622:28): [True: 0, False: 0]
  ------------------
 1623|      0|                symbol->getAsFunction()->setPrototyped();  // need a writable one, but like having prevDec as a const
 1624|      0|            function.setPrototyped();
 1625|      0|        }
 1626|  84.0k|    }
 1627|       |
 1628|       |    // This insert won't actually insert it if it's a duplicate signature, but it will still check for
 1629|       |    // other forms of name collisions.
 1630|  84.0k|    if (! symbolTable.insert(function))
  ------------------
  |  Branch (1630:9): [True: 0, False: 84.0k]
  ------------------
 1631|      0|        error(loc, "function name is redeclaration of existing name", function.getName().c_str(), "");
 1632|  84.0k|}
_ZN7glslang16HlslParseContext22transferTypeAttributesERKNS_10TSourceLocERKNS_5TListINS_14TAttributeArgsEEERNS_5TTypeEb:
 1933|   272k|{
 1934|   272k|    if (attributes.size() == 0)
  ------------------
  |  Branch (1934:9): [True: 272k, False: 0]
  ------------------
 1935|   272k|        return;
 1936|       |
 1937|      0|    int value;
 1938|      0|    TString builtInString;
 1939|      0|    for (auto it = attributes.begin(); it != attributes.end(); ++it) {
  ------------------
  |  Branch (1939:40): [True: 0, False: 0]
  ------------------
 1940|      0|        switch (it->name) {
 1941|      0|        case EatLocation:
  ------------------
  |  Branch (1941:9): [True: 0, False: 0]
  ------------------
 1942|       |            // location
 1943|      0|            if (it->getInt(value))
  ------------------
  |  Branch (1943:17): [True: 0, False: 0]
  ------------------
 1944|      0|                type.getQualifier().layoutLocation = value;
 1945|      0|            else
 1946|      0|                error(loc, "needs a literal integer", "location", "");
 1947|      0|            break;
 1948|      0|        case EatBinding:
  ------------------
  |  Branch (1948:9): [True: 0, False: 0]
  ------------------
 1949|       |            // binding
 1950|      0|            if (it->getInt(value)) {
  ------------------
  |  Branch (1950:17): [True: 0, False: 0]
  ------------------
 1951|      0|                type.getQualifier().layoutBinding = value;
 1952|      0|                type.getQualifier().layoutSet = 0;
 1953|      0|            } else
 1954|      0|                error(loc, "needs a literal integer", "binding", "");
 1955|       |            // set
 1956|      0|            if (it->getInt(value, 1))
  ------------------
  |  Branch (1956:17): [True: 0, False: 0]
  ------------------
 1957|      0|                type.getQualifier().layoutSet = value;
 1958|      0|            break;
 1959|      0|        case EatGlobalBinding:
  ------------------
  |  Branch (1959:9): [True: 0, False: 0]
  ------------------
 1960|       |            // global cbuffer binding
 1961|      0|            if (it->getInt(value))
  ------------------
  |  Branch (1961:17): [True: 0, False: 0]
  ------------------
 1962|      0|                globalUniformBinding = value;
 1963|      0|            else
 1964|      0|                error(loc, "needs a literal integer", "global binding", "");
 1965|       |            // global cbuffer set
 1966|      0|            if (it->getInt(value, 1))
  ------------------
  |  Branch (1966:17): [True: 0, False: 0]
  ------------------
 1967|      0|                globalUniformSet = value;
 1968|      0|            break;
 1969|      0|        case EatInputAttachment:
  ------------------
  |  Branch (1969:9): [True: 0, False: 0]
  ------------------
 1970|       |            // input attachment
 1971|      0|            if (it->getInt(value))
  ------------------
  |  Branch (1971:17): [True: 0, False: 0]
  ------------------
 1972|      0|                type.getQualifier().layoutAttachment = value;
 1973|      0|            else
 1974|      0|                error(loc, "needs a literal integer", "input attachment", "");
 1975|      0|            break;
 1976|      0|        case EatBuiltIn:
  ------------------
  |  Branch (1976:9): [True: 0, False: 0]
  ------------------
 1977|       |            // PointSize built-in
 1978|      0|            if (it->getString(builtInString, 0, false)) {
  ------------------
  |  Branch (1978:17): [True: 0, False: 0]
  ------------------
 1979|      0|                if (builtInString == "PointSize")
  ------------------
  |  Branch (1979:21): [True: 0, False: 0]
  ------------------
 1980|      0|                    type.getQualifier().builtIn = EbvPointSize;
 1981|      0|            }
 1982|      0|            break;
 1983|      0|        case EatPushConstant:
  ------------------
  |  Branch (1983:9): [True: 0, False: 0]
  ------------------
 1984|       |            // push_constant
 1985|      0|            type.getQualifier().layoutPushConstant = true;
 1986|      0|            break;
 1987|      0|        case EatConstantId:
  ------------------
  |  Branch (1987:9): [True: 0, False: 0]
  ------------------
 1988|       |            // specialization constant
 1989|      0|            if (type.getQualifier().storage != EvqConst) {
  ------------------
  |  Branch (1989:17): [True: 0, False: 0]
  ------------------
 1990|      0|                error(loc, "needs a const type", "constant_id", "");
 1991|      0|                break;
 1992|      0|            }
 1993|      0|            if (it->getInt(value)) {
  ------------------
  |  Branch (1993:17): [True: 0, False: 0]
  ------------------
 1994|      0|                TSourceLoc loc;
 1995|      0|                loc.init();
 1996|      0|                setSpecConstantId(loc, type.getQualifier(), (unsigned)value);
 1997|      0|            }
 1998|      0|            break;
 1999|       |
 2000|       |        // image formats
 2001|      0|        case EatFormatRgba32f:      type.getQualifier().layoutFormat = ElfRgba32f;      break;
  ------------------
  |  Branch (2001:9): [True: 0, False: 0]
  ------------------
 2002|      0|        case EatFormatRgba16f:      type.getQualifier().layoutFormat = ElfRgba16f;      break;
  ------------------
  |  Branch (2002:9): [True: 0, False: 0]
  ------------------
 2003|      0|        case EatFormatR32f:         type.getQualifier().layoutFormat = ElfR32f;         break;
  ------------------
  |  Branch (2003:9): [True: 0, False: 0]
  ------------------
 2004|      0|        case EatFormatRgba8:        type.getQualifier().layoutFormat = ElfRgba8;        break;
  ------------------
  |  Branch (2004:9): [True: 0, False: 0]
  ------------------
 2005|      0|        case EatFormatRgba8Snorm:   type.getQualifier().layoutFormat = ElfRgba8Snorm;   break;
  ------------------
  |  Branch (2005:9): [True: 0, False: 0]
  ------------------
 2006|      0|        case EatFormatRg32f:        type.getQualifier().layoutFormat = ElfRg32f;        break;
  ------------------
  |  Branch (2006:9): [True: 0, False: 0]
  ------------------
 2007|      0|        case EatFormatRg16f:        type.getQualifier().layoutFormat = ElfRg16f;        break;
  ------------------
  |  Branch (2007:9): [True: 0, False: 0]
  ------------------
 2008|      0|        case EatFormatR11fG11fB10f: type.getQualifier().layoutFormat = ElfR11fG11fB10f; break;
  ------------------
  |  Branch (2008:9): [True: 0, False: 0]
  ------------------
 2009|      0|        case EatFormatR16f:         type.getQualifier().layoutFormat = ElfR16f;         break;
  ------------------
  |  Branch (2009:9): [True: 0, False: 0]
  ------------------
 2010|      0|        case EatFormatRgba16:       type.getQualifier().layoutFormat = ElfRgba16;       break;
  ------------------
  |  Branch (2010:9): [True: 0, False: 0]
  ------------------
 2011|      0|        case EatFormatRgb10A2:      type.getQualifier().layoutFormat = ElfRgb10A2;      break;
  ------------------
  |  Branch (2011:9): [True: 0, False: 0]
  ------------------
 2012|      0|        case EatFormatRg16:         type.getQualifier().layoutFormat = ElfRg16;         break;
  ------------------
  |  Branch (2012:9): [True: 0, False: 0]
  ------------------
 2013|      0|        case EatFormatRg8:          type.getQualifier().layoutFormat = ElfRg8;          break;
  ------------------
  |  Branch (2013:9): [True: 0, False: 0]
  ------------------
 2014|      0|        case EatFormatR16:          type.getQualifier().layoutFormat = ElfR16;          break;
  ------------------
  |  Branch (2014:9): [True: 0, False: 0]
  ------------------
 2015|      0|        case EatFormatR8:           type.getQualifier().layoutFormat = ElfR8;           break;
  ------------------
  |  Branch (2015:9): [True: 0, False: 0]
  ------------------
 2016|      0|        case EatFormatRgba16Snorm:  type.getQualifier().layoutFormat = ElfRgba16Snorm;  break;
  ------------------
  |  Branch (2016:9): [True: 0, False: 0]
  ------------------
 2017|      0|        case EatFormatRg16Snorm:    type.getQualifier().layoutFormat = ElfRg16Snorm;    break;
  ------------------
  |  Branch (2017:9): [True: 0, False: 0]
  ------------------
 2018|      0|        case EatFormatRg8Snorm:     type.getQualifier().layoutFormat = ElfRg8Snorm;     break;
  ------------------
  |  Branch (2018:9): [True: 0, False: 0]
  ------------------
 2019|      0|        case EatFormatR16Snorm:     type.getQualifier().layoutFormat = ElfR16Snorm;     break;
  ------------------
  |  Branch (2019:9): [True: 0, False: 0]
  ------------------
 2020|      0|        case EatFormatR8Snorm:      type.getQualifier().layoutFormat = ElfR8Snorm;      break;
  ------------------
  |  Branch (2020:9): [True: 0, False: 0]
  ------------------
 2021|      0|        case EatFormatRgba32i:      type.getQualifier().layoutFormat = ElfRgba32i;      break;
  ------------------
  |  Branch (2021:9): [True: 0, False: 0]
  ------------------
 2022|      0|        case EatFormatRgba16i:      type.getQualifier().layoutFormat = ElfRgba16i;      break;
  ------------------
  |  Branch (2022:9): [True: 0, False: 0]
  ------------------
 2023|      0|        case EatFormatRgba8i:       type.getQualifier().layoutFormat = ElfRgba8i;       break;
  ------------------
  |  Branch (2023:9): [True: 0, False: 0]
  ------------------
 2024|      0|        case EatFormatR32i:         type.getQualifier().layoutFormat = ElfR32i;         break;
  ------------------
  |  Branch (2024:9): [True: 0, False: 0]
  ------------------
 2025|      0|        case EatFormatRg32i:        type.getQualifier().layoutFormat = ElfRg32i;        break;
  ------------------
  |  Branch (2025:9): [True: 0, False: 0]
  ------------------
 2026|      0|        case EatFormatRg16i:        type.getQualifier().layoutFormat = ElfRg16i;        break;
  ------------------
  |  Branch (2026:9): [True: 0, False: 0]
  ------------------
 2027|      0|        case EatFormatRg8i:         type.getQualifier().layoutFormat = ElfRg8i;         break;
  ------------------
  |  Branch (2027:9): [True: 0, False: 0]
  ------------------
 2028|      0|        case EatFormatR16i:         type.getQualifier().layoutFormat = ElfR16i;         break;
  ------------------
  |  Branch (2028:9): [True: 0, False: 0]
  ------------------
 2029|      0|        case EatFormatR8i:          type.getQualifier().layoutFormat = ElfR8i;          break;
  ------------------
  |  Branch (2029:9): [True: 0, False: 0]
  ------------------
 2030|      0|        case EatFormatRgba32ui:     type.getQualifier().layoutFormat = ElfRgba32ui;     break;
  ------------------
  |  Branch (2030:9): [True: 0, False: 0]
  ------------------
 2031|      0|        case EatFormatRgba16ui:     type.getQualifier().layoutFormat = ElfRgba16ui;     break;
  ------------------
  |  Branch (2031:9): [True: 0, False: 0]
  ------------------
 2032|      0|        case EatFormatRgba8ui:      type.getQualifier().layoutFormat = ElfRgba8ui;      break;
  ------------------
  |  Branch (2032:9): [True: 0, False: 0]
  ------------------
 2033|      0|        case EatFormatR32ui:        type.getQualifier().layoutFormat = ElfR32ui;        break;
  ------------------
  |  Branch (2033:9): [True: 0, False: 0]
  ------------------
 2034|      0|        case EatFormatRgb10a2ui:    type.getQualifier().layoutFormat = ElfRgb10a2ui;    break;
  ------------------
  |  Branch (2034:9): [True: 0, False: 0]
  ------------------
 2035|      0|        case EatFormatRg32ui:       type.getQualifier().layoutFormat = ElfRg32ui;       break;
  ------------------
  |  Branch (2035:9): [True: 0, False: 0]
  ------------------
 2036|      0|        case EatFormatRg16ui:       type.getQualifier().layoutFormat = ElfRg16ui;       break;
  ------------------
  |  Branch (2036:9): [True: 0, False: 0]
  ------------------
 2037|      0|        case EatFormatRg8ui:        type.getQualifier().layoutFormat = ElfRg8ui;        break;
  ------------------
  |  Branch (2037:9): [True: 0, False: 0]
  ------------------
 2038|      0|        case EatFormatR16ui:        type.getQualifier().layoutFormat = ElfR16ui;        break;
  ------------------
  |  Branch (2038:9): [True: 0, False: 0]
  ------------------
 2039|      0|        case EatFormatR8ui:         type.getQualifier().layoutFormat = ElfR8ui;         break;
  ------------------
  |  Branch (2039:9): [True: 0, False: 0]
  ------------------
 2040|      0|        case EatFormatUnknown:      type.getQualifier().layoutFormat = ElfNone;         break;
  ------------------
  |  Branch (2040:9): [True: 0, False: 0]
  ------------------
 2041|       |
 2042|      0|        case EatNonWritable:  type.getQualifier().readonly = true;   break;
  ------------------
  |  Branch (2042:9): [True: 0, False: 0]
  ------------------
 2043|      0|        case EatNonReadable:  type.getQualifier().writeonly = true;  break;
  ------------------
  |  Branch (2043:9): [True: 0, False: 0]
  ------------------
 2044|       |
 2045|      0|        default:
  ------------------
  |  Branch (2045:9): [True: 0, False: 0]
  ------------------
 2046|      0|            if (! allowEntry)
  ------------------
  |  Branch (2046:17): [True: 0, False: 0]
  ------------------
 2047|      0|                warn(loc, "attribute does not apply to a type", "", "");
 2048|      0|            break;
 2049|      0|        }
 2050|      0|    }
 2051|      0|}
_ZN7glslang16HlslParseContext8paramFixERNS_5TTypeE:
 7148|   188k|{
 7149|   188k|    switch (type.getQualifier().storage) {
 7150|      0|    case EvqConst:
  ------------------
  |  Branch (7150:5): [True: 0, False: 188k]
  ------------------
 7151|      0|        type.getQualifier().storage = EvqConstReadOnly;
 7152|      0|        break;
 7153|      0|    case EvqGlobal:
  ------------------
  |  Branch (7153:5): [True: 0, False: 188k]
  ------------------
 7154|   170k|    case EvqTemporary:
  ------------------
  |  Branch (7154:5): [True: 170k, False: 18.2k]
  ------------------
 7155|   170k|        type.getQualifier().storage = EvqIn;
 7156|   170k|        break;
 7157|      0|    case EvqBuffer:
  ------------------
  |  Branch (7157:5): [True: 0, False: 188k]
  ------------------
 7158|      0|        {
 7159|       |            // SSBO parameter.  These do not go through the declareBlock path since they are fn parameters.
 7160|      0|            correctUniform(type.getQualifier());
 7161|      0|            TQualifier bufferQualifier = globalBufferDefaults;
 7162|      0|            mergeObjectLayoutQualifiers(bufferQualifier, type.getQualifier(), true);
 7163|      0|            bufferQualifier.storage = type.getQualifier().storage;
 7164|      0|            bufferQualifier.readonly = type.getQualifier().readonly;
 7165|      0|            bufferQualifier.coherent = type.getQualifier().coherent;
 7166|      0|            bufferQualifier.declaredBuiltIn = type.getQualifier().declaredBuiltIn;
 7167|      0|            type.getQualifier() = bufferQualifier;
 7168|      0|            break;
 7169|      0|        }
 7170|  18.2k|    default:
  ------------------
  |  Branch (7170:5): [True: 18.2k, False: 170k]
  ------------------
 7171|  18.2k|        break;
 7172|   188k|    }
 7173|   188k|}
_ZNK7glslang16HlslParseContext20getFullNamespaceNameERPNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 9555|  84.0k|{
 9556|  84.0k|    if (currentTypePrefix.size() == 0)
  ------------------
  |  Branch (9556:9): [True: 84.0k, False: 0]
  ------------------
 9557|  84.0k|        return;
 9558|       |
 9559|      0|    TString* fullName = NewPoolTString(currentTypePrefix.back().c_str());
 9560|      0|    fullName->append(*name);
 9561|      0|    name = fullName;
 9562|      0|}
_ZN7glslang16HlslParseContext20setTextureReturnTypeERNS_8TSamplerERKNS_5TTypeERKNS_10TSourceLocE:
 9784|  17.0k|{
 9785|       |    // Seed the output with an invalid index.  We will set it to a valid one if we can.
 9786|  17.0k|    sampler.structReturnIndex = TSampler::noReturnStruct;
 9787|       |
 9788|       |    // Arrays aren't supported.
 9789|  17.0k|    if (retType.isArray()) {
  ------------------
  |  Branch (9789:9): [True: 0, False: 17.0k]
  ------------------
 9790|      0|        error(loc, "Arrays not supported in texture template types", "", "");
 9791|      0|        return false;
 9792|      0|    }
 9793|       |
 9794|       |    // If return type is a vector, remember the vector size in the sampler, and return.
 9795|  17.0k|    if (retType.isVector() || retType.isScalar()) {
  ------------------
  |  Branch (9795:9): [True: 17.0k, False: 0]
  |  Branch (9795:31): [True: 0, False: 0]
  ------------------
 9796|  17.0k|        sampler.vectorSize = retType.getVectorSize();
 9797|  17.0k|        return true;
 9798|  17.0k|    }
 9799|       |
 9800|       |    // If it wasn't a vector, it must be a struct meeting certain requirements.  The requirements
 9801|       |    // are checked below: just check for struct-ness here.
 9802|      0|    if (!retType.isStruct()) {
  ------------------
  |  Branch (9802:9): [True: 0, False: 0]
  ------------------
 9803|      0|        error(loc, "Invalid texture template type", "", "");
 9804|      0|        return false;
 9805|      0|    }
 9806|       |
 9807|       |    // TODO: Subpass doesn't handle struct returns, due to some oddities with fn overloading.
 9808|      0|    if (sampler.isSubpass()) {
  ------------------
  |  Branch (9808:9): [True: 0, False: 0]
  ------------------
 9809|      0|        error(loc, "Unimplemented: structure template type in subpass input", "", "");
 9810|      0|        return false;
 9811|      0|    }
 9812|       |
 9813|      0|    TTypeList* members = retType.getWritableStruct();
 9814|       |
 9815|       |    // Check for too many or not enough structure members.
 9816|      0|    if (members->size() > 4 || members->size() == 0) {
  ------------------
  |  Branch (9816:9): [True: 0, False: 0]
  |  Branch (9816:32): [True: 0, False: 0]
  ------------------
 9817|      0|        error(loc, "Invalid member count in texture template structure", "", "");
 9818|      0|        return false;
 9819|      0|    }
 9820|       |
 9821|       |    // Error checking: We must have <= 4 total components, all of the same basic type.
 9822|      0|    unsigned totalComponents = 0;
 9823|      0|    for (unsigned m = 0; m < members->size(); ++m) {
  ------------------
  |  Branch (9823:26): [True: 0, False: 0]
  ------------------
 9824|       |        // Check for bad member types
 9825|      0|        if (!(*members)[m].type->isScalar() && !(*members)[m].type->isVector()) {
  ------------------
  |  Branch (9825:13): [True: 0, False: 0]
  |  Branch (9825:48): [True: 0, False: 0]
  ------------------
 9826|      0|            error(loc, "Invalid texture template struct member type", "", "");
 9827|      0|            return false;
 9828|      0|        }
 9829|       |
 9830|      0|        const unsigned memberVectorSize = (*members)[m].type->getVectorSize();
 9831|      0|        totalComponents += memberVectorSize;
 9832|       |
 9833|       |        // too many total member components
 9834|      0|        if (totalComponents > 4) {
  ------------------
  |  Branch (9834:13): [True: 0, False: 0]
  ------------------
 9835|      0|            error(loc, "Too many components in texture template structure type", "", "");
 9836|      0|            return false;
 9837|      0|        }
 9838|       |
 9839|       |        // All members must be of a common basic type
 9840|      0|        if ((*members)[m].type->getBasicType() != (*members)[0].type->getBasicType()) {
  ------------------
  |  Branch (9840:13): [True: 0, False: 0]
  ------------------
 9841|      0|            error(loc, "Texture template structure members must same basic type", "", "");
 9842|      0|            return false;
 9843|      0|        }
 9844|      0|    }
 9845|       |
 9846|       |    // If the structure in the return type already exists in the table, we'll use it.  Otherwise, we'll make
 9847|       |    // a new entry.  This is a linear search, but it hardly ever happens, and the list cannot be very large.
 9848|      0|    for (unsigned int idx = 0; idx < textureReturnStruct.size(); ++idx) {
  ------------------
  |  Branch (9848:32): [True: 0, False: 0]
  ------------------
 9849|      0|        if (textureReturnStruct[idx] == members) {
  ------------------
  |  Branch (9849:13): [True: 0, False: 0]
  ------------------
 9850|      0|            sampler.structReturnIndex = idx;
 9851|      0|            return true;
 9852|      0|        }
 9853|      0|    }
 9854|       |
 9855|       |    // It wasn't found as an existing entry.  See if we have room for a new one.
 9856|      0|    if (textureReturnStruct.size() >= TSampler::structReturnSlots) {
  ------------------
  |  Branch (9856:9): [True: 0, False: 0]
  ------------------
 9857|      0|        error(loc, "Texture template struct return slots exceeded", "", "");
 9858|      0|        return false;
 9859|      0|    }
 9860|       |
 9861|       |    // Insert it in the vector that tracks struct return types.
 9862|      0|    sampler.structReturnIndex = unsigned(textureReturnStruct.size());
 9863|      0|    textureReturnStruct.push_back(members);
 9864|       |
 9865|       |    // Success!
 9866|      0|    return true;
 9867|      0|}
_ZN7glslang16HlslParseContext26addPatchConstantInvocationEv:
 9933|     42|{
 9934|     42|    TSourceLoc loc;
 9935|     42|    loc.init();
 9936|       |
 9937|       |    // If there's no patch constant function, or we're not a HS, do nothing.
 9938|     42|    if (patchConstantFunctionName.empty() || language != EShLangTessControl)
  ------------------
  |  Branch (9938:9): [True: 42, False: 0]
  |  Branch (9938:46): [True: 0, False: 0]
  ------------------
 9939|     42|        return;
 9940|       |
 9941|       |    // Look for built-in variables in a function's parameter list.
 9942|      0|    const auto findBuiltIns = [&](const TFunction& function, std::set<tInterstageIoData>& builtIns) {
 9943|      0|        for (int p=0; p<function.getParamCount(); ++p) {
 9944|      0|            TStorageQualifier storage = function[p].type->getQualifier().storage;
 9945|       |
 9946|      0|            if (storage == EvqConstReadOnly) // treated identically to input
 9947|      0|                storage = EvqIn;
 9948|       |
 9949|      0|            if (function[p].getDeclaredBuiltIn() != EbvNone)
 9950|      0|                builtIns.insert(HlslParseContext::tInterstageIoData(function[p].getDeclaredBuiltIn(), storage));
 9951|      0|            else
 9952|      0|                builtIns.insert(HlslParseContext::tInterstageIoData(function[p].type->getQualifier().builtIn, storage));
 9953|      0|        }
 9954|      0|    };
 9955|       |
 9956|       |    // If we synthesize a built-in interface variable, we must add it to the linkage.
 9957|      0|    const auto addToLinkage = [&](const TType& type, const TString* name, TIntermSymbol** symbolNode) {
 9958|      0|        if (name == nullptr) {
 9959|      0|            error(loc, "unable to locate patch function parameter name", "", "");
 9960|      0|            return;
 9961|      0|        } else {
 9962|      0|            TVariable& variable = *new TVariable(name, type);
 9963|      0|            if (! symbolTable.insert(variable)) {
 9964|      0|                error(loc, "unable to declare patch constant function interface variable", name->c_str(), "");
 9965|      0|                return;
 9966|      0|            }
 9967|       |
 9968|      0|            globalQualifierFix(loc, variable.getWritableType().getQualifier());
 9969|       |
 9970|      0|            if (symbolNode != nullptr)
 9971|      0|                *symbolNode = intermediate.addSymbol(variable);
 9972|       |
 9973|      0|            trackLinkage(variable);
 9974|      0|        }
 9975|      0|    };
 9976|       |
 9977|      0|    const auto isOutputPatch = [](TFunction& patchConstantFunction, int param) {
 9978|      0|        const TType& type = *patchConstantFunction[param].type;
 9979|      0|        const TBuiltInVariable biType = patchConstantFunction[param].getDeclaredBuiltIn();
 9980|       |
 9981|      0|        return type.isSizedArray() && biType == EbvOutputPatch;
 9982|      0|    };
 9983|       |
 9984|       |    // We will perform these steps.  Each is in a scoped block for separation: they could
 9985|       |    // become separate functions to make addPatchConstantInvocation shorter.
 9986|       |    //
 9987|       |    // 1. Union the interfaces, and create built-ins for anything present in the PCF and
 9988|       |    //    declared as a built-in variable that isn't present in the entry point's signature.
 9989|       |    //
 9990|       |    // 2. Synthesizes a call to the patchconstfunction using built-in variables from either main,
 9991|       |    //    or the ones we created.  Matching is based on built-in type.  We may use synthesized
 9992|       |    //    variables from (1) above.
 9993|       |    //
 9994|       |    // 2B: Synthesize per control point invocations of wrapped entry point if the PCF requires them.
 9995|       |    //
 9996|       |    // 3. Create a return sequence: copy the return value (if any) from the PCF to a
 9997|       |    //    (non-sanitized) output variable.  In case this may involve multiple copies, such as for
 9998|       |    //    an arrayed variable, a temporary copy of the PCF output is created to avoid multiple
 9999|       |    //    indirections into a complex R-value coming from the call to the PCF.
10000|       |    //
10001|       |    // 4. Create a barrier.
10002|       |    //
10003|       |    // 5/5B. Call the PCF inside an if test for (invocation id == 0).
10004|       |
10005|      0|    TFunction* patchConstantFunctionPtr = const_cast<TFunction*>(findPatchConstantFunction(loc));
10006|       |
10007|      0|    if (patchConstantFunctionPtr == nullptr)
  ------------------
  |  Branch (10007:9): [True: 0, False: 0]
  ------------------
10008|      0|        return;
10009|       |
10010|      0|    TFunction& patchConstantFunction = *patchConstantFunctionPtr;
10011|       |
10012|      0|    const int pcfParamCount = patchConstantFunction.getParamCount();
10013|      0|    TIntermSymbol* invocationIdSym = findTessLinkageSymbol(EbvInvocationId);
10014|      0|    TIntermSequence& epBodySeq = entryPointFunctionBody->getAsAggregate()->getSequence();
10015|       |
10016|      0|    int outPatchParam = -1; // -1 means there isn't one.
10017|       |
10018|       |    // ================ Step 1A: Union Interfaces ================
10019|       |    // Our patch constant function.
10020|      0|    {
10021|      0|        std::set<tInterstageIoData> pcfBuiltIns;  // patch constant function built-ins
10022|      0|        std::set<tInterstageIoData> epfBuiltIns;  // entry point function built-ins
10023|       |
10024|      0|        assert(entryPointFunction);
10025|      0|        assert(entryPointFunctionBody);
10026|       |
10027|      0|        findBuiltIns(patchConstantFunction, pcfBuiltIns);
10028|      0|        findBuiltIns(*entryPointFunction,   epfBuiltIns);
10029|       |
10030|       |        // Find the set of built-ins in the PCF that are not present in the entry point.
10031|      0|        std::set<tInterstageIoData> notInEntryPoint;
10032|       |
10033|      0|        notInEntryPoint = pcfBuiltIns;
10034|       |
10035|       |        // std::set_difference not usable on unordered containers
10036|      0|        for (auto bi = epfBuiltIns.begin(); bi != epfBuiltIns.end(); ++bi)
  ------------------
  |  Branch (10036:45): [True: 0, False: 0]
  ------------------
10037|      0|            notInEntryPoint.erase(*bi);
10038|       |
10039|       |        // Now we'll add those to the entry and to the linkage.
10040|      0|        for (int p=0; p<pcfParamCount; ++p) {
  ------------------
  |  Branch (10040:23): [True: 0, False: 0]
  ------------------
10041|      0|            const TBuiltInVariable biType   = patchConstantFunction[p].getDeclaredBuiltIn();
10042|      0|            TStorageQualifier storage = patchConstantFunction[p].type->getQualifier().storage;
10043|       |
10044|       |            // Track whether there is an output patch param
10045|      0|            if (isOutputPatch(patchConstantFunction, p)) {
  ------------------
  |  Branch (10045:17): [True: 0, False: 0]
  ------------------
10046|      0|                if (outPatchParam >= 0) {
  ------------------
  |  Branch (10046:21): [True: 0, False: 0]
  ------------------
10047|       |                    // Presently we only support one per ctrl pt input.
10048|      0|                    error(loc, "unimplemented: multiple output patches in patch constant function", "", "");
10049|      0|                    return;
10050|      0|                }
10051|      0|                outPatchParam = p;
10052|      0|            }
10053|       |
10054|      0|            if (biType != EbvNone) {
  ------------------
  |  Branch (10054:17): [True: 0, False: 0]
  ------------------
10055|      0|                TType* paramType = patchConstantFunction[p].type->clone();
10056|       |
10057|      0|                if (storage == EvqConstReadOnly) // treated identically to input
  ------------------
  |  Branch (10057:21): [True: 0, False: 0]
  ------------------
10058|      0|                    storage = EvqIn;
10059|       |
10060|       |                // Presently, the only non-built-in we support is InputPatch, which is treated as
10061|       |                // a pseudo-built-in.
10062|      0|                if (biType == EbvInputPatch) {
  ------------------
  |  Branch (10062:21): [True: 0, False: 0]
  ------------------
10063|      0|                    builtInTessLinkageSymbols[biType] = inputPatch;
10064|      0|                } else if (biType == EbvOutputPatch) {
  ------------------
  |  Branch (10064:28): [True: 0, False: 0]
  ------------------
10065|       |                    // Nothing...
10066|      0|                } else {
10067|       |                    // Use the original declaration type for the linkage
10068|      0|                    paramType->getQualifier().builtIn = biType;
10069|      0|                    if (biType == EbvTessLevelInner || biType == EbvTessLevelOuter)
  ------------------
  |  Branch (10069:25): [True: 0, False: 0]
  |  Branch (10069:56): [True: 0, False: 0]
  ------------------
10070|      0|                        paramType->getQualifier().patch = true;
10071|       |
10072|      0|                    if (notInEntryPoint.count(tInterstageIoData(biType, storage)) == 1)
  ------------------
  |  Branch (10072:25): [True: 0, False: 0]
  ------------------
10073|      0|                        addToLinkage(*paramType, patchConstantFunction[p].name, nullptr);
10074|      0|                }
10075|      0|            }
10076|      0|        }
10077|       |
10078|       |        // If we didn't find it because the shader made one, add our own.
10079|      0|        if (invocationIdSym == nullptr) {
  ------------------
  |  Branch (10079:13): [True: 0, False: 0]
  ------------------
10080|      0|            TType invocationIdType(EbtUint, EvqIn, 1);
10081|      0|            TString* invocationIdName = NewPoolTString("InvocationId");
10082|      0|            invocationIdType.getQualifier().builtIn = EbvInvocationId;
10083|      0|            addToLinkage(invocationIdType, invocationIdName, &invocationIdSym);
10084|      0|        }
10085|       |
10086|      0|        assert(invocationIdSym);
10087|      0|    }
10088|       |
10089|      0|    TIntermTyped* pcfArguments = nullptr;
10090|      0|    TVariable* perCtrlPtVar = nullptr;
10091|       |
10092|       |    // ================ Step 1B: Argument synthesis ================
10093|       |    // Create pcfArguments for synthesis of patchconstantfunction invocation
10094|      0|    {
10095|      0|        for (int p=0; p<pcfParamCount; ++p) {
  ------------------
  |  Branch (10095:23): [True: 0, False: 0]
  ------------------
10096|      0|            TIntermTyped* inputArg = nullptr;
10097|       |
10098|      0|            if (p == outPatchParam) {
  ------------------
  |  Branch (10098:17): [True: 0, False: 0]
  ------------------
10099|      0|                if (perCtrlPtVar == nullptr) {
  ------------------
  |  Branch (10099:21): [True: 0, False: 0]
  ------------------
10100|      0|                    perCtrlPtVar = makeInternalVariable(*patchConstantFunction[outPatchParam].name,
10101|      0|                                                        *patchConstantFunction[outPatchParam].type);
10102|       |
10103|      0|                    perCtrlPtVar->getWritableType().getQualifier().makeTemporary();
10104|      0|                }
10105|      0|                inputArg = intermediate.addSymbol(*perCtrlPtVar, loc);
10106|      0|            } else {
10107|       |                // find which built-in it is
10108|      0|                const TBuiltInVariable biType = patchConstantFunction[p].getDeclaredBuiltIn();
10109|       |
10110|      0|                if (biType == EbvInputPatch && inputPatch == nullptr) {
  ------------------
  |  Branch (10110:21): [True: 0, False: 0]
  |  Branch (10110:48): [True: 0, False: 0]
  ------------------
10111|      0|                    error(loc, "unimplemented: PCF input patch without entry point input patch parameter", "", "");
10112|      0|                    return;
10113|      0|                }
10114|       |
10115|      0|                inputArg = findTessLinkageSymbol(biType);
10116|       |
10117|      0|                if (inputArg == nullptr) {
  ------------------
  |  Branch (10117:21): [True: 0, False: 0]
  ------------------
10118|      0|                    error(loc, "unable to find patch constant function built-in variable", "", "");
10119|      0|                    return;
10120|      0|                }
10121|      0|            }
10122|       |
10123|      0|            if (pcfParamCount == 1)
  ------------------
  |  Branch (10123:17): [True: 0, False: 0]
  ------------------
10124|      0|                pcfArguments = inputArg;
10125|      0|            else
10126|      0|                pcfArguments = intermediate.growAggregate(pcfArguments, inputArg);
10127|      0|        }
10128|      0|    }
10129|       |
10130|       |    // ================ Step 2: Synthesize call to PCF ================
10131|      0|    TIntermAggregate* pcfCallSequence = nullptr;
10132|      0|    TIntermTyped* pcfCall = nullptr;
10133|       |
10134|      0|    {
10135|       |        // Create a function call to the patchconstantfunction
10136|      0|        if (pcfArguments)
  ------------------
  |  Branch (10136:13): [True: 0, False: 0]
  ------------------
10137|      0|            addInputArgumentConversions(patchConstantFunction, pcfArguments);
10138|       |
10139|       |        // Synthetic call.
10140|      0|        pcfCall = intermediate.setAggregateOperator(pcfArguments, EOpFunctionCall, patchConstantFunction.getType(), loc);
10141|      0|        pcfCall->getAsAggregate()->setUserDefined();
10142|      0|        pcfCall->getAsAggregate()->setName(patchConstantFunction.getMangledName());
10143|      0|        intermediate.addToCallGraph(infoSink, intermediate.getEntryPointMangledName().c_str(),
10144|      0|                                    patchConstantFunction.getMangledName());
10145|       |
10146|      0|        if (pcfCall->getAsAggregate()) {
  ------------------
  |  Branch (10146:13): [True: 0, False: 0]
  ------------------
10147|      0|            TQualifierList& qualifierList = pcfCall->getAsAggregate()->getQualifierList();
10148|      0|            for (int i = 0; i < patchConstantFunction.getParamCount(); ++i) {
  ------------------
  |  Branch (10148:29): [True: 0, False: 0]
  ------------------
10149|      0|                TStorageQualifier qual = patchConstantFunction[i].type->getQualifier().storage;
10150|      0|                qualifierList.push_back(qual);
10151|      0|            }
10152|      0|            pcfCall = addOutputArgumentConversions(patchConstantFunction, *pcfCall->getAsOperator());
10153|      0|        }
10154|      0|    }
10155|       |
10156|       |    // ================ Step 2B: Per Control Point synthesis ================
10157|       |    // If there is per control point data, we must either emulate that with multiple
10158|       |    // invocations of the entry point to build up an array, or (TODO:) use a yet
10159|       |    // unavailable extension to look across the SIMD lanes.  This is the former
10160|       |    // as a placeholder for the latter.
10161|      0|    if (outPatchParam >= 0) {
  ------------------
  |  Branch (10161:9): [True: 0, False: 0]
  ------------------
10162|       |        // We must introduce a local temp variable of the type wanted by the PCF input.
10163|      0|        const int arraySize = patchConstantFunction[outPatchParam].type->getOuterArraySize();
10164|       |
10165|      0|        if (entryPointFunction->getType().getBasicType() == EbtVoid) {
  ------------------
  |  Branch (10165:13): [True: 0, False: 0]
  ------------------
10166|      0|            error(loc, "entry point must return a value for use with patch constant function", "", "");
10167|      0|            return;
10168|      0|        }
10169|       |
10170|       |        // Create calls to wrapped main to fill in the array.  We will substitute fixed values
10171|       |        // of invocation ID when calling the wrapped main.
10172|       |
10173|       |        // This is the type of the each member of the per ctrl point array.
10174|      0|        const TType derefType(perCtrlPtVar->getType(), 0);
10175|       |
10176|      0|        for (int cpt = 0; cpt < arraySize; ++cpt) {
  ------------------
  |  Branch (10176:27): [True: 0, False: 0]
  ------------------
10177|       |            // TODO: improve.  substr(1) here is to avoid the '@' that was grafted on but isn't in the symtab
10178|       |            // for this function.
10179|      0|            const TString origName = entryPointFunction->getName().substr(1);
10180|      0|            TFunction callee(&origName, TType(EbtVoid));
10181|      0|            TIntermTyped* callingArgs = nullptr;
10182|       |
10183|      0|            for (int i = 0; i < entryPointFunction->getParamCount(); i++) {
  ------------------
  |  Branch (10183:29): [True: 0, False: 0]
  ------------------
10184|      0|                TParameter& param = (*entryPointFunction)[i];
10185|      0|                TType& paramType = *param.type;
10186|       |
10187|      0|                if (paramType.getQualifier().isParamOutput()) {
  ------------------
  |  Branch (10187:21): [True: 0, False: 0]
  ------------------
10188|      0|                    error(loc, "unimplemented: entry point outputs in patch constant function invocation", "", "");
10189|      0|                    return;
10190|      0|                }
10191|       |
10192|      0|                if (paramType.getQualifier().isParamInput())  {
  ------------------
  |  Branch (10192:21): [True: 0, False: 0]
  ------------------
10193|      0|                    TIntermTyped* arg = nullptr;
10194|      0|                    if ((*entryPointFunction)[i].getDeclaredBuiltIn() == EbvInvocationId) {
  ------------------
  |  Branch (10194:25): [True: 0, False: 0]
  ------------------
10195|       |                        // substitute invocation ID with the array element ID
10196|      0|                        arg = intermediate.addConstantUnion(cpt, loc);
10197|      0|                    } else {
10198|      0|                        TVariable* argVar = makeInternalVariable(*param.name, *param.type);
10199|      0|                        argVar->getWritableType().getQualifier().makeTemporary();
10200|      0|                        arg = intermediate.addSymbol(*argVar);
10201|      0|                    }
10202|       |
10203|      0|                    handleFunctionArgument(&callee, callingArgs, arg);
10204|      0|                }
10205|      0|            }
10206|       |
10207|       |            // Call and assign to per ctrl point variable
10208|      0|            currentCaller = intermediate.getEntryPointMangledName().c_str();
10209|      0|            TIntermTyped* callReturn = handleFunctionCall(loc, &callee, callingArgs);
10210|      0|            TIntermTyped* index = intermediate.addConstantUnion(cpt, loc);
10211|      0|            TIntermSymbol* perCtrlPtSym = intermediate.addSymbol(*perCtrlPtVar, loc);
10212|      0|            TIntermTyped* element = intermediate.addIndex(EOpIndexDirect, perCtrlPtSym, index, loc);
10213|      0|            element->setType(derefType);
10214|      0|            element->setLoc(loc);
10215|       |
10216|      0|            pcfCallSequence = intermediate.growAggregate(pcfCallSequence,
10217|      0|                                                         handleAssign(loc, EOpAssign, element, callReturn));
10218|      0|        }
10219|      0|    }
10220|       |
10221|       |    // ================ Step 3: Create return Sequence ================
10222|       |    // Return sequence: copy PCF result to a temporary, then to shader output variable.
10223|      0|    if (pcfCall->getBasicType() != EbtVoid) {
  ------------------
  |  Branch (10223:9): [True: 0, False: 0]
  ------------------
10224|      0|        const TType* retType = &patchConstantFunction.getType();  // return type from the PCF
10225|      0|        TType outType; // output type that goes with the return type.
10226|      0|        outType.shallowCopy(*retType);
10227|       |
10228|       |        // substitute the output type
10229|      0|        const auto newLists = ioTypeMap.find(retType->getStruct());
10230|      0|        if (newLists != ioTypeMap.end())
  ------------------
  |  Branch (10230:13): [True: 0, False: 0]
  ------------------
10231|      0|            outType.setStruct(newLists->second.output);
10232|       |
10233|       |        // Substitute the top level type's built-in type
10234|      0|        if (patchConstantFunction.getDeclaredBuiltInType() != EbvNone)
  ------------------
  |  Branch (10234:13): [True: 0, False: 0]
  ------------------
10235|      0|            outType.getQualifier().builtIn = patchConstantFunction.getDeclaredBuiltInType();
10236|       |
10237|      0|        outType.getQualifier().patch = true; // make it a per-patch variable
10238|       |
10239|      0|        TVariable* pcfOutput = makeInternalVariable("@patchConstantOutput", outType);
10240|      0|        pcfOutput->getWritableType().getQualifier().storage = EvqVaryingOut;
10241|       |
10242|      0|        if (pcfOutput->getType().isStruct())
  ------------------
  |  Branch (10242:13): [True: 0, False: 0]
  ------------------
10243|      0|            flatten(*pcfOutput, false);
10244|       |
10245|      0|        assignToInterface(*pcfOutput);
10246|       |
10247|      0|        TIntermSymbol* pcfOutputSym = intermediate.addSymbol(*pcfOutput, loc);
10248|       |
10249|       |        // The call to the PCF is a complex R-value: we want to store it in a temp to avoid
10250|       |        // repeated calls to the PCF:
10251|      0|        TVariable* pcfCallResult = makeInternalVariable("@patchConstantResult", *retType);
10252|      0|        pcfCallResult->getWritableType().getQualifier().makeTemporary();
10253|       |
10254|      0|        TIntermSymbol* pcfResultVar = intermediate.addSymbol(*pcfCallResult, loc);
10255|      0|        TIntermNode* pcfResultAssign = handleAssign(loc, EOpAssign, pcfResultVar, pcfCall);
10256|      0|        TIntermNode* pcfResultToOut = handleAssign(loc, EOpAssign, pcfOutputSym,
10257|      0|                                                   intermediate.addSymbol(*pcfCallResult, loc));
10258|       |
10259|      0|        pcfCallSequence = intermediate.growAggregate(pcfCallSequence, pcfResultAssign);
10260|      0|        pcfCallSequence = intermediate.growAggregate(pcfCallSequence, pcfResultToOut);
10261|      0|    } else {
10262|      0|        pcfCallSequence = intermediate.growAggregate(pcfCallSequence, pcfCall);
10263|      0|    }
10264|       |
10265|       |    // ================ Step 4: Barrier ================
10266|      0|    TIntermTyped* barrier = new TIntermAggregate(EOpBarrier);
10267|      0|    barrier->setLoc(loc);
10268|      0|    barrier->setType(TType(EbtVoid));
10269|      0|    epBodySeq.insert(epBodySeq.end(), barrier);
10270|       |
10271|       |    // ================ Step 5: Test on invocation ID ================
10272|      0|    TIntermTyped* zero = intermediate.addConstantUnion(0, loc, true);
10273|      0|    TIntermTyped* cmp =  intermediate.addBinaryNode(EOpEqual, invocationIdSym, zero, loc, TType(EbtBool));
10274|       |
10275|       |
10276|       |    // ================ Step 5B: Create if statement on Invocation ID == 0 ================
10277|      0|    intermediate.setAggregateOperator(pcfCallSequence, EOpSequence, TType(EbtVoid), loc);
10278|      0|    TIntermTyped* invocationIdTest = new TIntermSelection(cmp, pcfCallSequence, nullptr);
10279|      0|    invocationIdTest->setLoc(loc);
10280|       |
10281|       |    // add our test sequence before the return.
10282|      0|    epBodySeq.insert(epBodySeq.end(), invocationIdTest);
10283|      0|}
_ZN7glslang16HlslParseContext32removeUnusedStructBufferCountersEv:
10289|     42|{
10290|     42|    const auto endIt = std::remove_if(linkageSymbols.begin(), linkageSymbols.end(),
10291|     42|                                      [this](const TSymbol* sym) {
10292|     42|                                          const auto sbcIt = structBufferCounter.find(sym->getName());
10293|     42|                                          return sbcIt != structBufferCounter.end() && !sbcIt->second;
10294|     42|                                      });
10295|       |
10296|     42|    linkageSymbols.erase(endIt, linkageSymbols.end());
10297|     42|}
_ZN7glslang16HlslParseContext21fixTextureShadowModesEv:
10301|     42|{
10302|     42|    for (auto symbol = linkageSymbols.begin(); symbol != linkageSymbols.end(); ++symbol) {
  ------------------
  |  Branch (10302:48): [True: 0, False: 42]
  ------------------
10303|      0|        TSampler& sampler = (*symbol)->getWritableType().getSampler();
10304|       |
10305|      0|        if (sampler.isTexture()) {
  ------------------
  |  Branch (10305:13): [True: 0, False: 0]
  ------------------
10306|      0|            const auto shadowMode = textureShadowVariant.find((*symbol)->getUniqueId());
10307|      0|            if (shadowMode != textureShadowVariant.end()) {
  ------------------
  |  Branch (10307:17): [True: 0, False: 0]
  ------------------
10308|       |
10309|      0|                if (shadowMode->second->overloaded())
  ------------------
  |  Branch (10309:21): [True: 0, False: 0]
  ------------------
10310|       |                    // Texture needs legalization if it's been seen with both shadow and non-shadow modes.
10311|      0|                    intermediate.setNeedsLegalization();
10312|       |
10313|      0|                sampler.shadow = shadowMode->second->isShadowId((*symbol)->getUniqueId());
10314|      0|            }
10315|      0|        }
10316|      0|    }
10317|     42|}
_ZN7glslang16HlslParseContext21finalizeAppendMethodsEv:
10322|     42|{
10323|     42|    TSourceLoc loc;
10324|     42|    loc.init();
10325|       |
10326|       |    // Nothing to do: bypass test for valid stream output.
10327|     42|    if (gsAppends.empty())
  ------------------
  |  Branch (10327:9): [True: 42, False: 0]
  ------------------
10328|     42|        return;
10329|       |
10330|      0|    if (gsStreamOutput == nullptr) {
  ------------------
  |  Branch (10330:9): [True: 0, False: 0]
  ------------------
10331|      0|        error(loc, "unable to find output symbol for Append()", "", "");
10332|      0|        return;
10333|      0|    }
10334|       |
10335|       |    // Patch append sequences, now that we know the stream output symbol.
10336|      0|    for (auto append = gsAppends.begin(); append != gsAppends.end(); ++append) {
  ------------------
  |  Branch (10336:43): [True: 0, False: 0]
  ------------------
10337|      0|        append->node->getSequence()[0] =
10338|      0|            handleAssign(append->loc, EOpAssign,
10339|      0|                         intermediate.addSymbol(*gsStreamOutput, append->loc),
10340|      0|                         append->node->getSequence()[0]->getAsTyped());
10341|      0|    }
10342|      0|}
_ZN7glslang16HlslParseContext6finishEv:
10346|     42|{
10347|       |    // Error check: There was a dangling .mips operator.  These are not nested constructs in the grammar, so
10348|       |    // cannot be detected there.  This is not strictly needed in a non-validating parser; it's just helpful.
10349|     42|    if (! mipsOperatorMipArg.empty()) {
  ------------------
  |  Branch (10349:9): [True: 0, False: 42]
  ------------------
10350|      0|        error(mipsOperatorMipArg.back().loc, "unterminated mips operator:", "", "");
10351|      0|    }
10352|       |
10353|     42|    removeUnusedStructBufferCounters();
10354|     42|    addPatchConstantInvocation();
10355|     42|    fixTextureShadowModes();
10356|     42|    finalizeAppendMethods();
10357|       |
10358|       |    // Communicate out (esp. for command line) that we formed AST that will make
10359|       |    // illegal AST SPIR-V and it needs transforms to legalize it.
10360|     42|    if (intermediate.needsLegalization() && (messages & EShMsgHlslLegalization))
  ------------------
  |  Branch (10360:9): [True: 0, False: 42]
  |  Branch (10360:45): [True: 0, False: 0]
  ------------------
10361|      0|        infoSink.info << "WARNING: AST will form illegal SPIR-V; need to transform to legalize";
10362|       |
10363|     42|    TParseContextBase::finish();
10364|     42|}
hlslParseHelper.cpp:_ZZN7glslang16HlslParseContext19getLayoutFromTxTypeERKNS_10TSourceLocERKNS_5TTypeEENK3$_0clENS_13TLayoutFormatES8_S8_:
  206|  1.19k|    const auto selectFormat = [this,&components](TLayoutFormat v1, TLayoutFormat v2, TLayoutFormat v4) -> TLayoutFormat {
  207|  1.19k|        if (intermediate.getNoStorageFormat())
  ------------------
  |  Branch (207:13): [True: 0, False: 1.19k]
  ------------------
  208|      0|            return ElfNone;
  209|       |
  210|  1.19k|        return components == 1 ? v1 :
  ------------------
  |  Branch (210:16): [True: 630, False: 567]
  ------------------
  211|  1.19k|               components == 2 ? v2 : v4;
  ------------------
  |  Branch (211:16): [True: 378, False: 189]
  ------------------
  212|  1.19k|    };

_ZN7glslang16HlslParseContext21lineContinuationCheckERKNS_10TSourceLocEb:
   68|  3.71k|    bool lineContinuationCheck(const TSourceLoc&, bool /*endOfComment*/) override { return true; }
_ZN7glslang16HlslParseContext21beginParameterParsingERNS_9TFunctionE:
  189|  84.0k|    {
  190|  84.0k|        parsingEntrypointParameters = isEntrypointName(function.getName());
  191|  84.0k|    }
_ZN7glslang16HlslParseContext16isEntrypointNameERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  252|  84.0k|    bool isEntrypointName(const TString& name) { return name.compare(intermediate.getEntryPointName().c_str()) == 0; }

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

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

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

_ZN7glslang15HlslTokenStream15pushTokenBufferERKNS_9HlslTokenE:
   54|   785k|{
   55|   785k|    tokenBuffer[tokenBufferPos] = tok;
   56|   785k|    tokenBufferPos = (tokenBufferPos+1) % tokenBufferSize;
   57|   785k|}
_ZN7glslang15HlslTokenStream12advanceTokenEv:
  102|   785k|{
  103|   785k|    pushTokenBuffer(token);
  104|   785k|    if (preTokenStackSize > 0)
  ------------------
  |  Branch (104:9): [True: 0, False: 785k]
  ------------------
  105|      0|        token = popPreToken();
  106|   785k|    else {
  107|   785k|        if (tokenStreamStack.size() == 0)
  ------------------
  |  Branch (107:13): [True: 785k, False: 0]
  ------------------
  108|   785k|            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|   785k|    }
  117|   785k|}
_ZNK7glslang15HlslTokenStream4peekEv:
  127|  4.67M|{
  128|  4.67M|    return token.tokenClass;
  129|  4.67M|}
_ZNK7glslang15HlslTokenStream14peekTokenClassENS_15EHlslTokenClassE:
  134|  3.22M|{
  135|  3.22M|    return peek() == tokenClass;
  136|  3.22M|}
_ZN7glslang15HlslTokenStream16acceptTokenClassENS_15EHlslTokenClassE:
  141|  1.63M|{
  142|  1.63M|    if (peekTokenClass(tokenClass)) {
  ------------------
  |  Branch (142:9): [True: 392k, False: 1.23M]
  ------------------
  143|   392k|        advanceToken();
  144|   392k|        return true;
  145|   392k|    }
  146|       |
  147|  1.23M|    return false;
  148|  1.63M|}

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

_ZN7glslang13TIntermediate4foldEPNS_16TIntermAggregateE:
  927|      3|{
  928|      3|    if (aggrNode == nullptr)
  ------------------
  |  Branch (928:9): [True: 0, False: 3]
  ------------------
  929|      0|        return aggrNode;
  930|       |
  931|      3|    if (! areAllChildConst(aggrNode))
  ------------------
  |  Branch (931:9): [True: 0, False: 3]
  ------------------
  932|      0|        return aggrNode;
  933|       |
  934|      3|    if (aggrNode->isConstructor())
  ------------------
  |  Branch (934:9): [True: 3, False: 0]
  ------------------
  935|      3|        return foldConstructor(aggrNode);
  936|       |
  937|      0|    TIntermSequence& children = aggrNode->getSequence();
  938|       |
  939|       |    // First, see if this is an operation to constant fold, kick out if not,
  940|       |    // see what size the result is if so.
  941|       |
  942|      0|    bool componentwise = false;  // will also say componentwise if a scalar argument gets repeated to make per-component results
  943|      0|    int objectSize;
  944|      0|    switch (aggrNode->getOp()) {
  945|      0|    case EOpAtan:
  ------------------
  |  Branch (945:5): [True: 0, False: 0]
  ------------------
  946|      0|    case EOpPow:
  ------------------
  |  Branch (946:5): [True: 0, False: 0]
  ------------------
  947|      0|    case EOpMin:
  ------------------
  |  Branch (947:5): [True: 0, False: 0]
  ------------------
  948|      0|    case EOpMax:
  ------------------
  |  Branch (948:5): [True: 0, False: 0]
  ------------------
  949|      0|    case EOpMix:
  ------------------
  |  Branch (949:5): [True: 0, False: 0]
  ------------------
  950|      0|    case EOpMod:
  ------------------
  |  Branch (950:5): [True: 0, False: 0]
  ------------------
  951|      0|    case EOpClamp:
  ------------------
  |  Branch (951:5): [True: 0, False: 0]
  ------------------
  952|      0|    case EOpLessThan:
  ------------------
  |  Branch (952:5): [True: 0, False: 0]
  ------------------
  953|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (953:5): [True: 0, False: 0]
  ------------------
  954|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (954:5): [True: 0, False: 0]
  ------------------
  955|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (955:5): [True: 0, False: 0]
  ------------------
  956|      0|    case EOpVectorEqual:
  ------------------
  |  Branch (956:5): [True: 0, False: 0]
  ------------------
  957|      0|    case EOpVectorNotEqual:
  ------------------
  |  Branch (957:5): [True: 0, False: 0]
  ------------------
  958|      0|        componentwise = true;
  959|      0|        objectSize = children[0]->getAsConstantUnion()->getType().computeNumComponents();
  960|      0|        break;
  961|      0|    case EOpCross:
  ------------------
  |  Branch (961:5): [True: 0, False: 0]
  ------------------
  962|      0|    case EOpReflect:
  ------------------
  |  Branch (962:5): [True: 0, False: 0]
  ------------------
  963|      0|    case EOpRefract:
  ------------------
  |  Branch (963:5): [True: 0, False: 0]
  ------------------
  964|      0|    case EOpFaceForward:
  ------------------
  |  Branch (964:5): [True: 0, False: 0]
  ------------------
  965|      0|        objectSize = children[0]->getAsConstantUnion()->getType().computeNumComponents();
  966|      0|        break;
  967|      0|    case EOpDistance:
  ------------------
  |  Branch (967:5): [True: 0, False: 0]
  ------------------
  968|      0|    case EOpDot:
  ------------------
  |  Branch (968:5): [True: 0, False: 0]
  ------------------
  969|      0|        objectSize = 1;
  970|      0|        break;
  971|      0|    case EOpOuterProduct:
  ------------------
  |  Branch (971:5): [True: 0, False: 0]
  ------------------
  972|      0|        objectSize = children[0]->getAsTyped()->getType().getVectorSize() *
  973|      0|                     children[1]->getAsTyped()->getType().getVectorSize();
  974|      0|        break;
  975|      0|    case EOpStep:
  ------------------
  |  Branch (975:5): [True: 0, False: 0]
  ------------------
  976|      0|        componentwise = true;
  977|      0|        objectSize = std::max(children[0]->getAsTyped()->getType().computeNumComponents(),
  978|      0|                              children[1]->getAsTyped()->getType().computeNumComponents());
  979|      0|        break;
  980|      0|    case EOpSmoothStep:
  ------------------
  |  Branch (980:5): [True: 0, False: 0]
  ------------------
  981|      0|        componentwise = true;
  982|      0|        objectSize = std::max(children[0]->getAsTyped()->getType().computeNumComponents(),
  983|      0|                              children[2]->getAsTyped()->getType().computeNumComponents());
  984|      0|        break;
  985|      0|    case EOpMul:
  ------------------
  |  Branch (985:5): [True: 0, False: 0]
  ------------------
  986|      0|        {
  987|      0|        TIntermConstantUnion* left = children[0]->getAsConstantUnion();
  988|      0|        TIntermConstantUnion* right = children[1]->getAsConstantUnion();
  989|      0|        return left->fold(EOpMul, right);
  990|      0|        }
  991|      0|    default:
  ------------------
  |  Branch (991:5): [True: 0, False: 0]
  ------------------
  992|      0|        return aggrNode;
  993|      0|    }
  994|      0|    TConstUnionArray newConstArray(objectSize);
  995|       |
  996|      0|    TVector<TConstUnionArray> childConstUnions;
  997|      0|    for (unsigned int arg = 0; arg < children.size(); ++arg)
  ------------------
  |  Branch (997:32): [True: 0, False: 0]
  ------------------
  998|      0|        childConstUnions.push_back(children[arg]->getAsConstantUnion()->getConstArray());
  999|       |
 1000|      0|    if (componentwise) {
  ------------------
  |  Branch (1000:9): [True: 0, False: 0]
  ------------------
 1001|      0|        for (int comp = 0; comp < objectSize; comp++) {
  ------------------
  |  Branch (1001:28): [True: 0, False: 0]
  ------------------
 1002|       |
 1003|       |            // some arguments are scalars instead of matching vectors; simulate a smear
 1004|      0|            int arg0comp = std::min(comp, children[0]->getAsTyped()->getType().computeNumComponents() - 1);
 1005|      0|            int arg1comp = 0;
 1006|      0|            if (children.size() > 1)
  ------------------
  |  Branch (1006:17): [True: 0, False: 0]
  ------------------
 1007|      0|                arg1comp = std::min(comp, children[1]->getAsTyped()->getType().computeNumComponents() - 1);
 1008|      0|            int arg2comp = 0;
 1009|      0|            if (children.size() > 2)
  ------------------
  |  Branch (1009:17): [True: 0, False: 0]
  ------------------
 1010|      0|                arg2comp = std::min(comp, children[2]->getAsTyped()->getType().computeNumComponents() - 1);
 1011|       |
 1012|      0|            switch (aggrNode->getOp()) {
 1013|      0|            case EOpAtan:
  ------------------
  |  Branch (1013:13): [True: 0, False: 0]
  ------------------
 1014|      0|                newConstArray[comp].setDConst(atan2(childConstUnions[0][arg0comp].getDConst(), childConstUnions[1][arg1comp].getDConst()));
 1015|      0|                break;
 1016|      0|            case EOpPow:
  ------------------
  |  Branch (1016:13): [True: 0, False: 0]
  ------------------
 1017|      0|                newConstArray[comp].setDConst(pow(childConstUnions[0][arg0comp].getDConst(), childConstUnions[1][arg1comp].getDConst()));
 1018|      0|                break;
 1019|      0|            case EOpMod:
  ------------------
  |  Branch (1019:13): [True: 0, False: 0]
  ------------------
 1020|      0|            {
 1021|      0|                double arg0 = childConstUnions[0][arg0comp].getDConst();
 1022|      0|                double arg1 = childConstUnions[1][arg1comp].getDConst();
 1023|      0|                double result = arg0 - arg1 * floor(arg0 / arg1);
 1024|      0|                newConstArray[comp].setDConst(result);
 1025|      0|                break;
 1026|      0|            }
 1027|      0|            case EOpMin:
  ------------------
  |  Branch (1027:13): [True: 0, False: 0]
  ------------------
 1028|      0|                switch(children[0]->getAsTyped()->getBasicType()) {
 1029|      0|                case EbtFloat16:
  ------------------
  |  Branch (1029:17): [True: 0, False: 0]
  ------------------
 1030|      0|                case EbtBFloat16:
  ------------------
  |  Branch (1030:17): [True: 0, False: 0]
  ------------------
 1031|      0|                case EbtFloatE5M2:
  ------------------
  |  Branch (1031:17): [True: 0, False: 0]
  ------------------
 1032|      0|                case EbtFloatE4M3:
  ------------------
  |  Branch (1032:17): [True: 0, False: 0]
  ------------------
 1033|      0|                case EbtFloatE2M1:
  ------------------
  |  Branch (1033:17): [True: 0, False: 0]
  ------------------
 1034|      0|                case EbtFloatE3M2:
  ------------------
  |  Branch (1034:17): [True: 0, False: 0]
  ------------------
 1035|      0|                case EbtFloatE2M3:
  ------------------
  |  Branch (1035:17): [True: 0, False: 0]
  ------------------
 1036|      0|                case EbtFloatUE8M0:
  ------------------
  |  Branch (1036:17): [True: 0, False: 0]
  ------------------
 1037|      0|                case EbtFloatMXINT8:
  ------------------
  |  Branch (1037:17): [True: 0, False: 0]
  ------------------
 1038|      0|                case EbtFloat:
  ------------------
  |  Branch (1038:17): [True: 0, False: 0]
  ------------------
 1039|      0|                case EbtDouble:
  ------------------
  |  Branch (1039:17): [True: 0, False: 0]
  ------------------
 1040|      0|                    newConstArray[comp].setDConst(std::min(childConstUnions[0][arg0comp].getDConst(), childConstUnions[1][arg1comp].getDConst()));
 1041|      0|                    break;
 1042|      0|                case EbtInt:
  ------------------
  |  Branch (1042:17): [True: 0, False: 0]
  ------------------
 1043|      0|                    newConstArray[comp].setIConst(std::min(childConstUnions[0][arg0comp].getIConst(), childConstUnions[1][arg1comp].getIConst()));
 1044|      0|                    break;
 1045|      0|                case EbtUint:
  ------------------
  |  Branch (1045:17): [True: 0, False: 0]
  ------------------
 1046|      0|                    newConstArray[comp].setUConst(std::min(childConstUnions[0][arg0comp].getUConst(), childConstUnions[1][arg1comp].getUConst()));
 1047|      0|                    break;
 1048|      0|                case EbtInt8:
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                    newConstArray[comp].setI8Const(std::min(childConstUnions[0][arg0comp].getI8Const(), childConstUnions[1][arg1comp].getI8Const()));
 1050|      0|                    break;
 1051|      0|                case EbtUint8:
  ------------------
  |  Branch (1051:17): [True: 0, False: 0]
  ------------------
 1052|      0|                    newConstArray[comp].setU8Const(std::min(childConstUnions[0][arg0comp].getU8Const(), childConstUnions[1][arg1comp].getU8Const()));
 1053|      0|                    break;
 1054|      0|                case EbtInt16:
  ------------------
  |  Branch (1054:17): [True: 0, False: 0]
  ------------------
 1055|      0|                    newConstArray[comp].setI16Const(std::min(childConstUnions[0][arg0comp].getI16Const(), childConstUnions[1][arg1comp].getI16Const()));
 1056|      0|                    break;
 1057|      0|                case EbtUint16:
  ------------------
  |  Branch (1057:17): [True: 0, False: 0]
  ------------------
 1058|      0|                    newConstArray[comp].setU16Const(std::min(childConstUnions[0][arg0comp].getU16Const(), childConstUnions[1][arg1comp].getU16Const()));
 1059|      0|                    break;
 1060|      0|                case EbtInt64:
  ------------------
  |  Branch (1060:17): [True: 0, False: 0]
  ------------------
 1061|      0|                    newConstArray[comp].setI64Const(std::min(childConstUnions[0][arg0comp].getI64Const(), childConstUnions[1][arg1comp].getI64Const()));
 1062|      0|                    break;
 1063|      0|                case EbtUint64:
  ------------------
  |  Branch (1063:17): [True: 0, False: 0]
  ------------------
 1064|      0|                    newConstArray[comp].setU64Const(std::min(childConstUnions[0][arg0comp].getU64Const(), childConstUnions[1][arg1comp].getU64Const()));
 1065|      0|                    break;
 1066|      0|                default: assert(false && "Default missing");
  ------------------
  |  Branch (1066:17): [True: 0, False: 0]
  ------------------
 1067|      0|                }
 1068|      0|                break;
 1069|      0|            case EOpMax:
  ------------------
  |  Branch (1069:13): [True: 0, False: 0]
  ------------------
 1070|      0|                switch(children[0]->getAsTyped()->getBasicType()) {
 1071|      0|                case EbtFloat16:
  ------------------
  |  Branch (1071:17): [True: 0, False: 0]
  ------------------
 1072|      0|                case EbtBFloat16:
  ------------------
  |  Branch (1072:17): [True: 0, False: 0]
  ------------------
 1073|      0|                case EbtFloatE5M2:
  ------------------
  |  Branch (1073:17): [True: 0, False: 0]
  ------------------
 1074|      0|                case EbtFloatE4M3:
  ------------------
  |  Branch (1074:17): [True: 0, False: 0]
  ------------------
 1075|      0|                case EbtFloatE2M1:
  ------------------
  |  Branch (1075:17): [True: 0, False: 0]
  ------------------
 1076|      0|                case EbtFloatE3M2:
  ------------------
  |  Branch (1076:17): [True: 0, False: 0]
  ------------------
 1077|      0|                case EbtFloatE2M3:
  ------------------
  |  Branch (1077:17): [True: 0, False: 0]
  ------------------
 1078|      0|                case EbtFloatUE8M0:
  ------------------
  |  Branch (1078:17): [True: 0, False: 0]
  ------------------
 1079|      0|                case EbtFloatMXINT8:
  ------------------
  |  Branch (1079:17): [True: 0, False: 0]
  ------------------
 1080|      0|                case EbtFloat:
  ------------------
  |  Branch (1080:17): [True: 0, False: 0]
  ------------------
 1081|      0|                case EbtDouble:
  ------------------
  |  Branch (1081:17): [True: 0, False: 0]
  ------------------
 1082|      0|                    newConstArray[comp].setDConst(std::max(childConstUnions[0][arg0comp].getDConst(), childConstUnions[1][arg1comp].getDConst()));
 1083|      0|                    break;
 1084|      0|                case EbtInt:
  ------------------
  |  Branch (1084:17): [True: 0, False: 0]
  ------------------
 1085|      0|                    newConstArray[comp].setIConst(std::max(childConstUnions[0][arg0comp].getIConst(), childConstUnions[1][arg1comp].getIConst()));
 1086|      0|                    break;
 1087|      0|                case EbtUint:
  ------------------
  |  Branch (1087:17): [True: 0, False: 0]
  ------------------
 1088|      0|                    newConstArray[comp].setUConst(std::max(childConstUnions[0][arg0comp].getUConst(), childConstUnions[1][arg1comp].getUConst()));
 1089|      0|                    break;
 1090|      0|                case EbtInt8:
  ------------------
  |  Branch (1090:17): [True: 0, False: 0]
  ------------------
 1091|      0|                    newConstArray[comp].setI8Const(std::max(childConstUnions[0][arg0comp].getI8Const(), childConstUnions[1][arg1comp].getI8Const()));
 1092|      0|                    break;
 1093|      0|                case EbtUint8:
  ------------------
  |  Branch (1093:17): [True: 0, False: 0]
  ------------------
 1094|      0|                    newConstArray[comp].setU8Const(std::max(childConstUnions[0][arg0comp].getU8Const(), childConstUnions[1][arg1comp].getU8Const()));
 1095|      0|                    break;
 1096|      0|                case EbtInt16:
  ------------------
  |  Branch (1096:17): [True: 0, False: 0]
  ------------------
 1097|      0|                    newConstArray[comp].setI16Const(std::max(childConstUnions[0][arg0comp].getI16Const(), childConstUnions[1][arg1comp].getI16Const()));
 1098|      0|                    break;
 1099|      0|                case EbtUint16:
  ------------------
  |  Branch (1099:17): [True: 0, False: 0]
  ------------------
 1100|      0|                    newConstArray[comp].setU16Const(std::max(childConstUnions[0][arg0comp].getU16Const(), childConstUnions[1][arg1comp].getU16Const()));
 1101|      0|                    break;
 1102|      0|                case EbtInt64:
  ------------------
  |  Branch (1102:17): [True: 0, False: 0]
  ------------------
 1103|      0|                    newConstArray[comp].setI64Const(std::max(childConstUnions[0][arg0comp].getI64Const(), childConstUnions[1][arg1comp].getI64Const()));
 1104|      0|                    break;
 1105|      0|                case EbtUint64:
  ------------------
  |  Branch (1105:17): [True: 0, False: 0]
  ------------------
 1106|      0|                    newConstArray[comp].setU64Const(std::max(childConstUnions[0][arg0comp].getU64Const(), childConstUnions[1][arg1comp].getU64Const()));
 1107|      0|                    break;
 1108|      0|                default: assert(false && "Default missing");
  ------------------
  |  Branch (1108:17): [True: 0, False: 0]
  ------------------
 1109|      0|                }
 1110|      0|                break;
 1111|      0|            case EOpClamp:
  ------------------
  |  Branch (1111:13): [True: 0, False: 0]
  ------------------
 1112|      0|                switch(children[0]->getAsTyped()->getBasicType()) {
 1113|      0|                case EbtFloat16:
  ------------------
  |  Branch (1113:17): [True: 0, False: 0]
  ------------------
 1114|      0|                case EbtBFloat16:
  ------------------
  |  Branch (1114:17): [True: 0, False: 0]
  ------------------
 1115|      0|                case EbtFloatE5M2:
  ------------------
  |  Branch (1115:17): [True: 0, False: 0]
  ------------------
 1116|      0|                case EbtFloatE4M3:
  ------------------
  |  Branch (1116:17): [True: 0, False: 0]
  ------------------
 1117|      0|                case EbtFloatE2M1:
  ------------------
  |  Branch (1117:17): [True: 0, False: 0]
  ------------------
 1118|      0|                case EbtFloatE3M2:
  ------------------
  |  Branch (1118:17): [True: 0, False: 0]
  ------------------
 1119|      0|                case EbtFloatE2M3:
  ------------------
  |  Branch (1119:17): [True: 0, False: 0]
  ------------------
 1120|      0|                case EbtFloatUE8M0:
  ------------------
  |  Branch (1120:17): [True: 0, False: 0]
  ------------------
 1121|      0|                case EbtFloatMXINT8:
  ------------------
  |  Branch (1121:17): [True: 0, False: 0]
  ------------------
 1122|      0|                case EbtFloat:
  ------------------
  |  Branch (1122:17): [True: 0, False: 0]
  ------------------
 1123|      0|                case EbtDouble:
  ------------------
  |  Branch (1123:17): [True: 0, False: 0]
  ------------------
 1124|      0|                    newConstArray[comp].setDConst(std::min(std::max(childConstUnions[0][arg0comp].getDConst(), childConstUnions[1][arg1comp].getDConst()),
 1125|      0|                                                                                                               childConstUnions[2][arg2comp].getDConst()));
 1126|      0|                    break;
 1127|      0|                case EbtUint:
  ------------------
  |  Branch (1127:17): [True: 0, False: 0]
  ------------------
 1128|      0|                    newConstArray[comp].setUConst(std::min(std::max(childConstUnions[0][arg0comp].getUConst(), childConstUnions[1][arg1comp].getUConst()),
 1129|      0|                                                                                                                   childConstUnions[2][arg2comp].getUConst()));
 1130|      0|                    break;
 1131|      0|                case EbtInt8:
  ------------------
  |  Branch (1131:17): [True: 0, False: 0]
  ------------------
 1132|      0|                    newConstArray[comp].setI8Const(std::min(std::max(childConstUnions[0][arg0comp].getI8Const(), childConstUnions[1][arg1comp].getI8Const()),
 1133|      0|                                                                                                                   childConstUnions[2][arg2comp].getI8Const()));
 1134|      0|                    break;
 1135|      0|                case EbtUint8:
  ------------------
  |  Branch (1135:17): [True: 0, False: 0]
  ------------------
 1136|      0|                     newConstArray[comp].setU8Const(std::min(std::max(childConstUnions[0][arg0comp].getU8Const(), childConstUnions[1][arg1comp].getU8Const()),
 1137|      0|                                                                                                                   childConstUnions[2][arg2comp].getU8Const()));
 1138|      0|                    break;
 1139|      0|                case EbtInt16:
  ------------------
  |  Branch (1139:17): [True: 0, False: 0]
  ------------------
 1140|      0|                    newConstArray[comp].setI16Const(std::min(std::max(childConstUnions[0][arg0comp].getI16Const(), childConstUnions[1][arg1comp].getI16Const()),
 1141|      0|                                                                                                                   childConstUnions[2][arg2comp].getI16Const()));
 1142|      0|                    break;
 1143|      0|                case EbtUint16:
  ------------------
  |  Branch (1143:17): [True: 0, False: 0]
  ------------------
 1144|      0|                    newConstArray[comp].setU16Const(std::min(std::max(childConstUnions[0][arg0comp].getU16Const(), childConstUnions[1][arg1comp].getU16Const()),
 1145|      0|                                                                                                                   childConstUnions[2][arg2comp].getU16Const()));
 1146|      0|                    break;
 1147|      0|                case EbtInt:
  ------------------
  |  Branch (1147:17): [True: 0, False: 0]
  ------------------
 1148|      0|                    newConstArray[comp].setIConst(std::min(std::max(childConstUnions[0][arg0comp].getIConst(), childConstUnions[1][arg1comp].getIConst()),
 1149|      0|                                                                                                                   childConstUnions[2][arg2comp].getIConst()));
 1150|      0|                    break;
 1151|      0|                case EbtInt64:
  ------------------
  |  Branch (1151:17): [True: 0, False: 0]
  ------------------
 1152|      0|                    newConstArray[comp].setI64Const(std::min(std::max(childConstUnions[0][arg0comp].getI64Const(), childConstUnions[1][arg1comp].getI64Const()),
 1153|      0|                                                                                                                       childConstUnions[2][arg2comp].getI64Const()));
 1154|      0|                    break;
 1155|      0|                case EbtUint64:
  ------------------
  |  Branch (1155:17): [True: 0, False: 0]
  ------------------
 1156|      0|                    newConstArray[comp].setU64Const(std::min(std::max(childConstUnions[0][arg0comp].getU64Const(), childConstUnions[1][arg1comp].getU64Const()),
 1157|      0|                                                                                                                       childConstUnions[2][arg2comp].getU64Const()));
 1158|      0|                    break;
 1159|      0|                default: assert(false && "Default missing");
  ------------------
  |  Branch (1159:17): [True: 0, False: 0]
  ------------------
 1160|      0|                }
 1161|      0|                break;
 1162|      0|            case EOpLessThan:
  ------------------
  |  Branch (1162:13): [True: 0, False: 0]
  ------------------
 1163|      0|                newConstArray[comp].setBConst(childConstUnions[0][arg0comp] < childConstUnions[1][arg1comp]);
 1164|      0|                break;
 1165|      0|            case EOpGreaterThan:
  ------------------
  |  Branch (1165:13): [True: 0, False: 0]
  ------------------
 1166|      0|                newConstArray[comp].setBConst(childConstUnions[0][arg0comp] > childConstUnions[1][arg1comp]);
 1167|      0|                break;
 1168|      0|            case EOpLessThanEqual:
  ------------------
  |  Branch (1168:13): [True: 0, False: 0]
  ------------------
 1169|      0|                newConstArray[comp].setBConst(! (childConstUnions[0][arg0comp] > childConstUnions[1][arg1comp]));
 1170|      0|                break;
 1171|      0|            case EOpGreaterThanEqual:
  ------------------
  |  Branch (1171:13): [True: 0, False: 0]
  ------------------
 1172|      0|                newConstArray[comp].setBConst(! (childConstUnions[0][arg0comp] < childConstUnions[1][arg1comp]));
 1173|      0|                break;
 1174|      0|            case EOpVectorEqual:
  ------------------
  |  Branch (1174:13): [True: 0, False: 0]
  ------------------
 1175|      0|                newConstArray[comp].setBConst(childConstUnions[0][arg0comp] == childConstUnions[1][arg1comp]);
 1176|      0|                break;
 1177|      0|            case EOpVectorNotEqual:
  ------------------
  |  Branch (1177:13): [True: 0, False: 0]
  ------------------
 1178|      0|                newConstArray[comp].setBConst(childConstUnions[0][arg0comp] != childConstUnions[1][arg1comp]);
 1179|      0|                break;
 1180|      0|            case EOpMix:
  ------------------
  |  Branch (1180:13): [True: 0, False: 0]
  ------------------
 1181|      0|                if (!children[0]->getAsTyped()->isFloatingDomain())
  ------------------
  |  Branch (1181:21): [True: 0, False: 0]
  ------------------
 1182|      0|                    return aggrNode;
 1183|      0|                if (children[2]->getAsTyped()->getBasicType() == EbtBool) {
  ------------------
  |  Branch (1183:21): [True: 0, False: 0]
  ------------------
 1184|      0|                    newConstArray[comp].setDConst(childConstUnions[2][arg2comp].getBConst()
  ------------------
  |  Branch (1184:51): [True: 0, False: 0]
  ------------------
 1185|      0|                        ? childConstUnions[1][arg1comp].getDConst()
 1186|      0|                        : childConstUnions[0][arg0comp].getDConst());
 1187|      0|                } else {
 1188|      0|                    newConstArray[comp].setDConst(
 1189|      0|                        childConstUnions[0][arg0comp].getDConst() * (1.0 - childConstUnions[2][arg2comp].getDConst()) +
 1190|      0|                        childConstUnions[1][arg1comp].getDConst() *        childConstUnions[2][arg2comp].getDConst());
 1191|      0|                }
 1192|      0|                break;
 1193|      0|            case EOpStep:
  ------------------
  |  Branch (1193:13): [True: 0, False: 0]
  ------------------
 1194|      0|                newConstArray[comp].setDConst(childConstUnions[1][arg1comp].getDConst() < childConstUnions[0][arg0comp].getDConst() ? 0.0 : 1.0);
  ------------------
  |  Branch (1194:47): [True: 0, False: 0]
  ------------------
 1195|      0|                break;
 1196|      0|            case EOpSmoothStep:
  ------------------
  |  Branch (1196:13): [True: 0, False: 0]
  ------------------
 1197|      0|            {
 1198|      0|                double t = (childConstUnions[2][arg2comp].getDConst() - childConstUnions[0][arg0comp].getDConst()) /
 1199|      0|                           (childConstUnions[1][arg1comp].getDConst() - childConstUnions[0][arg0comp].getDConst());
 1200|      0|                if (t < 0.0)
  ------------------
  |  Branch (1200:21): [True: 0, False: 0]
  ------------------
 1201|      0|                    t = 0.0;
 1202|      0|                if (t > 1.0)
  ------------------
  |  Branch (1202:21): [True: 0, False: 0]
  ------------------
 1203|      0|                    t = 1.0;
 1204|      0|                newConstArray[comp].setDConst(t * t * (3.0 - 2.0 * t));
 1205|      0|                break;
 1206|      0|            }
 1207|      0|            default:
  ------------------
  |  Branch (1207:13): [True: 0, False: 0]
  ------------------
 1208|      0|                return aggrNode;
 1209|      0|            }
 1210|      0|        }
 1211|      0|    } else {
 1212|       |        // Non-componentwise...
 1213|       |
 1214|      0|        int numComps = children[0]->getAsConstantUnion()->getType().computeNumComponents();
 1215|      0|        double dot;
 1216|       |
 1217|      0|        switch (aggrNode->getOp()) {
 1218|      0|        case EOpDistance:
  ------------------
  |  Branch (1218:9): [True: 0, False: 0]
  ------------------
 1219|      0|        {
 1220|      0|            double sum = 0.0;
 1221|      0|            for (int comp = 0; comp < numComps; ++comp) {
  ------------------
  |  Branch (1221:32): [True: 0, False: 0]
  ------------------
 1222|      0|                double diff = childConstUnions[1][comp].getDConst() - childConstUnions[0][comp].getDConst();
 1223|      0|                sum += diff * diff;
 1224|      0|            }
 1225|      0|            newConstArray[0].setDConst(sqrt(sum));
 1226|      0|            break;
 1227|      0|        }
 1228|      0|        case EOpDot:
  ------------------
  |  Branch (1228:9): [True: 0, False: 0]
  ------------------
 1229|      0|            if (!children[0]->getAsTyped()->isFloatingDomain()) {
  ------------------
  |  Branch (1229:17): [True: 0, False: 0]
  ------------------
 1230|      0|                return aggrNode;
 1231|      0|            }
 1232|      0|            newConstArray[0].setDConst(childConstUnions[0].dot(childConstUnions[1]));
 1233|      0|            break;
 1234|      0|        case EOpCross:
  ------------------
  |  Branch (1234:9): [True: 0, False: 0]
  ------------------
 1235|      0|            newConstArray[0] = childConstUnions[0][1] * childConstUnions[1][2] - childConstUnions[0][2] * childConstUnions[1][1];
 1236|      0|            newConstArray[1] = childConstUnions[0][2] * childConstUnions[1][0] - childConstUnions[0][0] * childConstUnions[1][2];
 1237|      0|            newConstArray[2] = childConstUnions[0][0] * childConstUnions[1][1] - childConstUnions[0][1] * childConstUnions[1][0];
 1238|      0|            break;
 1239|      0|        case EOpFaceForward:
  ------------------
  |  Branch (1239:9): [True: 0, False: 0]
  ------------------
 1240|       |            // If dot(Nref, I) < 0 return N, otherwise return -N:  Arguments are (N, I, Nref).
 1241|      0|            dot = childConstUnions[1].dot(childConstUnions[2]);
 1242|      0|            for (int comp = 0; comp < numComps; ++comp) {
  ------------------
  |  Branch (1242:32): [True: 0, False: 0]
  ------------------
 1243|      0|                if (dot < 0.0)
  ------------------
  |  Branch (1243:21): [True: 0, False: 0]
  ------------------
 1244|      0|                    newConstArray[comp] = childConstUnions[0][comp];
 1245|      0|                else
 1246|      0|                    newConstArray[comp].setDConst(-childConstUnions[0][comp].getDConst());
 1247|      0|            }
 1248|      0|            break;
 1249|      0|        case EOpReflect:
  ------------------
  |  Branch (1249:9): [True: 0, False: 0]
  ------------------
 1250|       |            // I - 2 * dot(N, I) * N:  Arguments are (I, N).
 1251|      0|            dot = childConstUnions[0].dot(childConstUnions[1]);
 1252|      0|            dot *= 2.0;
 1253|      0|            for (int comp = 0; comp < numComps; ++comp)
  ------------------
  |  Branch (1253:32): [True: 0, False: 0]
  ------------------
 1254|      0|                newConstArray[comp].setDConst(childConstUnions[0][comp].getDConst() - dot * childConstUnions[1][comp].getDConst());
 1255|      0|            break;
 1256|      0|        case EOpRefract:
  ------------------
  |  Branch (1256:9): [True: 0, False: 0]
  ------------------
 1257|      0|        {
 1258|       |            // Arguments are (I, N, eta).
 1259|       |            // k = 1.0 - eta * eta * (1.0 - dot(N, I) * dot(N, I))
 1260|       |            // if (k < 0.0)
 1261|       |            //     return dvec(0.0)
 1262|       |            // else
 1263|       |            //     return eta * I - (eta * dot(N, I) + sqrt(k)) * N
 1264|      0|            dot = childConstUnions[0].dot(childConstUnions[1]);
 1265|      0|            double eta = childConstUnions[2][0].getDConst();
 1266|      0|            double k = 1.0 - eta * eta * (1.0 - dot * dot);
 1267|      0|            if (k < 0.0) {
  ------------------
  |  Branch (1267:17): [True: 0, False: 0]
  ------------------
 1268|      0|                for (int comp = 0; comp < numComps; ++comp)
  ------------------
  |  Branch (1268:36): [True: 0, False: 0]
  ------------------
 1269|      0|                    newConstArray[comp].setDConst(0.0);
 1270|      0|            } else {
 1271|      0|                for (int comp = 0; comp < numComps; ++comp)
  ------------------
  |  Branch (1271:36): [True: 0, False: 0]
  ------------------
 1272|      0|                    newConstArray[comp].setDConst(eta * childConstUnions[0][comp].getDConst() - (eta * dot + sqrt(k)) * childConstUnions[1][comp].getDConst());
 1273|      0|            }
 1274|      0|            break;
 1275|      0|        }
 1276|      0|        case EOpOuterProduct:
  ------------------
  |  Branch (1276:9): [True: 0, False: 0]
  ------------------
 1277|      0|        {
 1278|      0|            int numRows = numComps;
 1279|      0|            int numCols = children[1]->getAsConstantUnion()->getType().computeNumComponents();
 1280|      0|            for (int row = 0; row < numRows; ++row)
  ------------------
  |  Branch (1280:31): [True: 0, False: 0]
  ------------------
 1281|      0|                for (int col = 0; col < numCols; ++col)
  ------------------
  |  Branch (1281:35): [True: 0, False: 0]
  ------------------
 1282|      0|                    newConstArray[col * numRows + row] = childConstUnions[0][row] * childConstUnions[1][col];
 1283|      0|            break;
 1284|      0|        }
 1285|      0|        default:
  ------------------
  |  Branch (1285:9): [True: 0, False: 0]
  ------------------
 1286|      0|            return aggrNode;
 1287|      0|        }
 1288|      0|    }
 1289|       |
 1290|      0|    TIntermConstantUnion *newNode = new TIntermConstantUnion(newConstArray, aggrNode->getType());
 1291|      0|    newNode->getWritableType().getQualifier().storage = EvqConst;
 1292|      0|    newNode->setLoc(aggrNode->getLoc());
 1293|       |
 1294|      0|    return newNode;
 1295|      0|}
_ZN7glslang13TIntermediate16areAllChildConstEPNS_16TIntermAggregateE:
 1298|      3|{
 1299|      3|    bool allConstant = true;
 1300|       |
 1301|       |    // check if all the child nodes are constants so that they can be inserted into
 1302|       |    // the parent node
 1303|      3|    if (aggrNode) {
  ------------------
  |  Branch (1303:9): [True: 3, False: 0]
  ------------------
 1304|      3|        TIntermSequence& childSequenceVector = aggrNode->getSequence();
 1305|      3|        for (TIntermSequence::iterator p  = childSequenceVector.begin();
 1306|     12|                                       p != childSequenceVector.end(); p++) {
  ------------------
  |  Branch (1306:40): [True: 9, False: 3]
  ------------------
 1307|      9|            if (!(*p)->getAsTyped()->getAsConstantUnion())
  ------------------
  |  Branch (1307:17): [True: 0, False: 9]
  ------------------
 1308|      0|                return false;
 1309|      9|        }
 1310|      3|    }
 1311|       |
 1312|      3|    return allConstant;
 1313|      3|}
_ZN7glslang13TIntermediate15foldConstructorEPNS_16TIntermAggregateE:
 1316|      3|{
 1317|      3|    bool error = false;
 1318|       |
 1319|      3|    TConstUnionArray unionArray(aggrNode->getType().computeNumComponents());
 1320|      3|    if (aggrNode->getSequence().size() == 1)
  ------------------
  |  Branch (1320:9): [True: 0, False: 3]
  ------------------
 1321|      0|        error = parseConstTree(aggrNode, unionArray, aggrNode->getOp(), aggrNode->getType(), true);
 1322|      3|    else
 1323|      3|        error = parseConstTree(aggrNode, unionArray, aggrNode->getOp(), aggrNode->getType());
 1324|       |
 1325|      3|    if (error)
  ------------------
  |  Branch (1325:9): [True: 0, False: 3]
  ------------------
 1326|      0|        return aggrNode;
 1327|       |
 1328|      3|    return addConstantUnion(unionArray, aggrNode->getType(), aggrNode->getLoc());
 1329|      3|}

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

_ZN7glslang9TBuiltIns17addTabledBuiltinsEi8EProfileRKNS_10SpvVersionE:
  509|     37|{
  510|     37|    const auto forEachFunction = [&](TString& decls, const span<const BuiltInFunction>& functions) {
  511|     37|        for (const auto& fn : functions) {
  512|     37|            if (ValidVersion(fn, version, profile, spvVersion)) {
  513|     37|                AddTabledBuiltin(decls, fn);
  514|     37|                if (profile != EEsProfile) {
  515|     37|                    AddLongVectorBuiltin(decls, fn);
  516|     37|                }
  517|     37|            }
  518|     37|        }
  519|     37|    };
  520|       |
  521|     37|    forEachFunction(commonBuiltins, BaseFunctions);
  522|     37|    forEachFunction(stageBuiltins[EShLangFragment], DerivativeFunctions);
  523|       |
  524|     37|    if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450))
  ------------------
  |  Branch (524:10): [True: 36, False: 1]
  |  Branch (524:35): [True: 0, False: 36]
  |  Branch (524:55): [True: 1, False: 36]
  |  Branch (524:80): [True: 1, False: 0]
  ------------------
  525|      1|        forEachFunction(stageBuiltins[EShLangCompute], DerivativeFunctions);
  526|     37|}
_ZN7glslang9TBuiltIns20relateTabledBuiltinsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableE:
  530|     85|{
  531|     85|    RelateTabledBuiltins(BaseFunctions, symbolTable);
  532|     85|    RelateTabledBuiltins(DerivativeFunctions, symbolTable);
  533|     85|    RelateTabledBuiltins(CustomFunctions, symbolTable);
  534|     85|}
_ZN7glslang18TBuiltInParseablesC2Ev:
  544|    115|{
  545|    115|}
_ZN7glslang18TBuiltInParseablesD2Ev:
  549|    115|{
  550|    115|}
_ZN7glslang9TBuiltInsC2Ev:
  553|     73|{
  554|       |    // Set up textual representations for making all the permutations
  555|       |    // of texturing/imaging functions.
  556|     73|    prefixes[EbtFloat] =  "";
  557|     73|    prefixes[EbtInt]   = "i";
  558|     73|    prefixes[EbtUint]  = "u";
  559|     73|    prefixes[EbtFloat16] = "f16";
  560|     73|    prefixes[EbtInt8]  = "i8";
  561|     73|    prefixes[EbtUint8] = "u8";
  562|     73|    prefixes[EbtInt16]  = "i16";
  563|     73|    prefixes[EbtUint16] = "u16";
  564|     73|    prefixes[EbtInt64]  = "i64";
  565|     73|    prefixes[EbtUint64] = "u64";
  566|       |
  567|     73|    postfixes[2] = "2";
  568|     73|    postfixes[3] = "3";
  569|     73|    postfixes[4] = "4";
  570|       |
  571|       |    // Map from symbolic class of texturing dimension to numeric dimensions.
  572|     73|    dimMap[Esd2D] = 2;
  573|     73|    dimMap[Esd3D] = 3;
  574|     73|    dimMap[EsdCube] = 3;
  575|     73|    dimMap[Esd1D] = 1;
  576|     73|    dimMap[EsdRect] = 2;
  577|     73|    dimMap[EsdBuffer] = 1;
  578|     73|    dimMap[EsdSubpass] = 2;  // potentially unused for now
  579|     73|    dimMap[EsdAttachmentEXT] = 2;  // potentially unused for now
  580|     73|}
_ZN7glslang9TBuiltIns10initializeEi8EProfileRKNS_10SpvVersionE:
  596|     37|{
  597|     37|    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|     37|    TString derivatives (
  609|     37|        "float dFdx(float p);"
  610|     37|        "vec2  dFdx(vec2  p);"
  611|     37|        "vec3  dFdx(vec3  p);"
  612|     37|        "vec4  dFdx(vec4  p);"
  613|       |
  614|     37|        "float dFdy(float p);"
  615|     37|        "vec2  dFdy(vec2  p);"
  616|     37|        "vec3  dFdy(vec3  p);"
  617|     37|        "vec4  dFdy(vec4  p);"
  618|       |
  619|     37|        "float fwidth(float p);"
  620|     37|        "vec2  fwidth(vec2  p);"
  621|     37|        "vec3  fwidth(vec3  p);"
  622|     37|        "vec4  fwidth(vec4  p);"
  623|     37|    );
  624|       |
  625|     37|    TString derivativeControls (
  626|     37|        "float dFdxFine(float p);"
  627|     37|        "vec2  dFdxFine(vec2  p);"
  628|     37|        "vec3  dFdxFine(vec3  p);"
  629|     37|        "vec4  dFdxFine(vec4  p);"
  630|       |
  631|     37|        "float dFdyFine(float p);"
  632|     37|        "vec2  dFdyFine(vec2  p);"
  633|     37|        "vec3  dFdyFine(vec3  p);"
  634|     37|        "vec4  dFdyFine(vec4  p);"
  635|       |
  636|     37|        "float fwidthFine(float p);"
  637|     37|        "vec2  fwidthFine(vec2  p);"
  638|     37|        "vec3  fwidthFine(vec3  p);"
  639|     37|        "vec4  fwidthFine(vec4  p);"
  640|       |
  641|     37|        "float dFdxCoarse(float p);"
  642|     37|        "vec2  dFdxCoarse(vec2  p);"
  643|     37|        "vec3  dFdxCoarse(vec3  p);"
  644|     37|        "vec4  dFdxCoarse(vec4  p);"
  645|       |
  646|     37|        "float dFdyCoarse(float p);"
  647|     37|        "vec2  dFdyCoarse(vec2  p);"
  648|     37|        "vec3  dFdyCoarse(vec3  p);"
  649|     37|        "vec4  dFdyCoarse(vec4  p);"
  650|       |
  651|     37|        "float fwidthCoarse(float p);"
  652|     37|        "vec2  fwidthCoarse(vec2  p);"
  653|     37|        "vec3  fwidthCoarse(vec3  p);"
  654|     37|        "vec4  fwidthCoarse(vec4  p);"
  655|     37|    );
  656|       |
  657|     37|    TString derivativesAndControl16bits (
  658|     37|        "float16_t dFdx(float16_t);"
  659|     37|        "f16vec2   dFdx(f16vec2);"
  660|     37|        "f16vec3   dFdx(f16vec3);"
  661|     37|        "f16vec4   dFdx(f16vec4);"
  662|       |
  663|     37|        "float16_t dFdy(float16_t);"
  664|     37|        "f16vec2   dFdy(f16vec2);"
  665|     37|        "f16vec3   dFdy(f16vec3);"
  666|     37|        "f16vec4   dFdy(f16vec4);"
  667|       |
  668|     37|        "float16_t dFdxFine(float16_t);"
  669|     37|        "f16vec2   dFdxFine(f16vec2);"
  670|     37|        "f16vec3   dFdxFine(f16vec3);"
  671|     37|        "f16vec4   dFdxFine(f16vec4);"
  672|       |
  673|     37|        "float16_t dFdyFine(float16_t);"
  674|     37|        "f16vec2   dFdyFine(f16vec2);"
  675|     37|        "f16vec3   dFdyFine(f16vec3);"
  676|     37|        "f16vec4   dFdyFine(f16vec4);"
  677|       |
  678|     37|        "float16_t dFdxCoarse(float16_t);"
  679|     37|        "f16vec2   dFdxCoarse(f16vec2);"
  680|     37|        "f16vec3   dFdxCoarse(f16vec3);"
  681|     37|        "f16vec4   dFdxCoarse(f16vec4);"
  682|       |
  683|     37|        "float16_t dFdyCoarse(float16_t);"
  684|     37|        "f16vec2   dFdyCoarse(f16vec2);"
  685|     37|        "f16vec3   dFdyCoarse(f16vec3);"
  686|     37|        "f16vec4   dFdyCoarse(f16vec4);"
  687|       |
  688|     37|        "float16_t fwidth(float16_t);"
  689|     37|        "f16vec2   fwidth(f16vec2);"
  690|     37|        "f16vec3   fwidth(f16vec3);"
  691|     37|        "f16vec4   fwidth(f16vec4);"
  692|       |
  693|     37|        "float16_t fwidthFine(float16_t);"
  694|     37|        "f16vec2   fwidthFine(f16vec2);"
  695|     37|        "f16vec3   fwidthFine(f16vec3);"
  696|     37|        "f16vec4   fwidthFine(f16vec4);"
  697|       |
  698|     37|        "float16_t fwidthCoarse(float16_t);"
  699|     37|        "f16vec2   fwidthCoarse(f16vec2);"
  700|     37|        "f16vec3   fwidthCoarse(f16vec3);"
  701|     37|        "f16vec4   fwidthCoarse(f16vec4);"
  702|     37|    );
  703|       |
  704|     37|    TString derivativesAndControl64bits (
  705|     37|        "float64_t dFdx(float64_t);"
  706|     37|        "f64vec2   dFdx(f64vec2);"
  707|     37|        "f64vec3   dFdx(f64vec3);"
  708|     37|        "f64vec4   dFdx(f64vec4);"
  709|       |
  710|     37|        "float64_t dFdy(float64_t);"
  711|     37|        "f64vec2   dFdy(f64vec2);"
  712|     37|        "f64vec3   dFdy(f64vec3);"
  713|     37|        "f64vec4   dFdy(f64vec4);"
  714|       |
  715|     37|        "float64_t dFdxFine(float64_t);"
  716|     37|        "f64vec2   dFdxFine(f64vec2);"
  717|     37|        "f64vec3   dFdxFine(f64vec3);"
  718|     37|        "f64vec4   dFdxFine(f64vec4);"
  719|       |
  720|     37|        "float64_t dFdyFine(float64_t);"
  721|     37|        "f64vec2   dFdyFine(f64vec2);"
  722|     37|        "f64vec3   dFdyFine(f64vec3);"
  723|     37|        "f64vec4   dFdyFine(f64vec4);"
  724|       |
  725|     37|        "float64_t dFdxCoarse(float64_t);"
  726|     37|        "f64vec2   dFdxCoarse(f64vec2);"
  727|     37|        "f64vec3   dFdxCoarse(f64vec3);"
  728|     37|        "f64vec4   dFdxCoarse(f64vec4);"
  729|       |
  730|     37|        "float64_t dFdyCoarse(float64_t);"
  731|     37|        "f64vec2   dFdyCoarse(f64vec2);"
  732|     37|        "f64vec3   dFdyCoarse(f64vec3);"
  733|     37|        "f64vec4   dFdyCoarse(f64vec4);"
  734|       |
  735|     37|        "float64_t fwidth(float64_t);"
  736|     37|        "f64vec2   fwidth(f64vec2);"
  737|     37|        "f64vec3   fwidth(f64vec3);"
  738|     37|        "f64vec4   fwidth(f64vec4);"
  739|       |
  740|     37|        "float64_t fwidthFine(float64_t);"
  741|     37|        "f64vec2   fwidthFine(f64vec2);"
  742|     37|        "f64vec3   fwidthFine(f64vec3);"
  743|     37|        "f64vec4   fwidthFine(f64vec4);"
  744|       |
  745|     37|        "float64_t fwidthCoarse(float64_t);"
  746|     37|        "f64vec2   fwidthCoarse(f64vec2);"
  747|     37|        "f64vec3   fwidthCoarse(f64vec3);"
  748|     37|        "f64vec4   fwidthCoarse(f64vec4);"
  749|     37|    );
  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|     37|    if (profile != EEsProfile && version >= 150) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (760:9): [True: 1, False: 36]
  |  Branch (760:34): [True: 1, False: 0]
  ------------------
  761|      1|        commonBuiltins.append(
  762|       |
  763|      1|            "double sqrt(double);"
  764|      1|            "dvec2  sqrt(dvec2);"
  765|      1|            "dvec3  sqrt(dvec3);"
  766|      1|            "dvec4  sqrt(dvec4);"
  767|       |
  768|      1|            "double inversesqrt(double);"
  769|      1|            "dvec2  inversesqrt(dvec2);"
  770|      1|            "dvec3  inversesqrt(dvec3);"
  771|      1|            "dvec4  inversesqrt(dvec4);"
  772|       |
  773|      1|            "double abs(double);"
  774|      1|            "dvec2  abs(dvec2);"
  775|      1|            "dvec3  abs(dvec3);"
  776|      1|            "dvec4  abs(dvec4);"
  777|       |
  778|      1|            "double sign(double);"
  779|      1|            "dvec2  sign(dvec2);"
  780|      1|            "dvec3  sign(dvec3);"
  781|      1|            "dvec4  sign(dvec4);"
  782|       |
  783|      1|            "double floor(double);"
  784|      1|            "dvec2  floor(dvec2);"
  785|      1|            "dvec3  floor(dvec3);"
  786|      1|            "dvec4  floor(dvec4);"
  787|       |
  788|      1|            "double trunc(double);"
  789|      1|            "dvec2  trunc(dvec2);"
  790|      1|            "dvec3  trunc(dvec3);"
  791|      1|            "dvec4  trunc(dvec4);"
  792|       |
  793|      1|            "double round(double);"
  794|      1|            "dvec2  round(dvec2);"
  795|      1|            "dvec3  round(dvec3);"
  796|      1|            "dvec4  round(dvec4);"
  797|       |
  798|      1|            "double roundEven(double);"
  799|      1|            "dvec2  roundEven(dvec2);"
  800|      1|            "dvec3  roundEven(dvec3);"
  801|      1|            "dvec4  roundEven(dvec4);"
  802|       |
  803|      1|            "double ceil(double);"
  804|      1|            "dvec2  ceil(dvec2);"
  805|      1|            "dvec3  ceil(dvec3);"
  806|      1|            "dvec4  ceil(dvec4);"
  807|       |
  808|      1|            "double fract(double);"
  809|      1|            "dvec2  fract(dvec2);"
  810|      1|            "dvec3  fract(dvec3);"
  811|      1|            "dvec4  fract(dvec4);"
  812|       |
  813|      1|            "double mod(double, double);"
  814|      1|            "dvec2  mod(dvec2 , double);"
  815|      1|            "dvec3  mod(dvec3 , double);"
  816|      1|            "dvec4  mod(dvec4 , double);"
  817|      1|            "dvec2  mod(dvec2 , dvec2);"
  818|      1|            "dvec3  mod(dvec3 , dvec3);"
  819|      1|            "dvec4  mod(dvec4 , dvec4);"
  820|       |
  821|      1|            "double modf(double, out double);"
  822|      1|            "dvec2  modf(dvec2,  out dvec2);"
  823|      1|            "dvec3  modf(dvec3,  out dvec3);"
  824|      1|            "dvec4  modf(dvec4,  out dvec4);"
  825|       |
  826|      1|            "double min(double, double);"
  827|      1|            "dvec2  min(dvec2,  double);"
  828|      1|            "dvec3  min(dvec3,  double);"
  829|      1|            "dvec4  min(dvec4,  double);"
  830|      1|            "dvec2  min(dvec2,  dvec2);"
  831|      1|            "dvec3  min(dvec3,  dvec3);"
  832|      1|            "dvec4  min(dvec4,  dvec4);"
  833|       |
  834|      1|            "double max(double, double);"
  835|      1|            "dvec2  max(dvec2 , double);"
  836|      1|            "dvec3  max(dvec3 , double);"
  837|      1|            "dvec4  max(dvec4 , double);"
  838|      1|            "dvec2  max(dvec2 , dvec2);"
  839|      1|            "dvec3  max(dvec3 , dvec3);"
  840|      1|            "dvec4  max(dvec4 , dvec4);"
  841|       |
  842|      1|            "double clamp(double, double, double);"
  843|      1|            "dvec2  clamp(dvec2 , double, double);"
  844|      1|            "dvec3  clamp(dvec3 , double, double);"
  845|      1|            "dvec4  clamp(dvec4 , double, double);"
  846|      1|            "dvec2  clamp(dvec2 , dvec2 , dvec2);"
  847|      1|            "dvec3  clamp(dvec3 , dvec3 , dvec3);"
  848|      1|            "dvec4  clamp(dvec4 , dvec4 , dvec4);"
  849|       |
  850|      1|            "double mix(double, double, double);"
  851|      1|            "dvec2  mix(dvec2,  dvec2,  double);"
  852|      1|            "dvec3  mix(dvec3,  dvec3,  double);"
  853|      1|            "dvec4  mix(dvec4,  dvec4,  double);"
  854|      1|            "dvec2  mix(dvec2,  dvec2,  dvec2);"
  855|      1|            "dvec3  mix(dvec3,  dvec3,  dvec3);"
  856|      1|            "dvec4  mix(dvec4,  dvec4,  dvec4);"
  857|      1|            "double mix(double, double, bool);"
  858|      1|            "dvec2  mix(dvec2,  dvec2,  bvec2);"
  859|      1|            "dvec3  mix(dvec3,  dvec3,  bvec3);"
  860|      1|            "dvec4  mix(dvec4,  dvec4,  bvec4);"
  861|       |
  862|      1|            "double step(double, double);"
  863|      1|            "dvec2  step(dvec2 , dvec2);"
  864|      1|            "dvec3  step(dvec3 , dvec3);"
  865|      1|            "dvec4  step(dvec4 , dvec4);"
  866|      1|            "dvec2  step(double, dvec2);"
  867|      1|            "dvec3  step(double, dvec3);"
  868|      1|            "dvec4  step(double, dvec4);"
  869|       |
  870|      1|            "double smoothstep(double, double, double);"
  871|      1|            "dvec2  smoothstep(dvec2 , dvec2 , dvec2);"
  872|      1|            "dvec3  smoothstep(dvec3 , dvec3 , dvec3);"
  873|      1|            "dvec4  smoothstep(dvec4 , dvec4 , dvec4);"
  874|      1|            "dvec2  smoothstep(double, double, dvec2);"
  875|      1|            "dvec3  smoothstep(double, double, dvec3);"
  876|      1|            "dvec4  smoothstep(double, double, dvec4);"
  877|       |
  878|      1|            "bool  isnan(double);"
  879|      1|            "bvec2 isnan(dvec2);"
  880|      1|            "bvec3 isnan(dvec3);"
  881|      1|            "bvec4 isnan(dvec4);"
  882|       |
  883|      1|            "bool  isinf(double);"
  884|      1|            "bvec2 isinf(dvec2);"
  885|      1|            "bvec3 isinf(dvec3);"
  886|      1|            "bvec4 isinf(dvec4);"
  887|       |
  888|      1|            "double length(double);"
  889|      1|            "double length(dvec2);"
  890|      1|            "double length(dvec3);"
  891|      1|            "double length(dvec4);"
  892|       |
  893|      1|            "double distance(double, double);"
  894|      1|            "double distance(dvec2 , dvec2);"
  895|      1|            "double distance(dvec3 , dvec3);"
  896|      1|            "double distance(dvec4 , dvec4);"
  897|       |
  898|      1|            "double dot(double, double);"
  899|      1|            "double dot(dvec2 , dvec2);"
  900|      1|            "double dot(dvec3 , dvec3);"
  901|      1|            "double dot(dvec4 , dvec4);"
  902|       |
  903|      1|            "dvec3 cross(dvec3, dvec3);"
  904|       |
  905|      1|            "double normalize(double);"
  906|      1|            "dvec2  normalize(dvec2);"
  907|      1|            "dvec3  normalize(dvec3);"
  908|      1|            "dvec4  normalize(dvec4);"
  909|       |
  910|      1|            "double faceforward(double, double, double);"
  911|      1|            "dvec2  faceforward(dvec2,  dvec2,  dvec2);"
  912|      1|            "dvec3  faceforward(dvec3,  dvec3,  dvec3);"
  913|      1|            "dvec4  faceforward(dvec4,  dvec4,  dvec4);"
  914|       |
  915|      1|            "double reflect(double, double);"
  916|      1|            "dvec2  reflect(dvec2 , dvec2 );"
  917|      1|            "dvec3  reflect(dvec3 , dvec3 );"
  918|      1|            "dvec4  reflect(dvec4 , dvec4 );"
  919|       |
  920|      1|            "double refract(double, double, double);"
  921|      1|            "dvec2  refract(dvec2 , dvec2 , double);"
  922|      1|            "dvec3  refract(dvec3 , dvec3 , double);"
  923|      1|            "dvec4  refract(dvec4 , dvec4 , double);"
  924|       |
  925|      1|            "dmat2 matrixCompMult(dmat2, dmat2);"
  926|      1|            "dmat3 matrixCompMult(dmat3, dmat3);"
  927|      1|            "dmat4 matrixCompMult(dmat4, dmat4);"
  928|      1|            "dmat2x3 matrixCompMult(dmat2x3, dmat2x3);"
  929|      1|            "dmat2x4 matrixCompMult(dmat2x4, dmat2x4);"
  930|      1|            "dmat3x2 matrixCompMult(dmat3x2, dmat3x2);"
  931|      1|            "dmat3x4 matrixCompMult(dmat3x4, dmat3x4);"
  932|      1|            "dmat4x2 matrixCompMult(dmat4x2, dmat4x2);"
  933|      1|            "dmat4x3 matrixCompMult(dmat4x3, dmat4x3);"
  934|       |
  935|      1|            "dmat2   outerProduct(dvec2, dvec2);"
  936|      1|            "dmat3   outerProduct(dvec3, dvec3);"
  937|      1|            "dmat4   outerProduct(dvec4, dvec4);"
  938|      1|            "dmat2x3 outerProduct(dvec3, dvec2);"
  939|      1|            "dmat3x2 outerProduct(dvec2, dvec3);"
  940|      1|            "dmat2x4 outerProduct(dvec4, dvec2);"
  941|      1|            "dmat4x2 outerProduct(dvec2, dvec4);"
  942|      1|            "dmat3x4 outerProduct(dvec4, dvec3);"
  943|      1|            "dmat4x3 outerProduct(dvec3, dvec4);"
  944|       |
  945|      1|            "dmat2   transpose(dmat2);"
  946|      1|            "dmat3   transpose(dmat3);"
  947|      1|            "dmat4   transpose(dmat4);"
  948|      1|            "dmat2x3 transpose(dmat3x2);"
  949|      1|            "dmat3x2 transpose(dmat2x3);"
  950|      1|            "dmat2x4 transpose(dmat4x2);"
  951|      1|            "dmat4x2 transpose(dmat2x4);"
  952|      1|            "dmat3x4 transpose(dmat4x3);"
  953|      1|            "dmat4x3 transpose(dmat3x4);"
  954|       |
  955|      1|            "double determinant(dmat2);"
  956|      1|            "double determinant(dmat3);"
  957|      1|            "double determinant(dmat4);"
  958|       |
  959|      1|            "dmat2 inverse(dmat2);"
  960|      1|            "dmat3 inverse(dmat3);"
  961|      1|            "dmat4 inverse(dmat4);"
  962|       |
  963|      1|            "bvec2 lessThan(dvec2, dvec2);"
  964|      1|            "bvec3 lessThan(dvec3, dvec3);"
  965|      1|            "bvec4 lessThan(dvec4, dvec4);"
  966|       |
  967|      1|            "bvec2 lessThanEqual(dvec2, dvec2);"
  968|      1|            "bvec3 lessThanEqual(dvec3, dvec3);"
  969|      1|            "bvec4 lessThanEqual(dvec4, dvec4);"
  970|       |
  971|      1|            "bvec2 greaterThan(dvec2, dvec2);"
  972|      1|            "bvec3 greaterThan(dvec3, dvec3);"
  973|      1|            "bvec4 greaterThan(dvec4, dvec4);"
  974|       |
  975|      1|            "bvec2 greaterThanEqual(dvec2, dvec2);"
  976|      1|            "bvec3 greaterThanEqual(dvec3, dvec3);"
  977|      1|            "bvec4 greaterThanEqual(dvec4, dvec4);"
  978|       |
  979|      1|            "bvec2 equal(dvec2, dvec2);"
  980|      1|            "bvec3 equal(dvec3, dvec3);"
  981|      1|            "bvec4 equal(dvec4, dvec4);"
  982|       |
  983|      1|            "bvec2 notEqual(dvec2, dvec2);"
  984|      1|            "bvec3 notEqual(dvec3, dvec3);"
  985|      1|            "bvec4 notEqual(dvec4, dvec4);"
  986|       |
  987|      1|            "\n");
  988|      1|    }
  989|       |
  990|     37|    if (profile == EEsProfile && version >= 310) {  // Explicit Types
  ------------------
  |  Branch (990:9): [True: 36, False: 1]
  |  Branch (990:34): [True: 0, False: 36]
  ------------------
  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|     37|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (1186:10): [True: 1, False: 36]
  |  Branch (1186:35): [True: 1, False: 0]
  |  Branch (1186:55): [True: 36, False: 0]
  |  Branch (1186:80): [True: 0, False: 36]
  ------------------
 1187|      1|        commonBuiltins.append(
 1188|       |
 1189|      1|            "int64_t abs(int64_t);"
 1190|      1|            "i64vec2 abs(i64vec2);"
 1191|      1|            "i64vec3 abs(i64vec3);"
 1192|      1|            "i64vec4 abs(i64vec4);"
 1193|       |
 1194|      1|            "int64_t sign(int64_t);"
 1195|      1|            "i64vec2 sign(i64vec2);"
 1196|      1|            "i64vec3 sign(i64vec3);"
 1197|      1|            "i64vec4 sign(i64vec4);"
 1198|       |
 1199|      1|            "int64_t  min(int64_t,  int64_t);"
 1200|      1|            "i64vec2  min(i64vec2,  int64_t);"
 1201|      1|            "i64vec3  min(i64vec3,  int64_t);"
 1202|      1|            "i64vec4  min(i64vec4,  int64_t);"
 1203|      1|            "i64vec2  min(i64vec2,  i64vec2);"
 1204|      1|            "i64vec3  min(i64vec3,  i64vec3);"
 1205|      1|            "i64vec4  min(i64vec4,  i64vec4);"
 1206|      1|            "uint64_t min(uint64_t, uint64_t);"
 1207|      1|            "u64vec2  min(u64vec2,  uint64_t);"
 1208|      1|            "u64vec3  min(u64vec3,  uint64_t);"
 1209|      1|            "u64vec4  min(u64vec4,  uint64_t);"
 1210|      1|            "u64vec2  min(u64vec2,  u64vec2);"
 1211|      1|            "u64vec3  min(u64vec3,  u64vec3);"
 1212|      1|            "u64vec4  min(u64vec4,  u64vec4);"
 1213|       |
 1214|      1|            "int64_t  max(int64_t,  int64_t);"
 1215|      1|            "i64vec2  max(i64vec2,  int64_t);"
 1216|      1|            "i64vec3  max(i64vec3,  int64_t);"
 1217|      1|            "i64vec4  max(i64vec4,  int64_t);"
 1218|      1|            "i64vec2  max(i64vec2,  i64vec2);"
 1219|      1|            "i64vec3  max(i64vec3,  i64vec3);"
 1220|      1|            "i64vec4  max(i64vec4,  i64vec4);"
 1221|      1|            "uint64_t max(uint64_t, uint64_t);"
 1222|      1|            "u64vec2  max(u64vec2,  uint64_t);"
 1223|      1|            "u64vec3  max(u64vec3,  uint64_t);"
 1224|      1|            "u64vec4  max(u64vec4,  uint64_t);"
 1225|      1|            "u64vec2  max(u64vec2,  u64vec2);"
 1226|      1|            "u64vec3  max(u64vec3,  u64vec3);"
 1227|      1|            "u64vec4  max(u64vec4,  u64vec4);"
 1228|       |
 1229|      1|            "int64_t  clamp(int64_t,  int64_t,  int64_t);"
 1230|      1|            "i64vec2  clamp(i64vec2,  int64_t,  int64_t);"
 1231|      1|            "i64vec3  clamp(i64vec3,  int64_t,  int64_t);"
 1232|      1|            "i64vec4  clamp(i64vec4,  int64_t,  int64_t);"
 1233|      1|            "i64vec2  clamp(i64vec2,  i64vec2,  i64vec2);"
 1234|      1|            "i64vec3  clamp(i64vec3,  i64vec3,  i64vec3);"
 1235|      1|            "i64vec4  clamp(i64vec4,  i64vec4,  i64vec4);"
 1236|      1|            "uint64_t clamp(uint64_t, uint64_t, uint64_t);"
 1237|      1|            "u64vec2  clamp(u64vec2,  uint64_t, uint64_t);"
 1238|      1|            "u64vec3  clamp(u64vec3,  uint64_t, uint64_t);"
 1239|      1|            "u64vec4  clamp(u64vec4,  uint64_t, uint64_t);"
 1240|      1|            "u64vec2  clamp(u64vec2,  u64vec2,  u64vec2);"
 1241|      1|            "u64vec3  clamp(u64vec3,  u64vec3,  u64vec3);"
 1242|      1|            "u64vec4  clamp(u64vec4,  u64vec4,  u64vec4);"
 1243|       |
 1244|      1|            "int64_t  mix(int64_t,  int64_t,  bool);"
 1245|      1|            "i64vec2  mix(i64vec2,  i64vec2,  bvec2);"
 1246|      1|            "i64vec3  mix(i64vec3,  i64vec3,  bvec3);"
 1247|      1|            "i64vec4  mix(i64vec4,  i64vec4,  bvec4);"
 1248|      1|            "uint64_t mix(uint64_t, uint64_t, bool);"
 1249|      1|            "u64vec2  mix(u64vec2,  u64vec2,  bvec2);"
 1250|      1|            "u64vec3  mix(u64vec3,  u64vec3,  bvec3);"
 1251|      1|            "u64vec4  mix(u64vec4,  u64vec4,  bvec4);"
 1252|       |
 1253|      1|            "int64_t doubleBitsToInt64(float64_t);"
 1254|      1|            "i64vec2 doubleBitsToInt64(f64vec2);"
 1255|      1|            "i64vec3 doubleBitsToInt64(f64vec3);"
 1256|      1|            "i64vec4 doubleBitsToInt64(f64vec4);"
 1257|       |
 1258|      1|            "uint64_t doubleBitsToUint64(float64_t);"
 1259|      1|            "u64vec2  doubleBitsToUint64(f64vec2);"
 1260|      1|            "u64vec3  doubleBitsToUint64(f64vec3);"
 1261|      1|            "u64vec4  doubleBitsToUint64(f64vec4);"
 1262|       |
 1263|      1|            "float64_t int64BitsToDouble(int64_t);"
 1264|      1|            "f64vec2  int64BitsToDouble(i64vec2);"
 1265|      1|            "f64vec3  int64BitsToDouble(i64vec3);"
 1266|      1|            "f64vec4  int64BitsToDouble(i64vec4);"
 1267|       |
 1268|      1|            "float64_t uint64BitsToDouble(uint64_t);"
 1269|      1|            "f64vec2  uint64BitsToDouble(u64vec2);"
 1270|      1|            "f64vec3  uint64BitsToDouble(u64vec3);"
 1271|      1|            "f64vec4  uint64BitsToDouble(u64vec4);"
 1272|       |
 1273|      1|            "int64_t  packInt2x32(ivec2);"
 1274|      1|            "uint64_t packUint2x32(uvec2);"
 1275|      1|            "ivec2    unpackInt2x32(int64_t);"
 1276|      1|            "uvec2    unpackUint2x32(uint64_t);"
 1277|       |
 1278|      1|            "bvec2 lessThan(i64vec2, i64vec2);"
 1279|      1|            "bvec3 lessThan(i64vec3, i64vec3);"
 1280|      1|            "bvec4 lessThan(i64vec4, i64vec4);"
 1281|      1|            "bvec2 lessThan(u64vec2, u64vec2);"
 1282|      1|            "bvec3 lessThan(u64vec3, u64vec3);"
 1283|      1|            "bvec4 lessThan(u64vec4, u64vec4);"
 1284|       |
 1285|      1|            "bvec2 lessThanEqual(i64vec2, i64vec2);"
 1286|      1|            "bvec3 lessThanEqual(i64vec3, i64vec3);"
 1287|      1|            "bvec4 lessThanEqual(i64vec4, i64vec4);"
 1288|      1|            "bvec2 lessThanEqual(u64vec2, u64vec2);"
 1289|      1|            "bvec3 lessThanEqual(u64vec3, u64vec3);"
 1290|      1|            "bvec4 lessThanEqual(u64vec4, u64vec4);"
 1291|       |
 1292|      1|            "bvec2 greaterThan(i64vec2, i64vec2);"
 1293|      1|            "bvec3 greaterThan(i64vec3, i64vec3);"
 1294|      1|            "bvec4 greaterThan(i64vec4, i64vec4);"
 1295|      1|            "bvec2 greaterThan(u64vec2, u64vec2);"
 1296|      1|            "bvec3 greaterThan(u64vec3, u64vec3);"
 1297|      1|            "bvec4 greaterThan(u64vec4, u64vec4);"
 1298|       |
 1299|      1|            "bvec2 greaterThanEqual(i64vec2, i64vec2);"
 1300|      1|            "bvec3 greaterThanEqual(i64vec3, i64vec3);"
 1301|      1|            "bvec4 greaterThanEqual(i64vec4, i64vec4);"
 1302|      1|            "bvec2 greaterThanEqual(u64vec2, u64vec2);"
 1303|      1|            "bvec3 greaterThanEqual(u64vec3, u64vec3);"
 1304|      1|            "bvec4 greaterThanEqual(u64vec4, u64vec4);"
 1305|       |
 1306|      1|            "bvec2 equal(i64vec2, i64vec2);"
 1307|      1|            "bvec3 equal(i64vec3, i64vec3);"
 1308|      1|            "bvec4 equal(i64vec4, i64vec4);"
 1309|      1|            "bvec2 equal(u64vec2, u64vec2);"
 1310|      1|            "bvec3 equal(u64vec3, u64vec3);"
 1311|      1|            "bvec4 equal(u64vec4, u64vec4);"
 1312|       |
 1313|      1|            "bvec2 notEqual(i64vec2, i64vec2);"
 1314|      1|            "bvec3 notEqual(i64vec3, i64vec3);"
 1315|      1|            "bvec4 notEqual(i64vec4, i64vec4);"
 1316|      1|            "bvec2 notEqual(u64vec2, u64vec2);"
 1317|      1|            "bvec3 notEqual(u64vec3, u64vec3);"
 1318|      1|            "bvec4 notEqual(u64vec4, u64vec4);"
 1319|       |
 1320|      1|            "int64_t bitCount(int64_t);"
 1321|      1|            "i64vec2 bitCount(i64vec2);"
 1322|      1|            "i64vec3 bitCount(i64vec3);"
 1323|      1|            "i64vec4 bitCount(i64vec4);"
 1324|       |
 1325|      1|            "int64_t bitCount(uint64_t);"
 1326|      1|            "i64vec2 bitCount(u64vec2);"
 1327|      1|            "i64vec3 bitCount(u64vec3);"
 1328|      1|            "i64vec4 bitCount(u64vec4);"
 1329|       |
 1330|      1|            "int64_t findLSB(int64_t);"
 1331|      1|            "i64vec2 findLSB(i64vec2);"
 1332|      1|            "i64vec3 findLSB(i64vec3);"
 1333|      1|            "i64vec4 findLSB(i64vec4);"
 1334|       |
 1335|      1|            "int64_t findLSB(uint64_t);"
 1336|      1|            "i64vec2 findLSB(u64vec2);"
 1337|      1|            "i64vec3 findLSB(u64vec3);"
 1338|      1|            "i64vec4 findLSB(u64vec4);"
 1339|       |
 1340|      1|            "int64_t findMSB(int64_t);"
 1341|      1|            "i64vec2 findMSB(i64vec2);"
 1342|      1|            "i64vec3 findMSB(i64vec3);"
 1343|      1|            "i64vec4 findMSB(i64vec4);"
 1344|       |
 1345|      1|            "int64_t findMSB(uint64_t);"
 1346|      1|            "i64vec2 findMSB(u64vec2);"
 1347|      1|            "i64vec3 findMSB(u64vec3);"
 1348|      1|            "i64vec4 findMSB(u64vec4);"
 1349|       |
 1350|      1|            "\n"
 1351|      1|        );
 1352|      1|    }
 1353|       |
 1354|       |    // GL_AMD_shader_trinary_minmax
 1355|     37|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (1355:9): [True: 1, False: 36]
  |  Branch (1355:34): [True: 1, False: 0]
  ------------------
 1356|      1|        commonBuiltins.append(
 1357|      1|            "float min3(float, float, float);"
 1358|      1|            "vec2  min3(vec2,  vec2,  vec2);"
 1359|      1|            "vec3  min3(vec3,  vec3,  vec3);"
 1360|      1|            "vec4  min3(vec4,  vec4,  vec4);"
 1361|       |
 1362|      1|            "int   min3(int,   int,   int);"
 1363|      1|            "ivec2 min3(ivec2, ivec2, ivec2);"
 1364|      1|            "ivec3 min3(ivec3, ivec3, ivec3);"
 1365|      1|            "ivec4 min3(ivec4, ivec4, ivec4);"
 1366|       |
 1367|      1|            "uint  min3(uint,  uint,  uint);"
 1368|      1|            "uvec2 min3(uvec2, uvec2, uvec2);"
 1369|      1|            "uvec3 min3(uvec3, uvec3, uvec3);"
 1370|      1|            "uvec4 min3(uvec4, uvec4, uvec4);"
 1371|       |
 1372|      1|            "float max3(float, float, float);"
 1373|      1|            "vec2  max3(vec2,  vec2,  vec2);"
 1374|      1|            "vec3  max3(vec3,  vec3,  vec3);"
 1375|      1|            "vec4  max3(vec4,  vec4,  vec4);"
 1376|       |
 1377|      1|            "int   max3(int,   int,   int);"
 1378|      1|            "ivec2 max3(ivec2, ivec2, ivec2);"
 1379|      1|            "ivec3 max3(ivec3, ivec3, ivec3);"
 1380|      1|            "ivec4 max3(ivec4, ivec4, ivec4);"
 1381|       |
 1382|      1|            "uint  max3(uint,  uint,  uint);"
 1383|      1|            "uvec2 max3(uvec2, uvec2, uvec2);"
 1384|      1|            "uvec3 max3(uvec3, uvec3, uvec3);"
 1385|      1|            "uvec4 max3(uvec4, uvec4, uvec4);"
 1386|       |
 1387|      1|            "float mid3(float, float, float);"
 1388|      1|            "vec2  mid3(vec2,  vec2,  vec2);"
 1389|      1|            "vec3  mid3(vec3,  vec3,  vec3);"
 1390|      1|            "vec4  mid3(vec4,  vec4,  vec4);"
 1391|       |
 1392|      1|            "int   mid3(int,   int,   int);"
 1393|      1|            "ivec2 mid3(ivec2, ivec2, ivec2);"
 1394|      1|            "ivec3 mid3(ivec3, ivec3, ivec3);"
 1395|      1|            "ivec4 mid3(ivec4, ivec4, ivec4);"
 1396|       |
 1397|      1|            "uint  mid3(uint,  uint,  uint);"
 1398|      1|            "uvec2 mid3(uvec2, uvec2, uvec2);"
 1399|      1|            "uvec3 mid3(uvec3, uvec3, uvec3);"
 1400|      1|            "uvec4 mid3(uvec4, uvec4, uvec4);"
 1401|       |
 1402|      1|            "float16_t min3(float16_t, float16_t, float16_t);"
 1403|      1|            "f16vec2   min3(f16vec2,   f16vec2,   f16vec2);"
 1404|      1|            "f16vec3   min3(f16vec3,   f16vec3,   f16vec3);"
 1405|      1|            "f16vec4   min3(f16vec4,   f16vec4,   f16vec4);"
 1406|       |
 1407|      1|            "float16_t max3(float16_t, float16_t, float16_t);"
 1408|      1|            "f16vec2   max3(f16vec2,   f16vec2,   f16vec2);"
 1409|      1|            "f16vec3   max3(f16vec3,   f16vec3,   f16vec3);"
 1410|      1|            "f16vec4   max3(f16vec4,   f16vec4,   f16vec4);"
 1411|       |
 1412|      1|            "float16_t mid3(float16_t, float16_t, float16_t);"
 1413|      1|            "f16vec2   mid3(f16vec2,   f16vec2,   f16vec2);"
 1414|      1|            "f16vec3   mid3(f16vec3,   f16vec3,   f16vec3);"
 1415|      1|            "f16vec4   mid3(f16vec4,   f16vec4,   f16vec4);"
 1416|       |
 1417|      1|            "int16_t   min3(int16_t,   int16_t,   int16_t);"
 1418|      1|            "i16vec2   min3(i16vec2,   i16vec2,   i16vec2);"
 1419|      1|            "i16vec3   min3(i16vec3,   i16vec3,   i16vec3);"
 1420|      1|            "i16vec4   min3(i16vec4,   i16vec4,   i16vec4);"
 1421|       |
 1422|      1|            "int16_t   max3(int16_t,   int16_t,   int16_t);"
 1423|      1|            "i16vec2   max3(i16vec2,   i16vec2,   i16vec2);"
 1424|      1|            "i16vec3   max3(i16vec3,   i16vec3,   i16vec3);"
 1425|      1|            "i16vec4   max3(i16vec4,   i16vec4,   i16vec4);"
 1426|       |
 1427|      1|            "int16_t   mid3(int16_t,   int16_t,   int16_t);"
 1428|      1|            "i16vec2   mid3(i16vec2,   i16vec2,   i16vec2);"
 1429|      1|            "i16vec3   mid3(i16vec3,   i16vec3,   i16vec3);"
 1430|      1|            "i16vec4   mid3(i16vec4,   i16vec4,   i16vec4);"
 1431|       |
 1432|      1|            "uint16_t  min3(uint16_t,  uint16_t,  uint16_t);"
 1433|      1|            "u16vec2   min3(u16vec2,   u16vec2,   u16vec2);"
 1434|      1|            "u16vec3   min3(u16vec3,   u16vec3,   u16vec3);"
 1435|      1|            "u16vec4   min3(u16vec4,   u16vec4,   u16vec4);"
 1436|       |
 1437|      1|            "uint16_t  max3(uint16_t,  uint16_t,  uint16_t);"
 1438|      1|            "u16vec2   max3(u16vec2,   u16vec2,   u16vec2);"
 1439|      1|            "u16vec3   max3(u16vec3,   u16vec3,   u16vec3);"
 1440|      1|            "u16vec4   max3(u16vec4,   u16vec4,   u16vec4);"
 1441|       |
 1442|      1|            "uint16_t  mid3(uint16_t,  uint16_t,  uint16_t);"
 1443|      1|            "u16vec2   mid3(u16vec2,   u16vec2,   u16vec2);"
 1444|      1|            "u16vec3   mid3(u16vec3,   u16vec3,   u16vec3);"
 1445|      1|            "u16vec4   mid3(u16vec4,   u16vec4,   u16vec4);"
 1446|       |
 1447|      1|            "\n"
 1448|      1|        );
 1449|      1|    }
 1450|       |
 1451|     37|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1451:10): [True: 36, False: 1]
  |  Branch (1451:35): [True: 0, False: 36]
  ------------------
 1452|     37|        (profile != EEsProfile && version >= 430)) {
  ------------------
  |  Branch (1452:10): [True: 1, False: 36]
  |  Branch (1452:35): [True: 1, False: 0]
  ------------------
 1453|      1|        commonBuiltins.append(
 1454|      1|            "uint atomicAdd(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1455|      1|            " int atomicAdd(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1456|       |
 1457|      1|            "uint atomicMin(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1458|      1|            " int atomicMin(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1459|       |
 1460|      1|            "uint atomicMax(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1461|      1|            " int atomicMax(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1462|       |
 1463|      1|            "uint atomicAnd(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1464|      1|            " int atomicAnd(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1465|       |
 1466|      1|            "uint atomicOr (coherent volatile nontemporal inout uint, uint, int, int, int);"
 1467|      1|            " int atomicOr (coherent volatile nontemporal inout  int,  int, int, int, int);"
 1468|       |
 1469|      1|            "uint atomicXor(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1470|      1|            " int atomicXor(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1471|       |
 1472|      1|            "uint atomicExchange(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1473|      1|            " int atomicExchange(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1474|       |
 1475|      1|            "uint atomicCompSwap(coherent volatile nontemporal inout uint, uint, uint, int, int, int, int, int);"
 1476|      1|            " int atomicCompSwap(coherent volatile nontemporal inout  int,  int,  int, int, int, int, int, int);"
 1477|       |
 1478|      1|            "uint atomicLoad(coherent volatile nontemporal in uint, int, int, int);"
 1479|      1|            " int atomicLoad(coherent volatile nontemporal in  int, int, int, int);"
 1480|       |
 1481|      1|            "void atomicStore(coherent volatile nontemporal out uint, uint, int, int, int);"
 1482|      1|            "void atomicStore(coherent volatile nontemporal out  int,  int, int, int, int);"
 1483|       |
 1484|      1|            "\n");
 1485|      1|    }
 1486|       |
 1487|     37|    if (profile != EEsProfile && version >= 440) {
  ------------------
  |  Branch (1487:9): [True: 1, False: 36]
  |  Branch (1487:34): [True: 1, False: 0]
  ------------------
 1488|      1|        commonBuiltins.append(
 1489|      1|            "uint64_t atomicMin(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1490|      1|            " int64_t atomicMin(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1491|      1|            "uint64_t atomicMin(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1492|      1|            " int64_t atomicMin(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1493|      1|            "float16_t atomicMin(coherent volatile nontemporal inout float16_t, float16_t);"
 1494|      1|            "float16_t atomicMin(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1495|      1|            "   float atomicMin(coherent volatile nontemporal inout float, float);"
 1496|      1|            "   float atomicMin(coherent volatile nontemporal inout float, float, int, int, int);"
 1497|      1|            "  double atomicMin(coherent volatile nontemporal inout double, double);"
 1498|      1|            "  double atomicMin(coherent volatile nontemporal inout double, double, int, int, int);"
 1499|       |
 1500|      1|            "uint64_t atomicMax(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1501|      1|            " int64_t atomicMax(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1502|      1|            "uint64_t atomicMax(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1503|      1|            " int64_t atomicMax(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1504|      1|            "float16_t atomicMax(coherent volatile nontemporal inout float16_t, float16_t);"
 1505|      1|            "float16_t atomicMax(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1506|      1|            "   float atomicMax(coherent volatile nontemporal inout float, float);"
 1507|      1|            "   float atomicMax(coherent volatile nontemporal inout float, float, int, int, int);"
 1508|      1|            "  double atomicMax(coherent volatile nontemporal inout double, double);"
 1509|      1|            "  double atomicMax(coherent volatile nontemporal inout double, double, int, int, int);"
 1510|       |
 1511|      1|            "uint64_t atomicAnd(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1512|      1|            " int64_t atomicAnd(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1513|      1|            "uint64_t atomicAnd(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1514|      1|            " int64_t atomicAnd(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1515|       |
 1516|      1|            "uint64_t atomicOr (coherent volatile nontemporal inout uint64_t, uint64_t);"
 1517|      1|            " int64_t atomicOr (coherent volatile nontemporal inout  int64_t,  int64_t);"
 1518|      1|            "uint64_t atomicOr (coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1519|      1|            " int64_t atomicOr (coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1520|       |
 1521|      1|            "uint64_t atomicXor(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1522|      1|            " int64_t atomicXor(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1523|      1|            "uint64_t atomicXor(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1524|      1|            " int64_t atomicXor(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1525|       |
 1526|      1|            "uint64_t atomicAdd(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1527|      1|            " int64_t atomicAdd(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1528|      1|            "uint64_t atomicAdd(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1529|      1|            " int64_t atomicAdd(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1530|      1|            "float16_t atomicAdd(coherent volatile nontemporal inout float16_t, float16_t);"
 1531|      1|            "float16_t atomicAdd(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1532|      1|            "   float atomicAdd(coherent volatile nontemporal inout float, float);"
 1533|      1|            "   float atomicAdd(coherent volatile nontemporal inout float, float, int, int, int);"
 1534|      1|            "  double atomicAdd(coherent volatile nontemporal inout double, double);"
 1535|      1|            "  double atomicAdd(coherent volatile nontemporal inout double, double, int, int, int);"
 1536|       |
 1537|      1|            "uint64_t atomicExchange(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1538|      1|            " int64_t atomicExchange(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1539|      1|            "uint64_t atomicExchange(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1540|      1|            " int64_t atomicExchange(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1541|      1|            "float16_t atomicExchange(coherent volatile nontemporal inout float16_t, float16_t);"
 1542|      1|            "float16_t atomicExchange(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1543|      1|            "   float atomicExchange(coherent volatile nontemporal inout float, float);"
 1544|      1|            "   float atomicExchange(coherent volatile nontemporal inout float, float, int, int, int);"
 1545|      1|            "  double atomicExchange(coherent volatile nontemporal inout double, double);"
 1546|      1|            "  double atomicExchange(coherent volatile nontemporal inout double, double, int, int, int);"
 1547|       |
 1548|      1|            "uint64_t atomicCompSwap(coherent volatile nontemporal inout uint64_t, uint64_t, uint64_t);"
 1549|      1|            " int64_t atomicCompSwap(coherent volatile nontemporal inout  int64_t,  int64_t,  int64_t);"
 1550|      1|            "uint64_t atomicCompSwap(coherent volatile nontemporal inout uint64_t, uint64_t, uint64_t, int, int, int, int, int);"
 1551|      1|            " int64_t atomicCompSwap(coherent volatile nontemporal inout  int64_t,  int64_t,  int64_t, int, int, int, int, int);"
 1552|       |
 1553|      1|            "uint64_t atomicLoad(coherent volatile nontemporal in uint64_t, int, int, int);"
 1554|      1|            " int64_t atomicLoad(coherent volatile nontemporal in  int64_t, int, int, int);"
 1555|      1|            "float16_t atomicLoad(coherent volatile nontemporal in float16_t, int, int, int);"
 1556|      1|            "   float atomicLoad(coherent volatile nontemporal in float, int, int, int);"
 1557|      1|            "  double atomicLoad(coherent volatile nontemporal in double, int, int, int);"
 1558|       |
 1559|      1|            "void atomicStore(coherent volatile nontemporal out uint64_t, uint64_t, int, int, int);"
 1560|      1|            "void atomicStore(coherent volatile nontemporal out  int64_t,  int64_t, int, int, int);"
 1561|      1|            "void atomicStore(coherent volatile nontemporal out float16_t, float16_t, int, int, int);"
 1562|      1|            "void atomicStore(coherent volatile nontemporal out float, float, int, int, int);"
 1563|      1|            "void atomicStore(coherent volatile nontemporal out double, double, int, int, int);"
 1564|      1|            "\n");
 1565|      1|    }
 1566|       |
 1567|       |    // NV_shader_atomic_fp16_vector
 1568|     37|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (1568:9): [True: 1, False: 36]
  |  Branch (1568:34): [True: 1, False: 0]
  ------------------
 1569|      1|        commonBuiltins.append(
 1570|      1|            "f16vec2 atomicAdd(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1571|      1|            "f16vec4 atomicAdd(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1572|      1|            "f16vec2 atomicMin(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1573|      1|            "f16vec4 atomicMin(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1574|      1|            "f16vec2 atomicMax(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1575|      1|            "f16vec4 atomicMax(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1576|      1|            "f16vec2 atomicExchange(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1577|      1|            "f16vec4 atomicExchange(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1578|      1|            "\n");
 1579|      1|    }
 1580|       |
 1581|     37|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1581:10): [True: 36, False: 1]
  |  Branch (1581:35): [True: 0, False: 36]
  ------------------
 1582|     37|        (profile != EEsProfile && version >= 150)) { // GL_ARB_shader_bit_encoding
  ------------------
  |  Branch (1582:10): [True: 1, False: 36]
  |  Branch (1582:35): [True: 1, False: 0]
  ------------------
 1583|      1|        commonBuiltins.append(
 1584|      1|            "int   floatBitsToInt(highp float value);"
 1585|      1|            "ivec2 floatBitsToInt(highp vec2  value);"
 1586|      1|            "ivec3 floatBitsToInt(highp vec3  value);"
 1587|      1|            "ivec4 floatBitsToInt(highp vec4  value);"
 1588|       |
 1589|      1|            "uint  floatBitsToUint(highp float value);"
 1590|      1|            "uvec2 floatBitsToUint(highp vec2  value);"
 1591|      1|            "uvec3 floatBitsToUint(highp vec3  value);"
 1592|      1|            "uvec4 floatBitsToUint(highp vec4  value);"
 1593|       |
 1594|      1|            "float intBitsToFloat(highp int   value);"
 1595|      1|            "vec2  intBitsToFloat(highp ivec2 value);"
 1596|      1|            "vec3  intBitsToFloat(highp ivec3 value);"
 1597|      1|            "vec4  intBitsToFloat(highp ivec4 value);"
 1598|       |
 1599|      1|            "float uintBitsToFloat(highp uint  value);"
 1600|      1|            "vec2  uintBitsToFloat(highp uvec2 value);"
 1601|      1|            "vec3  uintBitsToFloat(highp uvec3 value);"
 1602|      1|            "vec4  uintBitsToFloat(highp uvec4 value);"
 1603|       |
 1604|      1|            "\n");
 1605|      1|    }
 1606|       |
 1607|     37|    if ((profile != EEsProfile && version >= 150) || // GL_NV_gpu_shader5
  ------------------
  |  Branch (1607:10): [True: 1, False: 36]
  |  Branch (1607:35): [True: 1, False: 0]
  ------------------
 1608|     36|        (profile == EEsProfile && version >= 310)) {    // GL_OES_gpu_shader5
  ------------------
  |  Branch (1608:10): [True: 36, False: 0]
  |  Branch (1608:35): [True: 0, False: 36]
  ------------------
 1609|       |
 1610|      1|        commonBuiltins.append(
 1611|      1|            "float  fma(float,  float,  float );"
 1612|      1|            "vec2   fma(vec2,   vec2,   vec2  );"
 1613|      1|            "vec3   fma(vec3,   vec3,   vec3  );"
 1614|      1|            "vec4   fma(vec4,   vec4,   vec4  );"
 1615|      1|            "\n");
 1616|      1|    }
 1617|       |
 1618|     37|    if (profile != EEsProfile && version >= 150) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1618:9): [True: 1, False: 36]
  |  Branch (1618:34): [True: 1, False: 0]
  ------------------
 1619|      1|            commonBuiltins.append(
 1620|      1|                "double fma(double, double, double);"
 1621|      1|                "dvec2  fma(dvec2,  dvec2,  dvec2 );"
 1622|      1|                "dvec3  fma(dvec3,  dvec3,  dvec3 );"
 1623|      1|                "dvec4  fma(dvec4,  dvec4,  dvec4 );"
 1624|      1|                "\n");
 1625|      1|    }
 1626|       |
 1627|     37|    if (profile == EEsProfile && version >= 310) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1627:9): [True: 36, False: 1]
  |  Branch (1627:34): [True: 0, False: 36]
  ------------------
 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|     37|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1636:10): [True: 36, False: 1]
  |  Branch (1636:35): [True: 0, False: 36]
  ------------------
 1637|     37|        (profile != EEsProfile && version >= 150)) { // GL_NV_gpu_shader5
  ------------------
  |  Branch (1637:10): [True: 1, False: 36]
  |  Branch (1637:35): [True: 1, False: 0]
  ------------------
 1638|      1|        commonBuiltins.append(
 1639|      1|            "float frexp(highp float, out highp int);"
 1640|      1|            "vec2  frexp(highp vec2,  out highp ivec2);"
 1641|      1|            "vec3  frexp(highp vec3,  out highp ivec3);"
 1642|      1|            "vec4  frexp(highp vec4,  out highp ivec4);"
 1643|       |
 1644|      1|            "float ldexp(highp float, highp int);"
 1645|      1|            "vec2  ldexp(highp vec2,  highp ivec2);"
 1646|      1|            "vec3  ldexp(highp vec3,  highp ivec3);"
 1647|      1|            "vec4  ldexp(highp vec4,  highp ivec4);"
 1648|       |
 1649|      1|            "\n");
 1650|      1|    }
 1651|       |
 1652|     37|    if (profile != EEsProfile && version >= 150) { // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1652:9): [True: 1, False: 36]
  |  Branch (1652:34): [True: 1, False: 0]
  ------------------
 1653|      1|        commonBuiltins.append(
 1654|      1|            "double frexp(double, out int);"
 1655|      1|            "dvec2  frexp( dvec2, out ivec2);"
 1656|      1|            "dvec3  frexp( dvec3, out ivec3);"
 1657|      1|            "dvec4  frexp( dvec4, out ivec4);"
 1658|       |
 1659|      1|            "double ldexp(double, int);"
 1660|      1|            "dvec2  ldexp( dvec2, ivec2);"
 1661|      1|            "dvec3  ldexp( dvec3, ivec3);"
 1662|      1|            "dvec4  ldexp( dvec4, ivec4);"
 1663|       |
 1664|      1|            "double packDouble2x32(uvec2);"
 1665|      1|            "uvec2 unpackDouble2x32(double);"
 1666|       |
 1667|      1|            "\n");
 1668|      1|    }
 1669|       |
 1670|     37|    if (profile == EEsProfile && version >= 310) { // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1670:9): [True: 36, False: 1]
  |  Branch (1670:34): [True: 0, False: 36]
  ------------------
 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|     37|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1685:10): [True: 36, False: 1]
  |  Branch (1685:35): [True: 0, False: 36]
  ------------------
 1686|     37|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1686:10): [True: 1, False: 36]
  |  Branch (1686:35): [True: 1, False: 0]
  ------------------
 1687|      1|        commonBuiltins.append(
 1688|      1|            "highp uint packUnorm2x16(vec2);"
 1689|      1|                  "vec2 unpackUnorm2x16(highp uint);"
 1690|      1|            "\n");
 1691|      1|    }
 1692|       |
 1693|     37|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1693:10): [True: 36, False: 1]
  |  Branch (1693:35): [True: 0, False: 36]
  ------------------
 1694|     37|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1694:10): [True: 1, False: 36]
  |  Branch (1694:35): [True: 1, False: 0]
  ------------------
 1695|      1|        commonBuiltins.append(
 1696|      1|            "highp uint packSnorm2x16(vec2);"
 1697|      1|            "      vec2 unpackSnorm2x16(highp uint);"
 1698|      1|            "highp uint packHalf2x16(vec2);"
 1699|      1|            "\n");
 1700|      1|    }
 1701|       |
 1702|     37|    if (profile == EEsProfile && version >= 300) {
  ------------------
  |  Branch (1702:9): [True: 36, False: 1]
  |  Branch (1702:34): [True: 0, False: 36]
  ------------------
 1703|      0|        commonBuiltins.append(
 1704|      0|            "mediump vec2 unpackHalf2x16(highp uint);"
 1705|      0|            "\n");
 1706|     37|    } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (1706:16): [True: 1, False: 36]
  |  Branch (1706:41): [True: 1, False: 0]
  ------------------
 1707|      1|        commonBuiltins.append(
 1708|      1|            "        vec2 unpackHalf2x16(highp uint);"
 1709|      1|            "\n");
 1710|      1|    }
 1711|       |
 1712|     37|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1712:10): [True: 36, False: 1]
  |  Branch (1712:35): [True: 0, False: 36]
  ------------------
 1713|     37|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1713:10): [True: 1, False: 36]
  |  Branch (1713:35): [True: 1, False: 0]
  ------------------
 1714|      1|        commonBuiltins.append(
 1715|      1|            "highp uint packSnorm4x8(vec4);"
 1716|      1|            "highp uint packUnorm4x8(vec4);"
 1717|      1|            "\n");
 1718|      1|    }
 1719|       |
 1720|     37|    if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (1720:9): [True: 36, False: 1]
  |  Branch (1720:34): [True: 0, False: 36]
  ------------------
 1721|      0|        commonBuiltins.append(
 1722|      0|            "mediump vec4 unpackSnorm4x8(highp uint);"
 1723|      0|            "mediump vec4 unpackUnorm4x8(highp uint);"
 1724|      0|            "\n");
 1725|     37|    } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (1725:16): [True: 1, False: 36]
  |  Branch (1725:41): [True: 1, False: 0]
  ------------------
 1726|      1|        commonBuiltins.append(
 1727|      1|                    "vec4 unpackSnorm4x8(highp uint);"
 1728|      1|                    "vec4 unpackUnorm4x8(highp uint);"
 1729|      1|            "\n");
 1730|      1|    }
 1731|       |
 1732|       |    //
 1733|       |    // Matrix Functions.
 1734|       |    //
 1735|     37|    commonBuiltins.append(
 1736|     37|        "mat2 matrixCompMult(mat2 x, mat2 y);"
 1737|     37|        "mat3 matrixCompMult(mat3 x, mat3 y);"
 1738|     37|        "mat4 matrixCompMult(mat4 x, mat4 y);"
 1739|       |
 1740|     37|        "\n");
 1741|       |
 1742|       |    // 120 is correct for both ES and desktop
 1743|     37|    if (version >= 120) {
  ------------------
  |  Branch (1743:9): [True: 1, False: 36]
  ------------------
 1744|      1|        commonBuiltins.append(
 1745|      1|            "mat2   outerProduct(vec2 c, vec2 r);"
 1746|      1|            "mat3   outerProduct(vec3 c, vec3 r);"
 1747|      1|            "mat4   outerProduct(vec4 c, vec4 r);"
 1748|      1|            "mat2x3 outerProduct(vec3 c, vec2 r);"
 1749|      1|            "mat3x2 outerProduct(vec2 c, vec3 r);"
 1750|      1|            "mat2x4 outerProduct(vec4 c, vec2 r);"
 1751|      1|            "mat4x2 outerProduct(vec2 c, vec4 r);"
 1752|      1|            "mat3x4 outerProduct(vec4 c, vec3 r);"
 1753|      1|            "mat4x3 outerProduct(vec3 c, vec4 r);"
 1754|       |
 1755|      1|            "mat2   transpose(mat2   m);"
 1756|      1|            "mat3   transpose(mat3   m);"
 1757|      1|            "mat4   transpose(mat4   m);"
 1758|      1|            "mat2x3 transpose(mat3x2 m);"
 1759|      1|            "mat3x2 transpose(mat2x3 m);"
 1760|      1|            "mat2x4 transpose(mat4x2 m);"
 1761|      1|            "mat4x2 transpose(mat2x4 m);"
 1762|      1|            "mat3x4 transpose(mat4x3 m);"
 1763|      1|            "mat4x3 transpose(mat3x4 m);"
 1764|       |
 1765|      1|            "mat2x3 matrixCompMult(mat2x3, mat2x3);"
 1766|      1|            "mat2x4 matrixCompMult(mat2x4, mat2x4);"
 1767|      1|            "mat3x2 matrixCompMult(mat3x2, mat3x2);"
 1768|      1|            "mat3x4 matrixCompMult(mat3x4, mat3x4);"
 1769|      1|            "mat4x2 matrixCompMult(mat4x2, mat4x2);"
 1770|      1|            "mat4x3 matrixCompMult(mat4x3, mat4x3);"
 1771|       |
 1772|      1|            "\n");
 1773|       |
 1774|       |        // 150 is correct for both ES and desktop
 1775|      1|        if (version >= 150) {
  ------------------
  |  Branch (1775:13): [True: 1, False: 0]
  ------------------
 1776|      1|            commonBuiltins.append(
 1777|      1|                "float determinant(mat2 m);"
 1778|      1|                "float determinant(mat3 m);"
 1779|      1|                "float determinant(mat4 m);"
 1780|       |
 1781|      1|                "mat2 inverse(mat2 m);"
 1782|      1|                "mat3 inverse(mat3 m);"
 1783|      1|                "mat4 inverse(mat4 m);"
 1784|       |
 1785|      1|                "\n");
 1786|      1|        }
 1787|      1|    }
 1788|       |
 1789|       |    //
 1790|       |    // Original-style texture functions existing in all stages.
 1791|       |    // (Per-stage functions below.)
 1792|       |    //
 1793|     37|    if ((profile == EEsProfile && version == 100) ||
  ------------------
  |  Branch (1793:10): [True: 36, False: 1]
  |  Branch (1793:35): [True: 36, False: 0]
  ------------------
 1794|      1|         profile == ECompatibilityProfile ||
  ------------------
  |  Branch (1794:10): [True: 0, False: 1]
  ------------------
 1795|      1|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (1795:10): [True: 1, False: 0]
  |  Branch (1795:37): [True: 0, False: 1]
  ------------------
 1796|     36|         profile == ENoProfile) {
  ------------------
  |  Branch (1796:10): [True: 0, False: 1]
  ------------------
 1797|     36|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1797:13): [True: 36, False: 0]
  ------------------
 1798|     36|            commonBuiltins.append(
 1799|     36|                "vec4 texture2D(sampler2D, vec2);"
 1800|       |
 1801|     36|                "vec4 texture2DProj(sampler2D, vec3);"
 1802|     36|                "vec4 texture2DProj(sampler2D, vec4);"
 1803|       |
 1804|     36|                "vec4 texture3D(sampler3D, vec3);"     // OES_texture_3D, but caught by keyword check
 1805|     36|                "vec4 texture3DProj(sampler3D, vec4);" // OES_texture_3D, but caught by keyword check
 1806|       |
 1807|     36|                "vec4 textureCube(samplerCube, vec3);"
 1808|       |
 1809|     36|                "\n");
 1810|     36|        }
 1811|     36|    }
 1812|       |
 1813|     37|    if ( profile == ECompatibilityProfile ||
  ------------------
  |  Branch (1813:10): [True: 0, False: 37]
  ------------------
 1814|     37|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (1814:10): [True: 1, False: 36]
  |  Branch (1814:37): [True: 0, False: 1]
  ------------------
 1815|     37|         profile == ENoProfile) {
  ------------------
  |  Branch (1815:10): [True: 0, False: 37]
  ------------------
 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|     37|    if (profile == EEsProfile) {
  ------------------
  |  Branch (1848:9): [True: 36, False: 1]
  ------------------
 1849|     36|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1849:13): [True: 36, False: 0]
  ------------------
 1850|     36|            if (version < 300) {
  ------------------
  |  Branch (1850:17): [True: 36, False: 0]
  ------------------
 1851|     36|                commonBuiltins.append(
 1852|     36|                    "vec4 texture2D(samplerExternalOES, vec2 coord);" // GL_OES_EGL_image_external
 1853|     36|                    "vec4 texture2DProj(samplerExternalOES, vec3);"   // GL_OES_EGL_image_external
 1854|     36|                    "vec4 texture2DProj(samplerExternalOES, vec4);"   // GL_OES_EGL_image_external
 1855|     36|                "\n");
 1856|     36|            } 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|     36|            commonBuiltins.append(
 1869|     36|                "highp ivec2 textureSize(__samplerExternal2DY2YEXT, int lod);" // GL_EXT_YUV_target
 1870|     36|                "vec4 texture(__samplerExternal2DY2YEXT, vec2);"               // GL_EXT_YUV_target
 1871|     36|                "vec4 texture(__samplerExternal2DY2YEXT, vec2, float bias);"   // GL_EXT_YUV_target
 1872|     36|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec3);"           // GL_EXT_YUV_target
 1873|     36|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec3, float bias);" // GL_EXT_YUV_target
 1874|     36|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec4);"           // GL_EXT_YUV_target
 1875|     36|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec4, float bias);" // GL_EXT_YUV_target
 1876|     36|                "vec4 texelFetch(__samplerExternal2DY2YEXT sampler, ivec2, int lod);" // GL_EXT_YUV_target
 1877|     36|                "\n");
 1878|     36|            commonBuiltins.append(
 1879|     36|                "vec4 texture2DGradEXT(sampler2D, vec2, vec2, vec2);"      // GL_EXT_shader_texture_lod
 1880|     36|                "vec4 texture2DProjGradEXT(sampler2D, vec3, vec2, vec2);"  // GL_EXT_shader_texture_lod
 1881|     36|                "vec4 texture2DProjGradEXT(sampler2D, vec4, vec2, vec2);"  // GL_EXT_shader_texture_lod
 1882|     36|                "vec4 textureCubeGradEXT(samplerCube, vec3, vec3, vec3);"  // GL_EXT_shader_texture_lod
 1883|       |
 1884|     36|                "float shadow2DEXT(sampler2DShadow, vec3);"     // GL_EXT_shadow_samplers
 1885|     36|                "float shadow2DProjEXT(sampler2DShadow, vec4);" // GL_EXT_shadow_samplers
 1886|       |
 1887|     36|                "\n");
 1888|     36|        }
 1889|     36|    }
 1890|       |
 1891|       |    //
 1892|       |    // Noise functions.
 1893|       |    //
 1894|     37|    if (spvVersion.spv == 0 && profile != EEsProfile) {
  ------------------
  |  Branch (1894:9): [True: 37, False: 0]
  |  Branch (1894:32): [True: 1, False: 36]
  ------------------
 1895|      1|        commonBuiltins.append(
 1896|      1|            "float noise1(float x);"
 1897|      1|            "float noise1(vec2  x);"
 1898|      1|            "float noise1(vec3  x);"
 1899|      1|            "float noise1(vec4  x);"
 1900|       |
 1901|      1|            "vec2 noise2(float x);"
 1902|      1|            "vec2 noise2(vec2  x);"
 1903|      1|            "vec2 noise2(vec3  x);"
 1904|      1|            "vec2 noise2(vec4  x);"
 1905|       |
 1906|      1|            "vec3 noise3(float x);"
 1907|      1|            "vec3 noise3(vec2  x);"
 1908|      1|            "vec3 noise3(vec3  x);"
 1909|      1|            "vec3 noise3(vec4  x);"
 1910|       |
 1911|      1|            "vec4 noise4(float x);"
 1912|      1|            "vec4 noise4(vec2  x);"
 1913|      1|            "vec4 noise4(vec3  x);"
 1914|      1|            "vec4 noise4(vec4  x);"
 1915|       |
 1916|      1|            "\n");
 1917|      1|    }
 1918|       |
 1919|     37|    if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (1919:9): [True: 36, False: 1]
  ------------------
 1920|       |        //
 1921|       |        // Atomic counter functions.
 1922|       |        //
 1923|     36|        if ((profile != EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1923:14): [True: 0, False: 36]
  |  Branch (1923:39): [True: 0, False: 0]
  ------------------
 1924|     36|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (1924:14): [True: 36, False: 0]
  |  Branch (1924:39): [True: 0, False: 36]
  ------------------
 1925|      0|            commonBuiltins.append(
 1926|      0|                "uint atomicCounterIncrement(atomic_uint);"
 1927|      0|                "uint atomicCounterDecrement(atomic_uint);"
 1928|      0|                "uint atomicCounter(atomic_uint);"
 1929|       |
 1930|      0|                "\n");
 1931|      0|        }
 1932|     36|        if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (1932:13): [True: 0, False: 36]
  |  Branch (1932:38): [True: 0, False: 0]
  ------------------
 1933|      0|            commonBuiltins.append(
 1934|      0|                "uint atomicCounterAddARB(atomic_uint, uint);"
 1935|      0|                "uint atomicCounterSubtractARB(atomic_uint, uint);"
 1936|      0|                "uint atomicCounterMinARB(atomic_uint, uint);"
 1937|      0|                "uint atomicCounterMaxARB(atomic_uint, uint);"
 1938|      0|                "uint atomicCounterAndARB(atomic_uint, uint);"
 1939|      0|                "uint atomicCounterOrARB(atomic_uint, uint);"
 1940|      0|                "uint atomicCounterXorARB(atomic_uint, uint);"
 1941|      0|                "uint atomicCounterExchangeARB(atomic_uint, uint);"
 1942|      0|                "uint atomicCounterCompSwapARB(atomic_uint, uint, uint);"
 1943|       |
 1944|      0|                "\n");
 1945|      0|        }
 1946|       |
 1947|       |
 1948|     36|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (1948:13): [True: 0, False: 36]
  |  Branch (1948:38): [True: 0, False: 0]
  ------------------
 1949|      0|            commonBuiltins.append(
 1950|      0|                "uint atomicCounterAdd(atomic_uint, uint);"
 1951|      0|                "uint atomicCounterSubtract(atomic_uint, uint);"
 1952|      0|                "uint atomicCounterMin(atomic_uint, uint);"
 1953|      0|                "uint atomicCounterMax(atomic_uint, uint);"
 1954|      0|                "uint atomicCounterAnd(atomic_uint, uint);"
 1955|      0|                "uint atomicCounterOr(atomic_uint, uint);"
 1956|      0|                "uint atomicCounterXor(atomic_uint, uint);"
 1957|      0|                "uint atomicCounterExchange(atomic_uint, uint);"
 1958|      0|                "uint atomicCounterCompSwap(atomic_uint, uint, uint);"
 1959|       |
 1960|      0|                "\n");
 1961|      0|        }
 1962|     36|    }
 1963|      1|    else if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (1963:14): [True: 0, False: 1]
  ------------------
 1964|       |        //
 1965|       |        // Atomic counter functions act as aliases to normal atomic functions.
 1966|       |        // replace definitions to take 'volatile coherent nontemporal uint' instead of 'atomic_uint'
 1967|       |        // and map to equivalent non-counter atomic op
 1968|       |        //
 1969|      0|        if ((profile != EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1969:14): [True: 0, False: 0]
  |  Branch (1969:39): [True: 0, False: 0]
  ------------------
 1970|      0|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (1970:14): [True: 0, False: 0]
  |  Branch (1970:39): [True: 0, False: 0]
  ------------------
 1971|      0|            commonBuiltins.append(
 1972|      0|                "uint atomicCounterIncrement(volatile coherent nontemporal uint);"
 1973|      0|                "uint atomicCounterDecrement(volatile coherent nontemporal uint);"
 1974|      0|                "uint atomicCounter(volatile coherent nontemporal uint);"
 1975|       |
 1976|      0|                "\n");
 1977|      0|        }
 1978|      0|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (1978:13): [True: 0, False: 0]
  |  Branch (1978:38): [True: 0, False: 0]
  ------------------
 1979|      0|            commonBuiltins.append(
 1980|      0|                "uint atomicCounterAdd(volatile coherent nontemporal uint, uint);"
 1981|      0|                "uint atomicCounterSubtract(volatile coherent nontemporal uint, uint);"
 1982|      0|                "uint atomicCounterMin(volatile coherent nontemporal uint, uint);"
 1983|      0|                "uint atomicCounterMax(volatile coherent nontemporal uint, uint);"
 1984|      0|                "uint atomicCounterAnd(volatile coherent nontemporal uint, uint);"
 1985|      0|                "uint atomicCounterOr(volatile coherent nontemporal uint, uint);"
 1986|      0|                "uint atomicCounterXor(volatile coherent nontemporal uint, uint);"
 1987|      0|                "uint atomicCounterExchange(volatile coherent nontemporal uint, uint);"
 1988|      0|                "uint atomicCounterCompSwap(volatile coherent nontemporal uint, uint, uint);"
 1989|       |
 1990|      0|                "\n");
 1991|      0|        }
 1992|      0|    }
 1993|       |
 1994|       |    // Bitfield
 1995|     37|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1995:10): [True: 36, False: 1]
  |  Branch (1995:35): [True: 0, False: 36]
  ------------------
 1996|     37|        (profile != EEsProfile && version >= 150)) { // ARB_gpu_shader5/NV_gpu_shader5
  ------------------
  |  Branch (1996:10): [True: 1, False: 36]
  |  Branch (1996:35): [True: 1, False: 0]
  ------------------
 1997|      1|        commonBuiltins.append(
 1998|      1|            "  int bitfieldExtract(  int, int, int);"
 1999|      1|            "ivec2 bitfieldExtract(ivec2, int, int);"
 2000|      1|            "ivec3 bitfieldExtract(ivec3, int, int);"
 2001|      1|            "ivec4 bitfieldExtract(ivec4, int, int);"
 2002|       |
 2003|      1|            " uint bitfieldExtract( uint, int, int);"
 2004|      1|            "uvec2 bitfieldExtract(uvec2, int, int);"
 2005|      1|            "uvec3 bitfieldExtract(uvec3, int, int);"
 2006|      1|            "uvec4 bitfieldExtract(uvec4, int, int);"
 2007|       |
 2008|      1|            "  int bitfieldInsert(  int base,   int, int, int);"
 2009|      1|            "ivec2 bitfieldInsert(ivec2 base, ivec2, int, int);"
 2010|      1|            "ivec3 bitfieldInsert(ivec3 base, ivec3, int, int);"
 2011|      1|            "ivec4 bitfieldInsert(ivec4 base, ivec4, int, int);"
 2012|       |
 2013|      1|            " uint bitfieldInsert( uint base,  uint, int, int);"
 2014|      1|            "uvec2 bitfieldInsert(uvec2 base, uvec2, int, int);"
 2015|      1|            "uvec3 bitfieldInsert(uvec3 base, uvec3, int, int);"
 2016|      1|            "uvec4 bitfieldInsert(uvec4 base, uvec4, int, int);"
 2017|       |
 2018|      1|            "\n");
 2019|      1|    }
 2020|       |
 2021|     37|    if (profile != EEsProfile && version >= 150) { //GL_ARB_gpu_shader5/GL_NV_gpu_shader5
  ------------------
  |  Branch (2021:9): [True: 1, False: 36]
  |  Branch (2021:34): [True: 1, False: 0]
  ------------------
 2022|      1|        commonBuiltins.append(
 2023|      1|            "  int findLSB(  int);"
 2024|      1|            "ivec2 findLSB(ivec2);"
 2025|      1|            "ivec3 findLSB(ivec3);"
 2026|      1|            "ivec4 findLSB(ivec4);"
 2027|       |
 2028|      1|            "  int findLSB( uint);"
 2029|      1|            "ivec2 findLSB(uvec2);"
 2030|      1|            "ivec3 findLSB(uvec3);"
 2031|      1|            "ivec4 findLSB(uvec4);"
 2032|       |
 2033|      1|            "\n");
 2034|     36|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (2034:16): [True: 36, False: 0]
  |  Branch (2034:41): [True: 0, False: 36]
  ------------------
 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|     37|    if (profile != EEsProfile && version >= 150) { //GL_ARB_gpu_shader5/GL_NV_gpu_shader5
  ------------------
  |  Branch (2049:9): [True: 1, False: 36]
  |  Branch (2049:34): [True: 1, False: 0]
  ------------------
 2050|      1|        commonBuiltins.append(
 2051|      1|            "  int bitCount(  int);"
 2052|      1|            "ivec2 bitCount(ivec2);"
 2053|      1|            "ivec3 bitCount(ivec3);"
 2054|      1|            "ivec4 bitCount(ivec4);"
 2055|       |
 2056|      1|            "  int bitCount( uint);"
 2057|      1|            "ivec2 bitCount(uvec2);"
 2058|      1|            "ivec3 bitCount(uvec3);"
 2059|      1|            "ivec4 bitCount(uvec4);"
 2060|       |
 2061|      1|            "  int findMSB(highp   int);"
 2062|      1|            "ivec2 findMSB(highp ivec2);"
 2063|      1|            "ivec3 findMSB(highp ivec3);"
 2064|      1|            "ivec4 findMSB(highp ivec4);"
 2065|       |
 2066|      1|            "  int findMSB(highp  uint);"
 2067|      1|            "ivec2 findMSB(highp uvec2);"
 2068|      1|            "ivec3 findMSB(highp uvec3);"
 2069|      1|            "ivec4 findMSB(highp uvec4);"
 2070|      1|            "\n");
 2071|      1|    }
 2072|       |
 2073|     37|    if (profile != EEsProfile && version >= 150 && version < 450) { //GL_NV_gpu_shader5
  ------------------
  |  Branch (2073:9): [True: 1, False: 36]
  |  Branch (2073:34): [True: 1, False: 0]
  |  Branch (2073:52): [True: 0, False: 1]
  ------------------
 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|     37|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (2199:9): [True: 1, False: 36]
  |  Branch (2199:34): [True: 1, False: 0]
  ------------------
 2200|      1|        commonBuiltins.append(
 2201|      1|            "bool anyThreadNV(bool);"
 2202|      1|            "bool allThreadsNV(bool);"
 2203|      1|            "bool allThreadsEqualNV(bool);"
 2204|       |
 2205|      1|            "\n");
 2206|      1|    }
 2207|       |
 2208|     37|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2208:10): [True: 36, False: 1]
  |  Branch (2208:35): [True: 0, False: 36]
  ------------------
 2209|     37|        (profile != EEsProfile && version >= 150)) { // NV_gpu_shader5
  ------------------
  |  Branch (2209:10): [True: 1, False: 36]
  |  Branch (2209:35): [True: 1, False: 0]
  ------------------
 2210|      1|        commonBuiltins.append(
 2211|      1|            " uint uaddCarry(highp  uint, highp  uint, out lowp  uint carry);"
 2212|      1|            "uvec2 uaddCarry(highp uvec2, highp uvec2, out lowp uvec2 carry);"
 2213|      1|            "uvec3 uaddCarry(highp uvec3, highp uvec3, out lowp uvec3 carry);"
 2214|      1|            "uvec4 uaddCarry(highp uvec4, highp uvec4, out lowp uvec4 carry);"
 2215|       |
 2216|      1|            " uint usubBorrow(highp  uint, highp  uint, out lowp  uint borrow);"
 2217|      1|            "uvec2 usubBorrow(highp uvec2, highp uvec2, out lowp uvec2 borrow);"
 2218|      1|            "uvec3 usubBorrow(highp uvec3, highp uvec3, out lowp uvec3 borrow);"
 2219|      1|            "uvec4 usubBorrow(highp uvec4, highp uvec4, out lowp uvec4 borrow);"
 2220|       |
 2221|      1|            "void umulExtended(highp  uint, highp  uint, out highp  uint, out highp  uint lsb);"
 2222|      1|            "void umulExtended(highp uvec2, highp uvec2, out highp uvec2, out highp uvec2 lsb);"
 2223|      1|            "void umulExtended(highp uvec3, highp uvec3, out highp uvec3, out highp uvec3 lsb);"
 2224|      1|            "void umulExtended(highp uvec4, highp uvec4, out highp uvec4, out highp uvec4 lsb);"
 2225|       |
 2226|      1|            "void imulExtended(highp   int, highp   int, out highp   int, out highp   int lsb);"
 2227|      1|            "void imulExtended(highp ivec2, highp ivec2, out highp ivec2, out highp ivec2 lsb);"
 2228|      1|            "void imulExtended(highp ivec3, highp ivec3, out highp ivec3, out highp ivec3 lsb);"
 2229|      1|            "void imulExtended(highp ivec4, highp ivec4, out highp ivec4, out highp ivec4 lsb);"
 2230|       |
 2231|      1|            "  int bitfieldReverse(highp   int);"
 2232|      1|            "ivec2 bitfieldReverse(highp ivec2);"
 2233|      1|            "ivec3 bitfieldReverse(highp ivec3);"
 2234|      1|            "ivec4 bitfieldReverse(highp ivec4);"
 2235|       |
 2236|      1|            " uint bitfieldReverse(highp  uint);"
 2237|      1|            "uvec2 bitfieldReverse(highp uvec2);"
 2238|      1|            "uvec3 bitfieldReverse(highp uvec3);"
 2239|      1|            "uvec4 bitfieldReverse(highp uvec4);"
 2240|       |
 2241|      1|            "\n");
 2242|      1|    }
 2243|       |
 2244|     37|    if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (2244:9): [True: 36, False: 1]
  |  Branch (2244:34): [True: 0, False: 36]
  ------------------
 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|     37|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (2270:9): [True: 1, False: 36]
  |  Branch (2270:34): [True: 1, False: 0]
  ------------------
 2271|      1|        commonBuiltins.append(
 2272|      1|            "uint64_t ballotARB(bool);"
 2273|       |
 2274|      1|            "float readInvocationARB(float, uint);"
 2275|      1|            "vec2  readInvocationARB(vec2,  uint);"
 2276|      1|            "vec3  readInvocationARB(vec3,  uint);"
 2277|      1|            "vec4  readInvocationARB(vec4,  uint);"
 2278|       |
 2279|      1|            "int   readInvocationARB(int,   uint);"
 2280|      1|            "ivec2 readInvocationARB(ivec2, uint);"
 2281|      1|            "ivec3 readInvocationARB(ivec3, uint);"
 2282|      1|            "ivec4 readInvocationARB(ivec4, uint);"
 2283|       |
 2284|      1|            "uint  readInvocationARB(uint,  uint);"
 2285|      1|            "uvec2 readInvocationARB(uvec2, uint);"
 2286|      1|            "uvec3 readInvocationARB(uvec3, uint);"
 2287|      1|            "uvec4 readInvocationARB(uvec4, uint);"
 2288|       |
 2289|      1|            "float readFirstInvocationARB(float);"
 2290|      1|            "vec2  readFirstInvocationARB(vec2);"
 2291|      1|            "vec3  readFirstInvocationARB(vec3);"
 2292|      1|            "vec4  readFirstInvocationARB(vec4);"
 2293|       |
 2294|      1|            "int   readFirstInvocationARB(int);"
 2295|      1|            "ivec2 readFirstInvocationARB(ivec2);"
 2296|      1|            "ivec3 readFirstInvocationARB(ivec3);"
 2297|      1|            "ivec4 readFirstInvocationARB(ivec4);"
 2298|       |
 2299|      1|            "uint  readFirstInvocationARB(uint);"
 2300|      1|            "uvec2 readFirstInvocationARB(uvec2);"
 2301|      1|            "uvec3 readFirstInvocationARB(uvec3);"
 2302|      1|            "uvec4 readFirstInvocationARB(uvec4);"
 2303|       |
 2304|      1|            "\n");
 2305|      1|    }
 2306|       |
 2307|       |    // GL_ARB_shader_group_vote
 2308|     37|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (2308:9): [True: 1, False: 36]
  |  Branch (2308:34): [True: 1, False: 0]
  ------------------
 2309|      1|        commonBuiltins.append(
 2310|      1|            "bool anyInvocationARB(bool);"
 2311|      1|            "bool allInvocationsARB(bool);"
 2312|      1|            "bool allInvocationsEqualARB(bool);"
 2313|       |
 2314|      1|            "\n");
 2315|      1|    }
 2316|       |
 2317|       |    // GL_EXT_integer_dot_product
 2318|     37|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (2318:10): [True: 36, False: 1]
  |  Branch (2318:35): [True: 0, False: 36]
  ------------------
 2319|     37|        (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (2319:10): [True: 1, False: 36]
  |  Branch (2319:35): [True: 1, False: 0]
  ------------------
 2320|      1|        commonBuiltins.append(
 2321|       |
 2322|      1|            "uint dotEXT(uvec2 a, uvec2 b);"
 2323|      1|            "int dotEXT(ivec2 a, ivec2 b);"
 2324|      1|            "int dotEXT(ivec2 a, uvec2 b);"
 2325|      1|            "int dotEXT(uvec2 a, ivec2 b);"
 2326|       |
 2327|      1|            "uint dotEXT(uvec3 a, uvec3 b);"
 2328|      1|            "int dotEXT(ivec3 a, ivec3 b);"
 2329|      1|            "int dotEXT(ivec3 a, uvec3 b);"
 2330|      1|            "int dotEXT(uvec3 a, ivec3 b);"
 2331|       |
 2332|      1|            "uint dotEXT(uvec4 a, uvec4 b);"
 2333|      1|            "int dotEXT(ivec4 a, ivec4 b);"
 2334|      1|            "int dotEXT(ivec4 a, uvec4 b);"
 2335|      1|            "int dotEXT(uvec4 a, ivec4 b);"
 2336|       |
 2337|      1|            "uint dotPacked4x8EXT(uint a, uint b);"
 2338|      1|            "int dotPacked4x8EXT(int a, uint b);"
 2339|      1|            "int dotPacked4x8EXT(uint a, int b);"
 2340|      1|            "int dotPacked4x8EXT(int a, int b);"
 2341|       |
 2342|      1|            "uint dotEXT(u8vec2 a, u8vec2 b);"
 2343|      1|            "int dotEXT(i8vec2 a, u8vec2 b);"
 2344|      1|            "int dotEXT(u8vec2 a, i8vec2 b);"
 2345|      1|            "int dotEXT(i8vec2 a, i8vec2 b);"
 2346|       |
 2347|      1|            "uint dotEXT(u8vec3 a, u8vec3 b);"
 2348|      1|            "int dotEXT(i8vec3 a, u8vec3 b);"
 2349|      1|            "int dotEXT(u8vec3 a, i8vec3 b);"
 2350|      1|            "int dotEXT(i8vec3 a, i8vec3 b);"
 2351|       |
 2352|      1|            "uint dotEXT(u8vec4 a, u8vec4 b);"
 2353|      1|            "int dotEXT(i8vec4 a, u8vec4 b);"
 2354|      1|            "int dotEXT(u8vec4 a, i8vec4 b);"
 2355|      1|            "int dotEXT(i8vec4 a, i8vec4 b);"
 2356|       |
 2357|      1|            "uint dotEXT(u16vec2 a, u16vec2 b);"
 2358|      1|            "int dotEXT(i16vec2 a, u16vec2 b);"
 2359|      1|            "int dotEXT(u16vec2 a, i16vec2 b);"
 2360|      1|            "int dotEXT(i16vec2 a, i16vec2 b);"
 2361|       |
 2362|      1|            "uint dotEXT(u16vec3 a, u16vec3 b);"
 2363|      1|            "int dotEXT(i16vec3 a, u16vec3 b);"
 2364|      1|            "int dotEXT(u16vec3 a, i16vec3 b);"
 2365|      1|            "int dotEXT(i16vec3 a, i16vec3 b);"
 2366|       |
 2367|      1|            "uint dotEXT(u16vec4 a, u16vec4 b);"
 2368|      1|            "int dotEXT(i16vec4 a, u16vec4 b);"
 2369|      1|            "int dotEXT(u16vec4 a, i16vec4 b);"
 2370|      1|            "int dotEXT(i16vec4 a, i16vec4 b);"
 2371|       |
 2372|      1|            "uint64_t dotEXT(u64vec2 a, u64vec2 b);"
 2373|      1|            "int64_t dotEXT(i64vec2 a, u64vec2 b);"
 2374|      1|            "int64_t dotEXT(u64vec2 a, i64vec2 b);"
 2375|      1|            "int64_t dotEXT(i64vec2 a, i64vec2 b);"
 2376|       |
 2377|      1|            "uint64_t dotEXT(u64vec3 a, u64vec3 b);"
 2378|      1|            "int64_t dotEXT(i64vec3 a, u64vec3 b);"
 2379|      1|            "int64_t dotEXT(u64vec3 a, i64vec3 b);"
 2380|      1|            "int64_t dotEXT(i64vec3 a, i64vec3 b);"
 2381|       |
 2382|      1|            "uint64_t dotEXT(u64vec4 a, u64vec4 b);"
 2383|      1|            "int64_t dotEXT(i64vec4 a, u64vec4 b);"
 2384|      1|            "int64_t dotEXT(u64vec4 a, i64vec4 b);"
 2385|      1|            "int64_t dotEXT(i64vec4 a, i64vec4 b);"
 2386|       |
 2387|      1|            "uint dotAccSatEXT(uvec2 a, uvec2 b, uint c);"
 2388|      1|            "int dotAccSatEXT(ivec2 a, uvec2 b, int c);"
 2389|      1|            "int dotAccSatEXT(uvec2 a, ivec2 b, int c);"
 2390|      1|            "int dotAccSatEXT(ivec2 a, ivec2 b, int c);"
 2391|       |
 2392|      1|            "uint dotAccSatEXT(uvec3 a, uvec3 b, uint c);"
 2393|      1|            "int dotAccSatEXT(ivec3 a, uvec3 b, int c);"
 2394|      1|            "int dotAccSatEXT(uvec3 a, ivec3 b, int c);"
 2395|      1|            "int dotAccSatEXT(ivec3 a, ivec3 b, int c);"
 2396|       |
 2397|      1|            "uint dotAccSatEXT(uvec4 a, uvec4 b, uint c);"
 2398|      1|            "int dotAccSatEXT(ivec4 a, uvec4 b, int c);"
 2399|      1|            "int dotAccSatEXT(uvec4 a, ivec4 b, int c);"
 2400|      1|            "int dotAccSatEXT(ivec4 a, ivec4 b, int c);"
 2401|       |
 2402|      1|            "uint dotPacked4x8AccSatEXT(uint a, uint b, uint c);"
 2403|      1|            "int dotPacked4x8AccSatEXT(int a, uint b, int c);"
 2404|      1|            "int dotPacked4x8AccSatEXT(uint a, int b, int c);"
 2405|      1|            "int dotPacked4x8AccSatEXT(int a, int b, int c);"
 2406|       |
 2407|      1|            "uint dotAccSatEXT(u8vec2 a, u8vec2 b, uint c);"
 2408|      1|            "int dotAccSatEXT(i8vec2 a, u8vec2 b, int c);"
 2409|      1|            "int dotAccSatEXT(u8vec2 a, i8vec2 b, int c);"
 2410|      1|            "int dotAccSatEXT(i8vec2 a, i8vec2 b, int c);"
 2411|       |
 2412|      1|            "uint dotAccSatEXT(u8vec3 a, u8vec3 b, uint c);"
 2413|      1|            "int dotAccSatEXT(i8vec3 a, u8vec3 b, int c);"
 2414|      1|            "int dotAccSatEXT(u8vec3 a, i8vec3 b, int c);"
 2415|      1|            "int dotAccSatEXT(i8vec3 a, i8vec3 b, int c);"
 2416|       |
 2417|      1|            "uint dotAccSatEXT(u8vec4 a, u8vec4 b, uint c);"
 2418|      1|            "int dotAccSatEXT(i8vec4 a, u8vec4 b, int c);"
 2419|      1|            "int dotAccSatEXT(u8vec4 a, i8vec4 b, int c);"
 2420|      1|            "int dotAccSatEXT(i8vec4 a, i8vec4 b, int c);"
 2421|       |
 2422|      1|            "uint dotAccSatEXT(u16vec2 a, u16vec2 b, uint c);"
 2423|      1|            "int dotAccSatEXT(i16vec2 a, u16vec2 b, int c);"
 2424|      1|            "int dotAccSatEXT(u16vec2 a, i16vec2 b, int c);"
 2425|      1|            "int dotAccSatEXT(i16vec2 a, i16vec2 b, int c);"
 2426|       |
 2427|      1|            "uint dotAccSatEXT(u16vec3 a, u16vec3 b, uint c);"
 2428|      1|            "int dotAccSatEXT(i16vec3 a, u16vec3 b, int c);"
 2429|      1|            "int dotAccSatEXT(u16vec3 a, i16vec3 b, int c);"
 2430|      1|            "int dotAccSatEXT(i16vec3 a, i16vec3 b, int c);"
 2431|       |
 2432|      1|            "uint dotAccSatEXT(u16vec4 a, u16vec4 b, uint c);"
 2433|      1|            "int dotAccSatEXT(i16vec4 a, u16vec4 b, int c);"
 2434|      1|            "int dotAccSatEXT(u16vec4 a, i16vec4 b, int c);"
 2435|      1|            "int dotAccSatEXT(i16vec4 a, i16vec4 b, int c);"
 2436|       |
 2437|      1|            "uint64_t dotAccSatEXT(u64vec2 a, u64vec2 b, uint64_t c);"
 2438|      1|            "int64_t dotAccSatEXT(i64vec2 a, u64vec2 b, int64_t c);"
 2439|      1|            "int64_t dotAccSatEXT(u64vec2 a, i64vec2 b, int64_t c);"
 2440|      1|            "int64_t dotAccSatEXT(i64vec2 a, i64vec2 b, int64_t c);"
 2441|       |
 2442|      1|            "uint64_t dotAccSatEXT(u64vec3 a, u64vec3 b, uint64_t c);"
 2443|      1|            "int64_t dotAccSatEXT(i64vec3 a, u64vec3 b, int64_t c);"
 2444|      1|            "int64_t dotAccSatEXT(u64vec3 a, i64vec3 b, int64_t c);"
 2445|      1|            "int64_t dotAccSatEXT(i64vec3 a, i64vec3 b, int64_t c);"
 2446|       |
 2447|      1|            "uint64_t dotAccSatEXT(u64vec4 a, u64vec4 b, uint64_t c);"
 2448|      1|            "int64_t dotAccSatEXT(i64vec4 a, u64vec4 b, int64_t c);"
 2449|      1|            "int64_t dotAccSatEXT(u64vec4 a, i64vec4 b, int64_t c);"
 2450|      1|            "int64_t dotAccSatEXT(i64vec4 a, i64vec4 b, int64_t c);"
 2451|      1|            "\n");
 2452|      1|    }
 2453|       |
 2454|       |    // GL_KHR_shader_subgroup
 2455|     37|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2455:10): [True: 36, False: 1]
  |  Branch (2455:35): [True: 0, False: 36]
  ------------------
 2456|     37|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (2456:10): [True: 1, False: 36]
  |  Branch (2456:35): [True: 1, False: 0]
  ------------------
 2457|      1|        commonBuiltins.append(
 2458|      1|            "void subgroupBarrier();"
 2459|      1|            "void subgroupMemoryBarrier();"
 2460|      1|            "void subgroupMemoryBarrierBuffer();"
 2461|      1|            "void subgroupMemoryBarrierImage();"
 2462|      1|            "bool subgroupElect();"
 2463|       |
 2464|      1|            "bool   subgroupAll(bool);\n"
 2465|      1|            "bool   subgroupAny(bool);\n"
 2466|      1|            "uvec4  subgroupBallot(bool);\n"
 2467|      1|            "bool   subgroupInverseBallot(uvec4);\n"
 2468|      1|            "bool   subgroupBallotBitExtract(uvec4, uint);\n"
 2469|      1|            "uint   subgroupBallotBitCount(uvec4);\n"
 2470|      1|            "uint   subgroupBallotInclusiveBitCount(uvec4);\n"
 2471|      1|            "uint   subgroupBallotExclusiveBitCount(uvec4);\n"
 2472|      1|            "uint   subgroupBallotFindLSB(uvec4);\n"
 2473|      1|            "uint   subgroupBallotFindMSB(uvec4);\n"
 2474|      1|            );
 2475|       |
 2476|       |        // Generate all flavors of subgroup ops.
 2477|      1|        static const char *subgroupOps[] =
 2478|      1|        {
 2479|      1|            "bool   subgroupAllEqual(%s);\n",
 2480|      1|            "%s     subgroupBroadcast(%s, uint);\n",
 2481|      1|            "%s     subgroupBroadcastFirst(%s);\n",
 2482|      1|            "%s     subgroupShuffle(%s, uint);\n",
 2483|      1|            "%s     subgroupShuffleXor(%s, uint);\n",
 2484|      1|            "%s     subgroupShuffleUp(%s, uint delta);\n",
 2485|      1|            "%s     subgroupShuffleDown(%s, uint delta);\n",
 2486|      1|            "%s     subgroupRotate(%s, uint);\n",
 2487|      1|            "%s     subgroupClusteredRotate(%s, uint, uint);\n",
 2488|      1|            "%s     subgroupAdd(%s);\n",
 2489|      1|            "%s     subgroupMul(%s);\n",
 2490|      1|            "%s     subgroupMin(%s);\n",
 2491|      1|            "%s     subgroupMax(%s);\n",
 2492|      1|            "%s     subgroupAnd(%s);\n",
 2493|      1|            "%s     subgroupOr(%s);\n",
 2494|      1|            "%s     subgroupXor(%s);\n",
 2495|      1|            "%s     subgroupInclusiveAdd(%s);\n",
 2496|      1|            "%s     subgroupInclusiveMul(%s);\n",
 2497|      1|            "%s     subgroupInclusiveMin(%s);\n",
 2498|      1|            "%s     subgroupInclusiveMax(%s);\n",
 2499|      1|            "%s     subgroupInclusiveAnd(%s);\n",
 2500|      1|            "%s     subgroupInclusiveOr(%s);\n",
 2501|      1|            "%s     subgroupInclusiveXor(%s);\n",
 2502|      1|            "%s     subgroupExclusiveAdd(%s);\n",
 2503|      1|            "%s     subgroupExclusiveMul(%s);\n",
 2504|      1|            "%s     subgroupExclusiveMin(%s);\n",
 2505|      1|            "%s     subgroupExclusiveMax(%s);\n",
 2506|      1|            "%s     subgroupExclusiveAnd(%s);\n",
 2507|      1|            "%s     subgroupExclusiveOr(%s);\n",
 2508|      1|            "%s     subgroupExclusiveXor(%s);\n",
 2509|      1|            "%s     subgroupClusteredAdd(%s, uint);\n",
 2510|      1|            "%s     subgroupClusteredMul(%s, uint);\n",
 2511|      1|            "%s     subgroupClusteredMin(%s, uint);\n",
 2512|      1|            "%s     subgroupClusteredMax(%s, uint);\n",
 2513|      1|            "%s     subgroupClusteredAnd(%s, uint);\n",
 2514|      1|            "%s     subgroupClusteredOr(%s, uint);\n",
 2515|      1|            "%s     subgroupClusteredXor(%s, uint);\n",
 2516|      1|            "%s     subgroupQuadBroadcast(%s, uint);\n",
 2517|      1|            "%s     subgroupQuadSwapHorizontal(%s);\n",
 2518|      1|            "%s     subgroupQuadSwapVertical(%s);\n",
 2519|      1|            "%s     subgroupQuadSwapDiagonal(%s);\n",
 2520|      1|            "uvec4  subgroupPartitionNV(%s);\n",
 2521|      1|            "%s     subgroupPartitionedAddNV(%s, uvec4 ballot);\n",
 2522|      1|            "%s     subgroupPartitionedMulNV(%s, uvec4 ballot);\n",
 2523|      1|            "%s     subgroupPartitionedMinNV(%s, uvec4 ballot);\n",
 2524|      1|            "%s     subgroupPartitionedMaxNV(%s, uvec4 ballot);\n",
 2525|      1|            "%s     subgroupPartitionedAndNV(%s, uvec4 ballot);\n",
 2526|      1|            "%s     subgroupPartitionedOrNV(%s, uvec4 ballot);\n",
 2527|      1|            "%s     subgroupPartitionedXorNV(%s, uvec4 ballot);\n",
 2528|      1|            "%s     subgroupPartitionedInclusiveAddNV(%s, uvec4 ballot);\n",
 2529|      1|            "%s     subgroupPartitionedInclusiveMulNV(%s, uvec4 ballot);\n",
 2530|      1|            "%s     subgroupPartitionedInclusiveMinNV(%s, uvec4 ballot);\n",
 2531|      1|            "%s     subgroupPartitionedInclusiveMaxNV(%s, uvec4 ballot);\n",
 2532|      1|            "%s     subgroupPartitionedInclusiveAndNV(%s, uvec4 ballot);\n",
 2533|      1|            "%s     subgroupPartitionedInclusiveOrNV(%s, uvec4 ballot);\n",
 2534|      1|            "%s     subgroupPartitionedInclusiveXorNV(%s, uvec4 ballot);\n",
 2535|      1|            "%s     subgroupPartitionedExclusiveAddNV(%s, uvec4 ballot);\n",
 2536|      1|            "%s     subgroupPartitionedExclusiveMulNV(%s, uvec4 ballot);\n",
 2537|      1|            "%s     subgroupPartitionedExclusiveMinNV(%s, uvec4 ballot);\n",
 2538|      1|            "%s     subgroupPartitionedExclusiveMaxNV(%s, uvec4 ballot);\n",
 2539|      1|            "%s     subgroupPartitionedExclusiveAndNV(%s, uvec4 ballot);\n",
 2540|      1|            "%s     subgroupPartitionedExclusiveOrNV(%s, uvec4 ballot);\n",
 2541|      1|            "%s     subgroupPartitionedExclusiveXorNV(%s, uvec4 ballot);\n",
 2542|      1|        };
 2543|       |
 2544|      1|        static const char *floatTypes[] = {
 2545|      1|            "float", "vec2", "vec3", "vec4",
 2546|      1|            "float16_t", "f16vec2", "f16vec3", "f16vec4",
 2547|      1|        };
 2548|      1|        static const char *doubleTypes[] = {
 2549|      1|            "double", "dvec2", "dvec3", "dvec4",
 2550|      1|        };
 2551|      1|        static const char *intTypes[] = {
 2552|      1|            "int8_t", "i8vec2", "i8vec3", "i8vec4",
 2553|      1|            "int16_t", "i16vec2", "i16vec3", "i16vec4",
 2554|      1|            "int", "ivec2", "ivec3", "ivec4",
 2555|      1|            "int64_t", "i64vec2", "i64vec3", "i64vec4",
 2556|      1|            "uint8_t", "u8vec2", "u8vec3", "u8vec4",
 2557|      1|            "uint16_t", "u16vec2", "u16vec3", "u16vec4",
 2558|      1|            "uint", "uvec2", "uvec3", "uvec4",
 2559|      1|            "uint64_t", "u64vec2", "u64vec3", "u64vec4",
 2560|      1|        };
 2561|      1|        static const char *boolTypes[] = {
 2562|      1|            "bool", "bvec2", "bvec3", "bvec4",
 2563|      1|        };
 2564|       |
 2565|     64|        for (size_t i = 0; i < sizeof(subgroupOps)/sizeof(subgroupOps[0]); ++i) {
  ------------------
  |  Branch (2565:28): [True: 63, False: 1]
  ------------------
 2566|     63|            const char *op = subgroupOps[i];
 2567|       |
 2568|       |            // Logical operations don't support float
 2569|     63|            bool logicalOp = strstr(op, "Or") || strstr(op, "And") ||
  ------------------
  |  Branch (2569:30): [True: 7, False: 56]
  |  Branch (2569:50): [True: 7, False: 49]
  ------------------
 2570|     49|                             (strstr(op, "Xor") && !strstr(op, "ShuffleXor"));
  ------------------
  |  Branch (2570:31): [True: 8, False: 41]
  |  Branch (2570:52): [True: 7, False: 1]
  ------------------
 2571|       |            // Math operations don't support bool
 2572|     63|            bool mathOp = strstr(op, "Add") || strstr(op, "Mul") || strstr(op, "Min") || strstr(op, "Max");
  ------------------
  |  Branch (2572:27): [True: 7, False: 56]
  |  Branch (2572:48): [True: 7, False: 49]
  |  Branch (2572:69): [True: 7, False: 42]
  |  Branch (2572:90): [True: 7, False: 35]
  ------------------
 2573|       |
 2574|     63|            const int bufSize = 256;
 2575|     63|            char buf[bufSize];
 2576|       |
 2577|     63|            if (!logicalOp) {
  ------------------
  |  Branch (2577:17): [True: 42, False: 21]
  ------------------
 2578|    378|                for (size_t j = 0; j < sizeof(floatTypes)/sizeof(floatTypes[0]); ++j) {
  ------------------
  |  Branch (2578:36): [True: 336, False: 42]
  ------------------
 2579|    336|                    snprintf(buf, bufSize, op, floatTypes[j], floatTypes[j]);
 2580|    336|                    commonBuiltins.append(buf);
 2581|    336|                }
 2582|     42|                if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (2582:21): [True: 42, False: 0]
  |  Branch (2582:46): [True: 42, False: 0]
  ------------------
 2583|    210|                    for (size_t j = 0; j < sizeof(doubleTypes)/sizeof(doubleTypes[0]); ++j) {
  ------------------
  |  Branch (2583:40): [True: 168, False: 42]
  ------------------
 2584|    168|                        snprintf(buf, bufSize, op, doubleTypes[j], doubleTypes[j]);
 2585|    168|                        commonBuiltins.append(buf);
 2586|    168|                    }
 2587|     42|                }
 2588|     42|            }
 2589|     63|            if (!mathOp) {
  ------------------
  |  Branch (2589:17): [True: 35, False: 28]
  ------------------
 2590|    175|                for (size_t j = 0; j < sizeof(boolTypes)/sizeof(boolTypes[0]); ++j) {
  ------------------
  |  Branch (2590:36): [True: 140, False: 35]
  ------------------
 2591|    140|                    snprintf(buf, bufSize, op, boolTypes[j], boolTypes[j]);
 2592|    140|                    commonBuiltins.append(buf);
 2593|    140|                }
 2594|     35|            }
 2595|  2.07k|            for (size_t j = 0; j < sizeof(intTypes)/sizeof(intTypes[0]); ++j) {
  ------------------
  |  Branch (2595:32): [True: 2.01k, False: 63]
  ------------------
 2596|  2.01k|                snprintf(buf, bufSize, op, intTypes[j], intTypes[j]);
 2597|  2.01k|                commonBuiltins.append(buf);
 2598|  2.01k|            }
 2599|     63|            snprintf(buf, bufSize, op, "vector", "vector");
 2600|     63|            commonBuiltins.append(buf);
 2601|     63|        }
 2602|       |
 2603|      1|        stageBuiltins[EShLangCompute].append(
 2604|      1|            "void subgroupMemoryBarrierShared();"
 2605|       |
 2606|      1|            "\n"
 2607|      1|            );
 2608|      1|        stageBuiltins[EShLangMesh].append(
 2609|      1|            "void subgroupMemoryBarrierShared();"
 2610|      1|            "\n"
 2611|      1|            );
 2612|      1|        stageBuiltins[EShLangTask].append(
 2613|      1|            "void subgroupMemoryBarrierShared();"
 2614|      1|            "\n"
 2615|      1|            );
 2616|      1|    }
 2617|       |
 2618|       |    // GL_EXT_shader_quad_control
 2619|     37|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2619:10): [True: 36, False: 1]
  |  Branch (2619:35): [True: 0, False: 36]
  ------------------
 2620|     37|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (2620:10): [True: 1, False: 36]
  |  Branch (2620:35): [True: 1, False: 0]
  ------------------
 2621|      1|        commonBuiltins.append(
 2622|      1|            "bool subgroupQuadAll(bool);\n"
 2623|      1|            "bool subgroupQuadAny(bool);\n"
 2624|      1|            );
 2625|      1|    }
 2626|       |
 2627|     37|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (2627:9): [True: 1, False: 36]
  |  Branch (2627:34): [True: 0, False: 1]
  ------------------
 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|     37|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (2637:9): [True: 1, False: 36]
  |  Branch (2637:34): [True: 1, False: 0]
  ------------------
 2638|      1|        commonBuiltins.append(
 2639|      1|            "float minInvocationsAMD(float);"
 2640|      1|            "vec2  minInvocationsAMD(vec2);"
 2641|      1|            "vec3  minInvocationsAMD(vec3);"
 2642|      1|            "vec4  minInvocationsAMD(vec4);"
 2643|       |
 2644|      1|            "int   minInvocationsAMD(int);"
 2645|      1|            "ivec2 minInvocationsAMD(ivec2);"
 2646|      1|            "ivec3 minInvocationsAMD(ivec3);"
 2647|      1|            "ivec4 minInvocationsAMD(ivec4);"
 2648|       |
 2649|      1|            "uint  minInvocationsAMD(uint);"
 2650|      1|            "uvec2 minInvocationsAMD(uvec2);"
 2651|      1|            "uvec3 minInvocationsAMD(uvec3);"
 2652|      1|            "uvec4 minInvocationsAMD(uvec4);"
 2653|       |
 2654|      1|            "double minInvocationsAMD(double);"
 2655|      1|            "dvec2  minInvocationsAMD(dvec2);"
 2656|      1|            "dvec3  minInvocationsAMD(dvec3);"
 2657|      1|            "dvec4  minInvocationsAMD(dvec4);"
 2658|       |
 2659|      1|            "int64_t minInvocationsAMD(int64_t);"
 2660|      1|            "i64vec2 minInvocationsAMD(i64vec2);"
 2661|      1|            "i64vec3 minInvocationsAMD(i64vec3);"
 2662|      1|            "i64vec4 minInvocationsAMD(i64vec4);"
 2663|       |
 2664|      1|            "uint64_t minInvocationsAMD(uint64_t);"
 2665|      1|            "u64vec2  minInvocationsAMD(u64vec2);"
 2666|      1|            "u64vec3  minInvocationsAMD(u64vec3);"
 2667|      1|            "u64vec4  minInvocationsAMD(u64vec4);"
 2668|       |
 2669|      1|            "float16_t minInvocationsAMD(float16_t);"
 2670|      1|            "f16vec2   minInvocationsAMD(f16vec2);"
 2671|      1|            "f16vec3   minInvocationsAMD(f16vec3);"
 2672|      1|            "f16vec4   minInvocationsAMD(f16vec4);"
 2673|       |
 2674|      1|            "int16_t minInvocationsAMD(int16_t);"
 2675|      1|            "i16vec2 minInvocationsAMD(i16vec2);"
 2676|      1|            "i16vec3 minInvocationsAMD(i16vec3);"
 2677|      1|            "i16vec4 minInvocationsAMD(i16vec4);"
 2678|       |
 2679|      1|            "uint16_t minInvocationsAMD(uint16_t);"
 2680|      1|            "u16vec2  minInvocationsAMD(u16vec2);"
 2681|      1|            "u16vec3  minInvocationsAMD(u16vec3);"
 2682|      1|            "u16vec4  minInvocationsAMD(u16vec4);"
 2683|       |
 2684|      1|            "float minInvocationsInclusiveScanAMD(float);"
 2685|      1|            "vec2  minInvocationsInclusiveScanAMD(vec2);"
 2686|      1|            "vec3  minInvocationsInclusiveScanAMD(vec3);"
 2687|      1|            "vec4  minInvocationsInclusiveScanAMD(vec4);"
 2688|       |
 2689|      1|            "int   minInvocationsInclusiveScanAMD(int);"
 2690|      1|            "ivec2 minInvocationsInclusiveScanAMD(ivec2);"
 2691|      1|            "ivec3 minInvocationsInclusiveScanAMD(ivec3);"
 2692|      1|            "ivec4 minInvocationsInclusiveScanAMD(ivec4);"
 2693|       |
 2694|      1|            "uint  minInvocationsInclusiveScanAMD(uint);"
 2695|      1|            "uvec2 minInvocationsInclusiveScanAMD(uvec2);"
 2696|      1|            "uvec3 minInvocationsInclusiveScanAMD(uvec3);"
 2697|      1|            "uvec4 minInvocationsInclusiveScanAMD(uvec4);"
 2698|       |
 2699|      1|            "double minInvocationsInclusiveScanAMD(double);"
 2700|      1|            "dvec2  minInvocationsInclusiveScanAMD(dvec2);"
 2701|      1|            "dvec3  minInvocationsInclusiveScanAMD(dvec3);"
 2702|      1|            "dvec4  minInvocationsInclusiveScanAMD(dvec4);"
 2703|       |
 2704|      1|            "int64_t minInvocationsInclusiveScanAMD(int64_t);"
 2705|      1|            "i64vec2 minInvocationsInclusiveScanAMD(i64vec2);"
 2706|      1|            "i64vec3 minInvocationsInclusiveScanAMD(i64vec3);"
 2707|      1|            "i64vec4 minInvocationsInclusiveScanAMD(i64vec4);"
 2708|       |
 2709|      1|            "uint64_t minInvocationsInclusiveScanAMD(uint64_t);"
 2710|      1|            "u64vec2  minInvocationsInclusiveScanAMD(u64vec2);"
 2711|      1|            "u64vec3  minInvocationsInclusiveScanAMD(u64vec3);"
 2712|      1|            "u64vec4  minInvocationsInclusiveScanAMD(u64vec4);"
 2713|       |
 2714|      1|            "float16_t minInvocationsInclusiveScanAMD(float16_t);"
 2715|      1|            "f16vec2   minInvocationsInclusiveScanAMD(f16vec2);"
 2716|      1|            "f16vec3   minInvocationsInclusiveScanAMD(f16vec3);"
 2717|      1|            "f16vec4   minInvocationsInclusiveScanAMD(f16vec4);"
 2718|       |
 2719|      1|            "int16_t minInvocationsInclusiveScanAMD(int16_t);"
 2720|      1|            "i16vec2 minInvocationsInclusiveScanAMD(i16vec2);"
 2721|      1|            "i16vec3 minInvocationsInclusiveScanAMD(i16vec3);"
 2722|      1|            "i16vec4 minInvocationsInclusiveScanAMD(i16vec4);"
 2723|       |
 2724|      1|            "uint16_t minInvocationsInclusiveScanAMD(uint16_t);"
 2725|      1|            "u16vec2  minInvocationsInclusiveScanAMD(u16vec2);"
 2726|      1|            "u16vec3  minInvocationsInclusiveScanAMD(u16vec3);"
 2727|      1|            "u16vec4  minInvocationsInclusiveScanAMD(u16vec4);"
 2728|       |
 2729|      1|            "float minInvocationsExclusiveScanAMD(float);"
 2730|      1|            "vec2  minInvocationsExclusiveScanAMD(vec2);"
 2731|      1|            "vec3  minInvocationsExclusiveScanAMD(vec3);"
 2732|      1|            "vec4  minInvocationsExclusiveScanAMD(vec4);"
 2733|       |
 2734|      1|            "int   minInvocationsExclusiveScanAMD(int);"
 2735|      1|            "ivec2 minInvocationsExclusiveScanAMD(ivec2);"
 2736|      1|            "ivec3 minInvocationsExclusiveScanAMD(ivec3);"
 2737|      1|            "ivec4 minInvocationsExclusiveScanAMD(ivec4);"
 2738|       |
 2739|      1|            "uint  minInvocationsExclusiveScanAMD(uint);"
 2740|      1|            "uvec2 minInvocationsExclusiveScanAMD(uvec2);"
 2741|      1|            "uvec3 minInvocationsExclusiveScanAMD(uvec3);"
 2742|      1|            "uvec4 minInvocationsExclusiveScanAMD(uvec4);"
 2743|       |
 2744|      1|            "double minInvocationsExclusiveScanAMD(double);"
 2745|      1|            "dvec2  minInvocationsExclusiveScanAMD(dvec2);"
 2746|      1|            "dvec3  minInvocationsExclusiveScanAMD(dvec3);"
 2747|      1|            "dvec4  minInvocationsExclusiveScanAMD(dvec4);"
 2748|       |
 2749|      1|            "int64_t minInvocationsExclusiveScanAMD(int64_t);"
 2750|      1|            "i64vec2 minInvocationsExclusiveScanAMD(i64vec2);"
 2751|      1|            "i64vec3 minInvocationsExclusiveScanAMD(i64vec3);"
 2752|      1|            "i64vec4 minInvocationsExclusiveScanAMD(i64vec4);"
 2753|       |
 2754|      1|            "uint64_t minInvocationsExclusiveScanAMD(uint64_t);"
 2755|      1|            "u64vec2  minInvocationsExclusiveScanAMD(u64vec2);"
 2756|      1|            "u64vec3  minInvocationsExclusiveScanAMD(u64vec3);"
 2757|      1|            "u64vec4  minInvocationsExclusiveScanAMD(u64vec4);"
 2758|       |
 2759|      1|            "float16_t minInvocationsExclusiveScanAMD(float16_t);"
 2760|      1|            "f16vec2   minInvocationsExclusiveScanAMD(f16vec2);"
 2761|      1|            "f16vec3   minInvocationsExclusiveScanAMD(f16vec3);"
 2762|      1|            "f16vec4   minInvocationsExclusiveScanAMD(f16vec4);"
 2763|       |
 2764|      1|            "int16_t minInvocationsExclusiveScanAMD(int16_t);"
 2765|      1|            "i16vec2 minInvocationsExclusiveScanAMD(i16vec2);"
 2766|      1|            "i16vec3 minInvocationsExclusiveScanAMD(i16vec3);"
 2767|      1|            "i16vec4 minInvocationsExclusiveScanAMD(i16vec4);"
 2768|       |
 2769|      1|            "uint16_t minInvocationsExclusiveScanAMD(uint16_t);"
 2770|      1|            "u16vec2  minInvocationsExclusiveScanAMD(u16vec2);"
 2771|      1|            "u16vec3  minInvocationsExclusiveScanAMD(u16vec3);"
 2772|      1|            "u16vec4  minInvocationsExclusiveScanAMD(u16vec4);"
 2773|       |
 2774|      1|            "float maxInvocationsAMD(float);"
 2775|      1|            "vec2  maxInvocationsAMD(vec2);"
 2776|      1|            "vec3  maxInvocationsAMD(vec3);"
 2777|      1|            "vec4  maxInvocationsAMD(vec4);"
 2778|       |
 2779|      1|            "int   maxInvocationsAMD(int);"
 2780|      1|            "ivec2 maxInvocationsAMD(ivec2);"
 2781|      1|            "ivec3 maxInvocationsAMD(ivec3);"
 2782|      1|            "ivec4 maxInvocationsAMD(ivec4);"
 2783|       |
 2784|      1|            "uint  maxInvocationsAMD(uint);"
 2785|      1|            "uvec2 maxInvocationsAMD(uvec2);"
 2786|      1|            "uvec3 maxInvocationsAMD(uvec3);"
 2787|      1|            "uvec4 maxInvocationsAMD(uvec4);"
 2788|       |
 2789|      1|            "double maxInvocationsAMD(double);"
 2790|      1|            "dvec2  maxInvocationsAMD(dvec2);"
 2791|      1|            "dvec3  maxInvocationsAMD(dvec3);"
 2792|      1|            "dvec4  maxInvocationsAMD(dvec4);"
 2793|       |
 2794|      1|            "int64_t maxInvocationsAMD(int64_t);"
 2795|      1|            "i64vec2 maxInvocationsAMD(i64vec2);"
 2796|      1|            "i64vec3 maxInvocationsAMD(i64vec3);"
 2797|      1|            "i64vec4 maxInvocationsAMD(i64vec4);"
 2798|       |
 2799|      1|            "uint64_t maxInvocationsAMD(uint64_t);"
 2800|      1|            "u64vec2  maxInvocationsAMD(u64vec2);"
 2801|      1|            "u64vec3  maxInvocationsAMD(u64vec3);"
 2802|      1|            "u64vec4  maxInvocationsAMD(u64vec4);"
 2803|       |
 2804|      1|            "float16_t maxInvocationsAMD(float16_t);"
 2805|      1|            "f16vec2   maxInvocationsAMD(f16vec2);"
 2806|      1|            "f16vec3   maxInvocationsAMD(f16vec3);"
 2807|      1|            "f16vec4   maxInvocationsAMD(f16vec4);"
 2808|       |
 2809|      1|            "int16_t maxInvocationsAMD(int16_t);"
 2810|      1|            "i16vec2 maxInvocationsAMD(i16vec2);"
 2811|      1|            "i16vec3 maxInvocationsAMD(i16vec3);"
 2812|      1|            "i16vec4 maxInvocationsAMD(i16vec4);"
 2813|       |
 2814|      1|            "uint16_t maxInvocationsAMD(uint16_t);"
 2815|      1|            "u16vec2  maxInvocationsAMD(u16vec2);"
 2816|      1|            "u16vec3  maxInvocationsAMD(u16vec3);"
 2817|      1|            "u16vec4  maxInvocationsAMD(u16vec4);"
 2818|       |
 2819|      1|            "float maxInvocationsInclusiveScanAMD(float);"
 2820|      1|            "vec2  maxInvocationsInclusiveScanAMD(vec2);"
 2821|      1|            "vec3  maxInvocationsInclusiveScanAMD(vec3);"
 2822|      1|            "vec4  maxInvocationsInclusiveScanAMD(vec4);"
 2823|       |
 2824|      1|            "int   maxInvocationsInclusiveScanAMD(int);"
 2825|      1|            "ivec2 maxInvocationsInclusiveScanAMD(ivec2);"
 2826|      1|            "ivec3 maxInvocationsInclusiveScanAMD(ivec3);"
 2827|      1|            "ivec4 maxInvocationsInclusiveScanAMD(ivec4);"
 2828|       |
 2829|      1|            "uint  maxInvocationsInclusiveScanAMD(uint);"
 2830|      1|            "uvec2 maxInvocationsInclusiveScanAMD(uvec2);"
 2831|      1|            "uvec3 maxInvocationsInclusiveScanAMD(uvec3);"
 2832|      1|            "uvec4 maxInvocationsInclusiveScanAMD(uvec4);"
 2833|       |
 2834|      1|            "double maxInvocationsInclusiveScanAMD(double);"
 2835|      1|            "dvec2  maxInvocationsInclusiveScanAMD(dvec2);"
 2836|      1|            "dvec3  maxInvocationsInclusiveScanAMD(dvec3);"
 2837|      1|            "dvec4  maxInvocationsInclusiveScanAMD(dvec4);"
 2838|       |
 2839|      1|            "int64_t maxInvocationsInclusiveScanAMD(int64_t);"
 2840|      1|            "i64vec2 maxInvocationsInclusiveScanAMD(i64vec2);"
 2841|      1|            "i64vec3 maxInvocationsInclusiveScanAMD(i64vec3);"
 2842|      1|            "i64vec4 maxInvocationsInclusiveScanAMD(i64vec4);"
 2843|       |
 2844|      1|            "uint64_t maxInvocationsInclusiveScanAMD(uint64_t);"
 2845|      1|            "u64vec2  maxInvocationsInclusiveScanAMD(u64vec2);"
 2846|      1|            "u64vec3  maxInvocationsInclusiveScanAMD(u64vec3);"
 2847|      1|            "u64vec4  maxInvocationsInclusiveScanAMD(u64vec4);"
 2848|       |
 2849|      1|            "float16_t maxInvocationsInclusiveScanAMD(float16_t);"
 2850|      1|            "f16vec2   maxInvocationsInclusiveScanAMD(f16vec2);"
 2851|      1|            "f16vec3   maxInvocationsInclusiveScanAMD(f16vec3);"
 2852|      1|            "f16vec4   maxInvocationsInclusiveScanAMD(f16vec4);"
 2853|       |
 2854|      1|            "int16_t maxInvocationsInclusiveScanAMD(int16_t);"
 2855|      1|            "i16vec2 maxInvocationsInclusiveScanAMD(i16vec2);"
 2856|      1|            "i16vec3 maxInvocationsInclusiveScanAMD(i16vec3);"
 2857|      1|            "i16vec4 maxInvocationsInclusiveScanAMD(i16vec4);"
 2858|       |
 2859|      1|            "uint16_t maxInvocationsInclusiveScanAMD(uint16_t);"
 2860|      1|            "u16vec2  maxInvocationsInclusiveScanAMD(u16vec2);"
 2861|      1|            "u16vec3  maxInvocationsInclusiveScanAMD(u16vec3);"
 2862|      1|            "u16vec4  maxInvocationsInclusiveScanAMD(u16vec4);"
 2863|       |
 2864|      1|            "float maxInvocationsExclusiveScanAMD(float);"
 2865|      1|            "vec2  maxInvocationsExclusiveScanAMD(vec2);"
 2866|      1|            "vec3  maxInvocationsExclusiveScanAMD(vec3);"
 2867|      1|            "vec4  maxInvocationsExclusiveScanAMD(vec4);"
 2868|       |
 2869|      1|            "int   maxInvocationsExclusiveScanAMD(int);"
 2870|      1|            "ivec2 maxInvocationsExclusiveScanAMD(ivec2);"
 2871|      1|            "ivec3 maxInvocationsExclusiveScanAMD(ivec3);"
 2872|      1|            "ivec4 maxInvocationsExclusiveScanAMD(ivec4);"
 2873|       |
 2874|      1|            "uint  maxInvocationsExclusiveScanAMD(uint);"
 2875|      1|            "uvec2 maxInvocationsExclusiveScanAMD(uvec2);"
 2876|      1|            "uvec3 maxInvocationsExclusiveScanAMD(uvec3);"
 2877|      1|            "uvec4 maxInvocationsExclusiveScanAMD(uvec4);"
 2878|       |
 2879|      1|            "double maxInvocationsExclusiveScanAMD(double);"
 2880|      1|            "dvec2  maxInvocationsExclusiveScanAMD(dvec2);"
 2881|      1|            "dvec3  maxInvocationsExclusiveScanAMD(dvec3);"
 2882|      1|            "dvec4  maxInvocationsExclusiveScanAMD(dvec4);"
 2883|       |
 2884|      1|            "int64_t maxInvocationsExclusiveScanAMD(int64_t);"
 2885|      1|            "i64vec2 maxInvocationsExclusiveScanAMD(i64vec2);"
 2886|      1|            "i64vec3 maxInvocationsExclusiveScanAMD(i64vec3);"
 2887|      1|            "i64vec4 maxInvocationsExclusiveScanAMD(i64vec4);"
 2888|       |
 2889|      1|            "uint64_t maxInvocationsExclusiveScanAMD(uint64_t);"
 2890|      1|            "u64vec2  maxInvocationsExclusiveScanAMD(u64vec2);"
 2891|      1|            "u64vec3  maxInvocationsExclusiveScanAMD(u64vec3);"
 2892|      1|            "u64vec4  maxInvocationsExclusiveScanAMD(u64vec4);"
 2893|       |
 2894|      1|            "float16_t maxInvocationsExclusiveScanAMD(float16_t);"
 2895|      1|            "f16vec2   maxInvocationsExclusiveScanAMD(f16vec2);"
 2896|      1|            "f16vec3   maxInvocationsExclusiveScanAMD(f16vec3);"
 2897|      1|            "f16vec4   maxInvocationsExclusiveScanAMD(f16vec4);"
 2898|       |
 2899|      1|            "int16_t maxInvocationsExclusiveScanAMD(int16_t);"
 2900|      1|            "i16vec2 maxInvocationsExclusiveScanAMD(i16vec2);"
 2901|      1|            "i16vec3 maxInvocationsExclusiveScanAMD(i16vec3);"
 2902|      1|            "i16vec4 maxInvocationsExclusiveScanAMD(i16vec4);"
 2903|       |
 2904|      1|            "uint16_t maxInvocationsExclusiveScanAMD(uint16_t);"
 2905|      1|            "u16vec2  maxInvocationsExclusiveScanAMD(u16vec2);"
 2906|      1|            "u16vec3  maxInvocationsExclusiveScanAMD(u16vec3);"
 2907|      1|            "u16vec4  maxInvocationsExclusiveScanAMD(u16vec4);"
 2908|       |
 2909|      1|            "float addInvocationsAMD(float);"
 2910|      1|            "vec2  addInvocationsAMD(vec2);"
 2911|      1|            "vec3  addInvocationsAMD(vec3);"
 2912|      1|            "vec4  addInvocationsAMD(vec4);"
 2913|       |
 2914|      1|            "int   addInvocationsAMD(int);"
 2915|      1|            "ivec2 addInvocationsAMD(ivec2);"
 2916|      1|            "ivec3 addInvocationsAMD(ivec3);"
 2917|      1|            "ivec4 addInvocationsAMD(ivec4);"
 2918|       |
 2919|      1|            "uint  addInvocationsAMD(uint);"
 2920|      1|            "uvec2 addInvocationsAMD(uvec2);"
 2921|      1|            "uvec3 addInvocationsAMD(uvec3);"
 2922|      1|            "uvec4 addInvocationsAMD(uvec4);"
 2923|       |
 2924|      1|            "double  addInvocationsAMD(double);"
 2925|      1|            "dvec2   addInvocationsAMD(dvec2);"
 2926|      1|            "dvec3   addInvocationsAMD(dvec3);"
 2927|      1|            "dvec4   addInvocationsAMD(dvec4);"
 2928|       |
 2929|      1|            "int64_t addInvocationsAMD(int64_t);"
 2930|      1|            "i64vec2 addInvocationsAMD(i64vec2);"
 2931|      1|            "i64vec3 addInvocationsAMD(i64vec3);"
 2932|      1|            "i64vec4 addInvocationsAMD(i64vec4);"
 2933|       |
 2934|      1|            "uint64_t addInvocationsAMD(uint64_t);"
 2935|      1|            "u64vec2  addInvocationsAMD(u64vec2);"
 2936|      1|            "u64vec3  addInvocationsAMD(u64vec3);"
 2937|      1|            "u64vec4  addInvocationsAMD(u64vec4);"
 2938|       |
 2939|      1|            "float16_t addInvocationsAMD(float16_t);"
 2940|      1|            "f16vec2   addInvocationsAMD(f16vec2);"
 2941|      1|            "f16vec3   addInvocationsAMD(f16vec3);"
 2942|      1|            "f16vec4   addInvocationsAMD(f16vec4);"
 2943|       |
 2944|      1|            "int16_t addInvocationsAMD(int16_t);"
 2945|      1|            "i16vec2 addInvocationsAMD(i16vec2);"
 2946|      1|            "i16vec3 addInvocationsAMD(i16vec3);"
 2947|      1|            "i16vec4 addInvocationsAMD(i16vec4);"
 2948|       |
 2949|      1|            "uint16_t addInvocationsAMD(uint16_t);"
 2950|      1|            "u16vec2  addInvocationsAMD(u16vec2);"
 2951|      1|            "u16vec3  addInvocationsAMD(u16vec3);"
 2952|      1|            "u16vec4  addInvocationsAMD(u16vec4);"
 2953|       |
 2954|      1|            "float addInvocationsInclusiveScanAMD(float);"
 2955|      1|            "vec2  addInvocationsInclusiveScanAMD(vec2);"
 2956|      1|            "vec3  addInvocationsInclusiveScanAMD(vec3);"
 2957|      1|            "vec4  addInvocationsInclusiveScanAMD(vec4);"
 2958|       |
 2959|      1|            "int   addInvocationsInclusiveScanAMD(int);"
 2960|      1|            "ivec2 addInvocationsInclusiveScanAMD(ivec2);"
 2961|      1|            "ivec3 addInvocationsInclusiveScanAMD(ivec3);"
 2962|      1|            "ivec4 addInvocationsInclusiveScanAMD(ivec4);"
 2963|       |
 2964|      1|            "uint  addInvocationsInclusiveScanAMD(uint);"
 2965|      1|            "uvec2 addInvocationsInclusiveScanAMD(uvec2);"
 2966|      1|            "uvec3 addInvocationsInclusiveScanAMD(uvec3);"
 2967|      1|            "uvec4 addInvocationsInclusiveScanAMD(uvec4);"
 2968|       |
 2969|      1|            "double  addInvocationsInclusiveScanAMD(double);"
 2970|      1|            "dvec2   addInvocationsInclusiveScanAMD(dvec2);"
 2971|      1|            "dvec3   addInvocationsInclusiveScanAMD(dvec3);"
 2972|      1|            "dvec4   addInvocationsInclusiveScanAMD(dvec4);"
 2973|       |
 2974|      1|            "int64_t addInvocationsInclusiveScanAMD(int64_t);"
 2975|      1|            "i64vec2 addInvocationsInclusiveScanAMD(i64vec2);"
 2976|      1|            "i64vec3 addInvocationsInclusiveScanAMD(i64vec3);"
 2977|      1|            "i64vec4 addInvocationsInclusiveScanAMD(i64vec4);"
 2978|       |
 2979|      1|            "uint64_t addInvocationsInclusiveScanAMD(uint64_t);"
 2980|      1|            "u64vec2  addInvocationsInclusiveScanAMD(u64vec2);"
 2981|      1|            "u64vec3  addInvocationsInclusiveScanAMD(u64vec3);"
 2982|      1|            "u64vec4  addInvocationsInclusiveScanAMD(u64vec4);"
 2983|       |
 2984|      1|            "float16_t addInvocationsInclusiveScanAMD(float16_t);"
 2985|      1|            "f16vec2   addInvocationsInclusiveScanAMD(f16vec2);"
 2986|      1|            "f16vec3   addInvocationsInclusiveScanAMD(f16vec3);"
 2987|      1|            "f16vec4   addInvocationsInclusiveScanAMD(f16vec4);"
 2988|       |
 2989|      1|            "int16_t addInvocationsInclusiveScanAMD(int16_t);"
 2990|      1|            "i16vec2 addInvocationsInclusiveScanAMD(i16vec2);"
 2991|      1|            "i16vec3 addInvocationsInclusiveScanAMD(i16vec3);"
 2992|      1|            "i16vec4 addInvocationsInclusiveScanAMD(i16vec4);"
 2993|       |
 2994|      1|            "uint16_t addInvocationsInclusiveScanAMD(uint16_t);"
 2995|      1|            "u16vec2  addInvocationsInclusiveScanAMD(u16vec2);"
 2996|      1|            "u16vec3  addInvocationsInclusiveScanAMD(u16vec3);"
 2997|      1|            "u16vec4  addInvocationsInclusiveScanAMD(u16vec4);"
 2998|       |
 2999|      1|            "float addInvocationsExclusiveScanAMD(float);"
 3000|      1|            "vec2  addInvocationsExclusiveScanAMD(vec2);"
 3001|      1|            "vec3  addInvocationsExclusiveScanAMD(vec3);"
 3002|      1|            "vec4  addInvocationsExclusiveScanAMD(vec4);"
 3003|       |
 3004|      1|            "int   addInvocationsExclusiveScanAMD(int);"
 3005|      1|            "ivec2 addInvocationsExclusiveScanAMD(ivec2);"
 3006|      1|            "ivec3 addInvocationsExclusiveScanAMD(ivec3);"
 3007|      1|            "ivec4 addInvocationsExclusiveScanAMD(ivec4);"
 3008|       |
 3009|      1|            "uint  addInvocationsExclusiveScanAMD(uint);"
 3010|      1|            "uvec2 addInvocationsExclusiveScanAMD(uvec2);"
 3011|      1|            "uvec3 addInvocationsExclusiveScanAMD(uvec3);"
 3012|      1|            "uvec4 addInvocationsExclusiveScanAMD(uvec4);"
 3013|       |
 3014|      1|            "double  addInvocationsExclusiveScanAMD(double);"
 3015|      1|            "dvec2   addInvocationsExclusiveScanAMD(dvec2);"
 3016|      1|            "dvec3   addInvocationsExclusiveScanAMD(dvec3);"
 3017|      1|            "dvec4   addInvocationsExclusiveScanAMD(dvec4);"
 3018|       |
 3019|      1|            "int64_t addInvocationsExclusiveScanAMD(int64_t);"
 3020|      1|            "i64vec2 addInvocationsExclusiveScanAMD(i64vec2);"
 3021|      1|            "i64vec3 addInvocationsExclusiveScanAMD(i64vec3);"
 3022|      1|            "i64vec4 addInvocationsExclusiveScanAMD(i64vec4);"
 3023|       |
 3024|      1|            "uint64_t addInvocationsExclusiveScanAMD(uint64_t);"
 3025|      1|            "u64vec2  addInvocationsExclusiveScanAMD(u64vec2);"
 3026|      1|            "u64vec3  addInvocationsExclusiveScanAMD(u64vec3);"
 3027|      1|            "u64vec4  addInvocationsExclusiveScanAMD(u64vec4);"
 3028|       |
 3029|      1|            "float16_t addInvocationsExclusiveScanAMD(float16_t);"
 3030|      1|            "f16vec2   addInvocationsExclusiveScanAMD(f16vec2);"
 3031|      1|            "f16vec3   addInvocationsExclusiveScanAMD(f16vec3);"
 3032|      1|            "f16vec4   addInvocationsExclusiveScanAMD(f16vec4);"
 3033|       |
 3034|      1|            "int16_t addInvocationsExclusiveScanAMD(int16_t);"
 3035|      1|            "i16vec2 addInvocationsExclusiveScanAMD(i16vec2);"
 3036|      1|            "i16vec3 addInvocationsExclusiveScanAMD(i16vec3);"
 3037|      1|            "i16vec4 addInvocationsExclusiveScanAMD(i16vec4);"
 3038|       |
 3039|      1|            "uint16_t addInvocationsExclusiveScanAMD(uint16_t);"
 3040|      1|            "u16vec2  addInvocationsExclusiveScanAMD(u16vec2);"
 3041|      1|            "u16vec3  addInvocationsExclusiveScanAMD(u16vec3);"
 3042|      1|            "u16vec4  addInvocationsExclusiveScanAMD(u16vec4);"
 3043|       |
 3044|      1|            "float minInvocationsNonUniformAMD(float);"
 3045|      1|            "vec2  minInvocationsNonUniformAMD(vec2);"
 3046|      1|            "vec3  minInvocationsNonUniformAMD(vec3);"
 3047|      1|            "vec4  minInvocationsNonUniformAMD(vec4);"
 3048|       |
 3049|      1|            "int   minInvocationsNonUniformAMD(int);"
 3050|      1|            "ivec2 minInvocationsNonUniformAMD(ivec2);"
 3051|      1|            "ivec3 minInvocationsNonUniformAMD(ivec3);"
 3052|      1|            "ivec4 minInvocationsNonUniformAMD(ivec4);"
 3053|       |
 3054|      1|            "uint  minInvocationsNonUniformAMD(uint);"
 3055|      1|            "uvec2 minInvocationsNonUniformAMD(uvec2);"
 3056|      1|            "uvec3 minInvocationsNonUniformAMD(uvec3);"
 3057|      1|            "uvec4 minInvocationsNonUniformAMD(uvec4);"
 3058|       |
 3059|      1|            "double minInvocationsNonUniformAMD(double);"
 3060|      1|            "dvec2  minInvocationsNonUniformAMD(dvec2);"
 3061|      1|            "dvec3  minInvocationsNonUniformAMD(dvec3);"
 3062|      1|            "dvec4  minInvocationsNonUniformAMD(dvec4);"
 3063|       |
 3064|      1|            "int64_t minInvocationsNonUniformAMD(int64_t);"
 3065|      1|            "i64vec2 minInvocationsNonUniformAMD(i64vec2);"
 3066|      1|            "i64vec3 minInvocationsNonUniformAMD(i64vec3);"
 3067|      1|            "i64vec4 minInvocationsNonUniformAMD(i64vec4);"
 3068|       |
 3069|      1|            "uint64_t minInvocationsNonUniformAMD(uint64_t);"
 3070|      1|            "u64vec2  minInvocationsNonUniformAMD(u64vec2);"
 3071|      1|            "u64vec3  minInvocationsNonUniformAMD(u64vec3);"
 3072|      1|            "u64vec4  minInvocationsNonUniformAMD(u64vec4);"
 3073|       |
 3074|      1|            "float16_t minInvocationsNonUniformAMD(float16_t);"
 3075|      1|            "f16vec2   minInvocationsNonUniformAMD(f16vec2);"
 3076|      1|            "f16vec3   minInvocationsNonUniformAMD(f16vec3);"
 3077|      1|            "f16vec4   minInvocationsNonUniformAMD(f16vec4);"
 3078|       |
 3079|      1|            "int16_t minInvocationsNonUniformAMD(int16_t);"
 3080|      1|            "i16vec2 minInvocationsNonUniformAMD(i16vec2);"
 3081|      1|            "i16vec3 minInvocationsNonUniformAMD(i16vec3);"
 3082|      1|            "i16vec4 minInvocationsNonUniformAMD(i16vec4);"
 3083|       |
 3084|      1|            "uint16_t minInvocationsNonUniformAMD(uint16_t);"
 3085|      1|            "u16vec2  minInvocationsNonUniformAMD(u16vec2);"
 3086|      1|            "u16vec3  minInvocationsNonUniformAMD(u16vec3);"
 3087|      1|            "u16vec4  minInvocationsNonUniformAMD(u16vec4);"
 3088|       |
 3089|      1|            "float minInvocationsInclusiveScanNonUniformAMD(float);"
 3090|      1|            "vec2  minInvocationsInclusiveScanNonUniformAMD(vec2);"
 3091|      1|            "vec3  minInvocationsInclusiveScanNonUniformAMD(vec3);"
 3092|      1|            "vec4  minInvocationsInclusiveScanNonUniformAMD(vec4);"
 3093|       |
 3094|      1|            "int   minInvocationsInclusiveScanNonUniformAMD(int);"
 3095|      1|            "ivec2 minInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3096|      1|            "ivec3 minInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3097|      1|            "ivec4 minInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3098|       |
 3099|      1|            "uint  minInvocationsInclusiveScanNonUniformAMD(uint);"
 3100|      1|            "uvec2 minInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3101|      1|            "uvec3 minInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3102|      1|            "uvec4 minInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3103|       |
 3104|      1|            "double minInvocationsInclusiveScanNonUniformAMD(double);"
 3105|      1|            "dvec2  minInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3106|      1|            "dvec3  minInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3107|      1|            "dvec4  minInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3108|       |
 3109|      1|            "int64_t minInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3110|      1|            "i64vec2 minInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3111|      1|            "i64vec3 minInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3112|      1|            "i64vec4 minInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3113|       |
 3114|      1|            "uint64_t minInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3115|      1|            "u64vec2  minInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3116|      1|            "u64vec3  minInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3117|      1|            "u64vec4  minInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3118|       |
 3119|      1|            "float16_t minInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3120|      1|            "f16vec2   minInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3121|      1|            "f16vec3   minInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3122|      1|            "f16vec4   minInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3123|       |
 3124|      1|            "int16_t minInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3125|      1|            "i16vec2 minInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3126|      1|            "i16vec3 minInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3127|      1|            "i16vec4 minInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3128|       |
 3129|      1|            "uint16_t minInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3130|      1|            "u16vec2  minInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3131|      1|            "u16vec3  minInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3132|      1|            "u16vec4  minInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3133|       |
 3134|      1|            "float minInvocationsExclusiveScanNonUniformAMD(float);"
 3135|      1|            "vec2  minInvocationsExclusiveScanNonUniformAMD(vec2);"
 3136|      1|            "vec3  minInvocationsExclusiveScanNonUniformAMD(vec3);"
 3137|      1|            "vec4  minInvocationsExclusiveScanNonUniformAMD(vec4);"
 3138|       |
 3139|      1|            "int   minInvocationsExclusiveScanNonUniformAMD(int);"
 3140|      1|            "ivec2 minInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3141|      1|            "ivec3 minInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3142|      1|            "ivec4 minInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3143|       |
 3144|      1|            "uint  minInvocationsExclusiveScanNonUniformAMD(uint);"
 3145|      1|            "uvec2 minInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3146|      1|            "uvec3 minInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3147|      1|            "uvec4 minInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3148|       |
 3149|      1|            "double minInvocationsExclusiveScanNonUniformAMD(double);"
 3150|      1|            "dvec2  minInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3151|      1|            "dvec3  minInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3152|      1|            "dvec4  minInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3153|       |
 3154|      1|            "int64_t minInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3155|      1|            "i64vec2 minInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3156|      1|            "i64vec3 minInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3157|      1|            "i64vec4 minInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3158|       |
 3159|      1|            "uint64_t minInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3160|      1|            "u64vec2  minInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3161|      1|            "u64vec3  minInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3162|      1|            "u64vec4  minInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3163|       |
 3164|      1|            "float16_t minInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3165|      1|            "f16vec2   minInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3166|      1|            "f16vec3   minInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3167|      1|            "f16vec4   minInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3168|       |
 3169|      1|            "int16_t minInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3170|      1|            "i16vec2 minInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3171|      1|            "i16vec3 minInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3172|      1|            "i16vec4 minInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3173|       |
 3174|      1|            "uint16_t minInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3175|      1|            "u16vec2  minInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3176|      1|            "u16vec3  minInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3177|      1|            "u16vec4  minInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3178|       |
 3179|      1|            "float maxInvocationsNonUniformAMD(float);"
 3180|      1|            "vec2  maxInvocationsNonUniformAMD(vec2);"
 3181|      1|            "vec3  maxInvocationsNonUniformAMD(vec3);"
 3182|      1|            "vec4  maxInvocationsNonUniformAMD(vec4);"
 3183|       |
 3184|      1|            "int   maxInvocationsNonUniformAMD(int);"
 3185|      1|            "ivec2 maxInvocationsNonUniformAMD(ivec2);"
 3186|      1|            "ivec3 maxInvocationsNonUniformAMD(ivec3);"
 3187|      1|            "ivec4 maxInvocationsNonUniformAMD(ivec4);"
 3188|       |
 3189|      1|            "uint  maxInvocationsNonUniformAMD(uint);"
 3190|      1|            "uvec2 maxInvocationsNonUniformAMD(uvec2);"
 3191|      1|            "uvec3 maxInvocationsNonUniformAMD(uvec3);"
 3192|      1|            "uvec4 maxInvocationsNonUniformAMD(uvec4);"
 3193|       |
 3194|      1|            "double maxInvocationsNonUniformAMD(double);"
 3195|      1|            "dvec2  maxInvocationsNonUniformAMD(dvec2);"
 3196|      1|            "dvec3  maxInvocationsNonUniformAMD(dvec3);"
 3197|      1|            "dvec4  maxInvocationsNonUniformAMD(dvec4);"
 3198|       |
 3199|      1|            "int64_t maxInvocationsNonUniformAMD(int64_t);"
 3200|      1|            "i64vec2 maxInvocationsNonUniformAMD(i64vec2);"
 3201|      1|            "i64vec3 maxInvocationsNonUniformAMD(i64vec3);"
 3202|      1|            "i64vec4 maxInvocationsNonUniformAMD(i64vec4);"
 3203|       |
 3204|      1|            "uint64_t maxInvocationsNonUniformAMD(uint64_t);"
 3205|      1|            "u64vec2  maxInvocationsNonUniformAMD(u64vec2);"
 3206|      1|            "u64vec3  maxInvocationsNonUniformAMD(u64vec3);"
 3207|      1|            "u64vec4  maxInvocationsNonUniformAMD(u64vec4);"
 3208|       |
 3209|      1|            "float16_t maxInvocationsNonUniformAMD(float16_t);"
 3210|      1|            "f16vec2   maxInvocationsNonUniformAMD(f16vec2);"
 3211|      1|            "f16vec3   maxInvocationsNonUniformAMD(f16vec3);"
 3212|      1|            "f16vec4   maxInvocationsNonUniformAMD(f16vec4);"
 3213|       |
 3214|      1|            "int16_t maxInvocationsNonUniformAMD(int16_t);"
 3215|      1|            "i16vec2 maxInvocationsNonUniformAMD(i16vec2);"
 3216|      1|            "i16vec3 maxInvocationsNonUniformAMD(i16vec3);"
 3217|      1|            "i16vec4 maxInvocationsNonUniformAMD(i16vec4);"
 3218|       |
 3219|      1|            "uint16_t maxInvocationsNonUniformAMD(uint16_t);"
 3220|      1|            "u16vec2  maxInvocationsNonUniformAMD(u16vec2);"
 3221|      1|            "u16vec3  maxInvocationsNonUniformAMD(u16vec3);"
 3222|      1|            "u16vec4  maxInvocationsNonUniformAMD(u16vec4);"
 3223|       |
 3224|      1|            "float maxInvocationsInclusiveScanNonUniformAMD(float);"
 3225|      1|            "vec2  maxInvocationsInclusiveScanNonUniformAMD(vec2);"
 3226|      1|            "vec3  maxInvocationsInclusiveScanNonUniformAMD(vec3);"
 3227|      1|            "vec4  maxInvocationsInclusiveScanNonUniformAMD(vec4);"
 3228|       |
 3229|      1|            "int   maxInvocationsInclusiveScanNonUniformAMD(int);"
 3230|      1|            "ivec2 maxInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3231|      1|            "ivec3 maxInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3232|      1|            "ivec4 maxInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3233|       |
 3234|      1|            "uint  maxInvocationsInclusiveScanNonUniformAMD(uint);"
 3235|      1|            "uvec2 maxInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3236|      1|            "uvec3 maxInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3237|      1|            "uvec4 maxInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3238|       |
 3239|      1|            "double maxInvocationsInclusiveScanNonUniformAMD(double);"
 3240|      1|            "dvec2  maxInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3241|      1|            "dvec3  maxInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3242|      1|            "dvec4  maxInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3243|       |
 3244|      1|            "int64_t maxInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3245|      1|            "i64vec2 maxInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3246|      1|            "i64vec3 maxInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3247|      1|            "i64vec4 maxInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3248|       |
 3249|      1|            "uint64_t maxInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3250|      1|            "u64vec2  maxInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3251|      1|            "u64vec3  maxInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3252|      1|            "u64vec4  maxInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3253|       |
 3254|      1|            "float16_t maxInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3255|      1|            "f16vec2   maxInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3256|      1|            "f16vec3   maxInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3257|      1|            "f16vec4   maxInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3258|       |
 3259|      1|            "int16_t maxInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3260|      1|            "i16vec2 maxInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3261|      1|            "i16vec3 maxInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3262|      1|            "i16vec4 maxInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3263|       |
 3264|      1|            "uint16_t maxInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3265|      1|            "u16vec2  maxInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3266|      1|            "u16vec3  maxInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3267|      1|            "u16vec4  maxInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3268|       |
 3269|      1|            "float maxInvocationsExclusiveScanNonUniformAMD(float);"
 3270|      1|            "vec2  maxInvocationsExclusiveScanNonUniformAMD(vec2);"
 3271|      1|            "vec3  maxInvocationsExclusiveScanNonUniformAMD(vec3);"
 3272|      1|            "vec4  maxInvocationsExclusiveScanNonUniformAMD(vec4);"
 3273|       |
 3274|      1|            "int   maxInvocationsExclusiveScanNonUniformAMD(int);"
 3275|      1|            "ivec2 maxInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3276|      1|            "ivec3 maxInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3277|      1|            "ivec4 maxInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3278|       |
 3279|      1|            "uint  maxInvocationsExclusiveScanNonUniformAMD(uint);"
 3280|      1|            "uvec2 maxInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3281|      1|            "uvec3 maxInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3282|      1|            "uvec4 maxInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3283|       |
 3284|      1|            "double maxInvocationsExclusiveScanNonUniformAMD(double);"
 3285|      1|            "dvec2  maxInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3286|      1|            "dvec3  maxInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3287|      1|            "dvec4  maxInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3288|       |
 3289|      1|            "int64_t maxInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3290|      1|            "i64vec2 maxInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3291|      1|            "i64vec3 maxInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3292|      1|            "i64vec4 maxInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3293|       |
 3294|      1|            "uint64_t maxInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3295|      1|            "u64vec2  maxInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3296|      1|            "u64vec3  maxInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3297|      1|            "u64vec4  maxInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3298|       |
 3299|      1|            "float16_t maxInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3300|      1|            "f16vec2   maxInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3301|      1|            "f16vec3   maxInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3302|      1|            "f16vec4   maxInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3303|       |
 3304|      1|            "int16_t maxInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3305|      1|            "i16vec2 maxInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3306|      1|            "i16vec3 maxInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3307|      1|            "i16vec4 maxInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3308|       |
 3309|      1|            "uint16_t maxInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3310|      1|            "u16vec2  maxInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3311|      1|            "u16vec3  maxInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3312|      1|            "u16vec4  maxInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3313|       |
 3314|      1|            "float addInvocationsNonUniformAMD(float);"
 3315|      1|            "vec2  addInvocationsNonUniformAMD(vec2);"
 3316|      1|            "vec3  addInvocationsNonUniformAMD(vec3);"
 3317|      1|            "vec4  addInvocationsNonUniformAMD(vec4);"
 3318|       |
 3319|      1|            "int   addInvocationsNonUniformAMD(int);"
 3320|      1|            "ivec2 addInvocationsNonUniformAMD(ivec2);"
 3321|      1|            "ivec3 addInvocationsNonUniformAMD(ivec3);"
 3322|      1|            "ivec4 addInvocationsNonUniformAMD(ivec4);"
 3323|       |
 3324|      1|            "uint  addInvocationsNonUniformAMD(uint);"
 3325|      1|            "uvec2 addInvocationsNonUniformAMD(uvec2);"
 3326|      1|            "uvec3 addInvocationsNonUniformAMD(uvec3);"
 3327|      1|            "uvec4 addInvocationsNonUniformAMD(uvec4);"
 3328|       |
 3329|      1|            "double addInvocationsNonUniformAMD(double);"
 3330|      1|            "dvec2  addInvocationsNonUniformAMD(dvec2);"
 3331|      1|            "dvec3  addInvocationsNonUniformAMD(dvec3);"
 3332|      1|            "dvec4  addInvocationsNonUniformAMD(dvec4);"
 3333|       |
 3334|      1|            "int64_t addInvocationsNonUniformAMD(int64_t);"
 3335|      1|            "i64vec2 addInvocationsNonUniformAMD(i64vec2);"
 3336|      1|            "i64vec3 addInvocationsNonUniformAMD(i64vec3);"
 3337|      1|            "i64vec4 addInvocationsNonUniformAMD(i64vec4);"
 3338|       |
 3339|      1|            "uint64_t addInvocationsNonUniformAMD(uint64_t);"
 3340|      1|            "u64vec2  addInvocationsNonUniformAMD(u64vec2);"
 3341|      1|            "u64vec3  addInvocationsNonUniformAMD(u64vec3);"
 3342|      1|            "u64vec4  addInvocationsNonUniformAMD(u64vec4);"
 3343|       |
 3344|      1|            "float16_t addInvocationsNonUniformAMD(float16_t);"
 3345|      1|            "f16vec2   addInvocationsNonUniformAMD(f16vec2);"
 3346|      1|            "f16vec3   addInvocationsNonUniformAMD(f16vec3);"
 3347|      1|            "f16vec4   addInvocationsNonUniformAMD(f16vec4);"
 3348|       |
 3349|      1|            "int16_t addInvocationsNonUniformAMD(int16_t);"
 3350|      1|            "i16vec2 addInvocationsNonUniformAMD(i16vec2);"
 3351|      1|            "i16vec3 addInvocationsNonUniformAMD(i16vec3);"
 3352|      1|            "i16vec4 addInvocationsNonUniformAMD(i16vec4);"
 3353|       |
 3354|      1|            "uint16_t addInvocationsNonUniformAMD(uint16_t);"
 3355|      1|            "u16vec2  addInvocationsNonUniformAMD(u16vec2);"
 3356|      1|            "u16vec3  addInvocationsNonUniformAMD(u16vec3);"
 3357|      1|            "u16vec4  addInvocationsNonUniformAMD(u16vec4);"
 3358|       |
 3359|      1|            "float addInvocationsInclusiveScanNonUniformAMD(float);"
 3360|      1|            "vec2  addInvocationsInclusiveScanNonUniformAMD(vec2);"
 3361|      1|            "vec3  addInvocationsInclusiveScanNonUniformAMD(vec3);"
 3362|      1|            "vec4  addInvocationsInclusiveScanNonUniformAMD(vec4);"
 3363|       |
 3364|      1|            "int   addInvocationsInclusiveScanNonUniformAMD(int);"
 3365|      1|            "ivec2 addInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3366|      1|            "ivec3 addInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3367|      1|            "ivec4 addInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3368|       |
 3369|      1|            "uint  addInvocationsInclusiveScanNonUniformAMD(uint);"
 3370|      1|            "uvec2 addInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3371|      1|            "uvec3 addInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3372|      1|            "uvec4 addInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3373|       |
 3374|      1|            "double addInvocationsInclusiveScanNonUniformAMD(double);"
 3375|      1|            "dvec2  addInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3376|      1|            "dvec3  addInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3377|      1|            "dvec4  addInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3378|       |
 3379|      1|            "int64_t addInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3380|      1|            "i64vec2 addInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3381|      1|            "i64vec3 addInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3382|      1|            "i64vec4 addInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3383|       |
 3384|      1|            "uint64_t addInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3385|      1|            "u64vec2  addInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3386|      1|            "u64vec3  addInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3387|      1|            "u64vec4  addInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3388|       |
 3389|      1|            "float16_t addInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3390|      1|            "f16vec2   addInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3391|      1|            "f16vec3   addInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3392|      1|            "f16vec4   addInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3393|       |
 3394|      1|            "int16_t addInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3395|      1|            "i16vec2 addInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3396|      1|            "i16vec3 addInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3397|      1|            "i16vec4 addInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3398|       |
 3399|      1|            "uint16_t addInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3400|      1|            "u16vec2  addInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3401|      1|            "u16vec3  addInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3402|      1|            "u16vec4  addInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3403|       |
 3404|      1|            "float addInvocationsExclusiveScanNonUniformAMD(float);"
 3405|      1|            "vec2  addInvocationsExclusiveScanNonUniformAMD(vec2);"
 3406|      1|            "vec3  addInvocationsExclusiveScanNonUniformAMD(vec3);"
 3407|      1|            "vec4  addInvocationsExclusiveScanNonUniformAMD(vec4);"
 3408|       |
 3409|      1|            "int   addInvocationsExclusiveScanNonUniformAMD(int);"
 3410|      1|            "ivec2 addInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3411|      1|            "ivec3 addInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3412|      1|            "ivec4 addInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3413|       |
 3414|      1|            "uint  addInvocationsExclusiveScanNonUniformAMD(uint);"
 3415|      1|            "uvec2 addInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3416|      1|            "uvec3 addInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3417|      1|            "uvec4 addInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3418|       |
 3419|      1|            "double addInvocationsExclusiveScanNonUniformAMD(double);"
 3420|      1|            "dvec2  addInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3421|      1|            "dvec3  addInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3422|      1|            "dvec4  addInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3423|       |
 3424|      1|            "int64_t addInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3425|      1|            "i64vec2 addInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3426|      1|            "i64vec3 addInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3427|      1|            "i64vec4 addInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3428|       |
 3429|      1|            "uint64_t addInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3430|      1|            "u64vec2  addInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3431|      1|            "u64vec3  addInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3432|      1|            "u64vec4  addInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3433|       |
 3434|      1|            "float16_t addInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3435|      1|            "f16vec2   addInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3436|      1|            "f16vec3   addInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3437|      1|            "f16vec4   addInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3438|       |
 3439|      1|            "int16_t addInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3440|      1|            "i16vec2 addInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3441|      1|            "i16vec3 addInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3442|      1|            "i16vec4 addInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3443|       |
 3444|      1|            "uint16_t addInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3445|      1|            "u16vec2  addInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3446|      1|            "u16vec3  addInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3447|      1|            "u16vec4  addInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3448|       |
 3449|      1|            "float swizzleInvocationsAMD(float, uvec4);"
 3450|      1|            "vec2  swizzleInvocationsAMD(vec2,  uvec4);"
 3451|      1|            "vec3  swizzleInvocationsAMD(vec3,  uvec4);"
 3452|      1|            "vec4  swizzleInvocationsAMD(vec4,  uvec4);"
 3453|       |
 3454|      1|            "int   swizzleInvocationsAMD(int,   uvec4);"
 3455|      1|            "ivec2 swizzleInvocationsAMD(ivec2, uvec4);"
 3456|      1|            "ivec3 swizzleInvocationsAMD(ivec3, uvec4);"
 3457|      1|            "ivec4 swizzleInvocationsAMD(ivec4, uvec4);"
 3458|       |
 3459|      1|            "uint  swizzleInvocationsAMD(uint,  uvec4);"
 3460|      1|            "uvec2 swizzleInvocationsAMD(uvec2, uvec4);"
 3461|      1|            "uvec3 swizzleInvocationsAMD(uvec3, uvec4);"
 3462|      1|            "uvec4 swizzleInvocationsAMD(uvec4, uvec4);"
 3463|       |
 3464|      1|            "float swizzleInvocationsMaskedAMD(float, uvec3);"
 3465|      1|            "vec2  swizzleInvocationsMaskedAMD(vec2,  uvec3);"
 3466|      1|            "vec3  swizzleInvocationsMaskedAMD(vec3,  uvec3);"
 3467|      1|            "vec4  swizzleInvocationsMaskedAMD(vec4,  uvec3);"
 3468|       |
 3469|      1|            "int   swizzleInvocationsMaskedAMD(int,   uvec3);"
 3470|      1|            "ivec2 swizzleInvocationsMaskedAMD(ivec2, uvec3);"
 3471|      1|            "ivec3 swizzleInvocationsMaskedAMD(ivec3, uvec3);"
 3472|      1|            "ivec4 swizzleInvocationsMaskedAMD(ivec4, uvec3);"
 3473|       |
 3474|      1|            "uint  swizzleInvocationsMaskedAMD(uint,  uvec3);"
 3475|      1|            "uvec2 swizzleInvocationsMaskedAMD(uvec2, uvec3);"
 3476|      1|            "uvec3 swizzleInvocationsMaskedAMD(uvec3, uvec3);"
 3477|      1|            "uvec4 swizzleInvocationsMaskedAMD(uvec4, uvec3);"
 3478|       |
 3479|      1|            "float writeInvocationAMD(float, float, uint);"
 3480|      1|            "vec2  writeInvocationAMD(vec2,  vec2,  uint);"
 3481|      1|            "vec3  writeInvocationAMD(vec3,  vec3,  uint);"
 3482|      1|            "vec4  writeInvocationAMD(vec4,  vec4,  uint);"
 3483|       |
 3484|      1|            "int   writeInvocationAMD(int,   int,   uint);"
 3485|      1|            "ivec2 writeInvocationAMD(ivec2, ivec2, uint);"
 3486|      1|            "ivec3 writeInvocationAMD(ivec3, ivec3, uint);"
 3487|      1|            "ivec4 writeInvocationAMD(ivec4, ivec4, uint);"
 3488|       |
 3489|      1|            "uint  writeInvocationAMD(uint,  uint,  uint);"
 3490|      1|            "uvec2 writeInvocationAMD(uvec2, uvec2, uint);"
 3491|      1|            "uvec3 writeInvocationAMD(uvec3, uvec3, uint);"
 3492|      1|            "uvec4 writeInvocationAMD(uvec4, uvec4, uint);"
 3493|       |
 3494|      1|            "uint mbcntAMD(uint64_t);"
 3495|       |
 3496|      1|            "\n");
 3497|      1|    }
 3498|       |
 3499|       |    // GL_AMD_gcn_shader
 3500|     37|    if (profile != EEsProfile && version >= 440) {
  ------------------
  |  Branch (3500:9): [True: 1, False: 36]
  |  Branch (3500:34): [True: 1, False: 0]
  ------------------
 3501|      1|        commonBuiltins.append(
 3502|      1|            "float cubeFaceIndexAMD(vec3);"
 3503|      1|            "vec2  cubeFaceCoordAMD(vec3);"
 3504|      1|            "uint64_t timeAMD();"
 3505|       |
 3506|      1|            "in int gl_SIMDGroupSizeAMD;"
 3507|      1|            "\n");
 3508|      1|    }
 3509|       |
 3510|       |    // GL_AMD_shader_fragment_mask
 3511|     37|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (3511:9): [True: 1, False: 36]
  |  Branch (3511:34): [True: 1, False: 0]
  ------------------
 3512|      1|        commonBuiltins.append(
 3513|      1|            "uint fragmentMaskFetchAMD(sampler2DMS,       ivec2);"
 3514|      1|            "uint fragmentMaskFetchAMD(isampler2DMS,      ivec2);"
 3515|      1|            "uint fragmentMaskFetchAMD(usampler2DMS,      ivec2);"
 3516|       |
 3517|      1|            "uint fragmentMaskFetchAMD(sampler2DMSArray,  ivec3);"
 3518|      1|            "uint fragmentMaskFetchAMD(isampler2DMSArray, ivec3);"
 3519|      1|            "uint fragmentMaskFetchAMD(usampler2DMSArray, ivec3);"
 3520|       |
 3521|      1|            "vec4  fragmentFetchAMD(sampler2DMS,       ivec2, uint);"
 3522|      1|            "ivec4 fragmentFetchAMD(isampler2DMS,      ivec2, uint);"
 3523|      1|            "uvec4 fragmentFetchAMD(usampler2DMS,      ivec2, uint);"
 3524|       |
 3525|      1|            "vec4  fragmentFetchAMD(sampler2DMSArray,  ivec3, uint);"
 3526|      1|            "ivec4 fragmentFetchAMD(isampler2DMSArray, ivec3, uint);"
 3527|      1|            "uvec4 fragmentFetchAMD(usampler2DMSArray, ivec3, uint);"
 3528|       |
 3529|      1|            "\n");
 3530|      1|    }
 3531|       |
 3532|     37|    if ((profile != EEsProfile && version >= 130) ||
  ------------------
  |  Branch (3532:10): [True: 1, False: 36]
  |  Branch (3532:35): [True: 1, False: 0]
  ------------------
 3533|     36|        (profile == EEsProfile && version >= 300)) {
  ------------------
  |  Branch (3533:10): [True: 36, False: 0]
  |  Branch (3533:35): [True: 0, False: 36]
  ------------------
 3534|      1|        commonBuiltins.append(
 3535|      1|            "uint countLeadingZeros(uint);"
 3536|      1|            "uvec2 countLeadingZeros(uvec2);"
 3537|      1|            "uvec3 countLeadingZeros(uvec3);"
 3538|      1|            "uvec4 countLeadingZeros(uvec4);"
 3539|       |
 3540|      1|            "uint countTrailingZeros(uint);"
 3541|      1|            "uvec2 countTrailingZeros(uvec2);"
 3542|      1|            "uvec3 countTrailingZeros(uvec3);"
 3543|      1|            "uvec4 countTrailingZeros(uvec4);"
 3544|       |
 3545|      1|            "uint absoluteDifference(int, int);"
 3546|      1|            "uvec2 absoluteDifference(ivec2, ivec2);"
 3547|      1|            "uvec3 absoluteDifference(ivec3, ivec3);"
 3548|      1|            "uvec4 absoluteDifference(ivec4, ivec4);"
 3549|       |
 3550|      1|            "uint16_t absoluteDifference(int16_t, int16_t);"
 3551|      1|            "u16vec2 absoluteDifference(i16vec2, i16vec2);"
 3552|      1|            "u16vec3 absoluteDifference(i16vec3, i16vec3);"
 3553|      1|            "u16vec4 absoluteDifference(i16vec4, i16vec4);"
 3554|       |
 3555|      1|            "uint64_t absoluteDifference(int64_t, int64_t);"
 3556|      1|            "u64vec2 absoluteDifference(i64vec2, i64vec2);"
 3557|      1|            "u64vec3 absoluteDifference(i64vec3, i64vec3);"
 3558|      1|            "u64vec4 absoluteDifference(i64vec4, i64vec4);"
 3559|       |
 3560|      1|            "uint absoluteDifference(uint, uint);"
 3561|      1|            "uvec2 absoluteDifference(uvec2, uvec2);"
 3562|      1|            "uvec3 absoluteDifference(uvec3, uvec3);"
 3563|      1|            "uvec4 absoluteDifference(uvec4, uvec4);"
 3564|       |
 3565|      1|            "uint16_t absoluteDifference(uint16_t, uint16_t);"
 3566|      1|            "u16vec2 absoluteDifference(u16vec2, u16vec2);"
 3567|      1|            "u16vec3 absoluteDifference(u16vec3, u16vec3);"
 3568|      1|            "u16vec4 absoluteDifference(u16vec4, u16vec4);"
 3569|       |
 3570|      1|            "uint64_t absoluteDifference(uint64_t, uint64_t);"
 3571|      1|            "u64vec2 absoluteDifference(u64vec2, u64vec2);"
 3572|      1|            "u64vec3 absoluteDifference(u64vec3, u64vec3);"
 3573|      1|            "u64vec4 absoluteDifference(u64vec4, u64vec4);"
 3574|       |
 3575|      1|            "int addSaturate(int, int);"
 3576|      1|            "ivec2 addSaturate(ivec2, ivec2);"
 3577|      1|            "ivec3 addSaturate(ivec3, ivec3);"
 3578|      1|            "ivec4 addSaturate(ivec4, ivec4);"
 3579|       |
 3580|      1|            "int16_t addSaturate(int16_t, int16_t);"
 3581|      1|            "i16vec2 addSaturate(i16vec2, i16vec2);"
 3582|      1|            "i16vec3 addSaturate(i16vec3, i16vec3);"
 3583|      1|            "i16vec4 addSaturate(i16vec4, i16vec4);"
 3584|       |
 3585|      1|            "int64_t addSaturate(int64_t, int64_t);"
 3586|      1|            "i64vec2 addSaturate(i64vec2, i64vec2);"
 3587|      1|            "i64vec3 addSaturate(i64vec3, i64vec3);"
 3588|      1|            "i64vec4 addSaturate(i64vec4, i64vec4);"
 3589|       |
 3590|      1|            "uint addSaturate(uint, uint);"
 3591|      1|            "uvec2 addSaturate(uvec2, uvec2);"
 3592|      1|            "uvec3 addSaturate(uvec3, uvec3);"
 3593|      1|            "uvec4 addSaturate(uvec4, uvec4);"
 3594|       |
 3595|      1|            "uint16_t addSaturate(uint16_t, uint16_t);"
 3596|      1|            "u16vec2 addSaturate(u16vec2, u16vec2);"
 3597|      1|            "u16vec3 addSaturate(u16vec3, u16vec3);"
 3598|      1|            "u16vec4 addSaturate(u16vec4, u16vec4);"
 3599|       |
 3600|      1|            "uint64_t addSaturate(uint64_t, uint64_t);"
 3601|      1|            "u64vec2 addSaturate(u64vec2, u64vec2);"
 3602|      1|            "u64vec3 addSaturate(u64vec3, u64vec3);"
 3603|      1|            "u64vec4 addSaturate(u64vec4, u64vec4);"
 3604|       |
 3605|      1|            "int subtractSaturate(int, int);"
 3606|      1|            "ivec2 subtractSaturate(ivec2, ivec2);"
 3607|      1|            "ivec3 subtractSaturate(ivec3, ivec3);"
 3608|      1|            "ivec4 subtractSaturate(ivec4, ivec4);"
 3609|       |
 3610|      1|            "int16_t subtractSaturate(int16_t, int16_t);"
 3611|      1|            "i16vec2 subtractSaturate(i16vec2, i16vec2);"
 3612|      1|            "i16vec3 subtractSaturate(i16vec3, i16vec3);"
 3613|      1|            "i16vec4 subtractSaturate(i16vec4, i16vec4);"
 3614|       |
 3615|      1|            "int64_t subtractSaturate(int64_t, int64_t);"
 3616|      1|            "i64vec2 subtractSaturate(i64vec2, i64vec2);"
 3617|      1|            "i64vec3 subtractSaturate(i64vec3, i64vec3);"
 3618|      1|            "i64vec4 subtractSaturate(i64vec4, i64vec4);"
 3619|       |
 3620|      1|            "uint subtractSaturate(uint, uint);"
 3621|      1|            "uvec2 subtractSaturate(uvec2, uvec2);"
 3622|      1|            "uvec3 subtractSaturate(uvec3, uvec3);"
 3623|      1|            "uvec4 subtractSaturate(uvec4, uvec4);"
 3624|       |
 3625|      1|            "uint16_t subtractSaturate(uint16_t, uint16_t);"
 3626|      1|            "u16vec2 subtractSaturate(u16vec2, u16vec2);"
 3627|      1|            "u16vec3 subtractSaturate(u16vec3, u16vec3);"
 3628|      1|            "u16vec4 subtractSaturate(u16vec4, u16vec4);"
 3629|       |
 3630|      1|            "uint64_t subtractSaturate(uint64_t, uint64_t);"
 3631|      1|            "u64vec2 subtractSaturate(u64vec2, u64vec2);"
 3632|      1|            "u64vec3 subtractSaturate(u64vec3, u64vec3);"
 3633|      1|            "u64vec4 subtractSaturate(u64vec4, u64vec4);"
 3634|       |
 3635|      1|            "int average(int, int);"
 3636|      1|            "ivec2 average(ivec2, ivec2);"
 3637|      1|            "ivec3 average(ivec3, ivec3);"
 3638|      1|            "ivec4 average(ivec4, ivec4);"
 3639|       |
 3640|      1|            "int16_t average(int16_t, int16_t);"
 3641|      1|            "i16vec2 average(i16vec2, i16vec2);"
 3642|      1|            "i16vec3 average(i16vec3, i16vec3);"
 3643|      1|            "i16vec4 average(i16vec4, i16vec4);"
 3644|       |
 3645|      1|            "int64_t average(int64_t, int64_t);"
 3646|      1|            "i64vec2 average(i64vec2, i64vec2);"
 3647|      1|            "i64vec3 average(i64vec3, i64vec3);"
 3648|      1|            "i64vec4 average(i64vec4, i64vec4);"
 3649|       |
 3650|      1|            "uint average(uint, uint);"
 3651|      1|            "uvec2 average(uvec2, uvec2);"
 3652|      1|            "uvec3 average(uvec3, uvec3);"
 3653|      1|            "uvec4 average(uvec4, uvec4);"
 3654|       |
 3655|      1|            "uint16_t average(uint16_t, uint16_t);"
 3656|      1|            "u16vec2 average(u16vec2, u16vec2);"
 3657|      1|            "u16vec3 average(u16vec3, u16vec3);"
 3658|      1|            "u16vec4 average(u16vec4, u16vec4);"
 3659|       |
 3660|      1|            "uint64_t average(uint64_t, uint64_t);"
 3661|      1|            "u64vec2 average(u64vec2, u64vec2);"
 3662|      1|            "u64vec3 average(u64vec3, u64vec3);"
 3663|      1|            "u64vec4 average(u64vec4, u64vec4);"
 3664|       |
 3665|      1|            "int averageRounded(int, int);"
 3666|      1|            "ivec2 averageRounded(ivec2, ivec2);"
 3667|      1|            "ivec3 averageRounded(ivec3, ivec3);"
 3668|      1|            "ivec4 averageRounded(ivec4, ivec4);"
 3669|       |
 3670|      1|            "int16_t averageRounded(int16_t, int16_t);"
 3671|      1|            "i16vec2 averageRounded(i16vec2, i16vec2);"
 3672|      1|            "i16vec3 averageRounded(i16vec3, i16vec3);"
 3673|      1|            "i16vec4 averageRounded(i16vec4, i16vec4);"
 3674|       |
 3675|      1|            "int64_t averageRounded(int64_t, int64_t);"
 3676|      1|            "i64vec2 averageRounded(i64vec2, i64vec2);"
 3677|      1|            "i64vec3 averageRounded(i64vec3, i64vec3);"
 3678|      1|            "i64vec4 averageRounded(i64vec4, i64vec4);"
 3679|       |
 3680|      1|            "uint averageRounded(uint, uint);"
 3681|      1|            "uvec2 averageRounded(uvec2, uvec2);"
 3682|      1|            "uvec3 averageRounded(uvec3, uvec3);"
 3683|      1|            "uvec4 averageRounded(uvec4, uvec4);"
 3684|       |
 3685|      1|            "uint16_t averageRounded(uint16_t, uint16_t);"
 3686|      1|            "u16vec2 averageRounded(u16vec2, u16vec2);"
 3687|      1|            "u16vec3 averageRounded(u16vec3, u16vec3);"
 3688|      1|            "u16vec4 averageRounded(u16vec4, u16vec4);"
 3689|       |
 3690|      1|            "uint64_t averageRounded(uint64_t, uint64_t);"
 3691|      1|            "u64vec2 averageRounded(u64vec2, u64vec2);"
 3692|      1|            "u64vec3 averageRounded(u64vec3, u64vec3);"
 3693|      1|            "u64vec4 averageRounded(u64vec4, u64vec4);"
 3694|       |
 3695|      1|            "int multiply32x16(int, int);"
 3696|      1|            "ivec2 multiply32x16(ivec2, ivec2);"
 3697|      1|            "ivec3 multiply32x16(ivec3, ivec3);"
 3698|      1|            "ivec4 multiply32x16(ivec4, ivec4);"
 3699|       |
 3700|      1|            "uint multiply32x16(uint, uint);"
 3701|      1|            "uvec2 multiply32x16(uvec2, uvec2);"
 3702|      1|            "uvec3 multiply32x16(uvec3, uvec3);"
 3703|      1|            "uvec4 multiply32x16(uvec4, uvec4);"
 3704|      1|            "\n");
 3705|      1|    }
 3706|       |
 3707|     37|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (3707:10): [True: 1, False: 36]
  |  Branch (3707:35): [True: 1, False: 0]
  ------------------
 3708|     36|        (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (3708:10): [True: 36, False: 0]
  |  Branch (3708:35): [True: 0, False: 36]
  ------------------
 3709|      1|        commonBuiltins.append(
 3710|      1|            "struct gl_TextureFootprint2DNV {"
 3711|      1|                "uvec2 anchor;"
 3712|      1|                "uvec2 offset;"
 3713|      1|                "uvec2 mask;"
 3714|      1|                "uint lod;"
 3715|      1|                "uint granularity;"
 3716|      1|            "};"
 3717|       |
 3718|      1|            "struct gl_TextureFootprint3DNV {"
 3719|      1|                "uvec3 anchor;"
 3720|      1|                "uvec3 offset;"
 3721|      1|                "uvec2 mask;"
 3722|      1|                "uint lod;"
 3723|      1|                "uint granularity;"
 3724|      1|            "};"
 3725|      1|            "bool textureFootprintNV(sampler2D, vec2, int, bool, out gl_TextureFootprint2DNV);"
 3726|      1|            "bool textureFootprintNV(sampler3D, vec3, int, bool, out gl_TextureFootprint3DNV);"
 3727|      1|            "bool textureFootprintNV(sampler2D, vec2, int, bool, out gl_TextureFootprint2DNV, float);"
 3728|      1|            "bool textureFootprintNV(sampler3D, vec3, int, bool, out gl_TextureFootprint3DNV, float);"
 3729|      1|            "bool textureFootprintClampNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3730|      1|            "bool textureFootprintClampNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV);"
 3731|      1|            "bool textureFootprintClampNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV, float);"
 3732|      1|            "bool textureFootprintClampNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV, float);"
 3733|      1|            "bool textureFootprintLodNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3734|      1|            "bool textureFootprintLodNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV);"
 3735|      1|            "bool textureFootprintGradNV(sampler2D, vec2, vec2, vec2, int, bool, out gl_TextureFootprint2DNV);"
 3736|      1|            "bool textureFootprintGradClampNV(sampler2D, vec2, vec2, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3737|      1|            "\n");
 3738|      1|    }
 3739|       |
 3740|     37|    if ((profile == EEsProfile && version >= 300 && version < 310) ||
  ------------------
  |  Branch (3740:10): [True: 36, False: 1]
  |  Branch (3740:35): [True: 0, False: 36]
  |  Branch (3740:53): [True: 0, False: 0]
  ------------------
 3741|     37|        (profile != EEsProfile && version >= 150 && version < 450)) { // GL_EXT_shader_integer_mix
  ------------------
  |  Branch (3741:10): [True: 1, False: 36]
  |  Branch (3741:35): [True: 1, False: 0]
  |  Branch (3741:53): [True: 0, False: 1]
  ------------------
 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|     37|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (3759:10): [True: 1, False: 36]
  |  Branch (3759:35): [True: 1, False: 0]
  |  Branch (3759:55): [True: 36, False: 0]
  |  Branch (3759:80): [True: 0, False: 36]
  ------------------
 3760|      1|        commonBuiltins.append(
 3761|      1|            "float16_t radians(float16_t);"
 3762|      1|            "f16vec2   radians(f16vec2);"
 3763|      1|            "f16vec3   radians(f16vec3);"
 3764|      1|            "f16vec4   radians(f16vec4);"
 3765|       |
 3766|      1|            "float16_t degrees(float16_t);"
 3767|      1|            "f16vec2   degrees(f16vec2);"
 3768|      1|            "f16vec3   degrees(f16vec3);"
 3769|      1|            "f16vec4   degrees(f16vec4);"
 3770|       |
 3771|      1|            "float16_t sin(float16_t);"
 3772|      1|            "f16vec2   sin(f16vec2);"
 3773|      1|            "f16vec3   sin(f16vec3);"
 3774|      1|            "f16vec4   sin(f16vec4);"
 3775|       |
 3776|      1|            "float16_t cos(float16_t);"
 3777|      1|            "f16vec2   cos(f16vec2);"
 3778|      1|            "f16vec3   cos(f16vec3);"
 3779|      1|            "f16vec4   cos(f16vec4);"
 3780|       |
 3781|      1|            "float16_t tan(float16_t);"
 3782|      1|            "f16vec2   tan(f16vec2);"
 3783|      1|            "f16vec3   tan(f16vec3);"
 3784|      1|            "f16vec4   tan(f16vec4);"
 3785|       |
 3786|      1|            "float16_t asin(float16_t);"
 3787|      1|            "f16vec2   asin(f16vec2);"
 3788|      1|            "f16vec3   asin(f16vec3);"
 3789|      1|            "f16vec4   asin(f16vec4);"
 3790|       |
 3791|      1|            "float16_t acos(float16_t);"
 3792|      1|            "f16vec2   acos(f16vec2);"
 3793|      1|            "f16vec3   acos(f16vec3);"
 3794|      1|            "f16vec4   acos(f16vec4);"
 3795|       |
 3796|      1|            "float16_t atan(float16_t, float16_t);"
 3797|      1|            "f16vec2   atan(f16vec2,   f16vec2);"
 3798|      1|            "f16vec3   atan(f16vec3,   f16vec3);"
 3799|      1|            "f16vec4   atan(f16vec4,   f16vec4);"
 3800|       |
 3801|      1|            "float16_t atan(float16_t);"
 3802|      1|            "f16vec2   atan(f16vec2);"
 3803|      1|            "f16vec3   atan(f16vec3);"
 3804|      1|            "f16vec4   atan(f16vec4);"
 3805|       |
 3806|      1|            "float16_t sinh(float16_t);"
 3807|      1|            "f16vec2   sinh(f16vec2);"
 3808|      1|            "f16vec3   sinh(f16vec3);"
 3809|      1|            "f16vec4   sinh(f16vec4);"
 3810|       |
 3811|      1|            "float16_t cosh(float16_t);"
 3812|      1|            "f16vec2   cosh(f16vec2);"
 3813|      1|            "f16vec3   cosh(f16vec3);"
 3814|      1|            "f16vec4   cosh(f16vec4);"
 3815|       |
 3816|      1|            "float16_t tanh(float16_t);"
 3817|      1|            "f16vec2   tanh(f16vec2);"
 3818|      1|            "f16vec3   tanh(f16vec3);"
 3819|      1|            "f16vec4   tanh(f16vec4);"
 3820|       |
 3821|      1|            "float16_t asinh(float16_t);"
 3822|      1|            "f16vec2   asinh(f16vec2);"
 3823|      1|            "f16vec3   asinh(f16vec3);"
 3824|      1|            "f16vec4   asinh(f16vec4);"
 3825|       |
 3826|      1|            "float16_t acosh(float16_t);"
 3827|      1|            "f16vec2   acosh(f16vec2);"
 3828|      1|            "f16vec3   acosh(f16vec3);"
 3829|      1|            "f16vec4   acosh(f16vec4);"
 3830|       |
 3831|      1|            "float16_t atanh(float16_t);"
 3832|      1|            "f16vec2   atanh(f16vec2);"
 3833|      1|            "f16vec3   atanh(f16vec3);"
 3834|      1|            "f16vec4   atanh(f16vec4);"
 3835|       |
 3836|      1|            "float16_t pow(float16_t, float16_t);"
 3837|      1|            "f16vec2   pow(f16vec2,   f16vec2);"
 3838|      1|            "f16vec3   pow(f16vec3,   f16vec3);"
 3839|      1|            "f16vec4   pow(f16vec4,   f16vec4);"
 3840|       |
 3841|      1|            "float16_t exp(float16_t);"
 3842|      1|            "f16vec2   exp(f16vec2);"
 3843|      1|            "f16vec3   exp(f16vec3);"
 3844|      1|            "f16vec4   exp(f16vec4);"
 3845|       |
 3846|      1|            "float16_t log(float16_t);"
 3847|      1|            "f16vec2   log(f16vec2);"
 3848|      1|            "f16vec3   log(f16vec3);"
 3849|      1|            "f16vec4   log(f16vec4);"
 3850|       |
 3851|      1|            "float16_t exp2(float16_t);"
 3852|      1|            "f16vec2   exp2(f16vec2);"
 3853|      1|            "f16vec3   exp2(f16vec3);"
 3854|      1|            "f16vec4   exp2(f16vec4);"
 3855|       |
 3856|      1|            "float16_t log2(float16_t);"
 3857|      1|            "f16vec2   log2(f16vec2);"
 3858|      1|            "f16vec3   log2(f16vec3);"
 3859|      1|            "f16vec4   log2(f16vec4);"
 3860|       |
 3861|      1|            "float16_t sqrt(float16_t);"
 3862|      1|            "f16vec2   sqrt(f16vec2);"
 3863|      1|            "f16vec3   sqrt(f16vec3);"
 3864|      1|            "f16vec4   sqrt(f16vec4);"
 3865|       |
 3866|      1|            "float16_t inversesqrt(float16_t);"
 3867|      1|            "f16vec2   inversesqrt(f16vec2);"
 3868|      1|            "f16vec3   inversesqrt(f16vec3);"
 3869|      1|            "f16vec4   inversesqrt(f16vec4);"
 3870|       |
 3871|      1|            "float16_t abs(float16_t);"
 3872|      1|            "f16vec2   abs(f16vec2);"
 3873|      1|            "f16vec3   abs(f16vec3);"
 3874|      1|            "f16vec4   abs(f16vec4);"
 3875|       |
 3876|      1|            "float16_t sign(float16_t);"
 3877|      1|            "f16vec2   sign(f16vec2);"
 3878|      1|            "f16vec3   sign(f16vec3);"
 3879|      1|            "f16vec4   sign(f16vec4);"
 3880|       |
 3881|      1|            "float16_t floor(float16_t);"
 3882|      1|            "f16vec2   floor(f16vec2);"
 3883|      1|            "f16vec3   floor(f16vec3);"
 3884|      1|            "f16vec4   floor(f16vec4);"
 3885|       |
 3886|      1|            "float16_t trunc(float16_t);"
 3887|      1|            "f16vec2   trunc(f16vec2);"
 3888|      1|            "f16vec3   trunc(f16vec3);"
 3889|      1|            "f16vec4   trunc(f16vec4);"
 3890|       |
 3891|      1|            "float16_t round(float16_t);"
 3892|      1|            "f16vec2   round(f16vec2);"
 3893|      1|            "f16vec3   round(f16vec3);"
 3894|      1|            "f16vec4   round(f16vec4);"
 3895|       |
 3896|      1|            "float16_t roundEven(float16_t);"
 3897|      1|            "f16vec2   roundEven(f16vec2);"
 3898|      1|            "f16vec3   roundEven(f16vec3);"
 3899|      1|            "f16vec4   roundEven(f16vec4);"
 3900|       |
 3901|      1|            "float16_t ceil(float16_t);"
 3902|      1|            "f16vec2   ceil(f16vec2);"
 3903|      1|            "f16vec3   ceil(f16vec3);"
 3904|      1|            "f16vec4   ceil(f16vec4);"
 3905|       |
 3906|      1|            "float16_t fract(float16_t);"
 3907|      1|            "f16vec2   fract(f16vec2);"
 3908|      1|            "f16vec3   fract(f16vec3);"
 3909|      1|            "f16vec4   fract(f16vec4);"
 3910|       |
 3911|      1|            "float16_t mod(float16_t, float16_t);"
 3912|      1|            "f16vec2   mod(f16vec2,   float16_t);"
 3913|      1|            "f16vec3   mod(f16vec3,   float16_t);"
 3914|      1|            "f16vec4   mod(f16vec4,   float16_t);"
 3915|      1|            "f16vec2   mod(f16vec2,   f16vec2);"
 3916|      1|            "f16vec3   mod(f16vec3,   f16vec3);"
 3917|      1|            "f16vec4   mod(f16vec4,   f16vec4);"
 3918|       |
 3919|      1|            "float16_t modf(float16_t, out float16_t);"
 3920|      1|            "f16vec2   modf(f16vec2,   out f16vec2);"
 3921|      1|            "f16vec3   modf(f16vec3,   out f16vec3);"
 3922|      1|            "f16vec4   modf(f16vec4,   out f16vec4);"
 3923|       |
 3924|      1|            "float16_t min(float16_t, float16_t);"
 3925|      1|            "f16vec2   min(f16vec2,   float16_t);"
 3926|      1|            "f16vec3   min(f16vec3,   float16_t);"
 3927|      1|            "f16vec4   min(f16vec4,   float16_t);"
 3928|      1|            "f16vec2   min(f16vec2,   f16vec2);"
 3929|      1|            "f16vec3   min(f16vec3,   f16vec3);"
 3930|      1|            "f16vec4   min(f16vec4,   f16vec4);"
 3931|       |
 3932|      1|            "float16_t max(float16_t, float16_t);"
 3933|      1|            "f16vec2   max(f16vec2,   float16_t);"
 3934|      1|            "f16vec3   max(f16vec3,   float16_t);"
 3935|      1|            "f16vec4   max(f16vec4,   float16_t);"
 3936|      1|            "f16vec2   max(f16vec2,   f16vec2);"
 3937|      1|            "f16vec3   max(f16vec3,   f16vec3);"
 3938|      1|            "f16vec4   max(f16vec4,   f16vec4);"
 3939|       |
 3940|      1|            "float16_t clamp(float16_t, float16_t, float16_t);"
 3941|      1|            "f16vec2   clamp(f16vec2,   float16_t, float16_t);"
 3942|      1|            "f16vec3   clamp(f16vec3,   float16_t, float16_t);"
 3943|      1|            "f16vec4   clamp(f16vec4,   float16_t, float16_t);"
 3944|      1|            "f16vec2   clamp(f16vec2,   f16vec2,   f16vec2);"
 3945|      1|            "f16vec3   clamp(f16vec3,   f16vec3,   f16vec3);"
 3946|      1|            "f16vec4   clamp(f16vec4,   f16vec4,   f16vec4);"
 3947|       |
 3948|      1|            "float16_t mix(float16_t, float16_t, float16_t);"
 3949|      1|            "f16vec2   mix(f16vec2,   f16vec2,   float16_t);"
 3950|      1|            "f16vec3   mix(f16vec3,   f16vec3,   float16_t);"
 3951|      1|            "f16vec4   mix(f16vec4,   f16vec4,   float16_t);"
 3952|      1|            "f16vec2   mix(f16vec2,   f16vec2,   f16vec2);"
 3953|      1|            "f16vec3   mix(f16vec3,   f16vec3,   f16vec3);"
 3954|      1|            "f16vec4   mix(f16vec4,   f16vec4,   f16vec4);"
 3955|      1|            "float16_t mix(float16_t, float16_t, bool);"
 3956|      1|            "f16vec2   mix(f16vec2,   f16vec2,   bvec2);"
 3957|      1|            "f16vec3   mix(f16vec3,   f16vec3,   bvec3);"
 3958|      1|            "f16vec4   mix(f16vec4,   f16vec4,   bvec4);"
 3959|       |
 3960|      1|            "float16_t step(float16_t, float16_t);"
 3961|      1|            "f16vec2   step(f16vec2,   f16vec2);"
 3962|      1|            "f16vec3   step(f16vec3,   f16vec3);"
 3963|      1|            "f16vec4   step(f16vec4,   f16vec4);"
 3964|      1|            "f16vec2   step(float16_t, f16vec2);"
 3965|      1|            "f16vec3   step(float16_t, f16vec3);"
 3966|      1|            "f16vec4   step(float16_t, f16vec4);"
 3967|       |
 3968|      1|            "float16_t smoothstep(float16_t, float16_t, float16_t);"
 3969|      1|            "f16vec2   smoothstep(f16vec2,   f16vec2,   f16vec2);"
 3970|      1|            "f16vec3   smoothstep(f16vec3,   f16vec3,   f16vec3);"
 3971|      1|            "f16vec4   smoothstep(f16vec4,   f16vec4,   f16vec4);"
 3972|      1|            "f16vec2   smoothstep(float16_t, float16_t, f16vec2);"
 3973|      1|            "f16vec3   smoothstep(float16_t, float16_t, f16vec3);"
 3974|      1|            "f16vec4   smoothstep(float16_t, float16_t, f16vec4);"
 3975|       |
 3976|      1|            "bool  isnan(float16_t);"
 3977|      1|            "bvec2 isnan(f16vec2);"
 3978|      1|            "bvec3 isnan(f16vec3);"
 3979|      1|            "bvec4 isnan(f16vec4);"
 3980|       |
 3981|      1|            "bool  isinf(float16_t);"
 3982|      1|            "bvec2 isinf(f16vec2);"
 3983|      1|            "bvec3 isinf(f16vec3);"
 3984|      1|            "bvec4 isinf(f16vec4);"
 3985|       |
 3986|      1|            "float16_t fma(float16_t, float16_t, float16_t);"
 3987|      1|            "f16vec2   fma(f16vec2,   f16vec2,   f16vec2);"
 3988|      1|            "f16vec3   fma(f16vec3,   f16vec3,   f16vec3);"
 3989|      1|            "f16vec4   fma(f16vec4,   f16vec4,   f16vec4);"
 3990|       |
 3991|      1|            "float16_t frexp(float16_t, out int);"
 3992|      1|            "f16vec2   frexp(f16vec2,   out ivec2);"
 3993|      1|            "f16vec3   frexp(f16vec3,   out ivec3);"
 3994|      1|            "f16vec4   frexp(f16vec4,   out ivec4);"
 3995|       |
 3996|      1|            "float16_t ldexp(float16_t, in int);"
 3997|      1|            "f16vec2   ldexp(f16vec2,   in ivec2);"
 3998|      1|            "f16vec3   ldexp(f16vec3,   in ivec3);"
 3999|      1|            "f16vec4   ldexp(f16vec4,   in ivec4);"
 4000|       |
 4001|      1|            "uint    packFloat2x16(f16vec2);"
 4002|      1|            "f16vec2 unpackFloat2x16(uint);"
 4003|       |
 4004|      1|            "float16_t length(float16_t);"
 4005|      1|            "float16_t length(f16vec2);"
 4006|      1|            "float16_t length(f16vec3);"
 4007|      1|            "float16_t length(f16vec4);"
 4008|       |
 4009|      1|            "float16_t distance(float16_t, float16_t);"
 4010|      1|            "float16_t distance(f16vec2,   f16vec2);"
 4011|      1|            "float16_t distance(f16vec3,   f16vec3);"
 4012|      1|            "float16_t distance(f16vec4,   f16vec4);"
 4013|       |
 4014|      1|            "float16_t dot(float16_t, float16_t);"
 4015|      1|            "float16_t dot(f16vec2,   f16vec2);"
 4016|      1|            "float16_t dot(f16vec3,   f16vec3);"
 4017|      1|            "float16_t dot(f16vec4,   f16vec4);"
 4018|       |
 4019|      1|            "f16vec3 cross(f16vec3, f16vec3);"
 4020|       |
 4021|      1|            "float16_t normalize(float16_t);"
 4022|      1|            "f16vec2   normalize(f16vec2);"
 4023|      1|            "f16vec3   normalize(f16vec3);"
 4024|      1|            "f16vec4   normalize(f16vec4);"
 4025|       |
 4026|      1|            "float16_t faceforward(float16_t, float16_t, float16_t);"
 4027|      1|            "f16vec2   faceforward(f16vec2,   f16vec2,   f16vec2);"
 4028|      1|            "f16vec3   faceforward(f16vec3,   f16vec3,   f16vec3);"
 4029|      1|            "f16vec4   faceforward(f16vec4,   f16vec4,   f16vec4);"
 4030|       |
 4031|      1|            "float16_t reflect(float16_t, float16_t);"
 4032|      1|            "f16vec2   reflect(f16vec2,   f16vec2);"
 4033|      1|            "f16vec3   reflect(f16vec3,   f16vec3);"
 4034|      1|            "f16vec4   reflect(f16vec4,   f16vec4);"
 4035|       |
 4036|      1|            "float16_t refract(float16_t, float16_t, float16_t);"
 4037|      1|            "f16vec2   refract(f16vec2,   f16vec2,   float16_t);"
 4038|      1|            "f16vec3   refract(f16vec3,   f16vec3,   float16_t);"
 4039|      1|            "f16vec4   refract(f16vec4,   f16vec4,   float16_t);"
 4040|       |
 4041|      1|            "f16mat2   matrixCompMult(f16mat2,   f16mat2);"
 4042|      1|            "f16mat3   matrixCompMult(f16mat3,   f16mat3);"
 4043|      1|            "f16mat4   matrixCompMult(f16mat4,   f16mat4);"
 4044|      1|            "f16mat2x3 matrixCompMult(f16mat2x3, f16mat2x3);"
 4045|      1|            "f16mat2x4 matrixCompMult(f16mat2x4, f16mat2x4);"
 4046|      1|            "f16mat3x2 matrixCompMult(f16mat3x2, f16mat3x2);"
 4047|      1|            "f16mat3x4 matrixCompMult(f16mat3x4, f16mat3x4);"
 4048|      1|            "f16mat4x2 matrixCompMult(f16mat4x2, f16mat4x2);"
 4049|      1|            "f16mat4x3 matrixCompMult(f16mat4x3, f16mat4x3);"
 4050|       |
 4051|      1|            "f16mat2   outerProduct(f16vec2, f16vec2);"
 4052|      1|            "f16mat3   outerProduct(f16vec3, f16vec3);"
 4053|      1|            "f16mat4   outerProduct(f16vec4, f16vec4);"
 4054|      1|            "f16mat2x3 outerProduct(f16vec3, f16vec2);"
 4055|      1|            "f16mat3x2 outerProduct(f16vec2, f16vec3);"
 4056|      1|            "f16mat2x4 outerProduct(f16vec4, f16vec2);"
 4057|      1|            "f16mat4x2 outerProduct(f16vec2, f16vec4);"
 4058|      1|            "f16mat3x4 outerProduct(f16vec4, f16vec3);"
 4059|      1|            "f16mat4x3 outerProduct(f16vec3, f16vec4);"
 4060|       |
 4061|      1|            "f16mat2   transpose(f16mat2);"
 4062|      1|            "f16mat3   transpose(f16mat3);"
 4063|      1|            "f16mat4   transpose(f16mat4);"
 4064|      1|            "f16mat2x3 transpose(f16mat3x2);"
 4065|      1|            "f16mat3x2 transpose(f16mat2x3);"
 4066|      1|            "f16mat2x4 transpose(f16mat4x2);"
 4067|      1|            "f16mat4x2 transpose(f16mat2x4);"
 4068|      1|            "f16mat3x4 transpose(f16mat4x3);"
 4069|      1|            "f16mat4x3 transpose(f16mat3x4);"
 4070|       |
 4071|      1|            "float16_t determinant(f16mat2);"
 4072|      1|            "float16_t determinant(f16mat3);"
 4073|      1|            "float16_t determinant(f16mat4);"
 4074|       |
 4075|      1|            "f16mat2 inverse(f16mat2);"
 4076|      1|            "f16mat3 inverse(f16mat3);"
 4077|      1|            "f16mat4 inverse(f16mat4);"
 4078|       |
 4079|      1|            "bvec2 lessThan(f16vec2, f16vec2);"
 4080|      1|            "bvec3 lessThan(f16vec3, f16vec3);"
 4081|      1|            "bvec4 lessThan(f16vec4, f16vec4);"
 4082|       |
 4083|      1|            "bvec2 lessThanEqual(f16vec2, f16vec2);"
 4084|      1|            "bvec3 lessThanEqual(f16vec3, f16vec3);"
 4085|      1|            "bvec4 lessThanEqual(f16vec4, f16vec4);"
 4086|       |
 4087|      1|            "bvec2 greaterThan(f16vec2, f16vec2);"
 4088|      1|            "bvec3 greaterThan(f16vec3, f16vec3);"
 4089|      1|            "bvec4 greaterThan(f16vec4, f16vec4);"
 4090|       |
 4091|      1|            "bvec2 greaterThanEqual(f16vec2, f16vec2);"
 4092|      1|            "bvec3 greaterThanEqual(f16vec3, f16vec3);"
 4093|      1|            "bvec4 greaterThanEqual(f16vec4, f16vec4);"
 4094|       |
 4095|      1|            "bvec2 equal(f16vec2, f16vec2);"
 4096|      1|            "bvec3 equal(f16vec3, f16vec3);"
 4097|      1|            "bvec4 equal(f16vec4, f16vec4);"
 4098|       |
 4099|      1|            "bvec2 notEqual(f16vec2, f16vec2);"
 4100|      1|            "bvec3 notEqual(f16vec3, f16vec3);"
 4101|      1|            "bvec4 notEqual(f16vec4, f16vec4);"
 4102|       |
 4103|      1|            "bfloat16_t dot(bfloat16_t, bfloat16_t);"
 4104|      1|            "bfloat16_t dot(bf16vec2,   bf16vec2);"
 4105|      1|            "bfloat16_t dot(bf16vec3,   bf16vec3);"
 4106|      1|            "bfloat16_t dot(bf16vec4,   bf16vec4);"
 4107|       |
 4108|      1|            "int16_t  bfloat16BitsToIntEXT(bfloat16_t value);"
 4109|      1|            "i16vec2  bfloat16BitsToIntEXT(bf16vec2 value);"
 4110|      1|            "i16vec3  bfloat16BitsToIntEXT(bf16vec3 value);"
 4111|      1|            "i16vec4  bfloat16BitsToIntEXT(bf16vec4 value);"
 4112|       |
 4113|      1|            "uint16_t bfloat16BitsToUintEXT(bfloat16_t value);"
 4114|      1|            "u16vec2  bfloat16BitsToUintEXT(bf16vec2 value);"
 4115|      1|            "u16vec3  bfloat16BitsToUintEXT(bf16vec3 value);"
 4116|      1|            "u16vec4  bfloat16BitsToUintEXT(bf16vec4 value);"
 4117|       |
 4118|      1|            "bfloat16_t intBitsToBFloat16EXT(int16_t value);"
 4119|      1|            "bf16vec2   intBitsToBFloat16EXT(i16vec2 value);"
 4120|      1|            "bf16vec3   intBitsToBFloat16EXT(i16vec3 value);"
 4121|      1|            "bf16vec4   intBitsToBFloat16EXT(i16vec4 value);"
 4122|       |
 4123|      1|            "bfloat16_t uintBitsToBFloat16EXT(uint16_t value);"
 4124|      1|            "bf16vec2   uintBitsToBFloat16EXT(u16vec2 value);"
 4125|      1|            "bf16vec3   uintBitsToBFloat16EXT(u16vec3 value);"
 4126|      1|            "bf16vec4   uintBitsToBFloat16EXT(u16vec4 value);"
 4127|       |
 4128|      1|            "int8_t  floate5m2BitsToIntEXT(floate5m2_t value);"
 4129|      1|            "i8vec2  floate5m2BitsToIntEXT(fe5m2vec2 value);"
 4130|      1|            "i8vec3  floate5m2BitsToIntEXT(fe5m2vec3 value);"
 4131|      1|            "i8vec4  floate5m2BitsToIntEXT(fe5m2vec4 value);"
 4132|       |
 4133|      1|            "uint8_t floate5m2BitsToUintEXT(floate5m2_t value);"
 4134|      1|            "u8vec2  floate5m2BitsToUintEXT(fe5m2vec2 value);"
 4135|      1|            "u8vec3  floate5m2BitsToUintEXT(fe5m2vec3 value);"
 4136|      1|            "u8vec4  floate5m2BitsToUintEXT(fe5m2vec4 value);"
 4137|       |
 4138|      1|            "floate5m2_t intBitsToFloate5m2EXT(int8_t value);"
 4139|      1|            "fe5m2vec2   intBitsToFloate5m2EXT(i8vec2 value);"
 4140|      1|            "fe5m2vec3   intBitsToFloate5m2EXT(i8vec3 value);"
 4141|      1|            "fe5m2vec4   intBitsToFloate5m2EXT(i8vec4 value);"
 4142|       |
 4143|      1|            "floate5m2_t uintBitsToFloate5m2EXT(uint8_t value);"
 4144|      1|            "fe5m2vec2   uintBitsToFloate5m2EXT(u8vec2 value);"
 4145|      1|            "fe5m2vec3   uintBitsToFloate5m2EXT(u8vec3 value);"
 4146|      1|            "fe5m2vec4   uintBitsToFloate5m2EXT(u8vec4 value);"
 4147|       |
 4148|      1|            "int8_t  floate4m3BitsToIntEXT(floate4m3_t value);"
 4149|      1|            "i8vec2  floate4m3BitsToIntEXT(fe4m3vec2 value);"
 4150|      1|            "i8vec3  floate4m3BitsToIntEXT(fe4m3vec3 value);"
 4151|      1|            "i8vec4  floate4m3BitsToIntEXT(fe4m3vec4 value);"
 4152|       |
 4153|      1|            "uint8_t floate4m3BitsToUintEXT(floate4m3_t value);"
 4154|      1|            "u8vec2  floate4m3BitsToUintEXT(fe4m3vec2 value);"
 4155|      1|            "u8vec3  floate4m3BitsToUintEXT(fe4m3vec3 value);"
 4156|      1|            "u8vec4  floate4m3BitsToUintEXT(fe4m3vec4 value);"
 4157|       |
 4158|      1|            "floate4m3_t intBitsToFloate4m3EXT(int8_t value);"
 4159|      1|            "fe4m3vec2   intBitsToFloate4m3EXT(i8vec2 value);"
 4160|      1|            "fe4m3vec3   intBitsToFloate4m3EXT(i8vec3 value);"
 4161|      1|            "fe4m3vec4   intBitsToFloate4m3EXT(i8vec4 value);"
 4162|       |
 4163|      1|            "floate4m3_t uintBitsToFloate4m3EXT(uint8_t value);"
 4164|      1|            "fe4m3vec2   uintBitsToFloate4m3EXT(u8vec2 value);"
 4165|      1|            "fe4m3vec3   uintBitsToFloate4m3EXT(u8vec3 value);"
 4166|      1|            "fe4m3vec4   uintBitsToFloate4m3EXT(u8vec4 value);"
 4167|       |
 4168|      1|            "void saturatedConvertEXT();"
 4169|       |
 4170|      1|            "int8_t  floatue8m0BitsToIntEXT(floatue8m0_t value);"
 4171|      1|            "i8vec2  floatue8m0BitsToIntEXT(fue8m0vec2 value);"
 4172|      1|            "i8vec3  floatue8m0BitsToIntEXT(fue8m0vec3 value);"
 4173|      1|            "i8vec4  floatue8m0BitsToIntEXT(fue8m0vec4 value);"
 4174|       |
 4175|      1|            "uint8_t floatue8m0BitsToUintEXT(floatue8m0_t value);"
 4176|      1|            "u8vec2  floatue8m0BitsToUintEXT(fue8m0vec2 value);"
 4177|      1|            "u8vec3  floatue8m0BitsToUintEXT(fue8m0vec3 value);"
 4178|      1|            "u8vec4  floatue8m0BitsToUintEXT(fue8m0vec4 value);"
 4179|       |
 4180|      1|            "floatue8m0_t intBitsToFloatue8m0EXT(int8_t value);"
 4181|      1|            "fue8m0vec2   intBitsToFloatue8m0EXT(i8vec2 value);"
 4182|      1|            "fue8m0vec3   intBitsToFloatue8m0EXT(i8vec3 value);"
 4183|      1|            "fue8m0vec4   intBitsToFloatue8m0EXT(i8vec4 value);"
 4184|       |
 4185|      1|            "floatue8m0_t uintBitsToFloatue8m0EXT(uint8_t value);"
 4186|      1|            "fue8m0vec2   uintBitsToFloatue8m0EXT(u8vec2 value);"
 4187|      1|            "fue8m0vec3   uintBitsToFloatue8m0EXT(u8vec3 value);"
 4188|      1|            "fue8m0vec4   uintBitsToFloatue8m0EXT(u8vec4 value);"
 4189|       |
 4190|      1|            "int8_t  floatmxint8BitsToIntEXT(floatmxint8_t value);"
 4191|      1|            "i8vec2  floatmxint8BitsToIntEXT(fmxint8vec2 value);"
 4192|      1|            "i8vec3  floatmxint8BitsToIntEXT(fmxint8vec3 value);"
 4193|      1|            "i8vec4  floatmxint8BitsToIntEXT(fmxint8vec4 value);"
 4194|       |
 4195|      1|            "uint8_t floatmxint8BitsToUintEXT(floatmxint8_t value);"
 4196|      1|            "u8vec2  floatmxint8BitsToUintEXT(fmxint8vec2 value);"
 4197|      1|            "u8vec3  floatmxint8BitsToUintEXT(fmxint8vec3 value);"
 4198|      1|            "u8vec4  floatmxint8BitsToUintEXT(fmxint8vec4 value);"
 4199|       |
 4200|      1|            "floatmxint8_t intBitsToFloatmxint8EXT(int8_t value);"
 4201|      1|            "fmxint8vec2   intBitsToFloatmxint8EXT(i8vec2 value);"
 4202|      1|            "fmxint8vec3   intBitsToFloatmxint8EXT(i8vec3 value);"
 4203|      1|            "fmxint8vec4   intBitsToFloatmxint8EXT(i8vec4 value);"
 4204|       |
 4205|      1|            "floatmxint8_t uintBitsToFloatmxint8EXT(uint8_t value);"
 4206|      1|            "fmxint8vec2   uintBitsToFloatmxint8EXT(u8vec2 value);"
 4207|      1|            "fmxint8vec3   uintBitsToFloatmxint8EXT(u8vec3 value);"
 4208|      1|            "fmxint8vec4   uintBitsToFloatmxint8EXT(u8vec4 value);"
 4209|       |
 4210|      1|            "fe2m1vec2               unpackFloat2xfe2m1EXT(uint8_t value);"
 4211|      1|            "fe2m1vec4               unpackFloat4xfe2m1EXT(uint16_t value);"
 4212|      1|            "vector<floate2m1_t, 8>  unpackFloat8xfe2m1EXT(uint32_t value);"
 4213|      1|            "vector<floate2m1_t, 16> unpackFloat16xfe2m1EXT(u32vec2 value);"
 4214|       |
 4215|      1|            "uint8_t                 packFloat2xfe2m1EXT(fe2m1vec2 value);"
 4216|      1|            "uint16_t                packFloat4xfe2m1EXT(fe2m1vec4 value);"
 4217|      1|            "uint32_t                packFloat8xfe2m1EXT(vector<floate2m1_t, 8> value);"
 4218|      1|            "u32vec2                 packFloat16xfe2m1EXT(vector<floate2m1_t, 16> value);"
 4219|       |
 4220|      1|            "fe3m2vec4               unpackFloat4xfe3m2EXT(u8vec3 value);"
 4221|      1|            "vector<floate3m2_t, 8>  unpackFloat8xfe3m2EXT(u16vec3 value);"
 4222|      1|            "vector<floate3m2_t, 16> unpackFloat16xfe3m2EXT(u32vec3 value);"
 4223|       |
 4224|      1|            "u8vec3                  packFloat4xfe3m2EXT(fe3m2vec4 value);"
 4225|      1|            "u16vec3                 packFloat8xfe3m2EXT(vector<floate3m2_t, 8> value);"
 4226|      1|            "u32vec3                 packFloat16xfe3m2EXT(vector<floate3m2_t, 16> value);"
 4227|       |
 4228|      1|            "fe2m3vec4               unpackFloat4xfe2m3EXT(u8vec3 value);"
 4229|      1|            "vector<floate2m3_t, 8>  unpackFloat8xfe2m3EXT(u16vec3 value);"
 4230|      1|            "vector<floate2m3_t, 16> unpackFloat16xfe2m3EXT(u32vec3 value);"
 4231|       |
 4232|      1|            "u8vec3                  packFloat4xfe2m3EXT(fe2m3vec4 value);"
 4233|      1|            "u16vec3                 packFloat8xfe2m3EXT(vector<floate2m3_t, 8> value);"
 4234|      1|            "u32vec3                 packFloat16xfe2m3EXT(vector<floate2m3_t, 16> value);"
 4235|       |
 4236|      1|            "floate2m1_t             bitcastExtractfe2m1EXT(uint8_t, uint);"
 4237|      1|            "fe2m1vec2               bitcastExtractfe2m1EXT(u8vec2, uint);"
 4238|      1|            "fe2m1vec3               bitcastExtractfe2m1EXT(u8vec3, uint);"
 4239|      1|            "fe2m1vec4               bitcastExtractfe2m1EXT(u8vec4, uint);"
 4240|       |
 4241|      1|            "floate3m2_t             bitcastExtractfe3m2EXT(uint8_t, uint);"
 4242|      1|            "fe3m2vec2               bitcastExtractfe3m2EXT(u8vec2, uint);"
 4243|      1|            "fe3m2vec3               bitcastExtractfe3m2EXT(u8vec3, uint);"
 4244|      1|            "fe3m2vec4               bitcastExtractfe3m2EXT(u8vec4, uint);"
 4245|       |
 4246|      1|            "floate2m3_t             bitcastExtractfe2m3EXT(uint8_t, uint);"
 4247|      1|            "fe2m3vec2               bitcastExtractfe2m3EXT(u8vec2, uint);"
 4248|      1|            "fe2m3vec3               bitcastExtractfe2m3EXT(u8vec3, uint);"
 4249|      1|            "fe2m3vec4               bitcastExtractfe2m3EXT(u8vec4, uint);"
 4250|       |
 4251|      1|            "\n");
 4252|      1|    }
 4253|       |
 4254|       |    // Explicit types
 4255|     37|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (4255:10): [True: 1, False: 36]
  |  Branch (4255:35): [True: 1, False: 0]
  |  Branch (4255:55): [True: 36, False: 0]
  |  Branch (4255:80): [True: 0, False: 36]
  ------------------
 4256|      1|        commonBuiltins.append(
 4257|      1|            "int8_t abs(int8_t);"
 4258|      1|            "i8vec2 abs(i8vec2);"
 4259|      1|            "i8vec3 abs(i8vec3);"
 4260|      1|            "i8vec4 abs(i8vec4);"
 4261|       |
 4262|      1|            "int8_t sign(int8_t);"
 4263|      1|            "i8vec2 sign(i8vec2);"
 4264|      1|            "i8vec3 sign(i8vec3);"
 4265|      1|            "i8vec4 sign(i8vec4);"
 4266|       |
 4267|      1|            "int8_t min(int8_t x, int8_t y);"
 4268|      1|            "i8vec2 min(i8vec2 x, int8_t y);"
 4269|      1|            "i8vec3 min(i8vec3 x, int8_t y);"
 4270|      1|            "i8vec4 min(i8vec4 x, int8_t y);"
 4271|      1|            "i8vec2 min(i8vec2 x, i8vec2 y);"
 4272|      1|            "i8vec3 min(i8vec3 x, i8vec3 y);"
 4273|      1|            "i8vec4 min(i8vec4 x, i8vec4 y);"
 4274|       |
 4275|      1|            "uint8_t min(uint8_t x, uint8_t y);"
 4276|      1|            "u8vec2 min(u8vec2 x, uint8_t y);"
 4277|      1|            "u8vec3 min(u8vec3 x, uint8_t y);"
 4278|      1|            "u8vec4 min(u8vec4 x, uint8_t y);"
 4279|      1|            "u8vec2 min(u8vec2 x, u8vec2 y);"
 4280|      1|            "u8vec3 min(u8vec3 x, u8vec3 y);"
 4281|      1|            "u8vec4 min(u8vec4 x, u8vec4 y);"
 4282|       |
 4283|      1|            "int8_t max(int8_t x, int8_t y);"
 4284|      1|            "i8vec2 max(i8vec2 x, int8_t y);"
 4285|      1|            "i8vec3 max(i8vec3 x, int8_t y);"
 4286|      1|            "i8vec4 max(i8vec4 x, int8_t y);"
 4287|      1|            "i8vec2 max(i8vec2 x, i8vec2 y);"
 4288|      1|            "i8vec3 max(i8vec3 x, i8vec3 y);"
 4289|      1|            "i8vec4 max(i8vec4 x, i8vec4 y);"
 4290|       |
 4291|      1|            "uint8_t max(uint8_t x, uint8_t y);"
 4292|      1|            "u8vec2 max(u8vec2 x, uint8_t y);"
 4293|      1|            "u8vec3 max(u8vec3 x, uint8_t y);"
 4294|      1|            "u8vec4 max(u8vec4 x, uint8_t y);"
 4295|      1|            "u8vec2 max(u8vec2 x, u8vec2 y);"
 4296|      1|            "u8vec3 max(u8vec3 x, u8vec3 y);"
 4297|      1|            "u8vec4 max(u8vec4 x, u8vec4 y);"
 4298|       |
 4299|      1|            "int8_t    clamp(int8_t x, int8_t minVal, int8_t maxVal);"
 4300|      1|            "i8vec2  clamp(i8vec2  x, int8_t minVal, int8_t maxVal);"
 4301|      1|            "i8vec3  clamp(i8vec3  x, int8_t minVal, int8_t maxVal);"
 4302|      1|            "i8vec4  clamp(i8vec4  x, int8_t minVal, int8_t maxVal);"
 4303|      1|            "i8vec2  clamp(i8vec2  x, i8vec2  minVal, i8vec2  maxVal);"
 4304|      1|            "i8vec3  clamp(i8vec3  x, i8vec3  minVal, i8vec3  maxVal);"
 4305|      1|            "i8vec4  clamp(i8vec4  x, i8vec4  minVal, i8vec4  maxVal);"
 4306|       |
 4307|      1|            "uint8_t   clamp(uint8_t x, uint8_t minVal, uint8_t maxVal);"
 4308|      1|            "u8vec2  clamp(u8vec2  x, uint8_t minVal, uint8_t maxVal);"
 4309|      1|            "u8vec3  clamp(u8vec3  x, uint8_t minVal, uint8_t maxVal);"
 4310|      1|            "u8vec4  clamp(u8vec4  x, uint8_t minVal, uint8_t maxVal);"
 4311|      1|            "u8vec2  clamp(u8vec2  x, u8vec2  minVal, u8vec2  maxVal);"
 4312|      1|            "u8vec3  clamp(u8vec3  x, u8vec3  minVal, u8vec3  maxVal);"
 4313|      1|            "u8vec4  clamp(u8vec4  x, u8vec4  minVal, u8vec4  maxVal);"
 4314|       |
 4315|      1|            "int8_t  mix(int8_t,  int8_t,  bool);"
 4316|      1|            "i8vec2  mix(i8vec2,  i8vec2,  bvec2);"
 4317|      1|            "i8vec3  mix(i8vec3,  i8vec3,  bvec3);"
 4318|      1|            "i8vec4  mix(i8vec4,  i8vec4,  bvec4);"
 4319|      1|            "uint8_t mix(uint8_t, uint8_t, bool);"
 4320|      1|            "u8vec2  mix(u8vec2,  u8vec2,  bvec2);"
 4321|      1|            "u8vec3  mix(u8vec3,  u8vec3,  bvec3);"
 4322|      1|            "u8vec4  mix(u8vec4,  u8vec4,  bvec4);"
 4323|       |
 4324|      1|            "bvec2 lessThan(i8vec2, i8vec2);"
 4325|      1|            "bvec3 lessThan(i8vec3, i8vec3);"
 4326|      1|            "bvec4 lessThan(i8vec4, i8vec4);"
 4327|      1|            "bvec2 lessThan(u8vec2, u8vec2);"
 4328|      1|            "bvec3 lessThan(u8vec3, u8vec3);"
 4329|      1|            "bvec4 lessThan(u8vec4, u8vec4);"
 4330|       |
 4331|      1|            "bvec2 lessThanEqual(i8vec2, i8vec2);"
 4332|      1|            "bvec3 lessThanEqual(i8vec3, i8vec3);"
 4333|      1|            "bvec4 lessThanEqual(i8vec4, i8vec4);"
 4334|      1|            "bvec2 lessThanEqual(u8vec2, u8vec2);"
 4335|      1|            "bvec3 lessThanEqual(u8vec3, u8vec3);"
 4336|      1|            "bvec4 lessThanEqual(u8vec4, u8vec4);"
 4337|       |
 4338|      1|            "bvec2 greaterThan(i8vec2, i8vec2);"
 4339|      1|            "bvec3 greaterThan(i8vec3, i8vec3);"
 4340|      1|            "bvec4 greaterThan(i8vec4, i8vec4);"
 4341|      1|            "bvec2 greaterThan(u8vec2, u8vec2);"
 4342|      1|            "bvec3 greaterThan(u8vec3, u8vec3);"
 4343|      1|            "bvec4 greaterThan(u8vec4, u8vec4);"
 4344|       |
 4345|      1|            "bvec2 greaterThanEqual(i8vec2, i8vec2);"
 4346|      1|            "bvec3 greaterThanEqual(i8vec3, i8vec3);"
 4347|      1|            "bvec4 greaterThanEqual(i8vec4, i8vec4);"
 4348|      1|            "bvec2 greaterThanEqual(u8vec2, u8vec2);"
 4349|      1|            "bvec3 greaterThanEqual(u8vec3, u8vec3);"
 4350|      1|            "bvec4 greaterThanEqual(u8vec4, u8vec4);"
 4351|       |
 4352|      1|            "bvec2 equal(i8vec2, i8vec2);"
 4353|      1|            "bvec3 equal(i8vec3, i8vec3);"
 4354|      1|            "bvec4 equal(i8vec4, i8vec4);"
 4355|      1|            "bvec2 equal(u8vec2, u8vec2);"
 4356|      1|            "bvec3 equal(u8vec3, u8vec3);"
 4357|      1|            "bvec4 equal(u8vec4, u8vec4);"
 4358|       |
 4359|      1|            "bvec2 notEqual(i8vec2, i8vec2);"
 4360|      1|            "bvec3 notEqual(i8vec3, i8vec3);"
 4361|      1|            "bvec4 notEqual(i8vec4, i8vec4);"
 4362|      1|            "bvec2 notEqual(u8vec2, u8vec2);"
 4363|      1|            "bvec3 notEqual(u8vec3, u8vec3);"
 4364|      1|            "bvec4 notEqual(u8vec4, u8vec4);"
 4365|       |
 4366|      1|            "  int8_t bitfieldExtract(  int8_t, int8_t, int8_t);"
 4367|      1|            "i8vec2 bitfieldExtract(i8vec2, int8_t, int8_t);"
 4368|      1|            "i8vec3 bitfieldExtract(i8vec3, int8_t, int8_t);"
 4369|      1|            "i8vec4 bitfieldExtract(i8vec4, int8_t, int8_t);"
 4370|       |
 4371|      1|            " uint8_t bitfieldExtract( uint8_t, int8_t, int8_t);"
 4372|      1|            "u8vec2 bitfieldExtract(u8vec2, int8_t, int8_t);"
 4373|      1|            "u8vec3 bitfieldExtract(u8vec3, int8_t, int8_t);"
 4374|      1|            "u8vec4 bitfieldExtract(u8vec4, int8_t, int8_t);"
 4375|       |
 4376|      1|            "  int8_t bitfieldInsert(  int8_t base,   int8_t, int8_t, int8_t);"
 4377|      1|            "i8vec2 bitfieldInsert(i8vec2 base, i8vec2, int8_t, int8_t);"
 4378|      1|            "i8vec3 bitfieldInsert(i8vec3 base, i8vec3, int8_t, int8_t);"
 4379|      1|            "i8vec4 bitfieldInsert(i8vec4 base, i8vec4, int8_t, int8_t);"
 4380|       |
 4381|      1|            " uint8_t bitfieldInsert( uint8_t base,  uint8_t, int8_t, int8_t);"
 4382|      1|            "u8vec2 bitfieldInsert(u8vec2 base, u8vec2, int8_t, int8_t);"
 4383|      1|            "u8vec3 bitfieldInsert(u8vec3 base, u8vec3, int8_t, int8_t);"
 4384|      1|            "u8vec4 bitfieldInsert(u8vec4 base, u8vec4, int8_t, int8_t);"
 4385|       |
 4386|      1|            "  int8_t bitCount(  int8_t);"
 4387|      1|            "i8vec2 bitCount(i8vec2);"
 4388|      1|            "i8vec3 bitCount(i8vec3);"
 4389|      1|            "i8vec4 bitCount(i8vec4);"
 4390|       |
 4391|      1|            "  int8_t bitCount( uint8_t);"
 4392|      1|            "i8vec2 bitCount(u8vec2);"
 4393|      1|            "i8vec3 bitCount(u8vec3);"
 4394|      1|            "i8vec4 bitCount(u8vec4);"
 4395|       |
 4396|      1|            "int8_t bitfieldReverse(highp int8_t);"
 4397|      1|            "i8vec2 bitfieldReverse(highp i8vec2);"
 4398|      1|            "i8vec3 bitfieldReverse(highp i8vec3);"
 4399|      1|            "i8vec4 bitfieldReverse(highp i8vec4);"
 4400|       |
 4401|      1|            "uint8_t bitfieldReverse(highp uint8_t);"
 4402|      1|            "u8vec2  bitfieldReverse(highp u8vec2);"
 4403|      1|            "u8vec3  bitfieldReverse(highp u8vec3);"
 4404|      1|            "u8vec4  bitfieldReverse(highp u8vec4);"
 4405|       |
 4406|      1|            "  int8_t findLSB(  int8_t);"
 4407|      1|            "i8vec2 findLSB(i8vec2);"
 4408|      1|            "i8vec3 findLSB(i8vec3);"
 4409|      1|            "i8vec4 findLSB(i8vec4);"
 4410|       |
 4411|      1|            "  int8_t findLSB( uint8_t);"
 4412|      1|            "i8vec2 findLSB(u8vec2);"
 4413|      1|            "i8vec3 findLSB(u8vec3);"
 4414|      1|            "i8vec4 findLSB(u8vec4);"
 4415|       |
 4416|      1|            "  int8_t findMSB(  int8_t);"
 4417|      1|            "i8vec2 findMSB(i8vec2);"
 4418|      1|            "i8vec3 findMSB(i8vec3);"
 4419|      1|            "i8vec4 findMSB(i8vec4);"
 4420|       |
 4421|      1|            "  int8_t findMSB( uint8_t);"
 4422|      1|            "i8vec2 findMSB(u8vec2);"
 4423|      1|            "i8vec3 findMSB(u8vec3);"
 4424|      1|            "i8vec4 findMSB(u8vec4);"
 4425|       |
 4426|      1|            "int16_t abs(int16_t);"
 4427|      1|            "i16vec2 abs(i16vec2);"
 4428|      1|            "i16vec3 abs(i16vec3);"
 4429|      1|            "i16vec4 abs(i16vec4);"
 4430|       |
 4431|      1|            "int16_t sign(int16_t);"
 4432|      1|            "i16vec2 sign(i16vec2);"
 4433|      1|            "i16vec3 sign(i16vec3);"
 4434|      1|            "i16vec4 sign(i16vec4);"
 4435|       |
 4436|      1|            "int16_t min(int16_t x, int16_t y);"
 4437|      1|            "i16vec2 min(i16vec2 x, int16_t y);"
 4438|      1|            "i16vec3 min(i16vec3 x, int16_t y);"
 4439|      1|            "i16vec4 min(i16vec4 x, int16_t y);"
 4440|      1|            "i16vec2 min(i16vec2 x, i16vec2 y);"
 4441|      1|            "i16vec3 min(i16vec3 x, i16vec3 y);"
 4442|      1|            "i16vec4 min(i16vec4 x, i16vec4 y);"
 4443|       |
 4444|      1|            "uint16_t min(uint16_t x, uint16_t y);"
 4445|      1|            "u16vec2 min(u16vec2 x, uint16_t y);"
 4446|      1|            "u16vec3 min(u16vec3 x, uint16_t y);"
 4447|      1|            "u16vec4 min(u16vec4 x, uint16_t y);"
 4448|      1|            "u16vec2 min(u16vec2 x, u16vec2 y);"
 4449|      1|            "u16vec3 min(u16vec3 x, u16vec3 y);"
 4450|      1|            "u16vec4 min(u16vec4 x, u16vec4 y);"
 4451|       |
 4452|      1|            "int16_t max(int16_t x, int16_t y);"
 4453|      1|            "i16vec2 max(i16vec2 x, int16_t y);"
 4454|      1|            "i16vec3 max(i16vec3 x, int16_t y);"
 4455|      1|            "i16vec4 max(i16vec4 x, int16_t y);"
 4456|      1|            "i16vec2 max(i16vec2 x, i16vec2 y);"
 4457|      1|            "i16vec3 max(i16vec3 x, i16vec3 y);"
 4458|      1|            "i16vec4 max(i16vec4 x, i16vec4 y);"
 4459|       |
 4460|      1|            "uint16_t max(uint16_t x, uint16_t y);"
 4461|      1|            "u16vec2 max(u16vec2 x, uint16_t y);"
 4462|      1|            "u16vec3 max(u16vec3 x, uint16_t y);"
 4463|      1|            "u16vec4 max(u16vec4 x, uint16_t y);"
 4464|      1|            "u16vec2 max(u16vec2 x, u16vec2 y);"
 4465|      1|            "u16vec3 max(u16vec3 x, u16vec3 y);"
 4466|      1|            "u16vec4 max(u16vec4 x, u16vec4 y);"
 4467|       |
 4468|      1|            "int16_t    clamp(int16_t x, int16_t minVal, int16_t maxVal);"
 4469|      1|            "i16vec2  clamp(i16vec2  x, int16_t minVal, int16_t maxVal);"
 4470|      1|            "i16vec3  clamp(i16vec3  x, int16_t minVal, int16_t maxVal);"
 4471|      1|            "i16vec4  clamp(i16vec4  x, int16_t minVal, int16_t maxVal);"
 4472|      1|            "i16vec2  clamp(i16vec2  x, i16vec2  minVal, i16vec2  maxVal);"
 4473|      1|            "i16vec3  clamp(i16vec3  x, i16vec3  minVal, i16vec3  maxVal);"
 4474|      1|            "i16vec4  clamp(i16vec4  x, i16vec4  minVal, i16vec4  maxVal);"
 4475|       |
 4476|      1|            "uint16_t   clamp(uint16_t x, uint16_t minVal, uint16_t maxVal);"
 4477|      1|            "u16vec2  clamp(u16vec2  x, uint16_t minVal, uint16_t maxVal);"
 4478|      1|            "u16vec3  clamp(u16vec3  x, uint16_t minVal, uint16_t maxVal);"
 4479|      1|            "u16vec4  clamp(u16vec4  x, uint16_t minVal, uint16_t maxVal);"
 4480|      1|            "u16vec2  clamp(u16vec2  x, u16vec2  minVal, u16vec2  maxVal);"
 4481|      1|            "u16vec3  clamp(u16vec3  x, u16vec3  minVal, u16vec3  maxVal);"
 4482|      1|            "u16vec4  clamp(u16vec4  x, u16vec4  minVal, u16vec4  maxVal);"
 4483|       |
 4484|      1|            "int16_t  mix(int16_t,  int16_t,  bool);"
 4485|      1|            "i16vec2  mix(i16vec2,  i16vec2,  bvec2);"
 4486|      1|            "i16vec3  mix(i16vec3,  i16vec3,  bvec3);"
 4487|      1|            "i16vec4  mix(i16vec4,  i16vec4,  bvec4);"
 4488|      1|            "uint16_t mix(uint16_t, uint16_t, bool);"
 4489|      1|            "u16vec2  mix(u16vec2,  u16vec2,  bvec2);"
 4490|      1|            "u16vec3  mix(u16vec3,  u16vec3,  bvec3);"
 4491|      1|            "u16vec4  mix(u16vec4,  u16vec4,  bvec4);"
 4492|       |
 4493|      1|            "float16_t frexp(float16_t, out int16_t);"
 4494|      1|            "f16vec2   frexp(f16vec2,   out i16vec2);"
 4495|      1|            "f16vec3   frexp(f16vec3,   out i16vec3);"
 4496|      1|            "f16vec4   frexp(f16vec4,   out i16vec4);"
 4497|       |
 4498|      1|            "float16_t ldexp(float16_t, int16_t);"
 4499|      1|            "f16vec2   ldexp(f16vec2,   i16vec2);"
 4500|      1|            "f16vec3   ldexp(f16vec3,   i16vec3);"
 4501|      1|            "f16vec4   ldexp(f16vec4,   i16vec4);"
 4502|       |
 4503|      1|            "int16_t halfBitsToInt16(float16_t);"
 4504|      1|            "i16vec2 halfBitsToInt16(f16vec2);"
 4505|      1|            "i16vec3 halhBitsToInt16(f16vec3);"
 4506|      1|            "i16vec4 halfBitsToInt16(f16vec4);"
 4507|       |
 4508|      1|            "uint16_t halfBitsToUint16(float16_t);"
 4509|      1|            "u16vec2  halfBitsToUint16(f16vec2);"
 4510|      1|            "u16vec3  halfBitsToUint16(f16vec3);"
 4511|      1|            "u16vec4  halfBitsToUint16(f16vec4);"
 4512|       |
 4513|      1|            "int16_t float16BitsToInt16(float16_t);"
 4514|      1|            "i16vec2 float16BitsToInt16(f16vec2);"
 4515|      1|            "i16vec3 float16BitsToInt16(f16vec3);"
 4516|      1|            "i16vec4 float16BitsToInt16(f16vec4);"
 4517|       |
 4518|      1|            "uint16_t float16BitsToUint16(float16_t);"
 4519|      1|            "u16vec2  float16BitsToUint16(f16vec2);"
 4520|      1|            "u16vec3  float16BitsToUint16(f16vec3);"
 4521|      1|            "u16vec4  float16BitsToUint16(f16vec4);"
 4522|       |
 4523|      1|            "float16_t int16BitsToFloat16(int16_t);"
 4524|      1|            "f16vec2   int16BitsToFloat16(i16vec2);"
 4525|      1|            "f16vec3   int16BitsToFloat16(i16vec3);"
 4526|      1|            "f16vec4   int16BitsToFloat16(i16vec4);"
 4527|       |
 4528|      1|            "float16_t uint16BitsToFloat16(uint16_t);"
 4529|      1|            "f16vec2   uint16BitsToFloat16(u16vec2);"
 4530|      1|            "f16vec3   uint16BitsToFloat16(u16vec3);"
 4531|      1|            "f16vec4   uint16BitsToFloat16(u16vec4);"
 4532|       |
 4533|      1|            "float16_t int16BitsToHalf(int16_t);"
 4534|      1|            "f16vec2   int16BitsToHalf(i16vec2);"
 4535|      1|            "f16vec3   int16BitsToHalf(i16vec3);"
 4536|      1|            "f16vec4   int16BitsToHalf(i16vec4);"
 4537|       |
 4538|      1|            "float16_t uint16BitsToHalf(uint16_t);"
 4539|      1|            "f16vec2   uint16BitsToHalf(u16vec2);"
 4540|      1|            "f16vec3   uint16BitsToHalf(u16vec3);"
 4541|      1|            "f16vec4   uint16BitsToHalf(u16vec4);"
 4542|       |
 4543|      1|            "int      packInt2x16(i16vec2);"
 4544|      1|            "uint     packUint2x16(u16vec2);"
 4545|      1|            "int64_t  packInt4x16(i16vec4);"
 4546|      1|            "uint64_t packUint4x16(u16vec4);"
 4547|      1|            "i16vec2  unpackInt2x16(int);"
 4548|      1|            "u16vec2  unpackUint2x16(uint);"
 4549|      1|            "i16vec4  unpackInt4x16(int64_t);"
 4550|      1|            "u16vec4  unpackUint4x16(uint64_t);"
 4551|       |
 4552|      1|            "bvec2 lessThan(i16vec2, i16vec2);"
 4553|      1|            "bvec3 lessThan(i16vec3, i16vec3);"
 4554|      1|            "bvec4 lessThan(i16vec4, i16vec4);"
 4555|      1|            "bvec2 lessThan(u16vec2, u16vec2);"
 4556|      1|            "bvec3 lessThan(u16vec3, u16vec3);"
 4557|      1|            "bvec4 lessThan(u16vec4, u16vec4);"
 4558|       |
 4559|      1|            "bvec2 lessThanEqual(i16vec2, i16vec2);"
 4560|      1|            "bvec3 lessThanEqual(i16vec3, i16vec3);"
 4561|      1|            "bvec4 lessThanEqual(i16vec4, i16vec4);"
 4562|      1|            "bvec2 lessThanEqual(u16vec2, u16vec2);"
 4563|      1|            "bvec3 lessThanEqual(u16vec3, u16vec3);"
 4564|      1|            "bvec4 lessThanEqual(u16vec4, u16vec4);"
 4565|       |
 4566|      1|            "bvec2 greaterThan(i16vec2, i16vec2);"
 4567|      1|            "bvec3 greaterThan(i16vec3, i16vec3);"
 4568|      1|            "bvec4 greaterThan(i16vec4, i16vec4);"
 4569|      1|            "bvec2 greaterThan(u16vec2, u16vec2);"
 4570|      1|            "bvec3 greaterThan(u16vec3, u16vec3);"
 4571|      1|            "bvec4 greaterThan(u16vec4, u16vec4);"
 4572|       |
 4573|      1|            "bvec2 greaterThanEqual(i16vec2, i16vec2);"
 4574|      1|            "bvec3 greaterThanEqual(i16vec3, i16vec3);"
 4575|      1|            "bvec4 greaterThanEqual(i16vec4, i16vec4);"
 4576|      1|            "bvec2 greaterThanEqual(u16vec2, u16vec2);"
 4577|      1|            "bvec3 greaterThanEqual(u16vec3, u16vec3);"
 4578|      1|            "bvec4 greaterThanEqual(u16vec4, u16vec4);"
 4579|       |
 4580|      1|            "bvec2 equal(i16vec2, i16vec2);"
 4581|      1|            "bvec3 equal(i16vec3, i16vec3);"
 4582|      1|            "bvec4 equal(i16vec4, i16vec4);"
 4583|      1|            "bvec2 equal(u16vec2, u16vec2);"
 4584|      1|            "bvec3 equal(u16vec3, u16vec3);"
 4585|      1|            "bvec4 equal(u16vec4, u16vec4);"
 4586|       |
 4587|      1|            "bvec2 notEqual(i16vec2, i16vec2);"
 4588|      1|            "bvec3 notEqual(i16vec3, i16vec3);"
 4589|      1|            "bvec4 notEqual(i16vec4, i16vec4);"
 4590|      1|            "bvec2 notEqual(u16vec2, u16vec2);"
 4591|      1|            "bvec3 notEqual(u16vec3, u16vec3);"
 4592|      1|            "bvec4 notEqual(u16vec4, u16vec4);"
 4593|       |
 4594|      1|            "  int16_t bitfieldExtract(  int16_t, int16_t, int16_t);"
 4595|      1|            "i16vec2 bitfieldExtract(i16vec2, int16_t, int16_t);"
 4596|      1|            "i16vec3 bitfieldExtract(i16vec3, int16_t, int16_t);"
 4597|      1|            "i16vec4 bitfieldExtract(i16vec4, int16_t, int16_t);"
 4598|       |
 4599|      1|            " uint16_t bitfieldExtract( uint16_t, int16_t, int16_t);"
 4600|      1|            "u16vec2 bitfieldExtract(u16vec2, int16_t, int16_t);"
 4601|      1|            "u16vec3 bitfieldExtract(u16vec3, int16_t, int16_t);"
 4602|      1|            "u16vec4 bitfieldExtract(u16vec4, int16_t, int16_t);"
 4603|       |
 4604|      1|            "  int16_t bitfieldInsert(  int16_t base,   int16_t, int16_t, int16_t);"
 4605|      1|            "i16vec2 bitfieldInsert(i16vec2 base, i16vec2, int16_t, int16_t);"
 4606|      1|            "i16vec3 bitfieldInsert(i16vec3 base, i16vec3, int16_t, int16_t);"
 4607|      1|            "i16vec4 bitfieldInsert(i16vec4 base, i16vec4, int16_t, int16_t);"
 4608|       |
 4609|      1|            " uint16_t bitfieldInsert( uint16_t base,  uint16_t, int16_t, int16_t);"
 4610|      1|            "u16vec2 bitfieldInsert(u16vec2 base, u16vec2, int16_t, int16_t);"
 4611|      1|            "u16vec3 bitfieldInsert(u16vec3 base, u16vec3, int16_t, int16_t);"
 4612|      1|            "u16vec4 bitfieldInsert(u16vec4 base, u16vec4, int16_t, int16_t);"
 4613|       |
 4614|      1|            "  int16_t bitCount(  int16_t);"
 4615|      1|            "i16vec2 bitCount(i16vec2);"
 4616|      1|            "i16vec3 bitCount(i16vec3);"
 4617|      1|            "i16vec4 bitCount(i16vec4);"
 4618|       |
 4619|      1|            "  int16_t bitCount( uint16_t);"
 4620|      1|            "i16vec2 bitCount(u16vec2);"
 4621|      1|            "i16vec3 bitCount(u16vec3);"
 4622|      1|            "i16vec4 bitCount(u16vec4);"
 4623|       |
 4624|      1|            "int16_t bitfieldReverse(highp int16_t);"
 4625|      1|            "i16vec2 bitfieldReverse(highp i16vec2);"
 4626|      1|            "i16vec3 bitfieldReverse(highp i16vec3);"
 4627|      1|            "i16vec4 bitfieldReverse(highp i16vec4);"
 4628|       |
 4629|      1|            "uint16_t bitfieldReverse(highp uint16_t);"
 4630|      1|            "u16vec2  bitfieldReverse(highp u16vec2);"
 4631|      1|            "u16vec3  bitfieldReverse(highp u16vec3);"
 4632|      1|            "u16vec4  bitfieldReverse(highp u16vec4);"
 4633|       |
 4634|      1|            "  int16_t findLSB(  int16_t);"
 4635|      1|            "i16vec2 findLSB(i16vec2);"
 4636|      1|            "i16vec3 findLSB(i16vec3);"
 4637|      1|            "i16vec4 findLSB(i16vec4);"
 4638|       |
 4639|      1|            "  int16_t findLSB( uint16_t);"
 4640|      1|            "i16vec2 findLSB(u16vec2);"
 4641|      1|            "i16vec3 findLSB(u16vec3);"
 4642|      1|            "i16vec4 findLSB(u16vec4);"
 4643|       |
 4644|      1|            "  int16_t findMSB(  int16_t);"
 4645|      1|            "i16vec2 findMSB(i16vec2);"
 4646|      1|            "i16vec3 findMSB(i16vec3);"
 4647|      1|            "i16vec4 findMSB(i16vec4);"
 4648|       |
 4649|      1|            "  int16_t findMSB( uint16_t);"
 4650|      1|            "i16vec2 findMSB(u16vec2);"
 4651|      1|            "i16vec3 findMSB(u16vec3);"
 4652|      1|            "i16vec4 findMSB(u16vec4);"
 4653|       |
 4654|      1|            "int16_t  pack16(i8vec2);"
 4655|      1|            "uint16_t pack16(u8vec2);"
 4656|      1|            "int32_t  pack32(i8vec4);"
 4657|      1|            "uint32_t pack32(u8vec4);"
 4658|      1|            "int32_t  pack32(i16vec2);"
 4659|      1|            "uint32_t pack32(u16vec2);"
 4660|      1|            "int64_t  pack64(i16vec4);"
 4661|      1|            "uint64_t pack64(u16vec4);"
 4662|      1|            "int64_t  pack64(i32vec2);"
 4663|      1|            "uint64_t pack64(u32vec2);"
 4664|       |
 4665|      1|            "i8vec2   unpack8(int16_t);"
 4666|      1|            "u8vec2   unpack8(uint16_t);"
 4667|      1|            "i8vec4   unpack8(int32_t);"
 4668|      1|            "u8vec4   unpack8(uint32_t);"
 4669|      1|            "i16vec2  unpack16(int32_t);"
 4670|      1|            "u16vec2  unpack16(uint32_t);"
 4671|      1|            "i16vec4  unpack16(int64_t);"
 4672|      1|            "u16vec4  unpack16(uint64_t);"
 4673|      1|            "i32vec2  unpack32(int64_t);"
 4674|      1|            "u32vec2  unpack32(uint64_t);"
 4675|       |
 4676|       |            // GL_EXT_expect_assume
 4677|      1|            "int8_t expectEXT(int8_t, int8_t);"
 4678|      1|            "i8vec2 expectEXT(i8vec2, i8vec2);"
 4679|      1|            "i8vec3 expectEXT(i8vec3, i8vec3);"
 4680|      1|            "i8vec4 expectEXT(i8vec4, i8vec4);"
 4681|       |
 4682|      1|            "uint8_t expectEXT(uint8_t, uint8_t);"
 4683|      1|            "u8vec2 expectEXT(u8vec2, u8vec2);"
 4684|      1|            "u8vec3 expectEXT(u8vec3, u8vec3);"
 4685|      1|            "u8vec4 expectEXT(u8vec4, u8vec4);"
 4686|       |
 4687|      1|            "int16_t expectEXT(int16_t, int16_t);"
 4688|      1|            "i16vec2 expectEXT(i16vec2, i16vec2);"
 4689|      1|            "i16vec3 expectEXT(i16vec3, i16vec3);"
 4690|      1|            "i16vec4 expectEXT(i16vec4, i16vec4);"
 4691|       |
 4692|      1|            "uint16_t expectEXT(uint16_t, uint16_t);"
 4693|      1|            "u16vec2 expectEXT(u16vec2, u16vec2);"
 4694|      1|            "u16vec3 expectEXT(u16vec3, u16vec3);"
 4695|      1|            "u16vec4 expectEXT(u16vec4, u16vec4);"
 4696|       |
 4697|      1|            "int64_t expectEXT(int64_t, int64_t);"
 4698|      1|            "i64vec2 expectEXT(i64vec2, i64vec2);"
 4699|      1|            "i64vec3 expectEXT(i64vec3, i64vec3);"
 4700|      1|            "i64vec4 expectEXT(i64vec4, i64vec4);"
 4701|       |
 4702|      1|            "uint64_t expectEXT(uint64_t, uint64_t);"
 4703|      1|            "u64vec2 expectEXT(u64vec2, u64vec2);"
 4704|      1|            "u64vec3 expectEXT(u64vec3, u64vec3);"
 4705|      1|            "u64vec4 expectEXT(u64vec4, u64vec4);"
 4706|      1|            "\n");
 4707|      1|    }
 4708|       |
 4709|       |    // Builtins for GL_EXT_texture_shadow_lod
 4710|     37|    if ((profile == EEsProfile && version >= 300) || ((profile != EEsProfile && version >= 130))) {
  ------------------
  |  Branch (4710:10): [True: 36, False: 1]
  |  Branch (4710:35): [True: 0, False: 36]
  |  Branch (4710:56): [True: 1, False: 36]
  |  Branch (4710:81): [True: 1, False: 0]
  ------------------
 4711|      1|        commonBuiltins.append(
 4712|      1|            "float texture(sampler2DArrayShadow, vec4, float);"
 4713|      1|            "float texture(samplerCubeArrayShadow, vec4, float, float);"
 4714|      1|            "float textureLod(sampler2DArrayShadow, vec4, float);"
 4715|      1|            "float textureLod(samplerCubeShadow, vec4, float);"
 4716|      1|            "float textureLod(samplerCubeArrayShadow, vec4, float, float);"
 4717|      1|            "float textureLodOffset(sampler2DArrayShadow, vec4, float, ivec2);"
 4718|      1|            "float textureOffset(sampler2DArrayShadow, vec4 , ivec2, float);"
 4719|      1|            "\n");
 4720|      1|    }
 4721|       |
 4722|     37|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (4722:9): [True: 1, False: 36]
  |  Branch (4722:34): [True: 1, False: 0]
  ------------------
 4723|      1|        stageBuiltins[EShLangFragment].append(derivativesAndControl64bits);
 4724|      1|        stageBuiltins[EShLangFragment].append(
 4725|      1|            "float64_t interpolateAtCentroid(float64_t);"
 4726|      1|            "f64vec2   interpolateAtCentroid(f64vec2);"
 4727|      1|            "f64vec3   interpolateAtCentroid(f64vec3);"
 4728|      1|            "f64vec4   interpolateAtCentroid(f64vec4);"
 4729|       |
 4730|      1|            "float64_t interpolateAtSample(float64_t, int);"
 4731|      1|            "f64vec2   interpolateAtSample(f64vec2,   int);"
 4732|      1|            "f64vec3   interpolateAtSample(f64vec3,   int);"
 4733|      1|            "f64vec4   interpolateAtSample(f64vec4,   int);"
 4734|       |
 4735|      1|            "float64_t interpolateAtOffset(float64_t, f64vec2);"
 4736|      1|            "f64vec2   interpolateAtOffset(f64vec2,   f64vec2);"
 4737|      1|            "f64vec3   interpolateAtOffset(f64vec3,   f64vec2);"
 4738|      1|            "f64vec4   interpolateAtOffset(f64vec4,   f64vec2);"
 4739|       |
 4740|      1|            "\n");
 4741|       |
 4742|      1|    }
 4743|       |
 4744|       |    // GL_EXT_expect_assume
 4745|     37|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (4745:10): [True: 36, False: 1]
  |  Branch (4745:35): [True: 0, False: 36]
  ------------------
 4746|     37|         ((profile != EEsProfile && version >= 140))) {
  ------------------
  |  Branch (4746:12): [True: 1, False: 36]
  |  Branch (4746:37): [True: 1, False: 0]
  ------------------
 4747|      1|        commonBuiltins.append(
 4748|      1|            "void assumeEXT(bool);"
 4749|       |
 4750|      1|            "bool expectEXT(bool, bool);"
 4751|      1|            "bvec2 expectEXT(bvec2, bvec2);"
 4752|      1|            "bvec3 expectEXT(bvec3, bvec3);"
 4753|      1|            "bvec4 expectEXT(bvec4, bvec4);"
 4754|       |
 4755|      1|            "int expectEXT(int, int);"
 4756|      1|            "ivec2 expectEXT(ivec2, ivec2);"
 4757|      1|            "ivec3 expectEXT(ivec3, ivec3);"
 4758|      1|            "ivec4 expectEXT(ivec4, ivec4);"
 4759|       |
 4760|      1|            "uint expectEXT(uint, uint);"
 4761|      1|            "uvec2 expectEXT(uvec2, uvec2);"
 4762|      1|            "uvec3 expectEXT(uvec3, uvec3);"
 4763|      1|            "uvec4 expectEXT(uvec4, uvec4);"
 4764|      1|            "\n");
 4765|      1|    }
 4766|       |
 4767|       |    // QCOM_image_processing
 4768|     37|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (4768:10): [True: 36, False: 1]
  |  Branch (4768:35): [True: 0, False: 36]
  ------------------
 4769|     37|         (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (4769:11): [True: 1, False: 36]
  |  Branch (4769:36): [True: 1, False: 0]
  ------------------
 4770|      1|        commonBuiltins.append(
 4771|      1|           "vec4 textureWeightedQCOM(sampler2D, vec2, sampler2DArray);"
 4772|      1|           "vec4 textureWeightedQCOM(sampler2D, vec2, sampler1DArray);"
 4773|      1|           "vec4 textureBoxFilterQCOM(sampler2D, vec2, vec2);"
 4774|      1|           "vec4 textureBlockMatchSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4775|      1|           "vec4 textureBlockMatchSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4776|       |
 4777|      1|           "vec4 textureBlockMatchWindowSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4778|      1|           "vec4 textureBlockMatchWindowSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4779|      1|           "vec4 textureBlockMatchGatherSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4780|      1|           "vec4 textureBlockMatchGatherSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4781|      1|           "\n");
 4782|      1|    }
 4783|       |
 4784|       |    //============================================================================
 4785|       |    //
 4786|       |    // Prototypes for built-in functions seen by vertex shaders only.
 4787|       |    // (Except legacy lod functions, where it depends which release they are
 4788|       |    // vertex only.)
 4789|       |    //
 4790|       |    //============================================================================
 4791|       |
 4792|       |    //
 4793|       |    // Geometric Functions.
 4794|       |    //
 4795|     37|    if (spvVersion.vulkan == 0 && IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (4795:9): [True: 36, False: 1]
  |  Branch (4795:35): [True: 0, False: 36]
  ------------------
 4796|      0|        stageBuiltins[EShLangVertex].append("vec4 ftransform();");
 4797|       |
 4798|       |    //
 4799|       |    // Original-style texture Functions with lod.
 4800|       |    //
 4801|     37|    TString* s;
 4802|     37|    if (version == 100)
  ------------------
  |  Branch (4802:9): [True: 36, False: 1]
  ------------------
 4803|     36|        s = &stageBuiltins[EShLangVertex];
 4804|      1|    else
 4805|      1|        s = &commonBuiltins;
 4806|     37|    if ((profile == EEsProfile && version == 100) ||
  ------------------
  |  Branch (4806:10): [True: 36, False: 1]
  |  Branch (4806:35): [True: 36, False: 0]
  ------------------
 4807|      1|         profile == ECompatibilityProfile ||
  ------------------
  |  Branch (4807:10): [True: 0, False: 1]
  ------------------
 4808|      1|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (4808:10): [True: 1, False: 0]
  |  Branch (4808:37): [True: 0, False: 1]
  ------------------
 4809|     36|         profile == ENoProfile) {
  ------------------
  |  Branch (4809:10): [True: 0, False: 1]
  ------------------
 4810|     36|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (4810:13): [True: 36, False: 0]
  ------------------
 4811|     36|            s->append(
 4812|     36|                "vec4 texture2DLod(sampler2D, vec2, float);"         // GL_ARB_shader_texture_lod
 4813|     36|                "vec4 texture2DProjLod(sampler2D, vec3, float);"     // GL_ARB_shader_texture_lod
 4814|     36|                "vec4 texture2DProjLod(sampler2D, vec4, float);"     // GL_ARB_shader_texture_lod
 4815|     36|                "vec4 texture3DLod(sampler3D, vec3, float);"         // GL_ARB_shader_texture_lod  // OES_texture_3D, but caught by keyword check
 4816|     36|                "vec4 texture3DProjLod(sampler3D, vec4, float);"     // GL_ARB_shader_texture_lod  // OES_texture_3D, but caught by keyword check
 4817|     36|                "vec4 textureCubeLod(samplerCube, vec3, float);"     // GL_ARB_shader_texture_lod
 4818|       |
 4819|     36|                "\n");
 4820|     36|        }
 4821|     36|    }
 4822|     37|    if ( profile == ECompatibilityProfile ||
  ------------------
  |  Branch (4822:10): [True: 0, False: 37]
  ------------------
 4823|     37|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (4823:10): [True: 1, False: 36]
  |  Branch (4823:37): [True: 0, False: 1]
  ------------------
 4824|     37|         profile == ENoProfile) {
  ------------------
  |  Branch (4824:10): [True: 0, False: 37]
  ------------------
 4825|      0|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (4825:13): [True: 0, False: 0]
  ------------------
 4826|      0|            s->append(
 4827|      0|                "vec4 texture1DLod(sampler1D, float, float);"                          // GL_ARB_shader_texture_lod
 4828|      0|                "vec4 texture1DProjLod(sampler1D, vec2, float);"                       // GL_ARB_shader_texture_lod
 4829|      0|                "vec4 texture1DProjLod(sampler1D, vec4, float);"                       // GL_ARB_shader_texture_lod
 4830|      0|                "vec4 shadow1DLod(sampler1DShadow, vec3, float);"                      // GL_ARB_shader_texture_lod
 4831|      0|                "vec4 shadow2DLod(sampler2DShadow, vec3, float);"                      // GL_ARB_shader_texture_lod
 4832|      0|                "vec4 shadow1DProjLod(sampler1DShadow, vec4, float);"                  // GL_ARB_shader_texture_lod
 4833|      0|                "vec4 shadow2DProjLod(sampler2DShadow, vec4, float);"                  // GL_ARB_shader_texture_lod
 4834|       |
 4835|      0|                "vec4 texture1DGradARB(sampler1D, float, float, float);"               // GL_ARB_shader_texture_lod
 4836|      0|                "vec4 texture1DProjGradARB(sampler1D, vec2, float, float);"            // GL_ARB_shader_texture_lod
 4837|      0|                "vec4 texture1DProjGradARB(sampler1D, vec4, float, float);"            // GL_ARB_shader_texture_lod
 4838|      0|                "vec4 texture2DGradARB(sampler2D, vec2, vec2, vec2);"                  // GL_ARB_shader_texture_lod
 4839|      0|                "vec4 texture2DProjGradARB(sampler2D, vec3, vec2, vec2);"              // GL_ARB_shader_texture_lod
 4840|      0|                "vec4 texture2DProjGradARB(sampler2D, vec4, vec2, vec2);"              // GL_ARB_shader_texture_lod
 4841|      0|                "vec4 texture3DGradARB(sampler3D, vec3, vec3, vec3);"                  // GL_ARB_shader_texture_lod
 4842|      0|                "vec4 texture3DProjGradARB(sampler3D, vec4, vec3, vec3);"              // GL_ARB_shader_texture_lod
 4843|      0|                "vec4 textureCubeGradARB(samplerCube, vec3, vec3, vec3);"              // GL_ARB_shader_texture_lod
 4844|      0|                "vec4 shadow1DGradARB(sampler1DShadow, vec3, float, float);"           // GL_ARB_shader_texture_lod
 4845|      0|                "vec4 shadow1DProjGradARB( sampler1DShadow, vec4, float, float);"      // GL_ARB_shader_texture_lod
 4846|      0|                "vec4 shadow2DGradARB(sampler2DShadow, vec3, vec2, vec2);"             // GL_ARB_shader_texture_lod
 4847|      0|                "vec4 shadow2DProjGradARB( sampler2DShadow, vec4, vec2, vec2);"        // GL_ARB_shader_texture_lod
 4848|      0|                "vec4 texture2DRectGradARB(sampler2DRect, vec2, vec2, vec2);"          // GL_ARB_shader_texture_lod
 4849|      0|                "vec4 texture2DRectProjGradARB( sampler2DRect, vec3, vec2, vec2);"     // GL_ARB_shader_texture_lod
 4850|      0|                "vec4 texture2DRectProjGradARB( sampler2DRect, vec4, vec2, vec2);"     // GL_ARB_shader_texture_lod
 4851|      0|                "vec4 shadow2DRectGradARB( sampler2DRectShadow, vec3, vec2, vec2);"    // GL_ARB_shader_texture_lod
 4852|      0|                "vec4 shadow2DRectProjGradARB(sampler2DRectShadow, vec4, vec2, vec2);" // GL_ARB_shader_texture_lod
 4853|       |
 4854|      0|                "\n");
 4855|      0|        }
 4856|      0|    }
 4857|       |
 4858|     37|    if ((profile != EEsProfile && version >= 150) ||
  ------------------
  |  Branch (4858:10): [True: 1, False: 36]
  |  Branch (4858:35): [True: 1, False: 0]
  ------------------
 4859|     36|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (4859:10): [True: 36, False: 0]
  |  Branch (4859:35): [True: 0, False: 36]
  ------------------
 4860|       |        //============================================================================
 4861|       |        //
 4862|       |        // Prototypes for built-in functions seen by geometry shaders only.
 4863|       |        //
 4864|       |        //============================================================================
 4865|      1|        if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (4865:13): [True: 1, False: 0]
  |  Branch (4865:38): [True: 1, False: 0]
  ------------------
 4866|      1|            stageBuiltins[EShLangGeometry].append(
 4867|      1|                "void EmitStreamVertex(int);"
 4868|      1|                "void EndStreamPrimitive(int);"
 4869|      1|                );
 4870|      1|        }
 4871|      1|        stageBuiltins[EShLangGeometry].append(
 4872|      1|            "void EmitVertex();"
 4873|      1|            "void EndPrimitive();"
 4874|      1|            "\n");
 4875|      1|    }
 4876|       |
 4877|       |    //============================================================================
 4878|       |    //
 4879|       |    // Prototypes for all control functions.
 4880|       |    //
 4881|       |    //============================================================================
 4882|     37|    bool esBarrier = (profile == EEsProfile && version >= 310);
  ------------------
  |  Branch (4882:23): [True: 36, False: 1]
  |  Branch (4882:48): [True: 0, False: 36]
  ------------------
 4883|     37|    if ((profile != EEsProfile && version >= 150) || esBarrier)
  ------------------
  |  Branch (4883:10): [True: 1, False: 36]
  |  Branch (4883:35): [True: 1, False: 0]
  |  Branch (4883:54): [True: 0, False: 36]
  ------------------
 4884|      1|        stageBuiltins[EShLangTessControl].append(
 4885|      1|            "void barrier();"
 4886|      1|            );
 4887|     37|    if ((profile != EEsProfile && version >= 420) || esBarrier)
  ------------------
  |  Branch (4887:10): [True: 1, False: 36]
  |  Branch (4887:35): [True: 1, False: 0]
  |  Branch (4887:54): [True: 0, False: 36]
  ------------------
 4888|      1|        stageBuiltins[EShLangCompute].append(
 4889|      1|            "void barrier();"
 4890|      1|            );
 4891|     37|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (4891:10): [True: 1, False: 36]
  |  Branch (4891:35): [True: 1, False: 0]
  |  Branch (4891:55): [True: 36, False: 0]
  |  Branch (4891:80): [True: 0, False: 36]
  ------------------
 4892|      1|        stageBuiltins[EShLangMesh].append(
 4893|      1|            "void barrier();"
 4894|      1|            );
 4895|      1|        stageBuiltins[EShLangTask].append(
 4896|      1|            "void barrier();"
 4897|      1|            );
 4898|      1|    }
 4899|     37|    if ((profile != EEsProfile && version >= 420) || esBarrier)
  ------------------
  |  Branch (4899:10): [True: 1, False: 36]
  |  Branch (4899:35): [True: 1, False: 0]
  |  Branch (4899:54): [True: 0, False: 36]
  ------------------
 4900|      1|        stageBuiltins[EShLangCompute].append(
 4901|      1|            "void controlBarrierArrive();"
 4902|      1|            "void controlBarrierWait();"
 4903|      1|            );
 4904|     37|    if ((profile != EEsProfile && version >= 130) || esBarrier)
  ------------------
  |  Branch (4904:10): [True: 1, False: 36]
  |  Branch (4904:35): [True: 1, False: 0]
  |  Branch (4904:54): [True: 0, False: 36]
  ------------------
 4905|      1|        commonBuiltins.append(
 4906|      1|            "void memoryBarrier();"
 4907|      1|            );
 4908|     37|    if ((profile != EEsProfile && version >= 420) || esBarrier) {
  ------------------
  |  Branch (4908:10): [True: 1, False: 36]
  |  Branch (4908:35): [True: 1, False: 0]
  |  Branch (4908:54): [True: 0, False: 36]
  ------------------
 4909|      1|        commonBuiltins.append(
 4910|      1|            "void memoryBarrierBuffer();"
 4911|      1|            );
 4912|      1|        stageBuiltins[EShLangCompute].append(
 4913|      1|            "void memoryBarrierShared();"
 4914|      1|            "void groupMemoryBarrier();"
 4915|      1|            );
 4916|      1|    }
 4917|     37|    if ((profile != EEsProfile && version >= 420) || esBarrier) {
  ------------------
  |  Branch (4917:10): [True: 1, False: 36]
  |  Branch (4917:35): [True: 1, False: 0]
  |  Branch (4917:54): [True: 0, False: 36]
  ------------------
 4918|      1|        if (spvVersion.vulkan == 0 || spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (4918:13): [True: 0, False: 1]
  |  Branch (4918:39): [True: 0, False: 1]
  ------------------
 4919|      0|            commonBuiltins.append("void memoryBarrierAtomicCounter();");
 4920|      0|        }
 4921|      1|        commonBuiltins.append("void memoryBarrierImage();");
 4922|      1|    }
 4923|     37|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (4923:10): [True: 1, False: 36]
  |  Branch (4923:35): [True: 1, False: 0]
  |  Branch (4923:55): [True: 36, False: 0]
  |  Branch (4923:80): [True: 0, False: 36]
  ------------------
 4924|      1|        stageBuiltins[EShLangMesh].append(
 4925|      1|            "void memoryBarrierShared();"
 4926|      1|            "void groupMemoryBarrier();"
 4927|      1|        );
 4928|      1|        stageBuiltins[EShLangTask].append(
 4929|      1|            "void memoryBarrierShared();"
 4930|      1|            "void groupMemoryBarrier();"
 4931|      1|        );
 4932|      1|    }
 4933|       |
 4934|     37|    commonBuiltins.append("void controlBarrier(int, int, int, int);\n"
 4935|     37|                          "void memoryBarrier(int, int, int);\n");
 4936|       |
 4937|     37|    commonBuiltins.append("void controlBarrierArrive(int, int, int, int);\n"
 4938|     37|                          "void controlBarrierWait(int, int, int, int);\n");
 4939|       |
 4940|     37|    commonBuiltins.append("void debugPrintfEXT();\n");
 4941|       |
 4942|     37|    commonBuiltins.append("void abortEXT();\n");
 4943|       |
 4944|     37|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (4944:9): [True: 1, False: 36]
  |  Branch (4944:34): [True: 1, False: 0]
  ------------------
 4945|       |        // coopMatStoreNV perhaps ought to have "out" on the buf parameter, but
 4946|       |        // adding it introduces undesirable tempArgs on the stack. What we want
 4947|       |        // is more like "buf" thought of as a pointer value being an in parameter.
 4948|      1|        stageBuiltins[EShLangCompute].append(
 4949|      1|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal float16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4950|      1|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal float[] buf, uint element, uint stride, bool colMajor);\n"
 4951|      1|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4952|      1|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4953|      1|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4954|      1|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4955|      1|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4956|      1|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4957|       |
 4958|      1|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4959|      1|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float[] buf, uint element, uint stride, bool colMajor);\n"
 4960|      1|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4961|      1|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4962|      1|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4963|      1|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4964|      1|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4965|      1|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4966|      1|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4967|       |
 4968|      1|            "fcoopmatNV coopMatMulAddNV(fcoopmatNV A, fcoopmatNV B, fcoopmatNV C);\n"
 4969|      1|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4970|      1|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4971|      1|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4972|      1|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4973|      1|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4974|      1|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4975|      1|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4976|      1|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4977|      1|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4978|      1|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4979|      1|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4980|      1|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4981|       |
 4982|      1|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4983|      1|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4984|      1|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4985|      1|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4986|      1|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4987|      1|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4988|      1|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4989|      1|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4990|      1|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4991|      1|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4992|      1|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4993|      1|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4994|       |
 4995|      1|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4996|      1|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4997|      1|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4998|      1|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4999|      1|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 5000|      1|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 5001|      1|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 5002|      1|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 5003|      1|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 5004|      1|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 5005|      1|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 5006|      1|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 5007|       |
 5008|      1|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 5009|      1|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 5010|      1|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 5011|      1|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 5012|      1|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 5013|      1|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 5014|      1|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 5015|      1|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 5016|      1|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 5017|      1|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 5018|      1|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 5019|      1|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 5020|       |
 5021|      1|            "icoopmatNV coopMatMulAddNV(icoopmatNV A, icoopmatNV B, icoopmatNV C);\n"
 5022|      1|            "ucoopmatNV coopMatMulAddNV(ucoopmatNV A, ucoopmatNV B, ucoopmatNV C);\n"
 5023|      1|            );
 5024|       |
 5025|      1|        std::stringstream cooperativeMatrixFuncs;
 5026|       |
 5027|      1|        {
 5028|      1|            static const char *allTypes[] =
 5029|      1|            {
 5030|      1|                "float", "vec2", "vec4",
 5031|      1|                "float16_t", "f16vec2", "f16vec4",
 5032|      1|                "bfloat16_t", "bf16vec2", "bf16vec4",
 5033|      1|                "floate5m2_t", "fe5m2vec2", "fe5m2vec4",
 5034|      1|                "floate4m3_t", "fe4m3vec2", "fe4m3vec4",
 5035|      1|                "double", "dvec2", "dvec4",
 5036|      1|                "int8_t", "i8vec2", "i8vec4",
 5037|      1|                "int16_t", "i16vec2", "i16vec4",
 5038|      1|                "int", "ivec2", "ivec4",
 5039|      1|                "int64_t", "i64vec2", "i64vec4",
 5040|      1|                "uint8_t", "u8vec2", "u8vec4",
 5041|      1|                "uint16_t", "u16vec2", "u16vec4",
 5042|      1|                "uint", "uvec2", "uvec4",
 5043|      1|                "uint64_t", "u64vec2", "u64vec4",
 5044|      1|            };
 5045|      2|            for (auto elemTy : {"uint", "uint64_t"}) {
  ------------------
  |  Branch (5045:30): [True: 2, False: 1]
  ------------------
 5046|     84|                for (auto t : allTypes) {
  ------------------
  |  Branch (5046:29): [True: 84, False: 2]
  ------------------
 5047|     84|                    cooperativeMatrixFuncs << "void coopMatLoad(out coopmat m, volatile coherent nontemporal " << t << "[] buf, " << elemTy << " element, uint stride, int matrixLayout);\n";
 5048|     84|                    cooperativeMatrixFuncs << "void coopMatStore(coopmat m, volatile coherent nontemporal " << t << "[] buf, " << elemTy << " element, uint stride, int matrixLayout);\n";
 5049|     84|                }
 5050|       |                // Just use uint8_t for buffer type, we have special matching rules to allow any conversion
 5051|      2|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t);\n";
 5052|      2|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v);\n";
 5053|      2|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, __function f);\n";
 5054|      2|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v, __function f);\n";
 5055|      2|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, __function f, __function g);\n";
 5056|      2|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v, __function f, __function g);\n";
 5057|      2|                cooperativeMatrixFuncs << "void coopMatStoreTensorNV(coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t);\n";
 5058|      2|                cooperativeMatrixFuncs << "void coopMatStoreTensorNV(coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v);\n";
 5059|      2|            }
 5060|      1|        }
 5061|       |
 5062|      1|        cooperativeMatrixFuncs <<
 5063|      1|            "coopmat coopMatMulAdd(coopmat A, coopmat B, coopmat C);\n"
 5064|      1|            "coopmat coopMatMulAdd(coopmat A, coopmat B, coopmat C, int matrixOperands);\n";
 5065|       |
 5066|      1|        commonBuiltins.append(cooperativeMatrixFuncs.str().c_str());
 5067|       |
 5068|      1|        commonBuiltins.append(
 5069|      1|            "const int gl_MatrixUseA = 0;\n"
 5070|      1|            "const int gl_MatrixUseB = 1;\n"
 5071|      1|            "const int gl_MatrixUseAccumulator = 2;\n"
 5072|      1|            "const int gl_MatrixOperandsSaturatingAccumulation = 0x10;\n"
 5073|      1|            "const int gl_CooperativeMatrixLayoutRowMajor = 0;\n"
 5074|      1|            "const int gl_CooperativeMatrixLayoutColumnMajor = 1;\n"
 5075|      1|            "const int gl_CooperativeMatrixLayoutRowBlockedInterleavedARM = 4202;\n"
 5076|      1|            "const int gl_CooperativeMatrixLayoutColumnBlockedInterleavedARM = 4203;\n"
 5077|      1|            "\n"
 5078|      1|            );
 5079|       |
 5080|      1|        commonBuiltins.append(
 5081|      1|            "void coopMatTransposeNV(out coopmat, coopmat);"
 5082|      1|            "void coopMatReduceNV(out coopmat, coopmat, int, __function);"
 5083|      1|            "void coopMatPerElementNV();"
 5084|      1|        );
 5085|       |
 5086|      1|        commonBuiltins.append(
 5087|      1|            "void coopMatTransposeEXT(out coopmat, coopmat);"
 5088|      1|            "void coopMatReduceEXT(out coopmat, coopmat, int, __function);"
 5089|      1|            "void coopMatPerElementEXT();"
 5090|      1|            "uvec2 coopMatGetCoordinateEXT(coopmat, uint index);"
 5091|      1|        );
 5092|       |
 5093|      1|        commonBuiltins.append(
 5094|      1|            "const int gl_CooperativeMatrixReduceRowNV = 0x1;\n"
 5095|      1|            "const int gl_CooperativeMatrixReduceColumnNV = 0x2;\n"
 5096|      1|            "const int gl_CooperativeMatrixReduceRowAndColumnNV = 0x3;\n"
 5097|      1|            "const int gl_CooperativeMatrixReduce2x2NV = 0x4;\n"
 5098|       |
 5099|      1|            "const int gl_CooperativeMatrixReduceRowEXT = 0x1;\n"
 5100|      1|            "const int gl_CooperativeMatrixReduceColumnEXT = 0x2;\n"
 5101|      1|            "const int gl_CooperativeMatrixReduceRowAndColumnEXT = 0x3;\n"
 5102|      1|            "const int gl_CooperativeMatrixReduce2x2EXT = 0x4;\n"
 5103|      1|            "\n"
 5104|      1|            );
 5105|       |
 5106|      1|        commonBuiltins.append(
 5107|      1|            "const int gl_CooperativeMatrixClampModeUndefinedNV = 0x0;\n"
 5108|      1|            "const int gl_CooperativeMatrixClampModeConstantNV = 0x1;\n"
 5109|      1|            "const int gl_CooperativeMatrixClampModeClampToEdgeNV = 0x2;\n"
 5110|      1|            "const int gl_CooperativeMatrixClampModeRepeatNV = 0x3;\n"
 5111|      1|            "const int gl_CooperativeMatrixClampModeMirrorRepeatNV = 0x4;\n"
 5112|      1|            "\n"
 5113|      1|            );
 5114|       |
 5115|      1|        {
 5116|      1|          std::stringstream coopMatConvFuncs;
 5117|       |
 5118|      1|          const std::string eltTypes[] = {"uint32_t", "uint", "int32_t", "int", "float32_t", "float", "float16_t"};
 5119|       |
 5120|      7|          for (auto srcEltTy : eltTypes) {
  ------------------
  |  Branch (5120:30): [True: 7, False: 1]
  ------------------
 5121|     49|            for (auto dstEltTy : eltTypes) {
  ------------------
  |  Branch (5121:32): [True: 49, False: 7]
  ------------------
 5122|     49|              coopMatConvFuncs << "void bitcastQCOM(" << srcEltTy.c_str() << " SrcArr[], " << dstEltTy.c_str()
 5123|     49|                << " DstArr[]);\n";
 5124|     49|            }
 5125|      7|          }
 5126|      1|          coopMatConvFuncs << "\n";
 5127|       |
 5128|      8|          for (auto eltTy : {"float32_t", "float16_t", "int8_t", "uint8_t", "uint32_t", "uint", "int32_t", "int"}) {
  ------------------
  |  Branch (5128:27): [True: 8, False: 1]
  ------------------
 5129|      8|            coopMatConvFuncs << "void vectorToCoopmatQCOM(" << eltTy << " SrcVec[], coopmat CM);\n";
 5130|      8|            coopMatConvFuncs << "void coopmatToVectorQCOM(coopmat CM, " << eltTy << " Dstvec[]);\n";
 5131|      8|          }
 5132|       |
 5133|      7|          for (auto eltTy : {"uint32_t", "uint", "int32_t", "int", "float32_t", "float", "float16_t"}) {
  ------------------
  |  Branch (5133:27): [True: 7, False: 1]
  ------------------
 5134|      7|            coopMatConvFuncs << "void extractSubArrayQCOM(" << eltTy << " arr[], uint index, " << eltTy << " subarr[]);\n";
 5135|      7|          }
 5136|       |
 5137|      1|          commonBuiltins.append(coopMatConvFuncs.str().c_str());
 5138|      1|        }
 5139|       |
 5140|      1|        commonBuiltins.append(
 5141|      1|            "tensorLayoutNV createTensorLayoutNV(uint Dim);\n"
 5142|      1|            "tensorLayoutNV createTensorLayoutNV(uint Dim, uint Mode);\n"
 5143|       |
 5144|      1|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0);\n"
 5145|      1|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1);\n"
 5146|      1|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2);\n"
 5147|      1|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2, uint blockSize3);\n"
 5148|      1|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2, uint blockSize3, uint blockSize4);\n"
 5149|       |
 5150|      1|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0);\n"
 5151|      1|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1);\n"
 5152|      1|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2);\n"
 5153|      1|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2, uint dim3);\n"
 5154|      1|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2, uint dim3, uint dim4);\n"
 5155|       |
 5156|      1|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0);\n"
 5157|      1|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1);\n"
 5158|      1|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2);\n"
 5159|      1|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2, uint stride3);\n"
 5160|      1|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2, uint stride3, uint stride4);\n"
 5161|       |
 5162|      1|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0);\n"
 5163|      1|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1);\n"
 5164|      1|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1, uint offset2, uint span2);\n"
 5165|      1|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1, uint offset2, uint span2, uint offset3, uint span3);\n"
 5166|      1|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1, uint offset2, uint span2, uint offset3, uint span3, uint offset4, uint span4);\n"
 5167|       |
 5168|      1|            "tensorLayoutNV setTensorLayoutClampValueNV(tensorLayoutNV t, uint value);\n"
 5169|       |
 5170|      1|            "tensorViewNV createTensorViewNV(uint Dim);\n"
 5171|      1|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions);\n"
 5172|      1|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0);\n"
 5173|      1|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1);\n"
 5174|      1|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2);\n"
 5175|      1|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2, uint p3);\n"
 5176|      1|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2, uint p3, uint p4);\n"
 5177|       |
 5178|      1|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0);\n"
 5179|      1|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1);\n"
 5180|      1|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2);\n"
 5181|      1|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2, uint dim3);\n"
 5182|      1|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2, uint dim3, uint dim4);\n"
 5183|       |
 5184|      1|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0);\n"
 5185|      1|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1);\n"
 5186|      1|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2);\n"
 5187|      1|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2, uint stride3);\n"
 5188|      1|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2, uint stride3, uint stride4);\n"
 5189|       |
 5190|      1|            "tensorViewNV setTensorViewClipNV(tensorViewNV v, uint clipRowOffset, uint clipRowSpan, uint clipColOffset, uint clipColSpan);\n"
 5191|      1|            "\n"
 5192|      1|        );
 5193|       |
 5194|       |        // GL_ARM_tensors builtins.
 5195|      1|        static const char *tensorDataTypesARM[] = {
 5196|      1|            "bool",
 5197|      1|            "int8_t", "int16_t", "int32_t", "int64_t",
 5198|      1|            "uint8_t", "uint16_t", "uint32_t", "uint64_t",
 5199|      1|            "float16_t", "float32_t", "float64_t",
 5200|      1|            "bfloat16_t", "floate5m2_t", "floate4m3_t",
 5201|      1|        };
 5202|      1|        std::ostringstream ostream;
 5203|     15|        for (auto t : tensorDataTypesARM) {
  ------------------
  |  Branch (5203:21): [True: 15, False: 1]
  ------------------
 5204|       |            // Scalar
 5205|     15|            ostream << "void tensorReadARM(readonly tensorARM t, uint coords[], out "
 5206|     15|                    << t << " data, uint tensorOperands = 0U, ...);\n";
 5207|     15|            ostream << "void tensorWriteARM(writeonly tensorARM t, uint coords[], "
 5208|     15|                    << t << " data, uint tensorOperands = 0U, ...);\n";
 5209|       |            // Array
 5210|     15|            ostream << "void tensorReadARM(readonly tensorARM t, uint coords[], "
 5211|     15|                    << t << " data[], uint tensorOperands = 0U, ...);\n";
 5212|     15|            ostream << "void tensorWriteARM(writeonly tensorARM t, uint coords[], "
 5213|     15|                    << t << " data[], uint tensorOperands = 0U, ...);\n";
 5214|     15|        }
 5215|      1|        ostream << "uint tensorSizeARM(readonly writeonly tensorARM t, uint dim);\n";
 5216|      1|        commonBuiltins.append(ostream.str());
 5217|      1|    }
 5218|       |
 5219|     37|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5219:9): [True: 1, False: 36]
  |  Branch (5219:34): [True: 1, False: 0]
  ------------------
 5220|      1|        const char *basicTypes[] = {
 5221|      1|            "int8_t",
 5222|      1|            "int16_t",
 5223|      1|            "int32_t",
 5224|      1|            "int64_t",
 5225|      1|            "uint8_t",
 5226|      1|            "uint16_t",
 5227|      1|            "uint32_t",
 5228|      1|            "uint64_t",
 5229|      1|            "float16_t",
 5230|      1|            "float32_t",
 5231|      1|            "float64_t",
 5232|      1|        };
 5233|      1|        std::string coopVecOffsetTypes[] = {
 5234|      1|            "uint",
 5235|      1|            "uint64_t",
 5236|      1|        };
 5237|      2|        for (auto offsetTy : coopVecOffsetTypes) {
  ------------------
  |  Branch (5237:28): [True: 2, False: 1]
  ------------------
 5238|     24|            for (uint32_t i = 0; i < sizeof(basicTypes)/sizeof(basicTypes[0]); ++i) {
  ------------------
  |  Branch (5238:34): [True: 22, False: 2]
  ------------------
 5239|     22|                std::string func = std::string("void coopVecMatMulNV(out coopvecNV result, ") +
 5240|     22|                                   std::string("coopvecNV v, ") +
 5241|     22|                                   std::string("int inputInterpretation, ") +
 5242|     22|                                   std::string(basicTypes[i]) + std::string("[] matrix, ") +
 5243|     22|                                   offsetTy + std::string(" matrixOffset, ") +
 5244|     22|                                   std::string("int matrixInterpretation, ") +
 5245|     22|                                   std::string("uint M, ") +
 5246|     22|                                   std::string("uint K, ") +
 5247|     22|                                   std::string("int matrixLayout, ") +
 5248|     22|                                   std::string("bool transpose, ") +
 5249|     22|                                   std::string("uint matrixStride);\n");
 5250|     22|                commonBuiltins.append(func.c_str());
 5251|       |
 5252|    264|                for (uint32_t j = 0; j < sizeof(basicTypes)/sizeof(basicTypes[0]); ++j) {
  ------------------
  |  Branch (5252:38): [True: 242, False: 22]
  ------------------
 5253|    242|                    func = std::string("void coopVecMatMulAddNV(out coopvecNV result, ") +
 5254|    242|                           std::string("coopvecNV v, ") +
 5255|    242|                           std::string("int inputInterpretation, ") +
 5256|    242|                           std::string(basicTypes[i]) + std::string("[] matrix, ") +
 5257|    242|                           offsetTy + std::string(" matrixOffset, ") +
 5258|    242|                           std::string("int matrixInterpretation, ") +
 5259|    242|                           std::string(basicTypes[j]) + std::string("[] bias, ") +
 5260|    242|                           offsetTy + std::string(" biasOffset, ") +
 5261|    242|                           std::string("int biasInterpretation, ") +
 5262|    242|                           std::string("uint M, ") +
 5263|    242|                           std::string("uint K, ") +
 5264|    242|                           std::string("int matrixLayout, ") +
 5265|    242|                           std::string("bool transpose, ") +
 5266|    242|                           std::string("uint matrixStride);\n");
 5267|    242|                    commonBuiltins.append(func.c_str());
 5268|    242|                }
 5269|       |
 5270|     22|                func = std::string("void coopVecOuterProductAccumulateNV(coopvecNV v1, coopvecNV v2, ") +
 5271|     22|                       std::string(basicTypes[i]) +
 5272|     22|                       std::string("[] buf, ") + offsetTy + std::string(" offset, uint stride, int matrixLayout, int matrixInterpretation);\n");
 5273|     22|                commonBuiltins.append(func.c_str());
 5274|       |
 5275|     22|                func = std::string("void coopVecReduceSumAccumulateNV(coopvecNV v, ") +
 5276|     22|                       std::string(basicTypes[i]) +
 5277|     22|                       std::string("[] buf, ") + offsetTy + std::string(" offset);\n");
 5278|     22|                commonBuiltins.append(func.c_str());
 5279|     22|            }
 5280|      2|        }
 5281|      1|        std::string cooperativeVectorFuncs =
 5282|      1|            "coopvecNV fma(coopvecNV, coopvecNV, coopvecNV);\n"
 5283|      1|            "coopvecNV min(coopvecNV, coopvecNV);\n"
 5284|      1|            "coopvecNV max(coopvecNV, coopvecNV);\n"
 5285|      1|            "coopvecNV step(coopvecNV, coopvecNV);\n"
 5286|      1|            "coopvecNV exp(coopvecNV);\n"
 5287|      1|            "coopvecNV log(coopvecNV);\n"
 5288|      1|            "coopvecNV tanh(coopvecNV);\n"
 5289|      1|            "coopvecNV atan(coopvecNV);\n"
 5290|      1|            "coopvecNV clamp(coopvecNV, coopvecNV, coopvecNV);\n";
 5291|       |
 5292|      1|        commonBuiltins.append(cooperativeVectorFuncs.c_str());
 5293|       |
 5294|      1|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5294:13): [True: 1, False: 0]
  ------------------
 5295|      1|            std::string longVectorFuncs =
 5296|       |
 5297|       |                // manually add long vector prototypes for functions not in BaseFunctions/etc
 5298|      1|                "vector frexp(vector, vector);\n"
 5299|      1|                "vector ldexp(vector, vector);\n"
 5300|      1|                "vector fma(vector, vector, vector);\n"
 5301|       |
 5302|      1|                "vector floatBitsToInt(vector);\n"
 5303|      1|                "vector floatBitsToUint(vector);\n"
 5304|      1|                "vector intBitsToFloat(vector);\n"
 5305|      1|                "vector uintBitsToFloat(vector);\n"
 5306|      1|                "vector doubleBitsToInt64(vector);"
 5307|      1|                "vector doubleBitsToUint64(vector);"
 5308|      1|                "vector int64BitsToDouble(vector);"
 5309|      1|                "vector uint64BitsToDouble(vector);"
 5310|      1|                "vector bfloat16BitsToIntEXT(vector);"
 5311|      1|                "vector bfloat16BitsToUintEXT(vector);"
 5312|      1|                "vector intBitsToBFloat16EXT(vector);"
 5313|      1|                "vector uintBitsToBFloat16EXT(vector);"
 5314|      1|                "vector halfBitsToInt16(vector);"
 5315|      1|                "vector halfBitsToUint16(vector);"
 5316|      1|                "vector float16BitsToInt16(vector);"
 5317|      1|                "vector float16BitsToUint16(vector);"
 5318|      1|                "vector int16BitsToFloat16(vector);"
 5319|      1|                "vector uint16BitsToFloat16(vector);"
 5320|      1|                "vector int16BitsToHalf(vector);"
 5321|      1|                "vector uint16BitsToHalf(vector);"
 5322|      1|                "vector floate5m2BitsToIntEXT(vector);"
 5323|      1|                "vector floate5m2BitsToUintEXT(vector);"
 5324|      1|                "vector intBitsToFloate5m2EXT(vector);"
 5325|      1|                "vector uintBitsToFloate5m2EXT(vector);"
 5326|      1|                "vector floate4m3BitsToIntEXT(vector);"
 5327|      1|                "vector floate4m3BitsToUintEXT(vector);"
 5328|      1|                "vector intBitsToFloate4m3EXT(vector);"
 5329|      1|                "vector uintBitsToFloate4m3EXT(vector);"
 5330|       |
 5331|      1|                "vector floatue8m0BitsToIntEXT(vector);"
 5332|      1|                "vector floatue8m0BitsToUintEXT(vector);"
 5333|      1|                "vector intBitsToFloatue8m0EXT(vector);"
 5334|      1|                "vector uintBitsToFloatue8m0EXT(vector);"
 5335|      1|                "vector floatmxint8BitsToIntEXT(vector);"
 5336|      1|                "vector floatmxint8BitsToUintEXT(vector);"
 5337|      1|                "vector intBitsToFloatmxint8EXT(vector);"
 5338|      1|                "vector uintBitsToFloatmxint8EXT(vector);"
 5339|       |
 5340|      1|                "vector uaddCarry(highp vector, highp vector, out lowp vector carry);"
 5341|      1|                "vector usubBorrow(highp vector, highp vector, out lowp vector borrow);"
 5342|      1|                "void umulExtended(highp vector, highp vector, out highp vector, out highp vector);"
 5343|      1|                "void imulExtended(highp vector, highp vector, out highp vector, out highp vector);"
 5344|      1|                "vector bitfieldExtract(vector, int, int);"
 5345|      1|                "vector bitfieldInsert(vector, vector, int, int);"
 5346|      1|                "vector bitfieldReverse(highp vector);"
 5347|      1|                "vector bitCount(vector);"
 5348|      1|                "vector findLSB(vector);"
 5349|      1|                "vector findMSB(vector);"
 5350|       |
 5351|       |                // BaseFunctions overloads with a scalar parameter don't get generated in AddLongVectorBuiltin
 5352|      1|                "vector mod(vector, double);\n"
 5353|      1|                "vector min(vector, double);\n"
 5354|      1|                "vector max(vector, double);\n"
 5355|      1|                "vector clamp(vector, double, double);"
 5356|      1|                "vector mix(vector, vector,  double);"
 5357|      1|                "vector step(double, vector);"
 5358|      1|                "vector smoothstep(double, double, vector);"
 5359|      1|                "vector refract(vector, vector, double);"
 5360|       |
 5361|      1|                "vector mod(vector, float16_t);\n"
 5362|      1|                "vector min(vector, float16_t);\n"
 5363|      1|                "vector max(vector, float16_t);\n"
 5364|      1|                "vector clamp(vector, float16_t, float16_t);"
 5365|      1|                "vector mix(vector, vector,  float16_t);"
 5366|      1|                "vector step(float16_t, vector);"
 5367|      1|                "vector smoothstep(float16_t, float16_t, vector);"
 5368|      1|                "vector refract(vector, vector, float16_t);"
 5369|       |
 5370|      1|                "vector min(vector, uint64_t);\n"
 5371|      1|                "vector max(vector, uint64_t);\n"
 5372|      1|                "vector clamp(vector, uint64_t, uint64_t);"
 5373|      1|                "vector mix(vector, vector,  uint64_t);"
 5374|       |
 5375|      1|                "vector min(vector, int64_t);\n"
 5376|      1|                "vector max(vector, int64_t);\n"
 5377|      1|                "vector clamp(vector, int64_t, int64_t);"
 5378|      1|                "vector mix(vector, vector,  int64_t);"
 5379|       |
 5380|      1|                "vector min(vector, uint16_t);\n"
 5381|      1|                "vector max(vector, uint16_t);\n"
 5382|      1|                "vector clamp(vector, uint16_t, uint16_t);"
 5383|      1|                "vector mix(vector, vector,  uint16_t);"
 5384|       |
 5385|      1|                "vector min(vector, int16_t);\n"
 5386|      1|                "vector max(vector, int16_t);\n"
 5387|      1|                "vector clamp(vector, int16_t, int16_t);"
 5388|      1|                "vector mix(vector, vector,  int16_t);"
 5389|       |
 5390|      1|                "vector min(vector, uint8_t);\n"
 5391|      1|                "vector max(vector, uint8_t);\n"
 5392|      1|                "vector clamp(vector, uint8_t, uint8_t);"
 5393|      1|                "vector mix(vector, vector,  uint8_t);"
 5394|       |
 5395|      1|                "vector min(vector, int8_t);\n"
 5396|      1|                "vector max(vector, int8_t);\n"
 5397|      1|                "vector clamp(vector, int8_t, int8_t);"
 5398|      1|                "vector mix(vector, vector,  int8_t);"
 5399|       |
 5400|      1|                "vector expectEXT(vector, vector);"
 5401|       |
 5402|      1|                "vector bitcastExtractfe2m1EXT(vector, uint);"
 5403|      1|                "vector bitcastExtractfe3m2EXT(vector, uint);"
 5404|      1|                "vector bitcastExtractfe2m3EXT(vector, uint);"
 5405|      1|                ;
 5406|       |
 5407|      1|            std::string longVectorDerivativeFuncs =
 5408|      1|                "vector dFdxFine(vector);"
 5409|      1|                "vector dFdyFine(vector);"
 5410|      1|                "vector fwidthFine(vector);"
 5411|      1|                "vector dFdxCoarse(vector);"
 5412|      1|                "vector dFdyCoarse(vector);"
 5413|      1|                "vector fwidthCoarse(vector);"
 5414|       |
 5415|      1|                ;
 5416|      1|            commonBuiltins.append(longVectorFuncs.c_str());
 5417|      1|            stageBuiltins[EShLangFragment].append(longVectorDerivativeFuncs.c_str());
 5418|      1|            stageBuiltins[EShLangCompute].append(longVectorDerivativeFuncs.c_str());
 5419|      1|        }
 5420|       |
 5421|      1|        const char *scalarAndVectorTypes[] = {
 5422|      1|            "int8_t",
 5423|      1|            "int16_t",
 5424|      1|            "int32_t",
 5425|      1|            "int64_t",
 5426|      1|            "uint8_t",
 5427|      1|            "uint16_t",
 5428|      1|            "uint32_t",
 5429|      1|            "uint64_t",
 5430|      1|            "float16_t",
 5431|      1|            "float32_t",
 5432|      1|            "float64_t",
 5433|      1|            "i8vec2",
 5434|      1|            "i16vec2",
 5435|      1|            "i32vec2",
 5436|      1|            "i64vec2",
 5437|      1|            "u8vec2",
 5438|      1|            "u16vec2",
 5439|      1|            "u32vec2",
 5440|      1|            "u64vec2",
 5441|      1|            "f16vec2",
 5442|      1|            "f32vec2",
 5443|      1|            "f64vec2",
 5444|      1|            "i8vec3",
 5445|      1|            "i16vec3",
 5446|      1|            "i32vec3",
 5447|      1|            "i64vec3",
 5448|      1|            "u8vec3",
 5449|      1|            "u16vec3",
 5450|      1|            "u32vec3",
 5451|      1|            "u64vec3",
 5452|      1|            "f16vec3",
 5453|      1|            "f32vec3",
 5454|      1|            "f64vec3",
 5455|      1|            "i8vec4",
 5456|      1|            "i16vec4",
 5457|      1|            "i32vec4",
 5458|      1|            "i64vec4",
 5459|      1|            "u8vec4",
 5460|      1|            "u16vec4",
 5461|      1|            "u32vec4",
 5462|      1|            "u64vec4",
 5463|      1|            "f16vec4",
 5464|      1|            "f32vec4",
 5465|      1|            "f64vec4",
 5466|      1|        };
 5467|       |
 5468|      2|        for (auto offsetTy : coopVecOffsetTypes) {
  ------------------
  |  Branch (5468:28): [True: 2, False: 1]
  ------------------
 5469|     90|            for (uint32_t i = 0; i < sizeof(scalarAndVectorTypes)/sizeof(scalarAndVectorTypes[0]); ++i) {
  ------------------
  |  Branch (5469:34): [True: 88, False: 2]
  ------------------
 5470|     88|                std::string load = std::string("void coopVecLoadNV(out coopvecNV v, volatile coherent ") +
 5471|     88|                                   std::string(scalarAndVectorTypes[i]) + std::string("[] buf, ") + offsetTy + std::string(" offset);");
 5472|     88|                std::string store = std::string("void coopVecStoreNV(coopvecNV v, volatile coherent ") +
 5473|     88|                                   std::string(scalarAndVectorTypes[i]) + std::string("[] buf, ") + offsetTy + std::string(" offset);");
 5474|     88|                commonBuiltins.append(load.c_str());
 5475|     88|                commonBuiltins.append(store.c_str());
 5476|     88|            }
 5477|      2|        }
 5478|       |
 5479|      1|        commonBuiltins.append(
 5480|      1|            "const int gl_CooperativeVectorMatrixLayoutRowMajorNV = 0;\n"
 5481|      1|            "const int gl_CooperativeVectorMatrixLayoutColumnMajorNV = 1;\n"
 5482|      1|            "const int gl_CooperativeVectorMatrixLayoutInferencingOptimalNV = 2;\n"
 5483|      1|            "const int gl_CooperativeVectorMatrixLayoutTrainingOptimalNV = 3;\n"
 5484|      1|            "\n"
 5485|      1|            );
 5486|       |
 5487|      1|        commonBuiltins.append(
 5488|      1|            "const int gl_ComponentTypeFloat16NV                = 0;\n"
 5489|      1|            "const int gl_ComponentTypeFloat32NV                = 1;\n"
 5490|      1|            "const int gl_ComponentTypeFloat64NV                = 2;\n"
 5491|      1|            "const int gl_ComponentTypeSignedInt8NV             = 3;\n"
 5492|      1|            "const int gl_ComponentTypeSignedInt16NV            = 4;\n"
 5493|      1|            "const int gl_ComponentTypeSignedInt32NV            = 5;\n"
 5494|      1|            "const int gl_ComponentTypeSignedInt64NV            = 6;\n"
 5495|      1|            "const int gl_ComponentTypeUnsignedInt8NV           = 7;\n"
 5496|      1|            "const int gl_ComponentTypeUnsignedInt16NV          = 8;\n"
 5497|      1|            "const int gl_ComponentTypeUnsignedInt32NV          = 9;\n"
 5498|      1|            "const int gl_ComponentTypeUnsignedInt64NV          = 10;\n"
 5499|      1|            "const int gl_ComponentTypeSignedInt8PackedNV       = 1000491000;\n"
 5500|      1|            "const int gl_ComponentTypeUnsignedInt8PackedNV     = 1000491001;\n"
 5501|      1|            "const int gl_ComponentTypeFloatE4M3NV              = 1000491002;\n"
 5502|      1|            "const int gl_ComponentTypeFloatE5M2NV              = 1000491003;\n"
 5503|      1|            "\n"
 5504|      1|            );
 5505|      1|    }
 5506|       |
 5507|       |    //============================================================================
 5508|       |    //
 5509|       |    // Prototypes for built-in functions seen by fragment shaders only.
 5510|       |    //
 5511|       |    //============================================================================
 5512|       |
 5513|       |    //
 5514|       |    // Original-style texture Functions with bias.
 5515|       |    //
 5516|     37|    if (spvVersion.spv == 0 && (profile != EEsProfile || version == 100)) {
  ------------------
  |  Branch (5516:9): [True: 37, False: 0]
  |  Branch (5516:33): [True: 1, False: 36]
  |  Branch (5516:58): [True: 36, False: 0]
  ------------------
 5517|     37|        stageBuiltins[EShLangFragment].append(
 5518|     37|            "vec4 texture2D(sampler2D, vec2, float);"
 5519|     37|            "vec4 texture2DProj(sampler2D, vec3, float);"
 5520|     37|            "vec4 texture2DProj(sampler2D, vec4, float);"
 5521|     37|            "vec4 texture3D(sampler3D, vec3, float);"        // OES_texture_3D
 5522|     37|            "vec4 texture3DProj(sampler3D, vec4, float);"    // OES_texture_3D
 5523|     37|            "vec4 textureCube(samplerCube, vec3, float);"
 5524|       |
 5525|     37|            "\n");
 5526|     37|    }
 5527|     37|    if (spvVersion.spv == 0 && (profile != EEsProfile && version > 100)) {
  ------------------
  |  Branch (5527:9): [True: 37, False: 0]
  |  Branch (5527:33): [True: 1, False: 36]
  |  Branch (5527:58): [True: 1, False: 0]
  ------------------
 5528|      1|        stageBuiltins[EShLangFragment].append(
 5529|      1|            "vec4 texture1D(sampler1D, float, float);"
 5530|      1|            "vec4 texture1DProj(sampler1D, vec2, float);"
 5531|      1|            "vec4 texture1DProj(sampler1D, vec4, float);"
 5532|      1|            "vec4 shadow1D(sampler1DShadow, vec3, float);"
 5533|      1|            "vec4 shadow2D(sampler2DShadow, vec3, float);"
 5534|      1|            "vec4 shadow1DProj(sampler1DShadow, vec4, float);"
 5535|      1|            "vec4 shadow2DProj(sampler2DShadow, vec4, float);"
 5536|       |
 5537|      1|            "\n");
 5538|      1|    }
 5539|     37|    if (spvVersion.spv == 0 && profile == EEsProfile) {
  ------------------
  |  Branch (5539:9): [True: 37, False: 0]
  |  Branch (5539:32): [True: 36, False: 1]
  ------------------
 5540|     36|        stageBuiltins[EShLangFragment].append(
 5541|     36|            "vec4 texture2DLodEXT(sampler2D, vec2, float);"      // GL_EXT_shader_texture_lod
 5542|     36|            "vec4 texture2DProjLodEXT(sampler2D, vec3, float);"  // GL_EXT_shader_texture_lod
 5543|     36|            "vec4 texture2DProjLodEXT(sampler2D, vec4, float);"  // GL_EXT_shader_texture_lod
 5544|     36|            "vec4 textureCubeLodEXT(samplerCube, vec3, float);"  // GL_EXT_shader_texture_lod
 5545|       |
 5546|     36|            "\n");
 5547|     36|    }
 5548|       |
 5549|       |    // GL_EXT_shader_tile_image
 5550|     37|    if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (5550:9): [True: 1, False: 36]
  ------------------
 5551|      1|        stageBuiltins[EShLangFragment].append(
 5552|      1|            "lowp uint stencilAttachmentReadEXT();"
 5553|      1|            "lowp uint stencilAttachmentReadEXT(int);"
 5554|      1|            "highp float depthAttachmentReadEXT();"
 5555|      1|            "highp float depthAttachmentReadEXT(int);"
 5556|      1|            "\n");
 5557|      1|        stageBuiltins[EShLangFragment].append(
 5558|      1|            "vec4 colorAttachmentReadEXT(attachmentEXT);"
 5559|      1|            "vec4 colorAttachmentReadEXT(attachmentEXT, int);"
 5560|      1|            "ivec4 colorAttachmentReadEXT(iattachmentEXT);"
 5561|      1|            "ivec4 colorAttachmentReadEXT(iattachmentEXT, int);"
 5562|      1|            "uvec4 colorAttachmentReadEXT(uattachmentEXT);"
 5563|      1|            "uvec4 colorAttachmentReadEXT(uattachmentEXT, int);"
 5564|      1|            "\n");
 5565|      1|    }
 5566|       |
 5567|       |    // GL_ARB_derivative_control
 5568|     37|    if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (5568:9): [True: 1, False: 36]
  |  Branch (5568:34): [True: 1, False: 0]
  ------------------
 5569|      1|        stageBuiltins[EShLangFragment].append(derivativeControls);
 5570|      1|        stageBuiltins[EShLangFragment].append("\n");
 5571|      1|    }
 5572|       |
 5573|       |    // GL_OES_shader_multisample_interpolation
 5574|     37|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (5574:10): [True: 36, False: 1]
  |  Branch (5574:35): [True: 0, False: 36]
  ------------------
 5575|     37|        (profile != EEsProfile && version >= 150)) { // NV_gpu_shader5
  ------------------
  |  Branch (5575:10): [True: 1, False: 36]
  |  Branch (5575:35): [True: 1, False: 0]
  ------------------
 5576|      1|        stageBuiltins[EShLangFragment].append(
 5577|      1|            "float interpolateAtCentroid(float);"
 5578|      1|            "vec2  interpolateAtCentroid(vec2);"
 5579|      1|            "vec3  interpolateAtCentroid(vec3);"
 5580|      1|            "vec4  interpolateAtCentroid(vec4);"
 5581|       |
 5582|      1|            "float interpolateAtSample(float, int);"
 5583|      1|            "vec2  interpolateAtSample(vec2,  int);"
 5584|      1|            "vec3  interpolateAtSample(vec3,  int);"
 5585|      1|            "vec4  interpolateAtSample(vec4,  int);"
 5586|       |
 5587|      1|            "float interpolateAtOffset(float, vec2);"
 5588|      1|            "vec2  interpolateAtOffset(vec2,  vec2);"
 5589|      1|            "vec3  interpolateAtOffset(vec3,  vec2);"
 5590|      1|            "vec4  interpolateAtOffset(vec4,  vec2);"
 5591|       |
 5592|      1|            "\n");
 5593|      1|    }
 5594|       |
 5595|     37|    stageBuiltins[EShLangFragment].append(
 5596|     37|        "void beginInvocationInterlockARB(void);"
 5597|     37|        "void endInvocationInterlockARB(void);");
 5598|       |
 5599|     37|    stageBuiltins[EShLangFragment].append(
 5600|     37|        "bool helperInvocationEXT();"
 5601|     37|        "\n");
 5602|       |
 5603|       |    // GL_AMD_shader_explicit_vertex_parameter
 5604|     37|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5604:9): [True: 1, False: 36]
  |  Branch (5604:34): [True: 1, False: 0]
  ------------------
 5605|      1|        stageBuiltins[EShLangFragment].append(
 5606|      1|            "float interpolateAtVertexAMD(float, uint);"
 5607|      1|            "vec2  interpolateAtVertexAMD(vec2,  uint);"
 5608|      1|            "vec3  interpolateAtVertexAMD(vec3,  uint);"
 5609|      1|            "vec4  interpolateAtVertexAMD(vec4,  uint);"
 5610|       |
 5611|      1|            "int   interpolateAtVertexAMD(int,   uint);"
 5612|      1|            "ivec2 interpolateAtVertexAMD(ivec2, uint);"
 5613|      1|            "ivec3 interpolateAtVertexAMD(ivec3, uint);"
 5614|      1|            "ivec4 interpolateAtVertexAMD(ivec4, uint);"
 5615|       |
 5616|      1|            "uint  interpolateAtVertexAMD(uint,  uint);"
 5617|      1|            "uvec2 interpolateAtVertexAMD(uvec2, uint);"
 5618|      1|            "uvec3 interpolateAtVertexAMD(uvec3, uint);"
 5619|      1|            "uvec4 interpolateAtVertexAMD(uvec4, uint);"
 5620|       |
 5621|      1|            "float16_t interpolateAtVertexAMD(float16_t, uint);"
 5622|      1|            "f16vec2   interpolateAtVertexAMD(f16vec2,   uint);"
 5623|      1|            "f16vec3   interpolateAtVertexAMD(f16vec3,   uint);"
 5624|      1|            "f16vec4   interpolateAtVertexAMD(f16vec4,   uint);"
 5625|       |
 5626|      1|            "\n");
 5627|      1|    }
 5628|       |
 5629|       |    // GL_AMD_gpu_shader_half_float
 5630|     37|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5630:9): [True: 1, False: 36]
  |  Branch (5630:34): [True: 1, False: 0]
  ------------------
 5631|      1|        stageBuiltins[EShLangFragment].append(derivativesAndControl16bits);
 5632|      1|        stageBuiltins[EShLangFragment].append("\n");
 5633|       |
 5634|      1|        stageBuiltins[EShLangFragment].append(
 5635|      1|            "float16_t interpolateAtCentroid(float16_t);"
 5636|      1|            "f16vec2   interpolateAtCentroid(f16vec2);"
 5637|      1|            "f16vec3   interpolateAtCentroid(f16vec3);"
 5638|      1|            "f16vec4   interpolateAtCentroid(f16vec4);"
 5639|       |
 5640|      1|            "float16_t interpolateAtSample(float16_t, int);"
 5641|      1|            "f16vec2   interpolateAtSample(f16vec2,   int);"
 5642|      1|            "f16vec3   interpolateAtSample(f16vec3,   int);"
 5643|      1|            "f16vec4   interpolateAtSample(f16vec4,   int);"
 5644|       |
 5645|      1|            "float16_t interpolateAtOffset(float16_t, f16vec2);"
 5646|      1|            "f16vec2   interpolateAtOffset(f16vec2,   f16vec2);"
 5647|      1|            "f16vec3   interpolateAtOffset(f16vec3,   f16vec2);"
 5648|      1|            "f16vec4   interpolateAtOffset(f16vec4,   f16vec2);"
 5649|       |
 5650|      1|            "\n");
 5651|      1|    }
 5652|       |
 5653|       |    // GL_ARB_shader_clock& GL_EXT_shader_realtime_clock
 5654|     37|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5654:9): [True: 1, False: 36]
  |  Branch (5654:34): [True: 1, False: 0]
  ------------------
 5655|      1|        commonBuiltins.append(
 5656|      1|            "uvec2 clock2x32ARB();"
 5657|      1|            "uint64_t clockARB();"
 5658|      1|            "uvec2 clockRealtime2x32EXT();"
 5659|      1|            "uint64_t clockRealtimeEXT();"
 5660|      1|            "\n");
 5661|      1|    }
 5662|       |
 5663|       |    // GL_AMD_shader_fragment_mask
 5664|     37|    if (profile != EEsProfile && version >= 450 && spvVersion.vulkan > 0) {
  ------------------
  |  Branch (5664:9): [True: 1, False: 36]
  |  Branch (5664:34): [True: 1, False: 0]
  |  Branch (5664:52): [True: 1, False: 0]
  ------------------
 5665|      1|        stageBuiltins[EShLangFragment].append(
 5666|      1|            "uint fragmentMaskFetchAMD(subpassInputMS);"
 5667|      1|            "uint fragmentMaskFetchAMD(isubpassInputMS);"
 5668|      1|            "uint fragmentMaskFetchAMD(usubpassInputMS);"
 5669|       |
 5670|      1|            "vec4  fragmentFetchAMD(subpassInputMS,  uint);"
 5671|      1|            "ivec4 fragmentFetchAMD(isubpassInputMS, uint);"
 5672|      1|            "uvec4 fragmentFetchAMD(usubpassInputMS, uint);"
 5673|       |
 5674|      1|            "\n");
 5675|      1|    }
 5676|       |
 5677|       |    // Builtins for GL_NV_ray_tracing/GL_NV_ray_tracing_motion_blur/GL_EXT_ray_tracing/GL_EXT_ray_query/
 5678|       |    // GL_NV_shader_invocation_reorder/GL_KHR_ray_tracing_position_Fetch
 5679|     37|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (5679:9): [True: 1, False: 36]
  |  Branch (5679:34): [True: 0, False: 1]
  ------------------
 5680|      0|         commonBuiltins.append("void rayQueryInitializeEXT(rayQueryEXT, accelerationStructureEXT, uint, uint, vec3, float, vec3, float);"
 5681|      0|            "void rayQueryTerminateEXT(rayQueryEXT);"
 5682|      0|            "void rayQueryGenerateIntersectionEXT(rayQueryEXT, float);"
 5683|      0|            "void rayQueryConfirmIntersectionEXT(rayQueryEXT);"
 5684|      0|            "bool rayQueryProceedEXT(rayQueryEXT);"
 5685|      0|            "uint rayQueryGetIntersectionTypeEXT(rayQueryEXT, bool);"
 5686|      0|            "float rayQueryGetRayTMinEXT(rayQueryEXT);"
 5687|      0|            "uint rayQueryGetRayFlagsEXT(rayQueryEXT);"
 5688|      0|            "vec3 rayQueryGetWorldRayOriginEXT(rayQueryEXT);"
 5689|      0|            "vec3 rayQueryGetWorldRayDirectionEXT(rayQueryEXT);"
 5690|      0|            "float rayQueryGetIntersectionTEXT(rayQueryEXT, bool);"
 5691|      0|            "int rayQueryGetIntersectionInstanceCustomIndexEXT(rayQueryEXT, bool);"
 5692|      0|            "int rayQueryGetIntersectionInstanceIdEXT(rayQueryEXT, bool);"
 5693|      0|            "uint rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT(rayQueryEXT, bool);"
 5694|      0|            "int rayQueryGetIntersectionGeometryIndexEXT(rayQueryEXT, bool);"
 5695|      0|            "int rayQueryGetIntersectionPrimitiveIndexEXT(rayQueryEXT, bool);"
 5696|      0|            "vec2 rayQueryGetIntersectionBarycentricsEXT(rayQueryEXT, bool);"
 5697|      0|            "bool rayQueryGetIntersectionFrontFaceEXT(rayQueryEXT, bool);"
 5698|      0|            "bool rayQueryGetIntersectionCandidateAABBOpaqueEXT(rayQueryEXT);"
 5699|      0|            "vec3 rayQueryGetIntersectionObjectRayDirectionEXT(rayQueryEXT, bool);"
 5700|      0|            "vec3 rayQueryGetIntersectionObjectRayOriginEXT(rayQueryEXT, bool);"
 5701|      0|            "mat4x3 rayQueryGetIntersectionObjectToWorldEXT(rayQueryEXT, bool);"
 5702|      0|            "mat4x3 rayQueryGetIntersectionWorldToObjectEXT(rayQueryEXT, bool);"
 5703|      0|            "void rayQueryGetIntersectionTriangleVertexPositionsEXT(rayQueryEXT, bool, out vec3[3]);"
 5704|      0|            "int rayQueryGetIntersectionClusterIdNV(rayQueryEXT, bool);"
 5705|      0|            "vec3 rayQueryGetIntersectionSpherePositionNV(rayQueryEXT, bool);"
 5706|      0|            "float rayQueryGetIntersectionSphereRadiusNV(rayQueryEXT, bool);"
 5707|      0|            "float rayQueryGetIntersectionLSSHitValueNV(rayQueryEXT, bool);"
 5708|      0|            "void rayQueryGetIntersectionLSSPositionsNV(rayQueryEXT, bool, out vec3[2]);"
 5709|      0|            "void rayQueryGetIntersectionLSSRadiiNV(rayQueryEXT, bool, out float[2]);"
 5710|      0|            "bool rayQueryIsSphereHitNV(rayQueryEXT, bool);"
 5711|      0|            "bool rayQueryIsLSSHitNV(rayQueryEXT, bool);"
 5712|      0|            "\n");
 5713|       |
 5714|      0|        stageBuiltins[EShLangRayGen].append(
 5715|      0|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5716|      0|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5717|      0|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5718|      0|            "void executeCallableNV(uint, int);"
 5719|      0|            "void executeCallableEXT(uint, int);"
 5720|      0|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5721|      0|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5722|      0|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5723|      0|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5724|      0|            "void hitObjectRecordHitWithIndexNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5725|      0|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5726|      0|            "void hitObjectRecordMissNV(hitObjectNV,uint,vec3,float,vec3,float);"
 5727|      0|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5728|      0|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5729|      0|            "void hitObjectExecuteShaderNV(hitObjectNV,int);"
 5730|      0|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5731|      0|            "bool hitObjectIsMissNV(hitObjectNV);"
 5732|      0|            "bool hitObjectIsHitNV(hitObjectNV);"
 5733|      0|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5734|      0|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5735|      0|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5736|      0|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5737|      0|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5738|      0|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5739|      0|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5740|      0|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5741|      0|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5742|      0|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5743|      0|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5744|      0|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5745|      0|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5746|      0|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5747|      0|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5748|      0|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5749|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5750|      0|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5751|      0|            "void reorderThreadNV(uint, uint);"
 5752|      0|            "void reorderThreadNV(hitObjectNV);"
 5753|      0|            "void reorderThreadNV(hitObjectNV, uint, uint);"
 5754|      0|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 5755|      0|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 5756|      0|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5757|      0|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5758|      0|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5759|      0|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5760|      0|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5761|      0|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5762|      0|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5763|      0|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5764|      0|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5765|      0|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5766|      0|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5767|      0|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5768|      0|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5769|      0|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5770|      0|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5771|      0|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5772|      0|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5773|      0|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5774|      0|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5775|      0|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5776|      0|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5777|      0|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5778|      0|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5779|      0|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5780|      0|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5781|      0|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5782|      0|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5783|      0|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5784|      0|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5785|      0|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5786|      0|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5787|      0|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5788|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5789|      0|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5790|      0|            "void hitObjectReorderExecuteEXT(hitObjectEXT,int);"
 5791|      0|            "void hitObjectReorderExecuteEXT(hitObjectEXT,uint,uint,int);"
 5792|      0|            "void hitObjectTraceReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5793|      0|            "void hitObjectTraceReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,uint,uint,int);"
 5794|      0|            "void hitObjectTraceMotionReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5795|      0|            "void hitObjectTraceMotionReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,uint,uint,int);"
 5796|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int);"
 5797|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int, uint);"
 5798|      0|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5799|      0|            "void reorderThreadEXT(uint, uint);"
 5800|      0|            "void reorderThreadEXT(hitObjectEXT);"
 5801|      0|            "void reorderThreadEXT(hitObjectEXT, uint, uint);"
 5802|      0|            "\n");
 5803|      0|        stageBuiltins[EShLangIntersect].append(
 5804|      0|            "bool reportIntersectionNV(float, uint);"
 5805|      0|            "bool reportIntersectionEXT(float, uint);"
 5806|      0|            "\n");
 5807|      0|        stageBuiltins[EShLangAnyHit].append(
 5808|      0|            "void ignoreIntersectionNV();"
 5809|      0|            "void terminateRayNV();"
 5810|      0|            "\n");
 5811|      0|        stageBuiltins[EShLangClosestHit].append(
 5812|      0|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5813|      0|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5814|      0|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5815|      0|            "void executeCallableNV(uint, int);"
 5816|      0|            "void executeCallableEXT(uint, int);"
 5817|      0|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5818|      0|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5819|      0|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5820|      0|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5821|      0|            "void hitObjectRecordHitWithIndexNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5822|      0|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5823|      0|            "void hitObjectRecordMissNV(hitObjectNV, uint, vec3, float, vec3, float);"
 5824|      0|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5825|      0|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5826|      0|            "void hitObjectExecuteShaderNV(hitObjectNV, int);"
 5827|      0|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5828|      0|            "bool hitObjectIsMissNV(hitObjectNV);"
 5829|      0|            "bool hitObjectIsHitNV(hitObjectNV);"
 5830|      0|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5831|      0|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5832|      0|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5833|      0|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5834|      0|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5835|      0|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5836|      0|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5837|      0|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5838|      0|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5839|      0|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5840|      0|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5841|      0|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5842|      0|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5843|      0|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5844|      0|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5845|      0|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5846|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5847|      0|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5848|      0|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5849|      0|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5850|      0|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5851|      0|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5852|      0|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5853|      0|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5854|      0|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5855|      0|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5856|      0|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5857|      0|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5858|      0|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5859|      0|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5860|      0|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5861|      0|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5862|      0|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5863|      0|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5864|      0|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5865|      0|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5866|      0|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5867|      0|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5868|      0|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5869|      0|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5870|      0|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5871|      0|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5872|      0|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5873|      0|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5874|      0|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5875|      0|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5876|      0|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5877|      0|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5878|      0|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5879|      0|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5880|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5881|      0|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5882|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT,uint, int);"
 5883|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT,uint, int, uint);"
 5884|      0|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5885|      0|            "\n");
 5886|      0|        stageBuiltins[EShLangMiss].append(
 5887|      0|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5888|      0|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5889|      0|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5890|      0|            "void executeCallableNV(uint, int);"
 5891|      0|            "void executeCallableEXT(uint, int);"
 5892|      0|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5893|      0|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5894|      0|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5895|      0|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5896|      0|            "void hitObjectRecordHitWithIndexNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5897|      0|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5898|      0|            "void hitObjectRecordMissNV(hitObjectNV, uint, vec3, float, vec3, float);"
 5899|      0|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5900|      0|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5901|      0|            "void hitObjectExecuteShaderNV(hitObjectNV, int);"
 5902|      0|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5903|      0|            "bool hitObjectIsMissNV(hitObjectNV);"
 5904|      0|            "bool hitObjectIsHitNV(hitObjectNV);"
 5905|      0|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5906|      0|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5907|      0|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5908|      0|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5909|      0|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5910|      0|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5911|      0|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5912|      0|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5913|      0|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5914|      0|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5915|      0|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5916|      0|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5917|      0|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5918|      0|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5919|      0|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5920|      0|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5921|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5922|      0|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5923|      0|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5924|      0|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5925|      0|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5926|      0|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5927|      0|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5928|      0|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5929|      0|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5930|      0|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5931|      0|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5932|      0|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5933|      0|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5934|      0|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5935|      0|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5936|      0|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5937|      0|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5938|      0|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5939|      0|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5940|      0|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5941|      0|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5942|      0|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5943|      0|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5944|      0|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5945|      0|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5946|      0|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5947|      0|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5948|      0|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5949|      0|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5950|      0|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5951|      0|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5952|      0|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5953|      0|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5954|      0|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5955|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5956|      0|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5957|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int);"
 5958|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int, uint);"
 5959|      0|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5960|      0|            "\n");
 5961|      0|        stageBuiltins[EShLangCallable].append(
 5962|      0|            "void executeCallableNV(uint, int);"
 5963|      0|            "void executeCallableEXT(uint, int);"
 5964|      0|            "\n");
 5965|      0|    }
 5966|       |
 5967|       |    // GL_KHR_compute_shader_derivatives / SPV_NV_compute_shader_derivatives
 5968|     37|    if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (5968:10): [True: 36, False: 1]
  |  Branch (5968:35): [True: 0, False: 36]
  |  Branch (5968:55): [True: 1, False: 36]
  |  Branch (5968:80): [True: 1, False: 0]
  ------------------
 5969|      1|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5969:13): [True: 1, False: 0]
  ------------------
 5970|      1|            stageBuiltins[EShLangCompute].append(derivatives);
 5971|      1|            stageBuiltins[EShLangTask].append(derivatives);
 5972|      1|            stageBuiltins[EShLangMesh].append(derivatives);
 5973|      1|        }
 5974|       |
 5975|      1|        stageBuiltins[EShLangCompute].append(derivativeControls);
 5976|      1|        stageBuiltins[EShLangCompute].append("\n");
 5977|       |
 5978|      1|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5978:13): [True: 1, False: 0]
  ------------------
 5979|      1|            stageBuiltins[EShLangTask].append(derivativeControls);
 5980|      1|            stageBuiltins[EShLangTask].append("\n");
 5981|      1|            stageBuiltins[EShLangMesh].append(derivativeControls);
 5982|      1|            stageBuiltins[EShLangMesh].append("\n");
 5983|      1|        }
 5984|      1|    }
 5985|     37|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5985:9): [True: 1, False: 36]
  |  Branch (5985:34): [True: 1, False: 0]
  ------------------
 5986|      1|        stageBuiltins[EShLangCompute].append(derivativesAndControl16bits);
 5987|      1|        stageBuiltins[EShLangCompute].append(derivativesAndControl64bits);
 5988|      1|        stageBuiltins[EShLangCompute].append("\n");
 5989|      1|        stageBuiltins[EShLangTask].append(derivativesAndControl16bits);
 5990|      1|        stageBuiltins[EShLangTask].append(derivativesAndControl64bits);
 5991|      1|        stageBuiltins[EShLangTask].append("\n");
 5992|      1|        stageBuiltins[EShLangMesh].append(derivativesAndControl16bits);
 5993|      1|        stageBuiltins[EShLangMesh].append(derivativesAndControl64bits);
 5994|      1|        stageBuiltins[EShLangMesh].append("\n");
 5995|      1|    }
 5996|       |
 5997|       |    // Builtins for GL_NV_mesh_shader
 5998|     37|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (5998:10): [True: 1, False: 36]
  |  Branch (5998:35): [True: 1, False: 0]
  |  Branch (5998:55): [True: 36, False: 0]
  |  Branch (5998:80): [True: 0, False: 36]
  ------------------
 5999|      1|        stageBuiltins[EShLangMesh].append(
 6000|      1|            "void writePackedPrimitiveIndices4x8NV(uint, uint);"
 6001|      1|            "\n");
 6002|      1|    }
 6003|       |    // Builtins for GL_EXT_mesh_shader
 6004|     37|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (6004:10): [True: 1, False: 36]
  |  Branch (6004:35): [True: 1, False: 0]
  |  Branch (6004:55): [True: 36, False: 0]
  |  Branch (6004:80): [True: 0, False: 36]
  ------------------
 6005|       |        // Builtins for GL_EXT_mesh_shader
 6006|      1|        stageBuiltins[EShLangTask].append(
 6007|      1|            "void EmitMeshTasksEXT(uint, uint, uint);"
 6008|      1|            "\n");
 6009|       |
 6010|      1|        stageBuiltins[EShLangMesh].append(
 6011|      1|            "void SetMeshOutputsEXT(uint, uint);"
 6012|      1|            "\n");
 6013|      1|    }
 6014|       |    // Builtins for GL_NV_displacement_micromap
 6015|     37|    if ((profile != EEsProfile && version >= 460) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (6015:10): [True: 1, False: 36]
  |  Branch (6015:35): [True: 0, False: 1]
  |  Branch (6015:55): [True: 36, False: 1]
  |  Branch (6015:80): [True: 0, False: 36]
  ------------------
 6016|      0|        stageBuiltins[EShLangMesh].append(
 6017|      0|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 6018|      0|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 6019|      0|            "\n");
 6020|       |
 6021|      0|        stageBuiltins[EShLangCompute].append(
 6022|      0|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 6023|      0|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 6024|      0|            "\n");
 6025|       |
 6026|      0|    }
 6027|       |
 6028|       |
 6029|       |    //============================================================================
 6030|       |    //
 6031|       |    // Standard Uniforms
 6032|       |    //
 6033|       |    //============================================================================
 6034|       |
 6035|       |    //
 6036|       |    // Depth range in window coordinates, p. 33
 6037|       |    //
 6038|     37|    if (spvVersion.spv == 0) {
  ------------------
  |  Branch (6038:9): [True: 37, False: 0]
  ------------------
 6039|     37|        commonBuiltins.append(
 6040|     37|            "struct gl_DepthRangeParameters {"
 6041|     37|            );
 6042|     37|        if (profile == EEsProfile) {
  ------------------
  |  Branch (6042:13): [True: 36, False: 1]
  ------------------
 6043|     36|            commonBuiltins.append(
 6044|     36|                "highp float near;"   // n
 6045|     36|                "highp float far;"    // f
 6046|     36|                "highp float diff;"   // f - n
 6047|     36|                );
 6048|     36|        } else {
 6049|      1|            commonBuiltins.append(
 6050|      1|                "float near;"  // n
 6051|      1|                "float far;"   // f
 6052|      1|                "float diff;"  // f - n
 6053|      1|                );
 6054|      1|        }
 6055|       |
 6056|     37|        commonBuiltins.append(
 6057|     37|            "};"
 6058|     37|            "uniform gl_DepthRangeParameters gl_DepthRange;"
 6059|     37|            "\n");
 6060|     37|    }
 6061|       |
 6062|     37|    if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6062:9): [True: 37, False: 0]
  |  Branch (6062:32): [True: 0, False: 37]
  ------------------
 6063|       |        //
 6064|       |        // Matrix state. p. 31, 32, 37, 39, 40.
 6065|       |        //
 6066|      0|        commonBuiltins.append(
 6067|      0|            "uniform mat4  gl_ModelViewMatrix;"
 6068|      0|            "uniform mat4  gl_ProjectionMatrix;"
 6069|      0|            "uniform mat4  gl_ModelViewProjectionMatrix;"
 6070|       |
 6071|       |            //
 6072|       |            // Derived matrix state that provides inverse and transposed versions
 6073|       |            // of the matrices above.
 6074|       |            //
 6075|      0|            "uniform mat3  gl_NormalMatrix;"
 6076|       |
 6077|      0|            "uniform mat4  gl_ModelViewMatrixInverse;"
 6078|      0|            "uniform mat4  gl_ProjectionMatrixInverse;"
 6079|      0|            "uniform mat4  gl_ModelViewProjectionMatrixInverse;"
 6080|       |
 6081|      0|            "uniform mat4  gl_ModelViewMatrixTranspose;"
 6082|      0|            "uniform mat4  gl_ProjectionMatrixTranspose;"
 6083|      0|            "uniform mat4  gl_ModelViewProjectionMatrixTranspose;"
 6084|       |
 6085|      0|            "uniform mat4  gl_ModelViewMatrixInverseTranspose;"
 6086|      0|            "uniform mat4  gl_ProjectionMatrixInverseTranspose;"
 6087|      0|            "uniform mat4  gl_ModelViewProjectionMatrixInverseTranspose;"
 6088|       |
 6089|       |            //
 6090|       |            // Normal scaling p. 39.
 6091|       |            //
 6092|      0|            "uniform float gl_NormalScale;"
 6093|       |
 6094|       |            //
 6095|       |            // Point Size, p. 66, 67.
 6096|       |            //
 6097|      0|            "struct gl_PointParameters {"
 6098|      0|                "float size;"
 6099|      0|                "float sizeMin;"
 6100|      0|                "float sizeMax;"
 6101|      0|                "float fadeThresholdSize;"
 6102|      0|                "float distanceConstantAttenuation;"
 6103|      0|                "float distanceLinearAttenuation;"
 6104|      0|                "float distanceQuadraticAttenuation;"
 6105|      0|            "};"
 6106|       |
 6107|      0|            "uniform gl_PointParameters gl_Point;"
 6108|       |
 6109|       |            //
 6110|       |            // Material State p. 50, 55.
 6111|       |            //
 6112|      0|            "struct gl_MaterialParameters {"
 6113|      0|                "vec4  emission;"    // Ecm
 6114|      0|                "vec4  ambient;"     // Acm
 6115|      0|                "vec4  diffuse;"     // Dcm
 6116|      0|                "vec4  specular;"    // Scm
 6117|      0|                "float shininess;"   // Srm
 6118|      0|            "};"
 6119|      0|            "uniform gl_MaterialParameters  gl_FrontMaterial;"
 6120|      0|            "uniform gl_MaterialParameters  gl_BackMaterial;"
 6121|       |
 6122|       |            //
 6123|       |            // Light State p 50, 53, 55.
 6124|       |            //
 6125|      0|            "struct gl_LightSourceParameters {"
 6126|      0|                "vec4  ambient;"             // Acli
 6127|      0|                "vec4  diffuse;"             // Dcli
 6128|      0|                "vec4  specular;"            // Scli
 6129|      0|                "vec4  position;"            // Ppli
 6130|      0|                "vec4  halfVector;"          // Derived: Hi
 6131|      0|                "vec3  spotDirection;"       // Sdli
 6132|      0|                "float spotExponent;"        // Srli
 6133|      0|                "float spotCutoff;"          // Crli
 6134|       |                                                        // (range: [0.0,90.0], 180.0)
 6135|      0|                "float spotCosCutoff;"       // Derived: cos(Crli)
 6136|       |                                                        // (range: [1.0,0.0],-1.0)
 6137|      0|                "float constantAttenuation;" // K0
 6138|      0|                "float linearAttenuation;"   // K1
 6139|      0|                "float quadraticAttenuation;"// K2
 6140|      0|            "};"
 6141|       |
 6142|      0|            "struct gl_LightModelParameters {"
 6143|      0|                "vec4  ambient;"       // Acs
 6144|      0|            "};"
 6145|       |
 6146|      0|            "uniform gl_LightModelParameters  gl_LightModel;"
 6147|       |
 6148|       |            //
 6149|       |            // Derived state from products of light and material.
 6150|       |            //
 6151|      0|            "struct gl_LightModelProducts {"
 6152|      0|                "vec4  sceneColor;"     // Derived. Ecm + Acm * Acs
 6153|      0|            "};"
 6154|       |
 6155|      0|            "uniform gl_LightModelProducts gl_FrontLightModelProduct;"
 6156|      0|            "uniform gl_LightModelProducts gl_BackLightModelProduct;"
 6157|       |
 6158|      0|            "struct gl_LightProducts {"
 6159|      0|                "vec4  ambient;"        // Acm * Acli
 6160|      0|                "vec4  diffuse;"        // Dcm * Dcli
 6161|      0|                "vec4  specular;"       // Scm * Scli
 6162|      0|            "};"
 6163|       |
 6164|       |            //
 6165|       |            // Fog p. 161
 6166|       |            //
 6167|      0|            "struct gl_FogParameters {"
 6168|      0|                "vec4  color;"
 6169|      0|                "float density;"
 6170|      0|                "float start;"
 6171|      0|                "float end;"
 6172|      0|                "float scale;"   //  1 / (gl_FogEnd - gl_FogStart)
 6173|      0|            "};"
 6174|       |
 6175|      0|            "uniform gl_FogParameters gl_Fog;"
 6176|       |
 6177|      0|            "\n");
 6178|      0|    }
 6179|       |
 6180|       |    //============================================================================
 6181|       |    //
 6182|       |    // Define the interface to the compute shader.
 6183|       |    //
 6184|       |    //============================================================================
 6185|       |
 6186|     37|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (6186:10): [True: 1, False: 36]
  |  Branch (6186:35): [True: 1, False: 0]
  ------------------
 6187|     36|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6187:10): [True: 36, False: 0]
  |  Branch (6187:35): [True: 0, False: 36]
  ------------------
 6188|      1|        stageBuiltins[EShLangCompute].append(
 6189|      1|            "in    highp uvec3 gl_NumWorkGroups;"
 6190|      1|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6191|       |
 6192|      1|            "in highp uvec3 gl_WorkGroupID;"
 6193|      1|            "in highp uvec3 gl_LocalInvocationID;"
 6194|       |
 6195|      1|            "in highp uvec3 gl_GlobalInvocationID;"
 6196|      1|            "in highp uint gl_LocalInvocationIndex;"
 6197|       |
 6198|      1|            "\n");
 6199|      1|    }
 6200|       |
 6201|     37|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6201:10): [True: 1, False: 36]
  |  Branch (6201:35): [True: 1, False: 0]
  ------------------
 6202|     36|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6202:10): [True: 36, False: 0]
  |  Branch (6202:35): [True: 0, False: 36]
  ------------------
 6203|      1|        stageBuiltins[EShLangCompute].append(
 6204|      1|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6205|      1|            "\n");
 6206|      1|    }
 6207|       |
 6208|       |    // GL_QCOM_tile_shading
 6209|     37|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (6209:10): [True: 36, False: 1]
  |  Branch (6209:35): [True: 0, False: 36]
  ------------------
 6210|     37|        (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (6210:10): [True: 1, False: 36]
  |  Branch (6210:35): [True: 0, False: 1]
  ------------------
 6211|      0|        stageBuiltins[EShLangCompute].append(
 6212|      0|            "in highp uvec2 gl_TileOffsetQCOM;"     // GL_QCOM_tile_shading
 6213|      0|            "in highp uvec3 gl_TileDimensionQCOM;"  // GL_QCOM_tile_shading
 6214|      0|            "in highp uvec2 gl_TileApronSizeQCOM;"  // GL_QCOM_tile_shading
 6215|      0|            "\n");
 6216|      0|    }
 6217|       |
 6218|       |    //============================================================================
 6219|       |    //
 6220|       |    // Define the interface to the mesh/task shader.
 6221|       |    //
 6222|       |    //============================================================================
 6223|       |
 6224|     37|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (6224:10): [True: 1, False: 36]
  |  Branch (6224:35): [True: 1, False: 0]
  |  Branch (6224:55): [True: 36, False: 0]
  |  Branch (6224:80): [True: 0, False: 36]
  ------------------
 6225|       |        // per-vertex attributes
 6226|      1|        stageBuiltins[EShLangMesh].append(
 6227|      1|            "out gl_MeshPerVertexNV {"
 6228|      1|                "vec4 gl_Position;"
 6229|      1|                "float gl_PointSize;"
 6230|      1|                "float gl_ClipDistance[];"
 6231|      1|                "float gl_CullDistance[];"
 6232|      1|                "perviewNV vec4 gl_PositionPerViewNV[];"
 6233|      1|                "perviewNV float gl_ClipDistancePerViewNV[][];"
 6234|      1|                "perviewNV float gl_CullDistancePerViewNV[][];"
 6235|      1|            "} gl_MeshVerticesNV[];"
 6236|      1|        );
 6237|       |
 6238|       |        // per-primitive attributes
 6239|      1|        stageBuiltins[EShLangMesh].append(
 6240|      1|            "perprimitiveNV out gl_MeshPerPrimitiveNV {"
 6241|      1|                "int gl_PrimitiveID;"
 6242|      1|                "int gl_Layer;"
 6243|      1|                "int gl_ViewportIndex;"
 6244|      1|                "int gl_ViewportMask[];"
 6245|      1|                "perviewNV int gl_LayerPerViewNV[];"
 6246|      1|                "perviewNV int gl_ViewportMaskPerViewNV[][];"
 6247|      1|            "} gl_MeshPrimitivesNV[];"
 6248|      1|        );
 6249|       |
 6250|      1|        stageBuiltins[EShLangMesh].append(
 6251|      1|            "out uint gl_PrimitiveCountNV;"
 6252|      1|            "out uint gl_PrimitiveIndicesNV[];"
 6253|       |
 6254|      1|            "in uint gl_MeshViewCountNV;"
 6255|      1|            "in uint gl_MeshViewIndicesNV[4];"
 6256|       |
 6257|      1|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6258|       |
 6259|      1|            "in highp uvec3 gl_WorkGroupID;"
 6260|      1|            "in highp uvec3 gl_LocalInvocationID;"
 6261|       |
 6262|      1|            "in highp uvec3 gl_GlobalInvocationID;"
 6263|      1|            "in highp uint gl_LocalInvocationIndex;"
 6264|      1|            "\n");
 6265|       |
 6266|       |        // GL_EXT_mesh_shader
 6267|      1|        stageBuiltins[EShLangMesh].append(
 6268|      1|            "out uint gl_PrimitivePointIndicesEXT[];"
 6269|      1|            "out uvec2 gl_PrimitiveLineIndicesEXT[];"
 6270|      1|            "out uvec3 gl_PrimitiveTriangleIndicesEXT[];"
 6271|      1|            "in    highp uvec3 gl_NumWorkGroups;"
 6272|      1|            "\n");
 6273|       |
 6274|       |        // per-vertex attributes
 6275|      1|        stageBuiltins[EShLangMesh].append(
 6276|      1|            "out gl_MeshPerVertexEXT {"
 6277|      1|                "vec4 gl_Position;"
 6278|      1|                "float gl_PointSize;"
 6279|      1|                "float gl_ClipDistance[];"
 6280|      1|                "float gl_CullDistance[];"
 6281|      1|            "} gl_MeshVerticesEXT[];"
 6282|      1|        );
 6283|       |
 6284|       |        // per-primitive attributes
 6285|      1|        stageBuiltins[EShLangMesh].append(
 6286|      1|            "perprimitiveEXT out gl_MeshPerPrimitiveEXT {"
 6287|      1|                "int gl_PrimitiveID;"
 6288|      1|                "int gl_Layer;"
 6289|      1|                "int gl_ViewportIndex;"
 6290|      1|                "bool gl_CullPrimitiveEXT;"
 6291|      1|                "int  gl_PrimitiveShadingRateEXT;"
 6292|      1|            "} gl_MeshPrimitivesEXT[];"
 6293|      1|        );
 6294|       |
 6295|      1|        stageBuiltins[EShLangTask].append(
 6296|      1|            "out uint gl_TaskCountNV;"
 6297|       |
 6298|      1|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6299|       |
 6300|      1|            "in highp uvec3 gl_WorkGroupID;"
 6301|      1|            "in highp uvec3 gl_LocalInvocationID;"
 6302|       |
 6303|      1|            "in highp uvec3 gl_GlobalInvocationID;"
 6304|      1|            "in highp uint gl_LocalInvocationIndex;"
 6305|       |
 6306|      1|            "in uint gl_MeshViewCountNV;"
 6307|      1|            "in uint gl_MeshViewIndicesNV[4];"
 6308|      1|            "in    highp uvec3 gl_NumWorkGroups;"
 6309|      1|            "\n");
 6310|      1|    }
 6311|       |
 6312|     37|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (6312:9): [True: 1, False: 36]
  |  Branch (6312:34): [True: 1, False: 0]
  ------------------
 6313|      1|        stageBuiltins[EShLangMesh].append(
 6314|      1|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6315|      1|            "in int gl_DrawIDARB;"             // GL_ARB_shader_draw_parameters
 6316|      1|            "in int gl_ViewIndex;"             // GL_EXT_multiview
 6317|      1|            "\n");
 6318|       |
 6319|      1|        stageBuiltins[EShLangTask].append(
 6320|      1|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6321|      1|            "in int gl_DrawIDARB;"             // GL_ARB_shader_draw_parameters
 6322|      1|            "\n");
 6323|       |
 6324|      1|        if (version >= 460) {
  ------------------
  |  Branch (6324:13): [True: 0, False: 1]
  ------------------
 6325|      0|            stageBuiltins[EShLangMesh].append(
 6326|      0|                "in int gl_DrawID;"
 6327|      0|                "\n");
 6328|       |
 6329|      0|            stageBuiltins[EShLangTask].append(
 6330|      0|                "in int gl_DrawID;"
 6331|      0|                "\n");
 6332|      0|        }
 6333|      1|    }
 6334|       |
 6335|       |    //============================================================================
 6336|       |    //
 6337|       |    // Define the interface to the vertex shader.
 6338|       |    //
 6339|       |    //============================================================================
 6340|       |
 6341|     37|    if (profile != EEsProfile) {
  ------------------
  |  Branch (6341:9): [True: 1, False: 36]
  ------------------
 6342|      1|        if (version < 130) {
  ------------------
  |  Branch (6342:13): [True: 0, False: 1]
  ------------------
 6343|      0|            stageBuiltins[EShLangVertex].append(
 6344|      0|                "attribute vec4  gl_Color;"
 6345|      0|                "attribute vec4  gl_SecondaryColor;"
 6346|      0|                "attribute vec3  gl_Normal;"
 6347|      0|                "attribute vec4  gl_Vertex;"
 6348|      0|                "attribute vec4  gl_MultiTexCoord0;"
 6349|      0|                "attribute vec4  gl_MultiTexCoord1;"
 6350|      0|                "attribute vec4  gl_MultiTexCoord2;"
 6351|      0|                "attribute vec4  gl_MultiTexCoord3;"
 6352|      0|                "attribute vec4  gl_MultiTexCoord4;"
 6353|      0|                "attribute vec4  gl_MultiTexCoord5;"
 6354|      0|                "attribute vec4  gl_MultiTexCoord6;"
 6355|      0|                "attribute vec4  gl_MultiTexCoord7;"
 6356|      0|                "attribute float gl_FogCoord;"
 6357|      0|                "\n");
 6358|      1|        } else if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6358:20): [True: 0, False: 1]
  ------------------
 6359|      0|            stageBuiltins[EShLangVertex].append(
 6360|      0|                "in vec4  gl_Color;"
 6361|      0|                "in vec4  gl_SecondaryColor;"
 6362|      0|                "in vec3  gl_Normal;"
 6363|      0|                "in vec4  gl_Vertex;"
 6364|      0|                "in vec4  gl_MultiTexCoord0;"
 6365|      0|                "in vec4  gl_MultiTexCoord1;"
 6366|      0|                "in vec4  gl_MultiTexCoord2;"
 6367|      0|                "in vec4  gl_MultiTexCoord3;"
 6368|      0|                "in vec4  gl_MultiTexCoord4;"
 6369|      0|                "in vec4  gl_MultiTexCoord5;"
 6370|      0|                "in vec4  gl_MultiTexCoord6;"
 6371|      0|                "in vec4  gl_MultiTexCoord7;"
 6372|      0|                "in float gl_FogCoord;"
 6373|      0|                "\n");
 6374|      0|        }
 6375|       |
 6376|      1|        if (version < 150) {
  ------------------
  |  Branch (6376:13): [True: 0, False: 1]
  ------------------
 6377|      0|            if (version < 130) {
  ------------------
  |  Branch (6377:17): [True: 0, False: 0]
  ------------------
 6378|      0|                stageBuiltins[EShLangVertex].append(
 6379|      0|                    "        vec4  gl_ClipVertex;"       // needs qualifier fixed later
 6380|      0|                    "varying vec4  gl_FrontColor;"
 6381|      0|                    "varying vec4  gl_BackColor;"
 6382|      0|                    "varying vec4  gl_FrontSecondaryColor;"
 6383|      0|                    "varying vec4  gl_BackSecondaryColor;"
 6384|      0|                    "varying vec4  gl_TexCoord[];"
 6385|      0|                    "varying float gl_FogFragCoord;"
 6386|      0|                    "\n");
 6387|      0|            } else if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6387:24): [True: 0, False: 0]
  ------------------
 6388|      0|                stageBuiltins[EShLangVertex].append(
 6389|      0|                    "    vec4  gl_ClipVertex;"       // needs qualifier fixed later
 6390|      0|                    "out vec4  gl_FrontColor;"
 6391|      0|                    "out vec4  gl_BackColor;"
 6392|      0|                    "out vec4  gl_FrontSecondaryColor;"
 6393|      0|                    "out vec4  gl_BackSecondaryColor;"
 6394|      0|                    "out vec4  gl_TexCoord[];"
 6395|      0|                    "out float gl_FogFragCoord;"
 6396|      0|                    "\n");
 6397|      0|            }
 6398|      0|            stageBuiltins[EShLangVertex].append(
 6399|      0|                "vec4 gl_Position;"   // needs qualifier fixed later
 6400|      0|                "float gl_PointSize;" // needs qualifier fixed later
 6401|      0|                );
 6402|       |
 6403|      0|            if (version == 130 || version == 140)
  ------------------
  |  Branch (6403:17): [True: 0, False: 0]
  |  Branch (6403:35): [True: 0, False: 0]
  ------------------
 6404|      0|                stageBuiltins[EShLangVertex].append(
 6405|      0|                    "out float gl_ClipDistance[];"
 6406|      0|                    "out float gl_CullDistance[];"  // GL_ARB_cull_distance
 6407|      0|                    );
 6408|      1|        } else {
 6409|       |            // version >= 150
 6410|      1|            stageBuiltins[EShLangVertex].append(
 6411|      1|                "out gl_PerVertex {"
 6412|      1|                    "vec4 gl_Position;"     // needs qualifier fixed later
 6413|      1|                    "float gl_PointSize;"   // needs qualifier fixed later
 6414|      1|                    "float gl_ClipDistance[];"
 6415|      1|                    "float gl_CullDistance[];"  // GL_ARB_cull_distance, core in 450
 6416|      1|                    );
 6417|      1|            if (IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (6417:17): [True: 0, False: 1]
  ------------------
 6418|      0|                stageBuiltins[EShLangVertex].append(
 6419|      0|                    "vec4 gl_ClipVertex;"   // needs qualifier fixed later
 6420|      0|                    "vec4 gl_FrontColor;"
 6421|      0|                    "vec4 gl_BackColor;"
 6422|      0|                    "vec4 gl_FrontSecondaryColor;"
 6423|      0|                    "vec4 gl_BackSecondaryColor;"
 6424|      0|                    "vec4 gl_TexCoord[];"
 6425|      0|                    "float gl_FogFragCoord;"
 6426|      0|                    );
 6427|      1|            stageBuiltins[EShLangVertex].append(
 6428|      1|                "};"
 6429|      1|                "\n");
 6430|      1|        }
 6431|      1|        if (version >= 130 && spvVersion.vulkan == 0)
  ------------------
  |  Branch (6431:13): [True: 1, False: 0]
  |  Branch (6431:31): [True: 0, False: 1]
  ------------------
 6432|      0|            stageBuiltins[EShLangVertex].append(
 6433|      0|                "int gl_VertexID;"            // needs qualifier fixed later
 6434|      0|                );
 6435|      1|        if (spvVersion.vulkan == 0)
  ------------------
  |  Branch (6435:13): [True: 0, False: 1]
  ------------------
 6436|      0|            stageBuiltins[EShLangVertex].append(
 6437|      0|                "int gl_InstanceID;"          // needs qualifier fixed later
 6438|      0|                );
 6439|      1|        if (spvVersion.vulkan > 0 && version >= 140)
  ------------------
  |  Branch (6439:13): [True: 1, False: 0]
  |  Branch (6439:38): [True: 1, False: 0]
  ------------------
 6440|      1|            stageBuiltins[EShLangVertex].append(
 6441|      1|                "in int gl_VertexIndex;"
 6442|      1|                "in int gl_InstanceIndex;"
 6443|      1|                );
 6444|       |
 6445|      1|        if (spvVersion.vulkan > 0 && version >= 140 && spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (6445:13): [True: 1, False: 0]
  |  Branch (6445:38): [True: 1, False: 0]
  |  Branch (6445:56): [True: 0, False: 1]
  ------------------
 6446|      0|            stageBuiltins[EShLangVertex].append(
 6447|      0|                "in int gl_VertexID;"         // declare with 'in' qualifier
 6448|      0|                "in int gl_InstanceID;"
 6449|      0|                );
 6450|       |
 6451|      1|        if (version >= 440) {
  ------------------
  |  Branch (6451:13): [True: 1, False: 0]
  ------------------
 6452|      1|            stageBuiltins[EShLangVertex].append(
 6453|      1|                "in int gl_BaseVertexARB;"
 6454|      1|                "in int gl_BaseInstanceARB;"
 6455|      1|                "in int gl_DrawIDARB;"
 6456|      1|                );
 6457|      1|        }
 6458|      1|        if (version >= 410) {
  ------------------
  |  Branch (6458:13): [True: 1, False: 0]
  ------------------
 6459|      1|            stageBuiltins[EShLangVertex].append(
 6460|      1|                "out int gl_ViewportIndex;"
 6461|      1|                "out int gl_Layer;"
 6462|      1|                );
 6463|      1|        }
 6464|      1|        if (version >= 460) {
  ------------------
  |  Branch (6464:13): [True: 0, False: 1]
  ------------------
 6465|      0|            stageBuiltins[EShLangVertex].append(
 6466|      0|                "in int gl_BaseVertex;"
 6467|      0|                "in int gl_BaseInstance;"
 6468|      0|                "in int gl_DrawID;"
 6469|      0|                );
 6470|      0|        }
 6471|       |
 6472|      1|        if (version >= 430)
  ------------------
  |  Branch (6472:13): [True: 1, False: 0]
  ------------------
 6473|      1|            stageBuiltins[EShLangVertex].append(
 6474|      1|                "out int gl_ViewportMask[];"             // GL_NV_viewport_array2
 6475|      1|                );
 6476|       |
 6477|      1|        if (version >= 450)
  ------------------
  |  Branch (6477:13): [True: 1, False: 0]
  ------------------
 6478|      1|            stageBuiltins[EShLangVertex].append(
 6479|      1|                "out int gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6480|      1|                "out vec4 gl_SecondaryPositionNV;"       // GL_NV_stereo_view_rendering
 6481|      1|                "out vec4 gl_PositionPerViewNV[];"       // GL_NVX_multiview_per_view_attributes
 6482|      1|                "out int  gl_ViewportMaskPerViewNV[];"   // GL_NVX_multiview_per_view_attributes
 6483|      1|                );
 6484|     36|    } else {
 6485|       |        // ES profile
 6486|     36|        if (version == 100) {
  ------------------
  |  Branch (6486:13): [True: 36, False: 0]
  ------------------
 6487|     36|            stageBuiltins[EShLangVertex].append(
 6488|     36|                "highp   vec4  gl_Position;"  // needs qualifier fixed later
 6489|     36|                "mediump float gl_PointSize;" // needs qualifier fixed later
 6490|     36|                "highp int gl_InstanceID;" // needs qualifier fixed later
 6491|     36|                );
 6492|     36|        } else {
 6493|      0|            if (spvVersion.vulkan == 0 || spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (6493:17): [True: 0, False: 0]
  |  Branch (6493:43): [True: 0, False: 0]
  ------------------
 6494|      0|                stageBuiltins[EShLangVertex].append(
 6495|      0|                    "in highp int gl_VertexID;"      // needs qualifier fixed later
 6496|      0|                    "in highp int gl_InstanceID;"    // needs qualifier fixed later
 6497|      0|                    );
 6498|      0|            if (spvVersion.vulkan > 0)
  ------------------
  |  Branch (6498:17): [True: 0, False: 0]
  ------------------
 6499|      0|                stageBuiltins[EShLangVertex].append(
 6500|      0|                    "in highp int gl_VertexIndex;"
 6501|      0|                    "in highp int gl_InstanceIndex;"
 6502|      0|                    );
 6503|      0|            if (version < 310)
  ------------------
  |  Branch (6503:17): [True: 0, False: 0]
  ------------------
 6504|      0|                stageBuiltins[EShLangVertex].append(
 6505|      0|                    "highp vec4  gl_Position;"    // needs qualifier fixed later
 6506|      0|                    "highp float gl_PointSize;"   // needs qualifier fixed later
 6507|      0|                    "out highp float gl_ClipDistance[];"  // GL_EXT_clip_cull_distance
 6508|      0|                    "out highp float gl_CullDistance[];"  // GL_EXT_clip_cull_distance
 6509|      0|                    );
 6510|      0|            else
 6511|      0|                stageBuiltins[EShLangVertex].append(
 6512|      0|                    "out gl_PerVertex {"
 6513|      0|                        "highp vec4  gl_Position;"    // needs qualifier fixed later
 6514|      0|                        "highp float gl_PointSize;"   // needs qualifier fixed later
 6515|      0|                        "highp float gl_ClipDistance[];"  // GL_EXT_clip_cull_distance
 6516|      0|                        "highp float gl_CullDistance[];"  // GL_EXT_clip_cull_distance
 6517|      0|                    "};"
 6518|      0|                    );
 6519|      0|        }
 6520|     36|    }
 6521|       |
 6522|     37|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6522:10): [True: 1, False: 36]
  |  Branch (6522:35): [True: 1, False: 0]
  ------------------
 6523|     36|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6523:10): [True: 36, False: 0]
  |  Branch (6523:35): [True: 0, False: 36]
  ------------------
 6524|      1|        stageBuiltins[EShLangVertex].append(
 6525|      1|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6526|      1|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6527|      1|            "\n");
 6528|      1|    }
 6529|       |
 6530|     37|    if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (6530:9): [True: 1, False: 36]
  ------------------
 6531|      1|        stageBuiltins[EShLangVertex].append(
 6532|      1|            "in highp uint gl_ViewID_OVR;"     // GL_OVR_multiview, GL_OVR_multiview2
 6533|      1|            "\n");
 6534|      1|    }
 6535|       |
 6536|     37|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6536:10): [True: 1, False: 36]
  |  Branch (6536:35): [True: 1, False: 0]
  |  Branch (6536:55): [True: 36, False: 0]
  |  Branch (6536:80): [True: 0, False: 36]
  ------------------
 6537|      1|        stageBuiltins[EShLangVertex].append(
 6538|      1|            "out highp int gl_PrimitiveShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6539|      1|            "\n");
 6540|      1|    }
 6541|       |
 6542|       |    //============================================================================
 6543|       |    //
 6544|       |    // Define the interface to the geometry shader.
 6545|       |    //
 6546|       |    //============================================================================
 6547|       |
 6548|     37|    if (profile == ECoreProfile || profile == ECompatibilityProfile) {
  ------------------
  |  Branch (6548:9): [True: 1, False: 36]
  |  Branch (6548:36): [True: 0, False: 36]
  ------------------
 6549|      1|        stageBuiltins[EShLangGeometry].append(
 6550|      1|            "in gl_PerVertex {"
 6551|      1|                "vec4 gl_Position;"
 6552|      1|                "float gl_PointSize;"
 6553|      1|                "float gl_ClipDistance[];"
 6554|      1|                "float gl_CullDistance[];"  // GL_ARB_cull_distance, core in 450
 6555|      1|                );
 6556|      1|        if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (6556:13): [True: 0, False: 1]
  ------------------
 6557|      0|            stageBuiltins[EShLangGeometry].append(
 6558|      0|                "vec4 gl_ClipVertex;"
 6559|      0|                "vec4 gl_FrontColor;"
 6560|      0|                "vec4 gl_BackColor;"
 6561|      0|                "vec4 gl_FrontSecondaryColor;"
 6562|      0|                "vec4 gl_BackSecondaryColor;"
 6563|      0|                "vec4 gl_TexCoord[];"
 6564|      0|                "float gl_FogFragCoord;"
 6565|      0|                );
 6566|      1|        if (version >= 450)
  ------------------
  |  Branch (6566:13): [True: 1, False: 0]
  ------------------
 6567|      1|            stageBuiltins[EShLangGeometry].append(
 6568|      1|                "vec4 gl_SecondaryPositionNV;"   // GL_NV_stereo_view_rendering
 6569|      1|                "vec4 gl_PositionPerViewNV[];"   // GL_NVX_multiview_per_view_attributes
 6570|      1|                );
 6571|      1|        stageBuiltins[EShLangGeometry].append(
 6572|      1|            "} gl_in[];"
 6573|       |
 6574|      1|            "in int gl_PrimitiveIDIn;"
 6575|      1|            "out gl_PerVertex {"
 6576|      1|                "vec4 gl_Position;"
 6577|      1|                "float gl_PointSize;"
 6578|      1|                "float gl_ClipDistance[];"
 6579|      1|                "float gl_CullDistance[];"  // GL_ARB_cull_distance, core in 450
 6580|      1|                "\n");
 6581|      1|        if (profile == ECompatibilityProfile && version >= 400)
  ------------------
  |  Branch (6581:13): [True: 0, False: 1]
  |  Branch (6581:49): [True: 0, False: 0]
  ------------------
 6582|      0|            stageBuiltins[EShLangGeometry].append(
 6583|      0|                "vec4 gl_ClipVertex;"
 6584|      0|                "vec4 gl_FrontColor;"
 6585|      0|                "vec4 gl_BackColor;"
 6586|      0|                "vec4 gl_FrontSecondaryColor;"
 6587|      0|                "vec4 gl_BackSecondaryColor;"
 6588|      0|                "vec4 gl_TexCoord[];"
 6589|      0|                "float gl_FogFragCoord;"
 6590|      0|                );
 6591|      1|        stageBuiltins[EShLangGeometry].append(
 6592|      1|            "};"
 6593|       |
 6594|      1|            "out int gl_PrimitiveID;"
 6595|      1|            "out int gl_Layer;");
 6596|       |
 6597|      1|        if (version >= 150)
  ------------------
  |  Branch (6597:13): [True: 1, False: 0]
  ------------------
 6598|      1|            stageBuiltins[EShLangGeometry].append(
 6599|      1|            "out int gl_ViewportIndex;"
 6600|      1|            );
 6601|       |
 6602|      1|        if (profile == ECompatibilityProfile && version < 400)
  ------------------
  |  Branch (6602:13): [True: 0, False: 1]
  |  Branch (6602:49): [True: 0, False: 0]
  ------------------
 6603|      0|            stageBuiltins[EShLangGeometry].append(
 6604|      0|            "out vec4 gl_ClipVertex;"
 6605|      0|            );
 6606|       |
 6607|      1|        if (version >= 150)
  ------------------
  |  Branch (6607:13): [True: 1, False: 0]
  ------------------
 6608|      1|            stageBuiltins[EShLangGeometry].append(
 6609|      1|            "in int gl_InvocationID;"
 6610|      1|            );
 6611|       |
 6612|      1|        if (version >= 430)
  ------------------
  |  Branch (6612:13): [True: 1, False: 0]
  ------------------
 6613|      1|            stageBuiltins[EShLangGeometry].append(
 6614|      1|                "out int gl_ViewportMask[];"               // GL_NV_viewport_array2
 6615|      1|            );
 6616|       |
 6617|      1|        if (version >= 450)
  ------------------
  |  Branch (6617:13): [True: 1, False: 0]
  ------------------
 6618|      1|            stageBuiltins[EShLangGeometry].append(
 6619|      1|                "out int gl_SecondaryViewportMaskNV[];"    // GL_NV_stereo_view_rendering
 6620|      1|                "out vec4 gl_SecondaryPositionNV;"         // GL_NV_stereo_view_rendering
 6621|      1|                "out vec4 gl_PositionPerViewNV[];"         // GL_NVX_multiview_per_view_attributes
 6622|      1|                "out int  gl_ViewportMaskPerViewNV[];"     // GL_NVX_multiview_per_view_attributes
 6623|      1|            );
 6624|       |
 6625|      1|        stageBuiltins[EShLangGeometry].append("\n");
 6626|     36|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (6626:16): [True: 36, False: 0]
  |  Branch (6626:41): [True: 0, False: 36]
  ------------------
 6627|      0|        stageBuiltins[EShLangGeometry].append(
 6628|      0|            "in gl_PerVertex {"
 6629|      0|                "highp vec4 gl_Position;"
 6630|      0|                "highp float gl_PointSize;"
 6631|      0|                "highp float gl_ClipDistance[];"  // GL_EXT_clip_cull_distance
 6632|      0|                "highp float gl_CullDistance[];"  // GL_EXT_clip_cull_distance
 6633|      0|            "} gl_in[];"
 6634|      0|            "\n"
 6635|      0|            "in highp int gl_PrimitiveIDIn;"
 6636|      0|            "in highp int gl_InvocationID;"
 6637|      0|            "\n"
 6638|      0|            "out gl_PerVertex {"
 6639|      0|                "highp vec4 gl_Position;"
 6640|      0|                "highp float gl_PointSize;"
 6641|      0|                "highp float gl_ClipDistance[];"  // GL_EXT_clip_cull_distance
 6642|      0|                "highp float gl_CullDistance[];"  // GL_EXT_clip_cull_distance
 6643|      0|            "};"
 6644|      0|            "\n"
 6645|      0|            "out highp int gl_PrimitiveID;"
 6646|      0|            "out highp int gl_Layer;"
 6647|      0|            "\n"
 6648|      0|            );
 6649|      0|    }
 6650|       |
 6651|     37|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6651:10): [True: 1, False: 36]
  |  Branch (6651:35): [True: 1, False: 0]
  ------------------
 6652|     36|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6652:10): [True: 36, False: 0]
  |  Branch (6652:35): [True: 0, False: 36]
  ------------------
 6653|      1|        stageBuiltins[EShLangGeometry].append(
 6654|      1|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6655|      1|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6656|      1|            "\n");
 6657|      1|    }
 6658|       |
 6659|     37|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6659:10): [True: 1, False: 36]
  |  Branch (6659:35): [True: 1, False: 0]
  |  Branch (6659:55): [True: 36, False: 0]
  |  Branch (6659:80): [True: 0, False: 36]
  ------------------
 6660|      1|        stageBuiltins[EShLangGeometry].append(
 6661|      1|            "out highp int gl_PrimitiveShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6662|      1|            "\n");
 6663|      1|    }
 6664|       |
 6665|       |    //============================================================================
 6666|       |    //
 6667|       |    // Define the interface to the tessellation control shader.
 6668|       |    //
 6669|       |    //============================================================================
 6670|       |
 6671|     37|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (6671:9): [True: 1, False: 36]
  |  Branch (6671:34): [True: 1, False: 0]
  ------------------
 6672|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6673|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6674|       |
 6675|      1|        stageBuiltins[EShLangTessControl].append(
 6676|      1|            "in int gl_PatchVerticesIn;"
 6677|      1|            "in int gl_PrimitiveID;"
 6678|      1|            "in int gl_InvocationID;"
 6679|       |
 6680|      1|            "out gl_PerVertex {"
 6681|      1|                "vec4 gl_Position;"
 6682|      1|                "float gl_PointSize;"
 6683|      1|                "float gl_ClipDistance[];"
 6684|      1|                "float gl_CullDistance[];"  // GL_ARB_cull_distance, core in 450
 6685|      1|                );
 6686|      1|        if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (6686:13): [True: 0, False: 1]
  ------------------
 6687|      0|            stageBuiltins[EShLangTessControl].append(
 6688|      0|                "vec4 gl_ClipVertex;"
 6689|      0|                "vec4 gl_FrontColor;"
 6690|      0|                "vec4 gl_BackColor;"
 6691|      0|                "vec4 gl_FrontSecondaryColor;"
 6692|      0|                "vec4 gl_BackSecondaryColor;"
 6693|      0|                "vec4 gl_TexCoord[];"
 6694|      0|                "float gl_FogFragCoord;"
 6695|      0|                );
 6696|      1|        if (version >= 430)
  ------------------
  |  Branch (6696:13): [True: 1, False: 0]
  ------------------
 6697|      1|            stageBuiltins[EShLangTessControl].append(
 6698|      1|                "int  gl_ViewportMask[];"             // GL_NV_viewport_array2
 6699|      1|            );
 6700|      1|        if (version >= 450)
  ------------------
  |  Branch (6700:13): [True: 1, False: 0]
  ------------------
 6701|      1|            stageBuiltins[EShLangTessControl].append(
 6702|      1|                "vec4 gl_SecondaryPositionNV;"        // GL_NV_stereo_view_rendering
 6703|      1|                "int  gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6704|      1|                "vec4 gl_PositionPerViewNV[];"        // GL_NVX_multiview_per_view_attributes
 6705|      1|                "int  gl_ViewportMaskPerViewNV[];"    // GL_NVX_multiview_per_view_attributes
 6706|      1|                );
 6707|      1|        stageBuiltins[EShLangTessControl].append(
 6708|      1|            "} gl_out[];"
 6709|       |
 6710|      1|            "patch out float gl_TessLevelOuter[4];"
 6711|      1|            "patch out float gl_TessLevelInner[2];"
 6712|      1|            "\n");
 6713|       |
 6714|      1|        if (version >= 410)
  ------------------
  |  Branch (6714:13): [True: 1, False: 0]
  ------------------
 6715|      1|            stageBuiltins[EShLangTessControl].append(
 6716|      1|                "out int gl_ViewportIndex;"
 6717|      1|                "out int gl_Layer;"
 6718|      1|                "\n");
 6719|       |
 6720|     36|    } else {
 6721|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6722|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6723|       |
 6724|     36|        stageBuiltins[EShLangTessControl].append(
 6725|     36|            "in highp int gl_PatchVerticesIn;"
 6726|     36|            "in highp int gl_PrimitiveID;"
 6727|     36|            "in highp int gl_InvocationID;"
 6728|       |
 6729|     36|            "out gl_PerVertex {"
 6730|     36|                "highp vec4 gl_Position;"
 6731|     36|                "highp float gl_PointSize;"
 6732|     36|                );
 6733|     36|        if (profile == EEsProfile)
  ------------------
  |  Branch (6733:13): [True: 36, False: 0]
  ------------------
 6734|     36|            stageBuiltins[EShLangTessControl].append(
 6735|     36|                "highp float gl_ClipDistance[];"  // GL_EXT_clip_cull_distance
 6736|     36|                "highp float gl_CullDistance[];"  // GL_EXT_clip_cull_distance
 6737|     36|                );
 6738|     36|        stageBuiltins[EShLangTessControl].append(
 6739|     36|            "} gl_out[];"
 6740|       |
 6741|     36|            "patch out highp float gl_TessLevelOuter[4];"
 6742|     36|            "patch out highp float gl_TessLevelInner[2];"
 6743|     36|            "patch out highp vec4 gl_BoundingBoxOES[2];"
 6744|     36|            "patch out highp vec4 gl_BoundingBoxEXT[2];"
 6745|     36|            "\n");
 6746|     36|        if (profile == EEsProfile && version >= 320) {
  ------------------
  |  Branch (6746:13): [True: 36, False: 0]
  |  Branch (6746:38): [True: 0, False: 36]
  ------------------
 6747|      0|            stageBuiltins[EShLangTessControl].append(
 6748|      0|                "patch out highp vec4 gl_BoundingBox[2];"
 6749|      0|                "\n"
 6750|      0|            );
 6751|      0|        }
 6752|     36|    }
 6753|       |
 6754|     37|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6754:10): [True: 1, False: 36]
  |  Branch (6754:35): [True: 1, False: 0]
  ------------------
 6755|     36|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6755:10): [True: 36, False: 0]
  |  Branch (6755:35): [True: 0, False: 36]
  ------------------
 6756|      1|        stageBuiltins[EShLangTessControl].append(
 6757|      1|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6758|      1|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6759|      1|            "\n");
 6760|      1|    }
 6761|       |
 6762|       |    //============================================================================
 6763|       |    //
 6764|       |    // Define the interface to the tessellation evaluation shader.
 6765|       |    //
 6766|       |    //============================================================================
 6767|       |
 6768|     37|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (6768:9): [True: 1, False: 36]
  |  Branch (6768:34): [True: 1, False: 0]
  ------------------
 6769|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6770|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6771|       |
 6772|      1|        stageBuiltins[EShLangTessEvaluation].append(
 6773|      1|            "in int gl_PatchVerticesIn;"
 6774|      1|            "in int gl_PrimitiveID;"
 6775|      1|            "in vec3 gl_TessCoord;"
 6776|       |
 6777|      1|            "patch in float gl_TessLevelOuter[4];"
 6778|      1|            "patch in float gl_TessLevelInner[2];"
 6779|       |
 6780|      1|            "out gl_PerVertex {"
 6781|      1|                "vec4 gl_Position;"
 6782|      1|                "float gl_PointSize;"
 6783|      1|                "float gl_ClipDistance[];"
 6784|      1|                "float gl_CullDistance[];"  // GL_ARB_cull_distance, core in 450
 6785|      1|            );
 6786|      1|        if (version >= 400 && profile == ECompatibilityProfile)
  ------------------
  |  Branch (6786:13): [True: 1, False: 0]
  |  Branch (6786:31): [True: 0, False: 1]
  ------------------
 6787|      0|            stageBuiltins[EShLangTessEvaluation].append(
 6788|      0|                "vec4 gl_ClipVertex;"
 6789|      0|                "vec4 gl_FrontColor;"
 6790|      0|                "vec4 gl_BackColor;"
 6791|      0|                "vec4 gl_FrontSecondaryColor;"
 6792|      0|                "vec4 gl_BackSecondaryColor;"
 6793|      0|                "vec4 gl_TexCoord[];"
 6794|      0|                "float gl_FogFragCoord;"
 6795|      0|                );
 6796|      1|        stageBuiltins[EShLangTessEvaluation].append(
 6797|      1|            "};"
 6798|      1|            "\n");
 6799|       |
 6800|      1|        if (version >= 410)
  ------------------
  |  Branch (6800:13): [True: 1, False: 0]
  ------------------
 6801|      1|            stageBuiltins[EShLangTessEvaluation].append(
 6802|      1|                "out int gl_ViewportIndex;"
 6803|      1|                "out int gl_Layer;"
 6804|      1|                "\n");
 6805|       |
 6806|      1|        if (version >= 430)
  ------------------
  |  Branch (6806:13): [True: 1, False: 0]
  ------------------
 6807|      1|            stageBuiltins[EShLangTessEvaluation].append(
 6808|      1|                "out int  gl_ViewportMask[];"             // GL_NV_viewport_array2
 6809|      1|            );
 6810|       |
 6811|      1|        if (version >= 450)
  ------------------
  |  Branch (6811:13): [True: 1, False: 0]
  ------------------
 6812|      1|            stageBuiltins[EShLangTessEvaluation].append(
 6813|      1|                "out vec4 gl_SecondaryPositionNV;"        // GL_NV_stereo_view_rendering
 6814|      1|                "out int  gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6815|      1|                "out vec4 gl_PositionPerViewNV[];"        // GL_NVX_multiview_per_view_attributes
 6816|      1|                "out int  gl_ViewportMaskPerViewNV[];"    // GL_NVX_multiview_per_view_attributes
 6817|      1|                );
 6818|       |
 6819|     36|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (6819:16): [True: 36, False: 0]
  |  Branch (6819:41): [True: 0, False: 36]
  ------------------
 6820|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6821|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6822|       |
 6823|      0|        stageBuiltins[EShLangTessEvaluation].append(
 6824|      0|            "in highp int gl_PatchVerticesIn;"
 6825|      0|            "in highp int gl_PrimitiveID;"
 6826|      0|            "in highp vec3 gl_TessCoord;"
 6827|       |
 6828|      0|            "patch in highp float gl_TessLevelOuter[4];"
 6829|      0|            "patch in highp float gl_TessLevelInner[2];"
 6830|       |
 6831|      0|            "out gl_PerVertex {"
 6832|      0|                "highp vec4 gl_Position;"
 6833|      0|                "highp float gl_PointSize;"
 6834|      0|                "highp float gl_ClipDistance[];"  // GL_EXT_clip_cull_distance
 6835|      0|                "highp float gl_CullDistance[];"  // GL_EXT_clip_cull_distance
 6836|      0|            );
 6837|      0|        stageBuiltins[EShLangTessEvaluation].append(
 6838|      0|            "};"
 6839|      0|            "\n");
 6840|      0|    }
 6841|       |
 6842|     37|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6842:10): [True: 1, False: 36]
  |  Branch (6842:35): [True: 1, False: 0]
  ------------------
 6843|     36|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6843:10): [True: 36, False: 0]
  |  Branch (6843:35): [True: 0, False: 36]
  ------------------
 6844|      1|        stageBuiltins[EShLangTessEvaluation].append(
 6845|      1|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6846|      1|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6847|      1|            "\n");
 6848|      1|    }
 6849|       |
 6850|       |    //============================================================================
 6851|       |    //
 6852|       |    // Define the interface to the fragment shader.
 6853|       |    //
 6854|       |    //============================================================================
 6855|       |
 6856|     37|    if (profile != EEsProfile) {
  ------------------
  |  Branch (6856:9): [True: 1, False: 36]
  ------------------
 6857|       |
 6858|      1|        stageBuiltins[EShLangFragment].append(
 6859|      1|            "vec4  gl_FragCoord;"   // needs qualifier fixed later
 6860|      1|            "bool  gl_FrontFacing;" // needs qualifier fixed later
 6861|      1|            "float gl_FragDepth;"   // needs qualifier fixed later
 6862|      1|            );
 6863|      1|        if (version >= 120)
  ------------------
  |  Branch (6863:13): [True: 1, False: 0]
  ------------------
 6864|      1|            stageBuiltins[EShLangFragment].append(
 6865|      1|                "vec2 gl_PointCoord;"  // needs qualifier fixed later
 6866|      1|                );
 6867|      1|        if (version >= 140)
  ------------------
  |  Branch (6867:13): [True: 1, False: 0]
  ------------------
 6868|      1|            stageBuiltins[EShLangFragment].append(
 6869|      1|                "out int gl_FragStencilRefARB;"
 6870|      1|                );
 6871|      1|        if (IncludeLegacy(version, profile, spvVersion) || (! ForwardCompatibility && version < 420))
  ------------------
  |  Branch (6871:13): [True: 0, False: 1]
  |  Branch (6871:61): [True: 1, Folded]
  |  Branch (6871:87): [True: 0, False: 1]
  ------------------
 6872|      0|            stageBuiltins[EShLangFragment].append(
 6873|      0|                "vec4 gl_FragColor;"   // needs qualifier fixed later
 6874|      0|                );
 6875|       |
 6876|      1|        if (version < 130) {
  ------------------
  |  Branch (6876:13): [True: 0, False: 1]
  ------------------
 6877|      0|            stageBuiltins[EShLangFragment].append(
 6878|      0|                "varying vec4  gl_Color;"
 6879|      0|                "varying vec4  gl_SecondaryColor;"
 6880|      0|                "varying vec4  gl_TexCoord[];"
 6881|      0|                "varying float gl_FogFragCoord;"
 6882|      0|                );
 6883|      1|        } else {
 6884|      1|            stageBuiltins[EShLangFragment].append(
 6885|      1|                "in float gl_ClipDistance[];"
 6886|      1|                "in float gl_CullDistance[];"  // GL_ARB_cull_distance, core in 450
 6887|      1|                );
 6888|       |
 6889|      1|            if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6889:17): [True: 0, False: 1]
  ------------------
 6890|      0|                if (version < 150)
  ------------------
  |  Branch (6890:21): [True: 0, False: 0]
  ------------------
 6891|      0|                    stageBuiltins[EShLangFragment].append(
 6892|      0|                        "in float gl_FogFragCoord;"
 6893|      0|                        "in vec4  gl_TexCoord[];"
 6894|      0|                        "in vec4  gl_Color;"
 6895|      0|                        "in vec4  gl_SecondaryColor;"
 6896|      0|                        );
 6897|      0|                else
 6898|      0|                    stageBuiltins[EShLangFragment].append(
 6899|      0|                        "in gl_PerFragment {"
 6900|      0|                            "in float gl_FogFragCoord;"
 6901|      0|                            "in vec4  gl_TexCoord[];"
 6902|      0|                            "in vec4  gl_Color;"
 6903|      0|                            "in vec4  gl_SecondaryColor;"
 6904|      0|                        "};"
 6905|      0|                        );
 6906|      0|            }
 6907|      1|        }
 6908|       |
 6909|      1|        if (version >= 150)
  ------------------
  |  Branch (6909:13): [True: 1, False: 0]
  ------------------
 6910|      1|            stageBuiltins[EShLangFragment].append(
 6911|      1|                "flat in int gl_PrimitiveID;"
 6912|      1|                );
 6913|       |
 6914|      1|        if (version >= 130) { // ARB_sample_shading
  ------------------
  |  Branch (6914:13): [True: 1, False: 0]
  ------------------
 6915|      1|            stageBuiltins[EShLangFragment].append(
 6916|      1|                "flat in  int  gl_SampleID;"
 6917|      1|                "     in  vec2 gl_SamplePosition;"
 6918|      1|                "     out int  gl_SampleMask[];"
 6919|      1|                );
 6920|       |
 6921|      1|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (6921:17): [True: 1, False: 0]
  ------------------
 6922|      1|                stageBuiltins[EShLangFragment].append(
 6923|      1|                    "uniform int gl_NumSamples;"
 6924|      1|                );
 6925|      1|            }
 6926|      1|        }
 6927|       |
 6928|      1|        if (version >= 150)
  ------------------
  |  Branch (6928:13): [True: 1, False: 0]
  ------------------
 6929|      1|            stageBuiltins[EShLangFragment].append(
 6930|      1|                "flat in  int  gl_SampleMaskIn[];"
 6931|      1|            );
 6932|       |
 6933|      1|        if (version >= 430)
  ------------------
  |  Branch (6933:13): [True: 1, False: 0]
  ------------------
 6934|      1|            stageBuiltins[EShLangFragment].append(
 6935|      1|                "flat in int gl_Layer;"
 6936|      1|                "flat in int gl_ViewportIndex;"
 6937|      1|                );
 6938|       |
 6939|      1|        if (version >= 450)
  ------------------
  |  Branch (6939:13): [True: 1, False: 0]
  ------------------
 6940|      1|            stageBuiltins[EShLangFragment].append(
 6941|      1|                "bool gl_HelperInvocation;"     // needs qualifier fixed later
 6942|      1|                );
 6943|       |
 6944|      1|        if (version >= 450)
  ------------------
  |  Branch (6944:13): [True: 1, False: 0]
  ------------------
 6945|      1|            stageBuiltins[EShLangFragment].append( // GL_EXT_fragment_invocation_density
 6946|      1|                "flat in ivec2 gl_FragSizeEXT;"
 6947|      1|                "flat in int   gl_FragInvocationCountEXT;"
 6948|      1|                );
 6949|       |
 6950|      1|        if (version >= 450)
  ------------------
  |  Branch (6950:13): [True: 1, False: 0]
  ------------------
 6951|      1|            stageBuiltins[EShLangFragment].append(
 6952|      1|                "in vec2 gl_BaryCoordNoPerspAMD;"
 6953|      1|                "in vec2 gl_BaryCoordNoPerspCentroidAMD;"
 6954|      1|                "in vec2 gl_BaryCoordNoPerspSampleAMD;"
 6955|      1|                "in vec2 gl_BaryCoordSmoothAMD;"
 6956|      1|                "in vec2 gl_BaryCoordSmoothCentroidAMD;"
 6957|      1|                "in vec2 gl_BaryCoordSmoothSampleAMD;"
 6958|      1|                "in vec3 gl_BaryCoordPullModelAMD;"
 6959|      1|                );
 6960|       |
 6961|      1|        if (version >= 430)
  ------------------
  |  Branch (6961:13): [True: 1, False: 0]
  ------------------
 6962|      1|            stageBuiltins[EShLangFragment].append(
 6963|      1|                "in bool gl_FragFullyCoveredNV;"
 6964|      1|                );
 6965|      1|        if (version >= 450)
  ------------------
  |  Branch (6965:13): [True: 1, False: 0]
  ------------------
 6966|      1|            stageBuiltins[EShLangFragment].append(
 6967|      1|                "flat in ivec2 gl_FragmentSizeNV;"          // GL_NV_shading_rate_image
 6968|      1|                "flat in int   gl_InvocationsPerPixelNV;"
 6969|      1|                "in vec3 gl_BaryCoordNV;"                   // GL_NV_fragment_shader_barycentric
 6970|      1|                "in vec3 gl_BaryCoordNoPerspNV;"
 6971|      1|                "in vec3 gl_BaryCoordEXT;"                  // GL_EXT_fragment_shader_barycentric
 6972|      1|                "in vec3 gl_BaryCoordNoPerspEXT;"
 6973|      1|                );
 6974|       |
 6975|      1|        if (version >= 450)
  ------------------
  |  Branch (6975:13): [True: 1, False: 0]
  ------------------
 6976|      1|            stageBuiltins[EShLangFragment].append(
 6977|      1|                "flat in int gl_ShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6978|      1|            );
 6979|       |
 6980|     36|    } else {
 6981|       |        // ES profile
 6982|       |
 6983|     36|        if (version == 100) {
  ------------------
  |  Branch (6983:13): [True: 36, False: 0]
  ------------------
 6984|     36|            stageBuiltins[EShLangFragment].append(
 6985|     36|                "mediump vec4 gl_FragCoord;"    // needs qualifier fixed later
 6986|     36|                "        bool gl_FrontFacing;"  // needs qualifier fixed later
 6987|     36|                "mediump vec4 gl_FragColor;"    // needs qualifier fixed later
 6988|     36|                "mediump vec2 gl_PointCoord;"   // needs qualifier fixed later
 6989|     36|                );
 6990|     36|        }
 6991|     36|        if (version >= 300) {
  ------------------
  |  Branch (6991:13): [True: 0, False: 36]
  ------------------
 6992|      0|            stageBuiltins[EShLangFragment].append(
 6993|      0|                "highp   vec4  gl_FragCoord;"    // needs qualifier fixed later
 6994|      0|                "        bool  gl_FrontFacing;"  // needs qualifier fixed later
 6995|      0|                "mediump vec2  gl_PointCoord;"   // needs qualifier fixed later
 6996|      0|                "highp   float gl_FragDepth;"    // needs qualifier fixed later
 6997|      0|                "in highp float gl_ClipDistance[];"  // GL_EXT_clip_cull_distance
 6998|      0|                "in highp float gl_CullDistance[];"  // GL_EXT_clip_cull_distance
 6999|      0|                );
 7000|      0|        }
 7001|     36|        if (version >= 310) {
  ------------------
  |  Branch (7001:13): [True: 0, False: 36]
  ------------------
 7002|      0|            stageBuiltins[EShLangFragment].append(
 7003|      0|                "bool gl_HelperInvocation;"          // needs qualifier fixed later
 7004|      0|                "flat in highp int gl_PrimitiveID;"  // needs qualifier fixed later
 7005|      0|                "flat in highp int gl_Layer;"        // needs qualifier fixed later
 7006|      0|                );
 7007|       |
 7008|      0|            stageBuiltins[EShLangFragment].append(  // GL_OES_sample_variables
 7009|      0|                "flat  in lowp     int gl_SampleID;"
 7010|      0|                "      in mediump vec2 gl_SamplePosition;"
 7011|      0|                "flat  in highp    int gl_SampleMaskIn[];"
 7012|      0|                "     out highp    int gl_SampleMask[];"
 7013|      0|                );
 7014|      0|            if (spvVersion.spv == 0)
  ------------------
  |  Branch (7014:17): [True: 0, False: 0]
  ------------------
 7015|      0|                stageBuiltins[EShLangFragment].append(  // GL_OES_sample_variables
 7016|      0|                    "uniform lowp int gl_NumSamples;"
 7017|      0|                    );
 7018|      0|        }
 7019|     36|        stageBuiltins[EShLangFragment].append(
 7020|     36|            "highp float gl_FragDepthEXT;"       // GL_EXT_frag_depth
 7021|     36|            );
 7022|       |
 7023|     36|        if (version >= 310)
  ------------------
  |  Branch (7023:13): [True: 0, False: 36]
  ------------------
 7024|      0|            stageBuiltins[EShLangFragment].append( // GL_EXT_fragment_invocation_density
 7025|      0|                "flat in ivec2 gl_FragSizeEXT;"
 7026|      0|                "flat in int   gl_FragInvocationCountEXT;"
 7027|      0|            );
 7028|     36|        if (version >= 320)
  ------------------
  |  Branch (7028:13): [True: 0, False: 36]
  ------------------
 7029|      0|            stageBuiltins[EShLangFragment].append( // GL_NV_shading_rate_image
 7030|      0|                "flat in ivec2 gl_FragmentSizeNV;"
 7031|      0|                "flat in int   gl_InvocationsPerPixelNV;"
 7032|      0|            );
 7033|     36|        if (version >= 320)
  ------------------
  |  Branch (7033:13): [True: 0, False: 36]
  ------------------
 7034|      0|            stageBuiltins[EShLangFragment].append(
 7035|      0|                "in vec3 gl_BaryCoordNV;"
 7036|      0|                "in vec3 gl_BaryCoordNoPerspNV;"
 7037|      0|                "in vec3 gl_BaryCoordEXT;"
 7038|      0|                "in vec3 gl_BaryCoordNoPerspEXT;"
 7039|      0|            );
 7040|     36|        if (version >= 310)
  ------------------
  |  Branch (7040:13): [True: 0, False: 36]
  ------------------
 7041|      0|            stageBuiltins[EShLangFragment].append(
 7042|      0|                "flat in highp int gl_ShadingRateEXT;" // GL_EXT_fragment_shading_rate
 7043|      0|            );
 7044|     36|    }
 7045|       |
 7046|     37|    stageBuiltins[EShLangFragment].append("\n");
 7047|       |
 7048|     37|    if (version >= 130)
  ------------------
  |  Branch (7048:9): [True: 1, False: 36]
  ------------------
 7049|      1|        add2ndGenerationSamplingImaging(version, profile, spvVersion);
 7050|       |
 7051|     37|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (7051:10): [True: 1, False: 36]
  |  Branch (7051:35): [True: 1, False: 0]
  ------------------
 7052|     36|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7052:10): [True: 36, False: 0]
  |  Branch (7052:35): [True: 0, False: 36]
  ------------------
 7053|      1|        stageBuiltins[EShLangFragment].append(
 7054|      1|            "flat in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 7055|      1|            "flat in highp int gl_ViewIndex;"       // GL_EXT_multiview
 7056|      1|            "\n");
 7057|      1|    }
 7058|       |
 7059|     37|    if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (7059:9): [True: 1, False: 36]
  ------------------
 7060|      1|        stageBuiltins[EShLangFragment].append(
 7061|      1|            "flat in highp uint gl_ViewID_OVR;"     // GL_OVR_multiview, GL_OVR_multiview2
 7062|      1|            "\n");
 7063|      1|    }
 7064|       |
 7065|       |    // GL_QCOM_tile_shading
 7066|     37|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (7066:10): [True: 36, False: 1]
  |  Branch (7066:35): [True: 0, False: 36]
  ------------------
 7067|     37|        (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (7067:10): [True: 1, False: 36]
  |  Branch (7067:35): [True: 0, False: 1]
  ------------------
 7068|      0|        stageBuiltins[EShLangFragment].append(
 7069|      0|            "flat in highp uvec2 gl_TileOffsetQCOM;"     // GL_QCOM_tile_shading
 7070|      0|            "flat in highp uvec3 gl_TileDimensionQCOM;"  // GL_QCOM_tile_shading
 7071|      0|            "flat in highp uvec2 gl_TileApronSizeQCOM;"  // GL_QCOM_tile_shading
 7072|      0|            "\n");
 7073|      0|    }
 7074|       |
 7075|     37|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (7075:10): [True: 36, False: 1]
  |  Branch (7075:35): [True: 0, False: 36]
  ------------------
 7076|     37|        (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (7076:10): [True: 1, False: 36]
  |  Branch (7076:35): [True: 1, False: 0]
  ------------------
 7077|      1|        addGatherFunctionsQCOM();
 7078|      1|    }
 7079|       |
 7080|       |    // GL_ARB_shader_ballot
 7081|     37|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7081:9): [True: 1, False: 36]
  |  Branch (7081:34): [True: 1, False: 0]
  ------------------
 7082|      1|        const char* ballotDecls =
 7083|      1|            "uniform uint gl_SubGroupSizeARB;"
 7084|      1|            "in uint     gl_SubGroupInvocationARB;"
 7085|      1|            "in uint64_t gl_SubGroupEqMaskARB;"
 7086|      1|            "in uint64_t gl_SubGroupGeMaskARB;"
 7087|      1|            "in uint64_t gl_SubGroupGtMaskARB;"
 7088|      1|            "in uint64_t gl_SubGroupLeMaskARB;"
 7089|      1|            "in uint64_t gl_SubGroupLtMaskARB;"
 7090|      1|            "\n";
 7091|      1|        const char* rtBallotDecls =
 7092|      1|            "uniform volatile uint gl_SubGroupSizeARB;"
 7093|      1|            "in volatile uint     gl_SubGroupInvocationARB;"
 7094|      1|            "in volatile uint64_t gl_SubGroupEqMaskARB;"
 7095|      1|            "in volatile uint64_t gl_SubGroupGeMaskARB;"
 7096|      1|            "in volatile uint64_t gl_SubGroupGtMaskARB;"
 7097|      1|            "in volatile uint64_t gl_SubGroupLeMaskARB;"
 7098|      1|            "in volatile uint64_t gl_SubGroupLtMaskARB;"
 7099|      1|            "\n";
 7100|      1|        const char* fragmentBallotDecls =
 7101|      1|            "uniform uint gl_SubGroupSizeARB;"
 7102|      1|            "flat in uint     gl_SubGroupInvocationARB;"
 7103|      1|            "flat in uint64_t gl_SubGroupEqMaskARB;"
 7104|      1|            "flat in uint64_t gl_SubGroupGeMaskARB;"
 7105|      1|            "flat in uint64_t gl_SubGroupGtMaskARB;"
 7106|      1|            "flat in uint64_t gl_SubGroupLeMaskARB;"
 7107|      1|            "flat in uint64_t gl_SubGroupLtMaskARB;"
 7108|      1|            "\n";
 7109|      1|        stageBuiltins[EShLangVertex]        .append(ballotDecls);
 7110|      1|        stageBuiltins[EShLangTessControl]   .append(ballotDecls);
 7111|      1|        stageBuiltins[EShLangTessEvaluation].append(ballotDecls);
 7112|      1|        stageBuiltins[EShLangGeometry]      .append(ballotDecls);
 7113|      1|        stageBuiltins[EShLangCompute]       .append(ballotDecls);
 7114|      1|        stageBuiltins[EShLangFragment]      .append(fragmentBallotDecls);
 7115|      1|        stageBuiltins[EShLangMesh]        .append(ballotDecls);
 7116|      1|        stageBuiltins[EShLangTask]        .append(ballotDecls);
 7117|      1|        stageBuiltins[EShLangRayGen]        .append(rtBallotDecls);
 7118|      1|        stageBuiltins[EShLangIntersect]     .append(rtBallotDecls);
 7119|       |        // No volatile qualifier on these builtins in any-hit
 7120|      1|        stageBuiltins[EShLangAnyHit]        .append(ballotDecls);
 7121|      1|        stageBuiltins[EShLangClosestHit]    .append(rtBallotDecls);
 7122|      1|        stageBuiltins[EShLangMiss]          .append(rtBallotDecls);
 7123|      1|        stageBuiltins[EShLangCallable]      .append(rtBallotDecls);
 7124|      1|    }
 7125|       |
 7126|       |    // GL_KHR_shader_subgroup
 7127|     37|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (7127:10): [True: 36, False: 1]
  |  Branch (7127:35): [True: 0, False: 36]
  ------------------
 7128|     37|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (7128:10): [True: 1, False: 36]
  |  Branch (7128:35): [True: 1, False: 0]
  ------------------
 7129|      1|        const char* subgroupDecls =
 7130|      1|            "in mediump uint  gl_SubgroupSize;"
 7131|      1|            "in mediump uint  gl_SubgroupInvocationID;"
 7132|      1|            "in highp   uvec4 gl_SubgroupEqMask;"
 7133|      1|            "in highp   uvec4 gl_SubgroupGeMask;"
 7134|      1|            "in highp   uvec4 gl_SubgroupGtMask;"
 7135|      1|            "in highp   uvec4 gl_SubgroupLeMask;"
 7136|      1|            "in highp   uvec4 gl_SubgroupLtMask;"
 7137|       |            // GL_NV_shader_sm_builtins
 7138|      1|            "in highp   uint  gl_WarpsPerSMNV;"
 7139|      1|            "in highp   uint  gl_SMCountNV;"
 7140|      1|            "in highp   uint  gl_WarpIDNV;"
 7141|      1|            "in highp   uint  gl_SMIDNV;"
 7142|       |            // GL_ARM_shader_core_builtins
 7143|      1|            "in highp   uint  gl_CoreIDARM;"
 7144|      1|            "in highp   uint  gl_CoreCountARM;"
 7145|      1|            "in highp   uint  gl_CoreMaxIDARM;"
 7146|      1|            "in highp   uint  gl_WarpIDARM;"
 7147|      1|            "in highp   uint  gl_WarpMaxIDARM;"
 7148|      1|            "\n";
 7149|      1|        const char* fragmentSubgroupDecls =
 7150|      1|            "flat in mediump uint  gl_SubgroupSize;"
 7151|      1|            "flat in mediump uint  gl_SubgroupInvocationID;"
 7152|      1|            "flat in highp   uvec4 gl_SubgroupEqMask;"
 7153|      1|            "flat in highp   uvec4 gl_SubgroupGeMask;"
 7154|      1|            "flat in highp   uvec4 gl_SubgroupGtMask;"
 7155|      1|            "flat in highp   uvec4 gl_SubgroupLeMask;"
 7156|      1|            "flat in highp   uvec4 gl_SubgroupLtMask;"
 7157|       |            // GL_NV_shader_sm_builtins
 7158|      1|            "flat in highp   uint  gl_WarpsPerSMNV;"
 7159|      1|            "flat in highp   uint  gl_SMCountNV;"
 7160|      1|            "flat in highp   uint  gl_WarpIDNV;"
 7161|      1|            "flat in highp   uint  gl_SMIDNV;"
 7162|       |            // GL_ARM_shader_core_builtins
 7163|      1|            "flat in highp   uint  gl_CoreIDARM;"
 7164|      1|            "flat in highp   uint  gl_CoreCountARM;"
 7165|      1|            "flat in highp   uint  gl_CoreMaxIDARM;"
 7166|      1|            "flat in highp   uint  gl_WarpIDARM;"
 7167|      1|            "flat in highp   uint  gl_WarpMaxIDARM;"
 7168|      1|            "\n";
 7169|      1|        const char* computeSubgroupDecls =
 7170|      1|            "in highp   uint  gl_NumSubgroups;"
 7171|      1|            "in highp   uint  gl_SubgroupID;"
 7172|      1|            "\n";
 7173|       |        // These builtins are volatile for RT stages
 7174|      1|        const char* rtSubgroupDecls =
 7175|      1|            "in mediump volatile uint  gl_SubgroupSize;"
 7176|      1|            "in mediump volatile uint  gl_SubgroupInvocationID;"
 7177|      1|            "in highp   volatile uvec4 gl_SubgroupEqMask;"
 7178|      1|            "in highp   volatile uvec4 gl_SubgroupGeMask;"
 7179|      1|            "in highp   volatile uvec4 gl_SubgroupGtMask;"
 7180|      1|            "in highp   volatile uvec4 gl_SubgroupLeMask;"
 7181|      1|            "in highp   volatile uvec4 gl_SubgroupLtMask;"
 7182|       |            // GL_NV_shader_sm_builtins
 7183|      1|            "in highp    uint  gl_WarpsPerSMNV;"
 7184|      1|            "in highp    uint  gl_SMCountNV;"
 7185|      1|            "in highp volatile uint  gl_WarpIDNV;"
 7186|      1|            "in highp volatile uint  gl_SMIDNV;"
 7187|       |            // GL_ARM_shader_core_builtins
 7188|      1|            "in highp   uint  gl_CoreIDARM;"
 7189|      1|            "in highp   uint  gl_CoreCountARM;"
 7190|      1|            "in highp   uint  gl_CoreMaxIDARM;"
 7191|      1|            "in highp   uint  gl_WarpIDARM;"
 7192|      1|            "in highp   uint  gl_WarpMaxIDARM;"
 7193|      1|            "\n";
 7194|       |
 7195|      1|        stageBuiltins[EShLangVertex]        .append(subgroupDecls);
 7196|      1|        stageBuiltins[EShLangTessControl]   .append(subgroupDecls);
 7197|      1|        stageBuiltins[EShLangTessEvaluation].append(subgroupDecls);
 7198|      1|        stageBuiltins[EShLangGeometry]      .append(subgroupDecls);
 7199|      1|        stageBuiltins[EShLangCompute]       .append(subgroupDecls);
 7200|      1|        stageBuiltins[EShLangCompute]       .append(computeSubgroupDecls);
 7201|      1|        stageBuiltins[EShLangFragment]      .append(fragmentSubgroupDecls);
 7202|      1|        stageBuiltins[EShLangMesh]        .append(subgroupDecls);
 7203|      1|        stageBuiltins[EShLangMesh]        .append(computeSubgroupDecls);
 7204|      1|        stageBuiltins[EShLangTask]        .append(subgroupDecls);
 7205|      1|        stageBuiltins[EShLangTask]        .append(computeSubgroupDecls);
 7206|      1|        stageBuiltins[EShLangRayGen]        .append(rtSubgroupDecls);
 7207|      1|        stageBuiltins[EShLangIntersect]     .append(rtSubgroupDecls);
 7208|       |        // No volatile qualifier on these builtins in any-hit
 7209|      1|        stageBuiltins[EShLangAnyHit]        .append(subgroupDecls);
 7210|      1|        stageBuiltins[EShLangClosestHit]    .append(rtSubgroupDecls);
 7211|      1|        stageBuiltins[EShLangMiss]          .append(rtSubgroupDecls);
 7212|      1|        stageBuiltins[EShLangCallable]      .append(rtSubgroupDecls);
 7213|      1|    }
 7214|       |
 7215|       |    // GL_NV_ray_tracing/GL_EXT_ray_tracing
 7216|     37|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (7216:9): [True: 1, False: 36]
  |  Branch (7216:34): [True: 0, False: 1]
  ------------------
 7217|       |
 7218|      0|        const char *constRayFlags =
 7219|      0|            "const uint gl_RayFlagsNoneNV = 0U;"
 7220|      0|            "const uint gl_RayFlagsNoneEXT = 0U;"
 7221|      0|            "const uint gl_RayFlagsOpaqueNV = 1U;"
 7222|      0|            "const uint gl_RayFlagsOpaqueEXT = 1U;"
 7223|      0|            "const uint gl_RayFlagsNoOpaqueNV = 2U;"
 7224|      0|            "const uint gl_RayFlagsNoOpaqueEXT = 2U;"
 7225|      0|            "const uint gl_RayFlagsTerminateOnFirstHitNV = 4U;"
 7226|      0|            "const uint gl_RayFlagsTerminateOnFirstHitEXT = 4U;"
 7227|      0|            "const uint gl_RayFlagsSkipClosestHitShaderNV = 8U;"
 7228|      0|            "const uint gl_RayFlagsSkipClosestHitShaderEXT = 8U;"
 7229|      0|            "const uint gl_RayFlagsCullBackFacingTrianglesNV = 16U;"
 7230|      0|            "const uint gl_RayFlagsCullBackFacingTrianglesEXT = 16U;"
 7231|      0|            "const uint gl_RayFlagsCullFrontFacingTrianglesNV = 32U;"
 7232|      0|            "const uint gl_RayFlagsCullFrontFacingTrianglesEXT = 32U;"
 7233|      0|            "const uint gl_RayFlagsCullOpaqueNV = 64U;"
 7234|      0|            "const uint gl_RayFlagsCullOpaqueEXT = 64U;"
 7235|      0|            "const uint gl_RayFlagsCullNoOpaqueNV = 128U;"
 7236|      0|            "const uint gl_RayFlagsCullNoOpaqueEXT = 128U;"
 7237|      0|            "const uint gl_RayFlagsSkipTrianglesEXT = 256U;"
 7238|      0|            "const uint gl_RayFlagsSkipBuiltinPrimitivesNV = 256U;"
 7239|      0|            "const uint gl_RayFlagsSkipAABBEXT = 512U;"
 7240|      0|            "const uint gl_RayFlagsForceOpacityMicromap2StateEXT = 1024U;"
 7241|      0|            "const bool gl_EnableOpacityMicromapEXT = false;"
 7242|      0|            "const uint gl_HitKindFrontFacingTriangleEXT = 254U;"
 7243|      0|            "const uint gl_HitKindBackFacingTriangleEXT = 255U;"
 7244|      0|            "in    uint gl_HitKindFrontFacingMicroTriangleNV;"
 7245|      0|            "in    uint gl_HitKindBackFacingMicroTriangleNV;"
 7246|      0|            "const int  gl_ClusterIDNoneNV = -1;"
 7247|      0|            "\n";
 7248|       |
 7249|      0|        const char *constRayQueryIntersection =
 7250|      0|            "const uint gl_RayQueryCandidateIntersectionEXT = 0U;"
 7251|      0|            "const uint gl_RayQueryCommittedIntersectionEXT = 1U;"
 7252|      0|            "const uint gl_RayQueryCommittedIntersectionNoneEXT = 0U;"
 7253|      0|            "const uint gl_RayQueryCommittedIntersectionTriangleEXT = 1U;"
 7254|      0|            "const uint gl_RayQueryCommittedIntersectionGeneratedEXT = 2U;"
 7255|      0|            "const uint gl_RayQueryCandidateIntersectionTriangleEXT = 0U;"
 7256|      0|            "const uint gl_RayQueryCandidateIntersectionAABBEXT = 1U;"
 7257|      0|            "\n";
 7258|       |
 7259|      0|        const char *rayGenDecls =
 7260|      0|            "in    uvec3  gl_LaunchIDNV;"
 7261|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7262|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7263|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7264|      0|            "\n";
 7265|      0|        const char* intersectDecls = "in    uvec3  gl_LaunchIDNV;"
 7266|      0|                                     "in    uvec3  gl_LaunchIDEXT;"
 7267|      0|                                     "in    uvec3  gl_LaunchSizeNV;"
 7268|      0|                                     "in    uvec3  gl_LaunchSizeEXT;"
 7269|      0|                                     "in     int   gl_PrimitiveID;"
 7270|      0|                                     "in     int   gl_InstanceID;"
 7271|      0|                                     "in     int   gl_InstanceCustomIndexNV;"
 7272|      0|                                     "in     int   gl_InstanceCustomIndexEXT;"
 7273|      0|                                     "in     int   gl_GeometryIndexEXT;"
 7274|      0|                                     "in    vec3   gl_WorldRayOriginNV;"
 7275|      0|                                     "in    vec3   gl_WorldRayOriginEXT;"
 7276|      0|                                     "in    vec3   gl_WorldRayDirectionNV;"
 7277|      0|                                     "in    vec3   gl_WorldRayDirectionEXT;"
 7278|      0|                                     "in    vec3   gl_ObjectRayOriginNV;"
 7279|      0|                                     "in    vec3   gl_ObjectRayOriginEXT;"
 7280|      0|                                     "in    vec3   gl_ObjectRayDirectionNV;"
 7281|      0|                                     "in    vec3   gl_ObjectRayDirectionEXT;"
 7282|      0|                                     "in    float  gl_RayTminNV;"
 7283|      0|                                     "in    float  gl_RayTminEXT;"
 7284|      0|                                     "in volatile float gl_RayTmaxNV;"
 7285|      0|                                     "in volatile float gl_RayTmaxEXT;"
 7286|      0|                                     "in    mat4x3 gl_ObjectToWorldNV;"
 7287|      0|                                     "in    mat4x3 gl_ObjectToWorldEXT;"
 7288|      0|                                     "in    mat3x4 gl_ObjectToWorld3x4EXT;"
 7289|      0|                                     "in    mat4x3 gl_WorldToObjectNV;"
 7290|      0|                                     "in    mat4x3 gl_WorldToObjectEXT;"
 7291|      0|                                     "in    mat3x4 gl_WorldToObject3x4EXT;"
 7292|      0|                                     "in    uint   gl_IncomingRayFlagsNV;"
 7293|      0|                                     "in    uint   gl_IncomingRayFlagsEXT;"
 7294|      0|                                     "in    float  gl_CurrentRayTimeNV;"
 7295|      0|                                     "in    uint   gl_CullMaskEXT;"
 7296|      0|                                     "\n";
 7297|      0|        const char *hitDecls =
 7298|      0|            "in    uvec3  gl_LaunchIDNV;"
 7299|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7300|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7301|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7302|      0|            "in     int   gl_PrimitiveID;"
 7303|      0|            "in     int   gl_InstanceID;"
 7304|      0|            "in     int   gl_InstanceCustomIndexNV;"
 7305|      0|            "in     int   gl_InstanceCustomIndexEXT;"
 7306|      0|            "in     int   gl_GeometryIndexEXT;"
 7307|      0|            "in    vec3   gl_WorldRayOriginNV;"
 7308|      0|            "in    vec3   gl_WorldRayOriginEXT;"
 7309|      0|            "in    vec3   gl_WorldRayDirectionNV;"
 7310|      0|            "in    vec3   gl_WorldRayDirectionEXT;"
 7311|      0|            "in    vec3   gl_ObjectRayOriginNV;"
 7312|      0|            "in    vec3   gl_ObjectRayOriginEXT;"
 7313|      0|            "in    vec3   gl_ObjectRayDirectionNV;"
 7314|      0|            "in    vec3   gl_ObjectRayDirectionEXT;"
 7315|      0|            "in    float  gl_RayTminNV;"
 7316|      0|            "in    float  gl_RayTminEXT;"
 7317|      0|            "in    float  gl_RayTmaxNV;"
 7318|      0|            "in    float  gl_RayTmaxEXT;"
 7319|      0|            "in    float  gl_HitTNV;"
 7320|      0|            "in    float  gl_HitTEXT;"
 7321|      0|            "in    uint   gl_HitKindNV;"
 7322|      0|            "in    uint   gl_HitKindEXT;"
 7323|      0|            "in    mat4x3 gl_ObjectToWorldNV;"
 7324|      0|            "in    mat4x3 gl_ObjectToWorldEXT;"
 7325|      0|            "in    mat3x4 gl_ObjectToWorld3x4EXT;"
 7326|      0|            "in    mat4x3 gl_WorldToObjectNV;"
 7327|      0|            "in    mat4x3 gl_WorldToObjectEXT;"
 7328|      0|            "in    mat3x4 gl_WorldToObject3x4EXT;"
 7329|      0|            "in    uint   gl_IncomingRayFlagsNV;"
 7330|      0|            "in    uint   gl_IncomingRayFlagsEXT;"
 7331|      0|            "in    float  gl_CurrentRayTimeNV;"
 7332|      0|            "in    uint   gl_CullMaskEXT;"
 7333|      0|            "in    vec3   gl_HitTriangleVertexPositionsEXT[3];"
 7334|      0|            "in    vec3   gl_HitMicroTriangleVertexPositionsNV[3];"
 7335|      0|            "in    vec2   gl_HitMicroTriangleVertexBarycentricsNV[3];"
 7336|      0|            "in    int    gl_ClusterIDNV;"
 7337|      0|            "in    bool   gl_HitIsSphereNV;"
 7338|      0|            "in    bool   gl_HitIsLSSNV;"
 7339|      0|            "in    vec3   gl_HitSpherePositionNV;"
 7340|      0|            "in    float  gl_HitSphereRadiusNV;"
 7341|      0|            "in    vec3   gl_HitLSSPositionsNV[2];"
 7342|      0|            "in    float  gl_HitLSSRadiiNV[2];"
 7343|      0|            "\n";
 7344|       |
 7345|      0|        const char *missDecls =
 7346|      0|            "in    uvec3  gl_LaunchIDNV;"
 7347|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7348|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7349|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7350|      0|            "in    vec3   gl_WorldRayOriginNV;"
 7351|      0|            "in    vec3   gl_WorldRayOriginEXT;"
 7352|      0|            "in    vec3   gl_WorldRayDirectionNV;"
 7353|      0|            "in    vec3   gl_WorldRayDirectionEXT;"
 7354|      0|            "in    vec3   gl_ObjectRayOriginNV;"
 7355|      0|            "in    vec3   gl_ObjectRayDirectionNV;"
 7356|      0|            "in    float  gl_RayTminNV;"
 7357|      0|            "in    float  gl_RayTminEXT;"
 7358|      0|            "in    float  gl_RayTmaxNV;"
 7359|      0|            "in    float  gl_RayTmaxEXT;"
 7360|      0|            "in    uint   gl_IncomingRayFlagsNV;"
 7361|      0|            "in    uint   gl_IncomingRayFlagsEXT;"
 7362|      0|            "in    float  gl_CurrentRayTimeNV;"
 7363|      0|            "in    uint   gl_CullMaskEXT;"
 7364|      0|            "\n";
 7365|       |
 7366|      0|        const char *callableDecls =
 7367|      0|            "in    uvec3  gl_LaunchIDNV;"
 7368|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7369|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7370|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7371|      0|            "\n";
 7372|       |
 7373|       |
 7374|      0|        commonBuiltins.append(constRayQueryIntersection);
 7375|      0|        commonBuiltins.append(constRayFlags);
 7376|       |
 7377|      0|        stageBuiltins[EShLangRayGen].append(rayGenDecls);
 7378|      0|        stageBuiltins[EShLangIntersect].append(intersectDecls);
 7379|      0|        stageBuiltins[EShLangAnyHit].append(hitDecls);
 7380|      0|        stageBuiltins[EShLangClosestHit].append(hitDecls);
 7381|      0|        stageBuiltins[EShLangMiss].append(missDecls);
 7382|      0|        stageBuiltins[EShLangCallable].append(callableDecls);
 7383|       |
 7384|      0|    }
 7385|       |
 7386|     37|    if ((profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (7386:10): [True: 1, False: 36]
  |  Branch (7386:35): [True: 1, False: 0]
  ------------------
 7387|      1|        const char *deviceIndex =
 7388|      1|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 7389|      1|            "\n";
 7390|       |
 7391|      1|        stageBuiltins[EShLangRayGen].append(deviceIndex);
 7392|      1|        stageBuiltins[EShLangIntersect].append(deviceIndex);
 7393|      1|        stageBuiltins[EShLangAnyHit].append(deviceIndex);
 7394|      1|        stageBuiltins[EShLangClosestHit].append(deviceIndex);
 7395|      1|        stageBuiltins[EShLangMiss].append(deviceIndex);
 7396|      1|    }
 7397|       |
 7398|     37|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (7398:10): [True: 1, False: 36]
  |  Branch (7398:35): [True: 1, False: 0]
  ------------------
 7399|     36|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7399:10): [True: 36, False: 0]
  |  Branch (7399:35): [True: 0, False: 36]
  ------------------
 7400|      1|        commonBuiltins.append("const int gl_ScopeDevice      = 1;\n");
 7401|      1|        commonBuiltins.append("const int gl_ScopeWorkgroup   = 2;\n");
 7402|      1|        commonBuiltins.append("const int gl_ScopeSubgroup    = 3;\n");
 7403|      1|        commonBuiltins.append("const int gl_ScopeInvocation  = 4;\n");
 7404|      1|        commonBuiltins.append("const int gl_ScopeQueueFamily = 5;\n");
 7405|      1|        commonBuiltins.append("const int gl_ScopeShaderCallEXT = 6;\n");
 7406|       |
 7407|      1|        commonBuiltins.append("const int gl_SemanticsRelaxed         = 0x0;\n");
 7408|      1|        commonBuiltins.append("const int gl_SemanticsAcquire         = 0x2;\n");
 7409|      1|        commonBuiltins.append("const int gl_SemanticsRelease         = 0x4;\n");
 7410|      1|        commonBuiltins.append("const int gl_SemanticsAcquireRelease  = 0x8;\n");
 7411|      1|        commonBuiltins.append("const int gl_SemanticsMakeAvailable   = 0x2000;\n");
 7412|      1|        commonBuiltins.append("const int gl_SemanticsMakeVisible     = 0x4000;\n");
 7413|      1|        commonBuiltins.append("const int gl_SemanticsVolatile        = 0x8000;\n");
 7414|       |
 7415|      1|        commonBuiltins.append("const int gl_StorageSemanticsNone     = 0x0;\n");
 7416|      1|        commonBuiltins.append("const int gl_StorageSemanticsBuffer   = 0x40;\n");
 7417|      1|        commonBuiltins.append("const int gl_StorageSemanticsShared   = 0x100;\n");
 7418|      1|        commonBuiltins.append("const int gl_StorageSemanticsImage    = 0x800;\n");
 7419|      1|        commonBuiltins.append("const int gl_StorageSemanticsOutput   = 0x1000;\n");
 7420|      1|    }
 7421|       |
 7422|       |    // Adding these to common built-ins triggers an assert due to a memory corruption in related code when testing
 7423|       |    // So instead add to each stage individually, avoiding the GLSLang bug
 7424|     37|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7424:10): [True: 1, False: 36]
  |  Branch (7424:35): [True: 1, False: 0]
  |  Branch (7424:55): [True: 36, False: 0]
  |  Branch (7424:80): [True: 0, False: 36]
  ------------------
 7425|     15|        for (int stage=EShLangVertex; stage<EShLangCount; stage++)
  ------------------
  |  Branch (7425:39): [True: 14, False: 1]
  ------------------
 7426|     14|        {
 7427|     14|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag2VerticalPixelsEXT       = 1;\n");
 7428|     14|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag4VerticalPixelsEXT       = 2;\n");
 7429|     14|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag2HorizontalPixelsEXT     = 4;\n");
 7430|     14|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag4HorizontalPixelsEXT     = 8;\n");
 7431|     14|        }
 7432|      1|    }
 7433|       |
 7434|       |    // GL_EXT_shader_image_int64
 7435|     37|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (7435:10): [True: 1, False: 36]
  |  Branch (7435:35): [True: 1, False: 0]
  ------------------
 7436|     36|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7436:10): [True: 36, False: 0]
  |  Branch (7436:35): [True: 0, False: 36]
  ------------------
 7437|       |
 7438|      1|        const TBasicType bTypes[] = { EbtInt64, EbtUint64 };
 7439|      3|        for (int ms = 0; ms <= 1; ++ms) { // loop over "bool" multisample or not
  ------------------
  |  Branch (7439:26): [True: 2, False: 1]
  ------------------
 7440|      6|            for (int arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (7440:35): [True: 4, False: 2]
  ------------------
 7441|     28|                for (int dim = Esd1D; dim < EsdSubpass; ++dim) { // 1D, ..., buffer
  ------------------
  |  Branch (7441:39): [True: 24, False: 4]
  ------------------
 7442|     24|                    if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7442:26): [True: 4, False: 20]
  |  Branch (7442:42): [True: 4, False: 16]
  |  Branch (7442:61): [True: 0, False: 8]
  ------------------
 7443|      0|                        continue;
 7444|       |
 7445|     24|                    if ((dim == Esd3D || dim == EsdRect || dim == EsdBuffer) && arrayed)
  ------------------
  |  Branch (7445:26): [True: 4, False: 20]
  |  Branch (7445:42): [True: 4, False: 16]
  |  Branch (7445:60): [True: 4, False: 12]
  |  Branch (7445:81): [True: 6, False: 6]
  ------------------
 7446|      6|                        continue;
 7447|       |
 7448|     18|                    if (dim != Esd2D && ms)
  ------------------
  |  Branch (7448:25): [True: 14, False: 4]
  |  Branch (7448:41): [True: 7, False: 7]
  ------------------
 7449|      7|                        continue;
 7450|       |
 7451|       |                    // Loop over the bTypes
 7452|     33|                    for (size_t bType = 0; bType < sizeof(bTypes)/sizeof(TBasicType); ++bType) {
  ------------------
  |  Branch (7452:44): [True: 22, False: 11]
  ------------------
 7453|       |                        //
 7454|       |                        // Now, make all the function prototypes for the type we just built...
 7455|       |                        //
 7456|     22|                        TSampler sampler;
 7457|       |
 7458|     22|                        sampler.setImage(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7458:75): [True: 8, False: 14]
  ------------------
 7459|     22|                                                                          false,
 7460|     22|                                                                          ms      ? true : false);
  ------------------
  |  Branch (7460:75): [True: 4, False: 18]
  ------------------
 7461|       |
 7462|     22|                        TString typeName = TString{sampler.getString()};
 7463|       |
 7464|     22|                        addQueryFunctions(sampler, typeName, version, profile);
 7465|     22|                        addImageFunctions(sampler, typeName, version, profile);
 7466|     22|                    }
 7467|     11|                }
 7468|      4|            }
 7469|      2|        }
 7470|      1|    }
 7471|       |
 7472|       |    // printf("%s\n", commonBuiltins.c_str());
 7473|       |    // printf("%s\n", stageBuiltins[EShLangFragment].c_str());
 7474|     37|}
_ZN7glslang9TBuiltIns31add2ndGenerationSamplingImagingEi8EProfileRKNS_10SpvVersionE:
 7481|      1|{
 7482|       |    //
 7483|       |    // In this function proper, enumerate the types, then calls the next set of functions
 7484|       |    // to enumerate all the uses for that type.
 7485|       |    //
 7486|       |
 7487|       |    // enumerate all the types
 7488|      1|    const TBasicType bTypes[] = { EbtFloat, EbtInt, EbtUint,
 7489|      1|         EbtFloat16
 7490|      1|    };
 7491|      1|    bool skipBuffer = (profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 140);
  ------------------
  |  Branch (7491:24): [True: 0, False: 1]
  |  Branch (7491:49): [True: 0, False: 0]
  |  Branch (7491:68): [True: 1, False: 0]
  |  Branch (7491:93): [True: 0, False: 1]
  ------------------
 7492|      1|    bool skipCubeArrayed = (profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 130);
  ------------------
  |  Branch (7492:29): [True: 0, False: 1]
  |  Branch (7492:54): [True: 0, False: 0]
  |  Branch (7492:73): [True: 1, False: 0]
  |  Branch (7492:98): [True: 0, False: 1]
  ------------------
 7493|      3|    for (int image = 0; image <= 1; ++image) // loop over "bool" image vs sampler
  ------------------
  |  Branch (7493:25): [True: 2, False: 1]
  ------------------
 7494|      2|    {
 7495|      6|        for (int shadow = 0; shadow <= 1; ++shadow) { // loop over "bool" shadow or not
  ------------------
  |  Branch (7495:30): [True: 4, False: 2]
  ------------------
 7496|     12|            for (int ms = 0; ms <= 1; ++ms) // loop over "bool" multisample or not
  ------------------
  |  Branch (7496:30): [True: 8, False: 4]
  ------------------
 7497|      8|            {
 7498|      8|                if ((ms || image) && shadow)
  ------------------
  |  Branch (7498:22): [True: 4, False: 4]
  |  Branch (7498:28): [True: 2, False: 2]
  |  Branch (7498:38): [True: 3, False: 3]
  ------------------
 7499|      3|                    continue;
 7500|      5|                if (ms && profile != EEsProfile && version < 140)
  ------------------
  |  Branch (7500:21): [True: 2, False: 3]
  |  Branch (7500:27): [True: 2, False: 0]
  |  Branch (7500:52): [True: 0, False: 2]
  ------------------
 7501|      0|                    continue;
 7502|      5|                if (ms && image && profile == EEsProfile)
  ------------------
  |  Branch (7502:21): [True: 2, False: 3]
  |  Branch (7502:27): [True: 1, False: 1]
  |  Branch (7502:36): [True: 0, False: 1]
  ------------------
 7503|      0|                    continue;
 7504|      5|                if (ms && profile == EEsProfile && version < 310)
  ------------------
  |  Branch (7504:21): [True: 2, False: 3]
  |  Branch (7504:27): [True: 0, False: 2]
  |  Branch (7504:52): [True: 0, False: 0]
  ------------------
 7505|      0|                    continue;
 7506|       |
 7507|     15|                for (int arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (7507:39): [True: 10, False: 5]
  ------------------
 7508|     90|                    for (int dim = Esd1D; dim < EsdNumDims; ++dim) { // 1D, ..., buffer, subpass
  ------------------
  |  Branch (7508:43): [True: 80, False: 10]
  ------------------
 7509|     80|                        if (dim == EsdAttachmentEXT)
  ------------------
  |  Branch (7509:29): [True: 10, False: 70]
  ------------------
 7510|     10|                            continue;
 7511|     70|                        if (dim == EsdSubpass && spvVersion.vulkan == 0)
  ------------------
  |  Branch (7511:29): [True: 10, False: 60]
  |  Branch (7511:50): [True: 0, False: 10]
  ------------------
 7512|      0|                            continue;
 7513|     70|                        if (dim == EsdSubpass && (image || shadow || arrayed))
  ------------------
  |  Branch (7513:29): [True: 10, False: 60]
  |  Branch (7513:51): [True: 4, False: 6]
  |  Branch (7513:60): [True: 2, False: 4]
  |  Branch (7513:70): [True: 2, False: 2]
  ------------------
 7514|      8|                            continue;
 7515|     62|                        if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7515:30): [True: 10, False: 52]
  |  Branch (7515:46): [True: 10, False: 42]
  |  Branch (7515:65): [True: 0, False: 20]
  ------------------
 7516|      0|                            continue;
 7517|     62|                        if (dim == EsdSubpass && spvVersion.vulkan == 0)
  ------------------
  |  Branch (7517:29): [True: 2, False: 60]
  |  Branch (7517:50): [True: 0, False: 2]
  ------------------
 7518|      0|                            continue;
 7519|     62|                        if (dim == EsdSubpass && (image || shadow || arrayed))
  ------------------
  |  Branch (7519:29): [True: 2, False: 60]
  |  Branch (7519:51): [True: 0, False: 2]
  |  Branch (7519:60): [True: 0, False: 2]
  |  Branch (7519:70): [True: 0, False: 2]
  ------------------
 7520|      0|                            continue;
 7521|     62|                        if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7521:30): [True: 10, False: 52]
  |  Branch (7521:46): [True: 10, False: 42]
  |  Branch (7521:65): [True: 0, False: 20]
  ------------------
 7522|      0|                            continue;
 7523|     62|                        if (dim != Esd2D && dim != EsdSubpass && ms)
  ------------------
  |  Branch (7523:29): [True: 52, False: 10]
  |  Branch (7523:45): [True: 50, False: 2]
  |  Branch (7523:66): [True: 20, False: 30]
  ------------------
 7524|     20|                            continue;
 7525|     42|                        if (dim == EsdBuffer && skipBuffer)
  ------------------
  |  Branch (7525:29): [True: 6, False: 36]
  |  Branch (7525:49): [True: 0, False: 6]
  ------------------
 7526|      0|                            continue;
 7527|     42|                        if (dim == EsdBuffer && (shadow || arrayed || ms))
  ------------------
  |  Branch (7527:29): [True: 6, False: 36]
  |  Branch (7527:50): [True: 2, False: 4]
  |  Branch (7527:60): [True: 2, False: 2]
  |  Branch (7527:71): [True: 0, False: 2]
  ------------------
 7528|      4|                            continue;
 7529|     38|                        if (ms && arrayed && profile == EEsProfile && version < 310)
  ------------------
  |  Branch (7529:29): [True: 5, False: 33]
  |  Branch (7529:35): [True: 2, False: 3]
  |  Branch (7529:46): [True: 0, False: 2]
  |  Branch (7529:71): [True: 0, False: 0]
  ------------------
 7530|      0|                            continue;
 7531|     38|                        if (dim == Esd3D && shadow)
  ------------------
  |  Branch (7531:29): [True: 6, False: 32]
  |  Branch (7531:45): [True: 2, False: 4]
  ------------------
 7532|      2|                            continue;
 7533|     36|                        if (dim == EsdCube && arrayed && skipCubeArrayed)
  ------------------
  |  Branch (7533:29): [True: 6, False: 30]
  |  Branch (7533:47): [True: 3, False: 3]
  |  Branch (7533:58): [True: 0, False: 3]
  ------------------
 7534|      0|                            continue;
 7535|     36|                        if ((dim == Esd3D || dim == EsdRect) && arrayed)
  ------------------
  |  Branch (7535:30): [True: 4, False: 32]
  |  Branch (7535:46): [True: 6, False: 26]
  |  Branch (7535:65): [True: 5, False: 5]
  ------------------
 7536|      5|                            continue;
 7537|       |
 7538|       |                        // Loop over the bTypes
 7539|    155|                        for (size_t bType = 0; bType < sizeof(bTypes)/sizeof(TBasicType); ++bType) {
  ------------------
  |  Branch (7539:48): [True: 124, False: 31]
  ------------------
 7540|    124|                            if (bTypes[bType] == EbtFloat16 && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (7540:33): [True: 31, False: 93]
  |  Branch (7540:65): [True: 0, False: 31]
  |  Branch (7540:90): [True: 0, False: 31]
  ------------------
 7541|      0|                                continue;
 7542|    124|                            if (dim == EsdRect && version < 140 && bType > 0)
  ------------------
  |  Branch (7542:33): [True: 12, False: 112]
  |  Branch (7542:51): [True: 0, False: 12]
  |  Branch (7542:68): [True: 0, False: 0]
  ------------------
 7543|      0|                                continue;
 7544|    124|                            if (shadow && (bTypes[bType] == EbtInt || bTypes[bType] == EbtUint))
  ------------------
  |  Branch (7544:33): [True: 28, False: 96]
  |  Branch (7544:44): [True: 7, False: 21]
  |  Branch (7544:71): [True: 7, False: 14]
  ------------------
 7545|     14|                                continue;
 7546|       |                            //
 7547|       |                            // Now, make all the function prototypes for the type we just built...
 7548|       |                            //
 7549|    110|                            TSampler sampler;
 7550|    110|                            if (dim == EsdSubpass) {
  ------------------
  |  Branch (7550:33): [True: 8, False: 102]
  ------------------
 7551|      8|                                sampler.setSubpass(bTypes[bType], ms ? true : false);
  ------------------
  |  Branch (7551:67): [True: 4, False: 4]
  ------------------
 7552|    102|                            } else if (dim == EsdAttachmentEXT) {
  ------------------
  |  Branch (7552:40): [True: 0, False: 102]
  ------------------
 7553|      0|                                sampler.setAttachmentEXT(bTypes[bType]);
 7554|      0|                            } else
 7555|    102|                            if (image) {
  ------------------
  |  Branch (7555:33): [True: 44, False: 58]
  ------------------
 7556|     44|                                sampler.setImage(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7556:83): [True: 16, False: 28]
  ------------------
 7557|     44|                                                                                  shadow  ? true : false,
  ------------------
  |  Branch (7557:83): [True: 0, False: 44]
  ------------------
 7558|     44|                                                                                  ms      ? true : false);
  ------------------
  |  Branch (7558:83): [True: 8, False: 36]
  ------------------
 7559|     58|                            } else {
 7560|     58|                                sampler.set(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7560:78): [True: 22, False: 36]
  ------------------
 7561|     58|                                                                             shadow  ? true : false,
  ------------------
  |  Branch (7561:78): [True: 14, False: 44]
  ------------------
 7562|     58|                                                                             ms      ? true : false);
  ------------------
  |  Branch (7562:78): [True: 8, False: 50]
  ------------------
 7563|     58|                            }
 7564|       |
 7565|    110|                            TString typeName = TString{sampler.getString()};
 7566|       |
 7567|    110|                            if (dim == EsdSubpass) {
  ------------------
  |  Branch (7567:33): [True: 8, False: 102]
  ------------------
 7568|      8|                                addSubpassSampling(sampler, typeName, version, profile);
 7569|      8|                                continue;
 7570|      8|                            }
 7571|       |
 7572|    102|                            addQueryFunctions(sampler, typeName, version, profile);
 7573|       |
 7574|    102|                            if (image)
  ------------------
  |  Branch (7574:33): [True: 44, False: 58]
  ------------------
 7575|     44|                                addImageFunctions(sampler, typeName, version, profile);
 7576|     58|                            else {
 7577|     58|                                addSamplingFunctions(sampler, typeName, version, profile);
 7578|     58|                                addGatherFunctions(sampler, typeName, version, profile);
 7579|     58|                                if (spvVersion.vulkan > 0 && sampler.isCombined() && !sampler.shadow) {
  ------------------
  |  Branch (7579:37): [True: 58, False: 0]
  |  Branch (7579:62): [True: 58, False: 0]
  |  Branch (7579:86): [True: 44, False: 14]
  ------------------
 7580|       |                                    // Base Vulkan allows texelFetch() for
 7581|       |                                    // textureBuffer (i.e. without sampler).
 7582|       |                                    //
 7583|       |                                    // GL_EXT_samplerless_texture_functions
 7584|       |                                    // allows texelFetch() and query functions
 7585|       |                                    // (other than textureQueryLod()) for all
 7586|       |                                    // texture types.
 7587|     44|                                    sampler.setTexture(sampler.type, sampler.dim, sampler.arrayed, sampler.shadow,
 7588|     44|                                                       sampler.ms);
 7589|     44|                                    TString textureTypeName = TString{sampler.getString()};
 7590|     44|                                    addSamplingFunctions(sampler, textureTypeName, version, profile);
 7591|     44|                                    addQueryFunctions(sampler, textureTypeName, version, profile);
 7592|     44|                                }
 7593|     58|                            }
 7594|    102|                        }
 7595|     31|                    }
 7596|     10|                }
 7597|      5|            }
 7598|      4|        }
 7599|      2|    }
 7600|       |
 7601|       |    //
 7602|       |    // sparseTexelsResidentARB()
 7603|       |    //
 7604|      1|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7604:9): [True: 1, False: 0]
  |  Branch (7604:34): [True: 1, False: 0]
  ------------------
 7605|      1|        commonBuiltins.append("bool sparseTexelsResidentARB(int code);\n");
 7606|      1|    }
 7607|      1|}
_ZN7glslang9TBuiltIns17addQueryFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7616|    168|{
 7617|       |    //
 7618|       |    // textureSize() and imageSize()
 7619|       |    //
 7620|       |
 7621|    168|    int sizeDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0) - (sampler.dim == EsdCube ? 1 : 0);
  ------------------
  |  Branch (7621:43): [True: 62, False: 106]
  |  Branch (7621:71): [True: 32, False: 136]
  ------------------
 7622|       |
 7623|    168|    if (sampler.isImage() && ((profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 420)))
  ------------------
  |  Branch (7623:9): [True: 66, False: 102]
  |  Branch (7623:32): [True: 0, False: 66]
  |  Branch (7623:57): [True: 0, False: 0]
  |  Branch (7623:76): [True: 66, False: 0]
  |  Branch (7623:101): [True: 0, False: 66]
  ------------------
 7624|      0|        return;
 7625|       |
 7626|    168|    if (profile == EEsProfile)
  ------------------
  |  Branch (7626:9): [True: 0, False: 168]
  ------------------
 7627|      0|        commonBuiltins.append("highp ");
 7628|    168|    if (sizeDims == 1)
  ------------------
  |  Branch (7628:9): [True: 30, False: 138]
  ------------------
 7629|     30|        commonBuiltins.append("int");
 7630|    138|    else {
 7631|    138|        commonBuiltins.append("ivec");
 7632|    138|        commonBuiltins.append(postfixes[sizeDims]);
 7633|    138|    }
 7634|    168|    if (sampler.isImage())
  ------------------
  |  Branch (7634:9): [True: 66, False: 102]
  ------------------
 7635|     66|        commonBuiltins.append(" imageSize(readonly writeonly volatile coherent nontemporal ");
 7636|    102|    else
 7637|    102|        commonBuiltins.append(" textureSize(");
 7638|    168|    commonBuiltins.append(typeName);
 7639|    168|    if (! sampler.isImage() && ! sampler.isRect() && ! sampler.isBuffer() && ! sampler.isMultiSample())
  ------------------
  |  Branch (7639:9): [True: 102, False: 66]
  |  Branch (7639:32): [True: 92, False: 10]
  |  Branch (7639:54): [True: 84, False: 8]
  |  Branch (7639:78): [True: 68, False: 16]
  ------------------
 7640|     68|        commonBuiltins.append(",int);\n");
 7641|    100|    else
 7642|    100|        commonBuiltins.append(");\n");
 7643|       |
 7644|       |    //
 7645|       |    // textureSamples() and imageSamples()
 7646|       |    //
 7647|       |
 7648|       |    // GL_ARB_shader_texture_image_samples
 7649|       |    // TODO: spec issue? there are no memory qualifiers; how to query a writeonly/readonly image, etc?
 7650|    168|    if (profile != EEsProfile && version >= 430 && sampler.isMultiSample()) {
  ------------------
  |  Branch (7650:9): [True: 168, False: 0]
  |  Branch (7650:34): [True: 168, False: 0]
  |  Branch (7650:52): [True: 28, False: 140]
  ------------------
 7651|     28|        commonBuiltins.append("int ");
 7652|     28|        if (sampler.isImage())
  ------------------
  |  Branch (7652:13): [True: 12, False: 16]
  ------------------
 7653|     12|            commonBuiltins.append("imageSamples(readonly writeonly volatile coherent nontemporal ");
 7654|     16|        else
 7655|     16|            commonBuiltins.append("textureSamples(");
 7656|     28|        commonBuiltins.append(typeName);
 7657|     28|        commonBuiltins.append(");\n");
 7658|     28|    }
 7659|       |
 7660|       |    //
 7661|       |    // textureQueryLod()
 7662|       |    // Also enabled with extension GL_ARB_texture_query_lod
 7663|       |    // Extension GL_ARB_texture_query_lod says that textureQueryLOD() also exist at extension.
 7664|       |
 7665|    168|    if (profile != EEsProfile && version >= 150 && sampler.isCombined() && sampler.dim != EsdRect &&
  ------------------
  |  Branch (7665:9): [True: 168, False: 0]
  |  Branch (7665:34): [True: 168, False: 0]
  |  Branch (7665:52): [True: 58, False: 110]
  |  Branch (7665:76): [True: 52, False: 6]
  ------------------
 7666|     52|        ! sampler.isMultiSample() && ! sampler.isBuffer()) {
  ------------------
  |  Branch (7666:9): [True: 44, False: 8]
  |  Branch (7666:38): [True: 40, False: 4]
  ------------------
 7667|       |
 7668|     40|        const TString funcName[2] = {"vec2 textureQueryLod(", "vec2 textureQueryLOD("};
 7669|       |
 7670|    120|        for (int i = 0; i < 2; ++i){
  ------------------
  |  Branch (7670:25): [True: 80, False: 40]
  ------------------
 7671|    240|            for (int f16TexAddr = 0; f16TexAddr < 2; ++f16TexAddr) {
  ------------------
  |  Branch (7671:38): [True: 160, False: 80]
  ------------------
 7672|    160|                if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (7672:21): [True: 80, False: 80]
  |  Branch (7672:35): [True: 54, False: 26]
  ------------------
 7673|     54|                    continue;
 7674|    106|                stageBuiltins[EShLangFragment].append(funcName[i]);
 7675|    106|                stageBuiltins[EShLangFragment].append(typeName);
 7676|    106|                if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7676:21): [True: 32, False: 74]
  ------------------
 7677|     32|                    if (f16TexAddr)
  ------------------
  |  Branch (7677:25): [True: 8, False: 24]
  ------------------
 7678|      8|                        stageBuiltins[EShLangFragment].append(", float16_t");
 7679|     24|                    else
 7680|     24|                        stageBuiltins[EShLangFragment].append(", float");
 7681|     74|                else {
 7682|     74|                    if (f16TexAddr)
  ------------------
  |  Branch (7682:25): [True: 18, False: 56]
  ------------------
 7683|     18|                        stageBuiltins[EShLangFragment].append(", f16vec");
 7684|     56|                    else
 7685|     56|                        stageBuiltins[EShLangFragment].append(", vec");
 7686|     74|                    stageBuiltins[EShLangFragment].append(postfixes[dimMap[sampler.dim]]);
 7687|     74|                }
 7688|    106|                stageBuiltins[EShLangFragment].append(");\n");
 7689|    106|            }
 7690|       |
 7691|     80|            stageBuiltins[EShLangCompute].append(funcName[i]);
 7692|     80|            stageBuiltins[EShLangCompute].append(typeName);
 7693|     80|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7693:17): [True: 24, False: 56]
  ------------------
 7694|     24|                stageBuiltins[EShLangCompute].append(", float");
 7695|     56|            else {
 7696|     56|                stageBuiltins[EShLangCompute].append(", vec");
 7697|     56|                stageBuiltins[EShLangCompute].append(postfixes[dimMap[sampler.dim]]);
 7698|     56|            }
 7699|     80|            stageBuiltins[EShLangCompute].append(");\n");
 7700|       |
 7701|     80|            stageBuiltins[EShLangTask].append(funcName[i]);
 7702|     80|            stageBuiltins[EShLangTask].append(typeName);
 7703|     80|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7703:17): [True: 24, False: 56]
  ------------------
 7704|     24|                stageBuiltins[EShLangTask].append(", float");
 7705|     56|            else {
 7706|     56|                stageBuiltins[EShLangTask].append(", vec");
 7707|     56|                stageBuiltins[EShLangTask].append(postfixes[dimMap[sampler.dim]]);
 7708|     56|            }
 7709|     80|            stageBuiltins[EShLangTask].append(");\n");
 7710|       |
 7711|     80|            stageBuiltins[EShLangMesh].append(funcName[i]);
 7712|     80|            stageBuiltins[EShLangMesh].append(typeName);
 7713|     80|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7713:17): [True: 24, False: 56]
  ------------------
 7714|     24|                stageBuiltins[EShLangMesh].append(", float");
 7715|     56|            else {
 7716|     56|                stageBuiltins[EShLangMesh].append(", vec");
 7717|     56|                stageBuiltins[EShLangMesh].append(postfixes[dimMap[sampler.dim]]);
 7718|     56|            }
 7719|     80|            stageBuiltins[EShLangMesh].append(");\n");
 7720|     80|        }
 7721|     40|    }
 7722|       |
 7723|       |    //
 7724|       |    // textureQueryLevels()
 7725|       |    //
 7726|       |
 7727|    168|    if (profile != EEsProfile && version >= 430 && ! sampler.isImage() && sampler.dim != EsdRect &&
  ------------------
  |  Branch (7727:9): [True: 168, False: 0]
  |  Branch (7727:34): [True: 168, False: 0]
  |  Branch (7727:52): [True: 102, False: 66]
  |  Branch (7727:75): [True: 92, False: 10]
  ------------------
 7728|     92|        ! sampler.isMultiSample() && ! sampler.isBuffer()) {
  ------------------
  |  Branch (7728:9): [True: 76, False: 16]
  |  Branch (7728:38): [True: 68, False: 8]
  ------------------
 7729|     68|        commonBuiltins.append("int textureQueryLevels(");
 7730|     68|        commonBuiltins.append(typeName);
 7731|     68|        commonBuiltins.append(");\n");
 7732|     68|    }
 7733|    168|}
_ZN7glslang9TBuiltIns17addImageFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7742|     66|{
 7743|     66|    int dims = dimMap[sampler.dim];
 7744|       |    // most things with an array add a dimension, except for cubemaps
 7745|     66|    if (sampler.arrayed && sampler.dim != EsdCube)
  ------------------
  |  Branch (7745:9): [True: 24, False: 42]
  |  Branch (7745:28): [True: 18, False: 6]
  ------------------
 7746|     18|        ++dims;
 7747|       |
 7748|     66|    TString imageParams = typeName;
 7749|     66|    if (dims == 1)
  ------------------
  |  Branch (7749:9): [True: 12, False: 54]
  ------------------
 7750|     12|        imageParams.append(", int");
 7751|     54|    else {
 7752|     54|        imageParams.append(", ivec");
 7753|     54|        imageParams.append(postfixes[dims]);
 7754|     54|    }
 7755|     66|    if (sampler.isMultiSample())
  ------------------
  |  Branch (7755:9): [True: 12, False: 54]
  ------------------
 7756|     12|        imageParams.append(", int");
 7757|       |
 7758|     66|    if (profile == EEsProfile)
  ------------------
  |  Branch (7758:9): [True: 0, False: 66]
  ------------------
 7759|      0|        commonBuiltins.append("highp ");
 7760|     66|    commonBuiltins.append(prefixes[sampler.type]);
 7761|     66|    commonBuiltins.append("vec4 imageLoad(readonly volatile coherent nontemporal ");
 7762|     66|    commonBuiltins.append(imageParams);
 7763|     66|    commonBuiltins.append(");\n");
 7764|       |
 7765|     66|    commonBuiltins.append("void imageStore(writeonly volatile coherent nontemporal ");
 7766|     66|    commonBuiltins.append(imageParams);
 7767|     66|    commonBuiltins.append(", ");
 7768|     66|    commonBuiltins.append(prefixes[sampler.type]);
 7769|     66|    commonBuiltins.append("vec4);\n");
 7770|       |
 7771|     66|    if (! sampler.is1D() && ! sampler.isBuffer() && profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7771:9): [True: 54, False: 12]
  |  Branch (7771:29): [True: 48, False: 6]
  |  Branch (7771:53): [True: 48, False: 0]
  |  Branch (7771:78): [True: 48, False: 0]
  ------------------
 7772|     48|        commonBuiltins.append("int sparseImageLoadARB(readonly volatile coherent nontemporal ");
 7773|     48|        commonBuiltins.append(imageParams);
 7774|     48|        commonBuiltins.append(", out ");
 7775|     48|        commonBuiltins.append(prefixes[sampler.type]);
 7776|     48|        commonBuiltins.append("vec4");
 7777|     48|        commonBuiltins.append(");\n");
 7778|     48|    }
 7779|       |
 7780|     66|    if ( profile != EEsProfile ||
  ------------------
  |  Branch (7780:10): [True: 66, False: 0]
  ------------------
 7781|     66|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7781:10): [True: 0, False: 0]
  |  Branch (7781:35): [True: 0, False: 0]
  ------------------
 7782|     66|        if (sampler.type == EbtInt || sampler.type == EbtUint || sampler.type == EbtInt64 || sampler.type == EbtUint64 ) {
  ------------------
  |  Branch (7782:13): [True: 11, False: 55]
  |  Branch (7782:39): [True: 11, False: 44]
  |  Branch (7782:66): [True: 11, False: 33]
  |  Branch (7782:94): [True: 11, False: 22]
  ------------------
 7783|       |
 7784|     44|            const char* dataType;
 7785|     44|            switch (sampler.type) {
 7786|     11|                case(EbtInt): dataType = "highp int"; break;
  ------------------
  |  Branch (7786:17): [True: 11, False: 33]
  ------------------
 7787|     11|                case(EbtUint): dataType = "highp uint"; break;
  ------------------
  |  Branch (7787:17): [True: 11, False: 33]
  ------------------
 7788|     11|                case(EbtInt64): dataType = "highp int64_t"; break;
  ------------------
  |  Branch (7788:17): [True: 11, False: 33]
  ------------------
 7789|     11|                case(EbtUint64): dataType = "highp uint64_t"; break;
  ------------------
  |  Branch (7789:17): [True: 11, False: 33]
  ------------------
 7790|      0|                default: dataType = "";
  ------------------
  |  Branch (7790:17): [True: 0, False: 44]
  ------------------
 7791|     44|            }
 7792|       |
 7793|     44|            const int numBuiltins = 7;
 7794|       |
 7795|     44|            static const char* atomicFunc[numBuiltins] = {
 7796|     44|                " imageAtomicAdd(volatile coherent nontemporal ",
 7797|     44|                " imageAtomicMin(volatile coherent nontemporal ",
 7798|     44|                " imageAtomicMax(volatile coherent nontemporal ",
 7799|     44|                " imageAtomicAnd(volatile coherent nontemporal ",
 7800|     44|                " imageAtomicOr(volatile coherent nontemporal ",
 7801|     44|                " imageAtomicXor(volatile coherent nontemporal ",
 7802|     44|                " imageAtomicExchange(volatile coherent nontemporal "
 7803|     44|            };
 7804|       |
 7805|       |            // Loop twice to add prototypes with/without scope/semantics
 7806|    132|            for (int j = 0; j < 2; ++j) {
  ------------------
  |  Branch (7806:29): [True: 88, False: 44]
  ------------------
 7807|    704|                for (size_t i = 0; i < numBuiltins; ++i) {
  ------------------
  |  Branch (7807:36): [True: 616, False: 88]
  ------------------
 7808|    616|                    commonBuiltins.append(dataType);
 7809|    616|                    commonBuiltins.append(atomicFunc[i]);
 7810|    616|                    commonBuiltins.append(imageParams);
 7811|    616|                    commonBuiltins.append(", ");
 7812|    616|                    commonBuiltins.append(dataType);
 7813|    616|                    if (j == 1) {
  ------------------
  |  Branch (7813:25): [True: 308, False: 308]
  ------------------
 7814|    308|                        commonBuiltins.append(", int, int, int");
 7815|    308|                    }
 7816|    616|                    commonBuiltins.append(");\n");
 7817|    616|                }
 7818|       |
 7819|     88|                commonBuiltins.append(dataType);
 7820|     88|                commonBuiltins.append(" imageAtomicCompSwap(volatile coherent nontemporal ");
 7821|     88|                commonBuiltins.append(imageParams);
 7822|     88|                commonBuiltins.append(", ");
 7823|     88|                commonBuiltins.append(dataType);
 7824|     88|                commonBuiltins.append(", ");
 7825|     88|                commonBuiltins.append(dataType);
 7826|     88|                if (j == 1) {
  ------------------
  |  Branch (7826:21): [True: 44, False: 44]
  ------------------
 7827|     44|                    commonBuiltins.append(", int, int, int, int, int");
 7828|     44|                }
 7829|     88|                commonBuiltins.append(");\n");
 7830|     88|            }
 7831|       |
 7832|     44|            commonBuiltins.append(dataType);
 7833|     44|            commonBuiltins.append(" imageAtomicLoad(volatile coherent nontemporal ");
 7834|     44|            commonBuiltins.append(imageParams);
 7835|     44|            commonBuiltins.append(", int, int, int);\n");
 7836|       |
 7837|     44|            commonBuiltins.append("void imageAtomicStore(volatile coherent nontemporal ");
 7838|     44|            commonBuiltins.append(imageParams);
 7839|     44|            commonBuiltins.append(", ");
 7840|     44|            commonBuiltins.append(dataType);
 7841|     44|            commonBuiltins.append(", int, int, int);\n");
 7842|       |
 7843|     44|        } else {
 7844|       |            // not int or uint
 7845|       |            // GL_ARB_ES3_1_compatibility
 7846|       |            // TODO: spec issue: are there restrictions on the kind of layout() that can be used?  what about dropping memory qualifiers?
 7847|     22|            if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (7847:17): [True: 0, False: 22]
  |  Branch (7847:42): [True: 0, False: 0]
  ------------------
 7848|      0|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7849|      0|                commonBuiltins.append(imageParams);
 7850|      0|                commonBuiltins.append(", float);\n");
 7851|      0|            }
 7852|       |
 7853|       |            // GL_NV_shader_atomic_fp16_vector
 7854|     22|            if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (7854:17): [True: 22, False: 0]
  |  Branch (7854:42): [True: 22, False: 0]
  ------------------
 7855|     22|                const int numFp16Builtins = 4;
 7856|     22|                const char* atomicFp16Func[numFp16Builtins] = {
 7857|     22|                    " imageAtomicAdd(volatile coherent nontemporal ",
 7858|     22|                    " imageAtomicMin(volatile coherent nontemporal ",
 7859|     22|                    " imageAtomicMax(volatile coherent nontemporal ",
 7860|     22|                    " imageAtomicExchange(volatile coherent nontemporal "
 7861|     22|                };
 7862|     22|                const int numFp16DataTypes = 2;
 7863|     22|                const char* atomicFp16DataTypes[numFp16DataTypes] = {
 7864|     22|                    "f16vec2",
 7865|     22|                    "f16vec4"
 7866|     22|                };
 7867|       |                // Loop twice to add prototypes with/without scope/semantics
 7868|     66|                for (int j = 0; j < numFp16DataTypes; ++j) {
  ------------------
  |  Branch (7868:33): [True: 44, False: 22]
  ------------------
 7869|    220|                    for (int i = 0; i < numFp16Builtins; ++i) {
  ------------------
  |  Branch (7869:37): [True: 176, False: 44]
  ------------------
 7870|    176|                        commonBuiltins.append(atomicFp16DataTypes[j]);
 7871|    176|                        commonBuiltins.append(atomicFp16Func[i]);
 7872|    176|                        commonBuiltins.append(imageParams);
 7873|    176|                        commonBuiltins.append(", ");
 7874|    176|                        commonBuiltins.append(atomicFp16DataTypes[j]);
 7875|    176|                        commonBuiltins.append(");\n");
 7876|    176|                    }
 7877|     44|                }
 7878|     22|            }
 7879|       |
 7880|     22|            if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7880:17): [True: 22, False: 0]
  |  Branch (7880:42): [True: 22, False: 0]
  ------------------
 7881|     22|                commonBuiltins.append("float imageAtomicAdd(volatile coherent nontemporal ");
 7882|     22|                commonBuiltins.append(imageParams);
 7883|     22|                commonBuiltins.append(", float);\n");
 7884|       |
 7885|     22|                commonBuiltins.append("float imageAtomicAdd(volatile coherent nontemporal ");
 7886|     22|                commonBuiltins.append(imageParams);
 7887|     22|                commonBuiltins.append(", float");
 7888|     22|                commonBuiltins.append(", int, int, int);\n");
 7889|       |
 7890|     22|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7891|     22|                commonBuiltins.append(imageParams);
 7892|     22|                commonBuiltins.append(", float);\n");
 7893|       |
 7894|     22|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7895|     22|                commonBuiltins.append(imageParams);
 7896|     22|                commonBuiltins.append(", float");
 7897|     22|                commonBuiltins.append(", int, int, int);\n");
 7898|       |
 7899|     22|                commonBuiltins.append("float imageAtomicLoad(readonly volatile coherent nontemporal ");
 7900|     22|                commonBuiltins.append(imageParams);
 7901|     22|                commonBuiltins.append(", int, int, int);\n");
 7902|       |
 7903|     22|                commonBuiltins.append("void imageAtomicStore(writeonly volatile coherent nontemporal ");
 7904|     22|                commonBuiltins.append(imageParams);
 7905|     22|                commonBuiltins.append(", float");
 7906|     22|                commonBuiltins.append(", int, int, int);\n");
 7907|       |
 7908|     22|                commonBuiltins.append("float imageAtomicMin(volatile coherent nontemporal ");
 7909|     22|                commonBuiltins.append(imageParams);
 7910|     22|                commonBuiltins.append(", float);\n");
 7911|       |
 7912|     22|                commonBuiltins.append("float imageAtomicMin(volatile coherent nontemporal ");
 7913|     22|                commonBuiltins.append(imageParams);
 7914|     22|                commonBuiltins.append(", float");
 7915|     22|                commonBuiltins.append(", int, int, int);\n");
 7916|       |
 7917|     22|                commonBuiltins.append("float imageAtomicMax(volatile coherent nontemporal ");
 7918|     22|                commonBuiltins.append(imageParams);
 7919|     22|                commonBuiltins.append(", float);\n");
 7920|       |
 7921|     22|                commonBuiltins.append("float imageAtomicMax(volatile coherent nontemporal ");
 7922|     22|                commonBuiltins.append(imageParams);
 7923|     22|                commonBuiltins.append(", float");
 7924|     22|                commonBuiltins.append(", int, int, int);\n");
 7925|     22|            }
 7926|     22|        }
 7927|     66|    }
 7928|       |
 7929|     66|    if (sampler.dim == EsdRect || sampler.dim == EsdBuffer || sampler.shadow || sampler.isMultiSample())
  ------------------
  |  Branch (7929:9): [True: 6, False: 60]
  |  Branch (7929:35): [True: 6, False: 54]
  |  Branch (7929:63): [True: 0, False: 54]
  |  Branch (7929:81): [True: 12, False: 42]
  ------------------
 7930|     24|        return;
 7931|       |
 7932|     42|    if (profile == EEsProfile || version < 450)
  ------------------
  |  Branch (7932:9): [True: 0, False: 42]
  |  Branch (7932:34): [True: 0, False: 42]
  ------------------
 7933|      0|        return;
 7934|       |
 7935|     42|    TString imageLodParams = typeName;
 7936|     42|    if (dims == 1)
  ------------------
  |  Branch (7936:9): [True: 6, False: 36]
  ------------------
 7937|      6|        imageLodParams.append(", int");
 7938|     36|    else {
 7939|     36|        imageLodParams.append(", ivec");
 7940|     36|        imageLodParams.append(postfixes[dims]);
 7941|     36|    }
 7942|     42|    imageLodParams.append(", int");
 7943|       |
 7944|     42|    commonBuiltins.append(prefixes[sampler.type]);
 7945|     42|    commonBuiltins.append("vec4 imageLoadLodAMD(readonly volatile coherent nontemporal ");
 7946|     42|    commonBuiltins.append(imageLodParams);
 7947|     42|    commonBuiltins.append(");\n");
 7948|       |
 7949|     42|    commonBuiltins.append("void imageStoreLodAMD(writeonly volatile coherent nontemporal ");
 7950|     42|    commonBuiltins.append(imageLodParams);
 7951|     42|    commonBuiltins.append(", ");
 7952|     42|    commonBuiltins.append(prefixes[sampler.type]);
 7953|     42|    commonBuiltins.append("vec4);\n");
 7954|       |
 7955|     42|    if (! sampler.is1D()) {
  ------------------
  |  Branch (7955:9): [True: 30, False: 12]
  ------------------
 7956|     30|        commonBuiltins.append("int sparseImageLoadLodAMD(readonly volatile coherent nontemporal ");
 7957|     30|        commonBuiltins.append(imageLodParams);
 7958|     30|        commonBuiltins.append(", out ");
 7959|     30|        commonBuiltins.append(prefixes[sampler.type]);
 7960|     30|        commonBuiltins.append("vec4");
 7961|     30|        commonBuiltins.append(");\n");
 7962|     30|    }
 7963|     42|}
_ZN7glslang9TBuiltIns18addSubpassSamplingENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7972|      8|{
 7973|      8|    stageBuiltins[EShLangFragment].append(prefixes[sampler.type]);
 7974|      8|    stageBuiltins[EShLangFragment].append("vec4 subpassLoad");
 7975|      8|    stageBuiltins[EShLangFragment].append("(");
 7976|      8|    stageBuiltins[EShLangFragment].append(typeName.c_str());
 7977|      8|    if (sampler.isMultiSample())
  ------------------
  |  Branch (7977:9): [True: 4, False: 4]
  ------------------
 7978|      4|        stageBuiltins[EShLangFragment].append(", int");
 7979|      8|    stageBuiltins[EShLangFragment].append(");\n");
 7980|      8|}
_ZN7glslang9TBuiltIns20addSamplingFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7989|    102|{
 7990|       |    //
 7991|       |    // texturing
 7992|       |    //
 7993|    306|    for (int proj = 0; proj <= 1; ++proj) { // loop over "bool" projective or not
  ------------------
  |  Branch (7993:24): [True: 204, False: 102]
  ------------------
 7994|       |
 7995|    204|        if (proj && (sampler.dim == EsdCube || sampler.isBuffer() || sampler.arrayed || sampler.isMultiSample()
  ------------------
  |  Branch (7995:13): [True: 102, False: 102]
  |  Branch (7995:22): [True: 20, False: 82]
  |  Branch (7995:48): [True: 8, False: 74]
  |  Branch (7995:70): [True: 28, False: 46]
  |  Branch (7995:89): [True: 8, False: 38]
  ------------------
 7996|     38|            || !sampler.isCombined()))
  ------------------
  |  Branch (7996:16): [True: 16, False: 22]
  ------------------
 7997|     80|            continue;
 7998|       |
 7999|    372|        for (int lod = 0; lod <= 1; ++lod) {
  ------------------
  |  Branch (7999:27): [True: 248, False: 124]
  ------------------
 8000|       |
 8001|    248|            if (lod && (sampler.isBuffer() || sampler.isRect() || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (8001:17): [True: 124, False: 124]
  |  Branch (8001:25): [True: 8, False: 116]
  |  Branch (8001:47): [True: 16, False: 100]
  |  Branch (8001:67): [True: 16, False: 84]
  |  Branch (8001:94): [True: 28, False: 56]
  ------------------
 8002|     68|                continue;
 8003|    180|            if (lod && sampler.dim == Esd2D && sampler.arrayed && sampler.shadow)
  ------------------
  |  Branch (8003:17): [True: 56, False: 124]
  |  Branch (8003:24): [True: 18, False: 38]
  |  Branch (8003:48): [True: 6, False: 12]
  |  Branch (8003:67): [True: 2, False: 4]
  ------------------
 8004|      2|                continue;
 8005|    178|            if (lod && sampler.dim == EsdCube && sampler.shadow)
  ------------------
  |  Branch (8005:17): [True: 54, False: 124]
  |  Branch (8005:24): [True: 12, False: 42]
  |  Branch (8005:50): [True: 4, False: 8]
  ------------------
 8006|      4|                continue;
 8007|       |
 8008|    522|            for (int bias = 0; bias <= 1; ++bias) {
  ------------------
  |  Branch (8008:32): [True: 348, False: 174]
  ------------------
 8009|       |
 8010|    348|                if (bias && (lod || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (8010:21): [True: 174, False: 174]
  |  Branch (8010:30): [True: 50, False: 124]
  |  Branch (8010:37): [True: 16, False: 108]
  |  Branch (8010:64): [True: 36, False: 72]
  ------------------
 8011|    102|                    continue;
 8012|    246|                if (bias && (sampler.dim == Esd2D || sampler.dim == EsdCube) && sampler.shadow && sampler.arrayed)
  ------------------
  |  Branch (8012:21): [True: 72, False: 174]
  |  Branch (8012:30): [True: 18, False: 54]
  |  Branch (8012:54): [True: 12, False: 42]
  |  Branch (8012:81): [True: 10, False: 20]
  |  Branch (8012:99): [True: 4, False: 6]
  ------------------
 8013|      4|                    continue;
 8014|    242|                if (bias && (sampler.isRect() || sampler.isBuffer()))
  ------------------
  |  Branch (8014:21): [True: 68, False: 174]
  |  Branch (8014:30): [True: 12, False: 56]
  |  Branch (8014:50): [True: 4, False: 52]
  ------------------
 8015|     16|                    continue;
 8016|       |
 8017|    678|                for (int offset = 0; offset <= 1; ++offset) { // loop over "bool" offset or not
  ------------------
  |  Branch (8017:38): [True: 452, False: 226]
  ------------------
 8018|       |
 8019|    452|                    if (proj + offset + bias + lod > 3)
  ------------------
  |  Branch (8019:25): [True: 0, False: 452]
  ------------------
 8020|      0|                        continue;
 8021|    452|                    if (offset && (sampler.dim == EsdCube || sampler.isBuffer() || sampler.isMultiSample()))
  ------------------
  |  Branch (8021:25): [True: 226, False: 226]
  |  Branch (8021:36): [True: 38, False: 188]
  |  Branch (8021:62): [True: 8, False: 180]
  |  Branch (8021:84): [True: 16, False: 164]
  ------------------
 8022|     62|                        continue;
 8023|       |
 8024|  1.17k|                    for (int fetch = 0; fetch <= 1; ++fetch) { // loop over "bool" fetch or not
  ------------------
  |  Branch (8024:41): [True: 780, False: 390]
  ------------------
 8025|       |
 8026|    780|                        if (proj + offset + fetch + bias + lod > 3)
  ------------------
  |  Branch (8026:29): [True: 32, False: 748]
  ------------------
 8027|     32|                            continue;
 8028|    748|                        if (fetch && (lod || bias))
  ------------------
  |  Branch (8028:29): [True: 358, False: 390]
  |  Branch (8028:39): [True: 76, False: 282]
  |  Branch (8028:46): [True: 78, False: 204]
  ------------------
 8029|    154|                            continue;
 8030|    594|                        if (fetch && (sampler.shadow || sampler.dim == EsdCube))
  ------------------
  |  Branch (8030:29): [True: 204, False: 390]
  |  Branch (8030:39): [True: 36, False: 168]
  |  Branch (8030:57): [True: 16, False: 152]
  ------------------
 8031|     52|                            continue;
 8032|    542|                        if (fetch == 0 && (sampler.isMultiSample() || sampler.isBuffer()
  ------------------
  |  Branch (8032:29): [True: 390, False: 152]
  |  Branch (8032:44): [True: 16, False: 374]
  |  Branch (8032:71): [True: 8, False: 366]
  ------------------
 8033|    366|                            || !sampler.isCombined()))
  ------------------
  |  Branch (8033:32): [True: 56, False: 310]
  ------------------
 8034|     80|                            continue;
 8035|       |
 8036|  1.38k|                        for (int grad = 0; grad <= 1; ++grad) { // loop over "bool" grad or not
  ------------------
  |  Branch (8036:44): [True: 924, False: 462]
  ------------------
 8037|       |
 8038|    924|                            if (grad && (lod || bias || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (8038:33): [True: 462, False: 462]
  |  Branch (8038:42): [True: 92, False: 370]
  |  Branch (8038:49): [True: 94, False: 276]
  |  Branch (8038:57): [True: 16, False: 260]
  |  Branch (8038:84): [True: 52, False: 208]
  ------------------
 8039|    254|                                continue;
 8040|    670|                            if (grad && sampler.isBuffer())
  ------------------
  |  Branch (8040:33): [True: 208, False: 462]
  |  Branch (8040:41): [True: 4, False: 204]
  ------------------
 8041|      4|                                continue;
 8042|    666|                            if (proj + offset + fetch + grad + bias + lod > 3)
  ------------------
  |  Branch (8042:33): [True: 16, False: 650]
  ------------------
 8043|     16|                                continue;
 8044|       |
 8045|  1.95k|                            for (int extraProj = 0; extraProj <= 1; ++extraProj) {
  ------------------
  |  Branch (8045:53): [True: 1.30k, False: 650]
  ------------------
 8046|  1.30k|                                bool compare = false;
 8047|  1.30k|                                int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8047:72): [True: 328, False: 972]
  ------------------
 8048|       |                                // skip dummy unused second component for 1D non-array shadows
 8049|  1.30k|                                if (sampler.shadow && totalDims < 2)
  ------------------
  |  Branch (8049:37): [True: 228, False: 1.07k]
  |  Branch (8049:55): [True: 64, False: 164]
  ------------------
 8050|     64|                                    totalDims = 2;
 8051|  1.30k|                                totalDims += (sampler.shadow ? 1 : 0) + proj;
  ------------------
  |  Branch (8051:47): [True: 228, False: 1.07k]
  ------------------
 8052|  1.30k|                                if (totalDims > 4 && sampler.shadow) {
  ------------------
  |  Branch (8052:37): [True: 8, False: 1.29k]
  |  Branch (8052:54): [True: 8, False: 0]
  ------------------
 8053|      8|                                    compare = true;
 8054|      8|                                    totalDims = 4;
 8055|      8|                                }
 8056|  1.30k|                                assert(totalDims <= 4);
 8057|       |
 8058|  1.30k|                                if (extraProj && ! proj)
  ------------------
  |  Branch (8058:37): [True: 650, False: 650]
  |  Branch (8058:50): [True: 450, False: 200]
  ------------------
 8059|    450|                                    continue;
 8060|    850|                                if (extraProj && (sampler.dim == Esd3D || sampler.shadow || !sampler.isCombined()))
  ------------------
  |  Branch (8060:37): [True: 200, False: 650]
  |  Branch (8060:51): [True: 44, False: 156]
  |  Branch (8060:75): [True: 40, False: 116]
  |  Branch (8060:93): [True: 0, False: 116]
  ------------------
 8061|     84|                                    continue;
 8062|       |
 8063|       |                                // loop over 16-bit floating-point texel addressing
 8064|  2.29k|                                for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr)
  ------------------
  |  Branch (8064:58): [True: 1.53k, False: 766]
  ------------------
 8065|  1.53k|                                {
 8066|  1.53k|                                    if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8066:41): [True: 766, False: 766]
  |  Branch (8066:55): [True: 546, False: 220]
  ------------------
 8067|    546|                                        continue;
 8068|    986|                                    if (f16TexAddr && sampler.shadow && ! compare) {
  ------------------
  |  Branch (8068:41): [True: 220, False: 766]
  |  Branch (8068:55): [True: 57, False: 163]
  |  Branch (8068:73): [True: 55, False: 2]
  ------------------
 8069|     55|                                        compare = true; // compare argument is always present
 8070|     55|                                        totalDims--;
 8071|     55|                                    }
 8072|       |                                    // loop over "bool" lod clamp
 8073|  2.95k|                                    for (int lodClamp = 0; lodClamp <= 1 ;++lodClamp)
  ------------------
  |  Branch (8073:60): [True: 1.97k, False: 986]
  ------------------
 8074|  1.97k|                                    {
 8075|  1.97k|                                        if (lodClamp && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8075:45): [True: 986, False: 986]
  |  Branch (8075:58): [True: 0, False: 986]
  |  Branch (8075:83): [True: 0, False: 986]
  ------------------
 8076|      0|                                            continue;
 8077|  1.97k|                                        if (lodClamp && (proj || lod || fetch))
  ------------------
  |  Branch (8077:45): [True: 986, False: 986]
  |  Branch (8077:58): [True: 405, False: 581]
  |  Branch (8077:66): [True: 78, False: 503]
  |  Branch (8077:73): [True: 210, False: 293]
  ------------------
 8078|    693|                                            continue;
 8079|       |
 8080|       |                                        // loop over "bool" sparse or not
 8081|  3.83k|                                        for (int sparse = 0; sparse <= 1; ++sparse)
  ------------------
  |  Branch (8081:62): [True: 2.55k, False: 1.27k]
  ------------------
 8082|  2.55k|                                        {
 8083|  2.55k|                                            if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8083:49): [True: 1.27k, False: 1.27k]
  |  Branch (8083:60): [True: 0, False: 1.27k]
  |  Branch (8083:85): [True: 0, False: 1.27k]
  ------------------
 8084|      0|                                                continue;
 8085|       |                                            // Sparse sampling is not for 1D/1D array texture, buffer texture, and
 8086|       |                                            // projective texture
 8087|  2.55k|                                            if (sparse && (sampler.is1D() || sampler.isBuffer() || proj))
  ------------------
  |  Branch (8087:49): [True: 1.27k, False: 1.27k]
  |  Branch (8087:60): [True: 418, False: 861]
  |  Branch (8087:78): [True: 10, False: 851]
  |  Branch (8087:100): [True: 271, False: 580]
  ------------------
 8088|    699|                                                continue;
 8089|       |
 8090|  1.85k|                                            TString s;
 8091|       |
 8092|       |                                            // return type
 8093|  1.85k|                                            if (sparse)
  ------------------
  |  Branch (8093:49): [True: 580, False: 1.27k]
  ------------------
 8094|    580|                                                s.append("int ");
 8095|  1.27k|                                            else {
 8096|  1.27k|                                                if (sampler.shadow)
  ------------------
  |  Branch (8096:53): [True: 264, False: 1.01k]
  ------------------
 8097|    264|                                                    if (sampler.type == EbtFloat16)
  ------------------
  |  Branch (8097:57): [True: 176, False: 88]
  ------------------
 8098|    176|                                                        s.append("float16_t ");
 8099|     88|                                                    else
 8100|     88|                                                        s.append("float ");
 8101|  1.01k|                                                else {
 8102|  1.01k|                                                    s.append(prefixes[sampler.type]);
 8103|  1.01k|                                                    s.append("vec4 ");
 8104|  1.01k|                                                }
 8105|  1.27k|                                            }
 8106|       |
 8107|       |                                            // name
 8108|  1.85k|                                            if (sparse) {
  ------------------
  |  Branch (8108:49): [True: 580, False: 1.27k]
  ------------------
 8109|    580|                                                if (fetch)
  ------------------
  |  Branch (8109:53): [True: 140, False: 440]
  ------------------
 8110|    140|                                                    s.append("sparseTexel");
 8111|    440|                                                else
 8112|    440|                                                    s.append("sparseTexture");
 8113|    580|                                            }
 8114|  1.27k|                                            else {
 8115|  1.27k|                                                if (fetch)
  ------------------
  |  Branch (8115:53): [True: 315, False: 964]
  ------------------
 8116|    315|                                                    s.append("texel");
 8117|    964|                                                else
 8118|    964|                                                    s.append("texture");
 8119|  1.27k|                                            }
 8120|  1.85k|                                            if (proj)
  ------------------
  |  Branch (8120:49): [True: 405, False: 1.45k]
  ------------------
 8121|    405|                                                s.append("Proj");
 8122|  1.85k|                                            if (lod)
  ------------------
  |  Branch (8122:49): [True: 186, False: 1.67k]
  ------------------
 8123|    186|                                                s.append("Lod");
 8124|  1.85k|                                            if (grad)
  ------------------
  |  Branch (8124:49): [True: 583, False: 1.27k]
  ------------------
 8125|    583|                                                s.append("Grad");
 8126|  1.85k|                                            if (fetch)
  ------------------
  |  Branch (8126:49): [True: 455, False: 1.40k]
  ------------------
 8127|    455|                                                s.append("Fetch");
 8128|  1.85k|                                            if (offset)
  ------------------
  |  Branch (8128:49): [True: 787, False: 1.07k]
  ------------------
 8129|    787|                                                s.append("Offset");
 8130|  1.85k|                                            if (lodClamp)
  ------------------
  |  Branch (8130:49): [True: 490, False: 1.36k]
  ------------------
 8131|    490|                                                s.append("Clamp");
 8132|  1.85k|                                            if (lodClamp != 0 || sparse)
  ------------------
  |  Branch (8132:49): [True: 490, False: 1.36k]
  |  Branch (8132:66): [True: 383, False: 986]
  ------------------
 8133|    873|                                                s.append("ARB");
 8134|  1.85k|                                            s.append("(");
 8135|       |
 8136|       |                                            // sampler type
 8137|  1.85k|                                            s.append(typeName);
 8138|       |                                            // P coordinate
 8139|  1.85k|                                            if (extraProj) {
  ------------------
  |  Branch (8139:49): [True: 145, False: 1.71k]
  ------------------
 8140|    145|                                                if (f16TexAddr)
  ------------------
  |  Branch (8140:53): [True: 29, False: 116]
  ------------------
 8141|     29|                                                    s.append(",f16vec4");
 8142|    116|                                                else
 8143|    116|                                                    s.append(",vec4");
 8144|  1.71k|                                            } else {
 8145|  1.71k|                                                s.append(",");
 8146|  1.71k|                                                TBasicType t = fetch ? EbtInt : (f16TexAddr ? EbtFloat16 : EbtFloat);
  ------------------
  |  Branch (8146:64): [True: 410, False: 1.30k]
  |  Branch (8146:82): [True: 312, False: 992]
  ------------------
 8147|  1.71k|                                                if (totalDims == 1)
  ------------------
  |  Branch (8147:53): [True: 110, False: 1.60k]
  ------------------
 8148|    110|                                                    s.append(TType::getBasicString(t));
 8149|  1.60k|                                                else {
 8150|  1.60k|                                                    s.append(prefixes[t]);
 8151|  1.60k|                                                    s.append("vec");
 8152|  1.60k|                                                    s.append(postfixes[totalDims]);
 8153|  1.60k|                                                }
 8154|  1.71k|                                            }
 8155|       |                                            // non-optional compare
 8156|  1.85k|                                            if (compare)
  ------------------
  |  Branch (8156:49): [True: 144, False: 1.71k]
  ------------------
 8157|    144|                                                s.append(",float");
 8158|       |
 8159|       |                                            // non-optional lod argument (lod that's not driven by lod loop) or sample
 8160|  1.85k|                                            if ((fetch && !sampler.isBuffer() &&
  ------------------
  |  Branch (8160:50): [True: 455, False: 1.40k]
  |  Branch (8160:59): [True: 445, False: 10]
  ------------------
 8161|    445|                                                 !sampler.isRect() && !sampler.isMultiSample())
  ------------------
  |  Branch (8161:50): [True: 355, False: 90]
  |  Branch (8161:71): [True: 315, False: 40]
  ------------------
 8162|  1.54k|                                                 || (sampler.isMultiSample() && fetch))
  ------------------
  |  Branch (8162:54): [True: 40, False: 1.50k]
  |  Branch (8162:81): [True: 40, False: 0]
  ------------------
 8163|    355|                                                s.append(",int");
 8164|       |                                            // non-optional lod
 8165|  1.85k|                                            if (lod) {
  ------------------
  |  Branch (8165:49): [True: 186, False: 1.67k]
  ------------------
 8166|    186|                                                if (f16TexAddr)
  ------------------
  |  Branch (8166:53): [True: 42, False: 144]
  ------------------
 8167|     42|                                                    s.append(",float16_t");
 8168|    144|                                                else
 8169|    144|                                                    s.append(",float");
 8170|    186|                                            }
 8171|       |
 8172|       |                                            // gradient arguments
 8173|  1.85k|                                            if (grad) {
  ------------------
  |  Branch (8173:49): [True: 583, False: 1.27k]
  ------------------
 8174|    583|                                                if (dimMap[sampler.dim] == 1) {
  ------------------
  |  Branch (8174:53): [True: 120, False: 463]
  ------------------
 8175|    120|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8175:57): [True: 28, False: 92]
  ------------------
 8176|     28|                                                        s.append(",float16_t,float16_t");
 8177|     92|                                                    else
 8178|     92|                                                        s.append(",float,float");
 8179|    463|                                                } else {
 8180|    463|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8180:57): [True: 107, False: 356]
  ------------------
 8181|    107|                                                        s.append(",f16vec");
 8182|    356|                                                    else
 8183|    356|                                                        s.append(",vec");
 8184|    463|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8185|    463|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8185:57): [True: 107, False: 356]
  ------------------
 8186|    107|                                                        s.append(",f16vec");
 8187|    356|                                                    else
 8188|    356|                                                        s.append(",vec");
 8189|    463|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8190|    463|                                                }
 8191|    583|                                            }
 8192|       |                                            // offset
 8193|  1.85k|                                            if (offset) {
  ------------------
  |  Branch (8193:49): [True: 787, False: 1.07k]
  ------------------
 8194|    787|                                                if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (8194:53): [True: 204, False: 583]
  ------------------
 8195|    204|                                                    s.append(",int");
 8196|    583|                                                else {
 8197|    583|                                                    s.append(",ivec");
 8198|    583|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8199|    583|                                                }
 8200|    787|                                            }
 8201|       |
 8202|       |                                            // lod clamp
 8203|  1.85k|                                            if (lodClamp) {
  ------------------
  |  Branch (8203:49): [True: 490, False: 1.36k]
  ------------------
 8204|    490|                                                if (f16TexAddr)
  ------------------
  |  Branch (8204:53): [True: 118, False: 372]
  ------------------
 8205|    118|                                                    s.append(",float16_t");
 8206|    372|                                                else
 8207|    372|                                                    s.append(",float");
 8208|    490|                                            }
 8209|       |                                            // texel out (for sparse texture)
 8210|  1.85k|                                            if (sparse) {
  ------------------
  |  Branch (8210:49): [True: 580, False: 1.27k]
  ------------------
 8211|    580|                                                s.append(",out ");
 8212|    580|                                                if (sampler.shadow)
  ------------------
  |  Branch (8212:53): [True: 120, False: 460]
  ------------------
 8213|    120|                                                    if (sampler.type == EbtFloat16)
  ------------------
  |  Branch (8213:57): [True: 80, False: 40]
  ------------------
 8214|     80|                                                        s.append("float16_t");
 8215|     40|                                                    else
 8216|     40|                                                        s.append("float");
 8217|    460|                                                else {
 8218|    460|                                                    s.append(prefixes[sampler.type]);
 8219|    460|                                                    s.append("vec4");
 8220|    460|                                                }
 8221|    580|                                            }
 8222|       |                                            // optional bias
 8223|  1.85k|                                            if (bias) {
  ------------------
  |  Branch (8223:49): [True: 322, False: 1.53k]
  ------------------
 8224|    322|                                                if (f16TexAddr)
  ------------------
  |  Branch (8224:53): [True: 74, False: 248]
  ------------------
 8225|     74|                                                    s.append(",float16_t");
 8226|    248|                                                else
 8227|    248|                                                    s.append(",float");
 8228|    322|                                            }
 8229|  1.85k|                                            s.append(");\n");
 8230|       |
 8231|       |                                            // Add to the per-language set of built-ins
 8232|  1.85k|                                            if (!grad && (bias || lodClamp != 0)) {
  ------------------
  |  Branch (8232:49): [True: 1.27k, False: 583]
  |  Branch (8232:59): [True: 322, False: 954]
  |  Branch (8232:67): [True: 180, False: 774]
  ------------------
 8233|    502|                                                stageBuiltins[EShLangFragment].append(s);
 8234|    502|                                                stageBuiltins[EShLangCompute].append(s);
 8235|    502|                                            } else
 8236|  1.35k|                                                commonBuiltins.append(s);
 8237|       |
 8238|  1.85k|                                        }
 8239|  1.27k|                                    }
 8240|    986|                                }
 8241|    766|                            }
 8242|    650|                        }
 8243|    462|                    }
 8244|    390|                }
 8245|    226|            }
 8246|    174|        }
 8247|    124|    }
 8248|    102|}
_ZN7glslang9TBuiltIns18addGatherFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 8257|     58|{
 8258|     58|    switch (sampler.dim) {
 8259|     20|    case Esd2D:
  ------------------
  |  Branch (8259:5): [True: 20, False: 38]
  ------------------
 8260|     26|    case EsdRect:
  ------------------
  |  Branch (8260:5): [True: 6, False: 52]
  ------------------
 8261|     38|    case EsdCube:
  ------------------
  |  Branch (8261:5): [True: 12, False: 46]
  ------------------
 8262|     38|        break;
 8263|     20|    default:
  ------------------
  |  Branch (8263:5): [True: 20, False: 38]
  ------------------
 8264|     20|        return;
 8265|     58|    }
 8266|       |
 8267|     38|    if (sampler.isMultiSample())
  ------------------
  |  Branch (8267:9): [True: 8, False: 30]
  ------------------
 8268|      8|        return;
 8269|       |
 8270|     30|    if (version < 140 && sampler.dim == EsdRect && sampler.type != EbtFloat)
  ------------------
  |  Branch (8270:9): [True: 0, False: 30]
  |  Branch (8270:26): [True: 0, False: 0]
  |  Branch (8270:52): [True: 0, False: 0]
  ------------------
 8271|      0|        return;
 8272|       |
 8273|     90|    for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr) { // loop over 16-bit floating-point texel addressing
  ------------------
  |  Branch (8273:30): [True: 60, False: 30]
  ------------------
 8274|       |
 8275|     60|        if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8275:13): [True: 30, False: 30]
  |  Branch (8275:27): [True: 20, False: 10]
  ------------------
 8276|     20|            continue;
 8277|    160|        for (int offset = 0; offset < 3; ++offset) { // loop over three forms of offset in the call name:  none, Offset, and Offsets
  ------------------
  |  Branch (8277:30): [True: 120, False: 40]
  ------------------
 8278|       |
 8279|    360|            for (int comp = 0; comp < 2; ++comp) { // loop over presence of comp argument
  ------------------
  |  Branch (8279:32): [True: 240, False: 120]
  ------------------
 8280|       |
 8281|    240|                if (comp > 0 && sampler.shadow)
  ------------------
  |  Branch (8281:21): [True: 120, False: 120]
  |  Branch (8281:33): [True: 45, False: 75]
  ------------------
 8282|     45|                    continue;
 8283|       |
 8284|    195|                if (offset > 0 && sampler.dim == EsdCube)
  ------------------
  |  Branch (8284:21): [True: 130, False: 65]
  |  Branch (8284:35): [True: 52, False: 78]
  ------------------
 8285|     52|                    continue;
 8286|       |
 8287|    429|                for (int sparse = 0; sparse <= 1; ++sparse) { // loop over "bool" sparse or not
  ------------------
  |  Branch (8287:38): [True: 286, False: 143]
  ------------------
 8288|    286|                    if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8288:25): [True: 143, False: 143]
  |  Branch (8288:36): [True: 0, False: 143]
  |  Branch (8288:61): [True: 0, False: 143]
  ------------------
 8289|      0|                        continue;
 8290|       |
 8291|    286|                    TString s;
 8292|       |
 8293|       |                    // return type
 8294|    286|                    if (sparse)
  ------------------
  |  Branch (8294:25): [True: 143, False: 143]
  ------------------
 8295|    143|                        s.append("int ");
 8296|    143|                    else {
 8297|    143|                        s.append(prefixes[sampler.type]);
 8298|    143|                        s.append("vec4 ");
 8299|    143|                    }
 8300|       |
 8301|       |                    // name
 8302|    286|                    if (sparse)
  ------------------
  |  Branch (8302:25): [True: 143, False: 143]
  ------------------
 8303|    143|                        s.append("sparseTextureGather");
 8304|    143|                    else
 8305|    143|                        s.append("textureGather");
 8306|    286|                    switch (offset) {
 8307|     78|                    case 1:
  ------------------
  |  Branch (8307:21): [True: 78, False: 208]
  ------------------
 8308|     78|                        s.append("Offset");
 8309|     78|                        break;
 8310|     78|                    case 2:
  ------------------
  |  Branch (8310:21): [True: 78, False: 208]
  ------------------
 8311|     78|                        s.append("Offsets");
 8312|     78|                        break;
 8313|    130|                    default:
  ------------------
  |  Branch (8313:21): [True: 130, False: 156]
  ------------------
 8314|    130|                        break;
 8315|    286|                    }
 8316|    286|                    if (sparse)
  ------------------
  |  Branch (8316:25): [True: 143, False: 143]
  ------------------
 8317|    143|                        s.append("ARB");
 8318|    286|                    s.append("(");
 8319|       |
 8320|       |                    // sampler type argument
 8321|    286|                    s.append(typeName);
 8322|       |
 8323|       |                    // P coordinate argument
 8324|    286|                    if (f16TexAddr)
  ------------------
  |  Branch (8324:25): [True: 66, False: 220]
  ------------------
 8325|     66|                        s.append(",f16vec");
 8326|    220|                    else
 8327|    220|                        s.append(",vec");
 8328|    286|                    int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8328:60): [True: 104, False: 182]
  ------------------
 8329|    286|                    s.append(postfixes[totalDims]);
 8330|       |
 8331|       |                    // refZ argument
 8332|    286|                    if (sampler.shadow)
  ------------------
  |  Branch (8332:25): [True: 66, False: 220]
  ------------------
 8333|     66|                        s.append(",float");
 8334|       |
 8335|       |                    // offset argument
 8336|    286|                    if (offset > 0) {
  ------------------
  |  Branch (8336:25): [True: 156, False: 130]
  ------------------
 8337|    156|                        s.append(",ivec2");
 8338|    156|                        if (offset == 2)
  ------------------
  |  Branch (8338:29): [True: 78, False: 78]
  ------------------
 8339|     78|                            s.append("[4]");
 8340|    156|                    }
 8341|       |
 8342|       |                    // texel out (for sparse texture)
 8343|    286|                    if (sparse) {
  ------------------
  |  Branch (8343:25): [True: 143, False: 143]
  ------------------
 8344|    143|                        s.append(",out ");
 8345|    143|                        s.append(prefixes[sampler.type]);
 8346|    143|                        s.append("vec4 ");
 8347|    143|                    }
 8348|       |
 8349|       |                    // comp argument
 8350|    286|                    if (comp)
  ------------------
  |  Branch (8350:25): [True: 110, False: 176]
  ------------------
 8351|    110|                        s.append(",int");
 8352|       |
 8353|    286|                    s.append(");\n");
 8354|    286|                    commonBuiltins.append(s);
 8355|    286|                }
 8356|    143|            }
 8357|    120|        }
 8358|     40|    }
 8359|       |
 8360|     30|    if (sampler.dim == EsdRect || sampler.shadow)
  ------------------
  |  Branch (8360:9): [True: 6, False: 24]
  |  Branch (8360:35): [True: 8, False: 16]
  ------------------
 8361|     14|        return;
 8362|       |
 8363|     16|    if (profile == EEsProfile || version < 450)
  ------------------
  |  Branch (8363:9): [True: 0, False: 16]
  |  Branch (8363:34): [True: 0, False: 16]
  ------------------
 8364|      0|        return;
 8365|       |
 8366|     48|    for (int bias = 0; bias < 2; ++bias) { // loop over presence of bias argument
  ------------------
  |  Branch (8366:24): [True: 32, False: 16]
  ------------------
 8367|       |
 8368|     96|        for (int lod = 0; lod < 2; ++lod) { // loop over presence of lod argument
  ------------------
  |  Branch (8368:27): [True: 64, False: 32]
  ------------------
 8369|       |
 8370|     64|            if ((lod && bias) || (lod == 0 && bias == 0))
  ------------------
  |  Branch (8370:18): [True: 32, False: 32]
  |  Branch (8370:25): [True: 16, False: 16]
  |  Branch (8370:35): [True: 32, False: 16]
  |  Branch (8370:47): [True: 16, False: 16]
  ------------------
 8371|     32|                continue;
 8372|       |
 8373|     96|            for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr) { // loop over 16-bit floating-point texel addressing
  ------------------
  |  Branch (8373:38): [True: 64, False: 32]
  ------------------
 8374|       |
 8375|     64|                if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8375:21): [True: 32, False: 32]
  |  Branch (8375:35): [True: 24, False: 8]
  ------------------
 8376|     24|                    continue;
 8377|       |
 8378|    160|                for (int offset = 0; offset < 3; ++offset) { // loop over three forms of offset in the call name:  none, Offset, and Offsets
  ------------------
  |  Branch (8378:38): [True: 120, False: 40]
  ------------------
 8379|       |
 8380|    360|                    for (int comp = 0; comp < 2; ++comp) { // loop over presence of comp argument
  ------------------
  |  Branch (8380:40): [True: 240, False: 120]
  ------------------
 8381|       |
 8382|    240|                        if (comp == 0 && bias)
  ------------------
  |  Branch (8382:29): [True: 120, False: 120]
  |  Branch (8382:42): [True: 60, False: 60]
  ------------------
 8383|     60|                            continue;
 8384|       |
 8385|    180|                        if (offset > 0 && sampler.dim == EsdCube)
  ------------------
  |  Branch (8385:29): [True: 120, False: 60]
  |  Branch (8385:43): [True: 60, False: 60]
  ------------------
 8386|     60|                            continue;
 8387|       |
 8388|    360|                        for (int sparse = 0; sparse <= 1; ++sparse) { // loop over "bool" sparse or not
  ------------------
  |  Branch (8388:46): [True: 240, False: 120]
  ------------------
 8389|    240|                            if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8389:33): [True: 120, False: 120]
  |  Branch (8389:44): [True: 0, False: 120]
  |  Branch (8389:69): [True: 0, False: 120]
  ------------------
 8390|      0|                                continue;
 8391|       |
 8392|    240|                            TString s;
 8393|       |
 8394|       |                            // return type
 8395|    240|                            if (sparse)
  ------------------
  |  Branch (8395:33): [True: 120, False: 120]
  ------------------
 8396|    120|                                s.append("int ");
 8397|    120|                            else {
 8398|    120|                                s.append(prefixes[sampler.type]);
 8399|    120|                                s.append("vec4 ");
 8400|    120|                            }
 8401|       |
 8402|       |                            // name
 8403|    240|                            if (sparse)
  ------------------
  |  Branch (8403:33): [True: 120, False: 120]
  ------------------
 8404|    120|                                s.append("sparseTextureGather");
 8405|    120|                            else
 8406|    120|                                s.append("textureGather");
 8407|       |
 8408|    240|                            if (lod)
  ------------------
  |  Branch (8408:33): [True: 160, False: 80]
  ------------------
 8409|    160|                                s.append("Lod");
 8410|       |
 8411|    240|                            switch (offset) {
 8412|     60|                            case 1:
  ------------------
  |  Branch (8412:29): [True: 60, False: 180]
  ------------------
 8413|     60|                                s.append("Offset");
 8414|     60|                                break;
 8415|     60|                            case 2:
  ------------------
  |  Branch (8415:29): [True: 60, False: 180]
  ------------------
 8416|     60|                                s.append("Offsets");
 8417|     60|                                break;
 8418|    120|                            default:
  ------------------
  |  Branch (8418:29): [True: 120, False: 120]
  ------------------
 8419|    120|                                break;
 8420|    240|                            }
 8421|       |
 8422|    240|                            if (lod)
  ------------------
  |  Branch (8422:33): [True: 160, False: 80]
  ------------------
 8423|    160|                                s.append("AMD");
 8424|     80|                            else if (sparse)
  ------------------
  |  Branch (8424:38): [True: 40, False: 40]
  ------------------
 8425|     40|                                s.append("ARB");
 8426|       |
 8427|    240|                            s.append("(");
 8428|       |
 8429|       |                            // sampler type argument
 8430|    240|                            s.append(typeName);
 8431|       |
 8432|       |                            // P coordinate argument
 8433|    240|                            if (f16TexAddr)
  ------------------
  |  Branch (8433:33): [True: 48, False: 192]
  ------------------
 8434|     48|                                s.append(",f16vec");
 8435|    192|                            else
 8436|    192|                                s.append(",vec");
 8437|    240|                            int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8437:68): [True: 120, False: 120]
  ------------------
 8438|    240|                            s.append(postfixes[totalDims]);
 8439|       |
 8440|       |                            // lod argument
 8441|    240|                            if (lod) {
  ------------------
  |  Branch (8441:33): [True: 160, False: 80]
  ------------------
 8442|    160|                                if (f16TexAddr)
  ------------------
  |  Branch (8442:37): [True: 32, False: 128]
  ------------------
 8443|     32|                                    s.append(",float16_t");
 8444|    128|                                else
 8445|    128|                                    s.append(",float");
 8446|    160|                            }
 8447|       |
 8448|       |                            // offset argument
 8449|    240|                            if (offset > 0) {
  ------------------
  |  Branch (8449:33): [True: 120, False: 120]
  ------------------
 8450|    120|                                s.append(",ivec2");
 8451|    120|                                if (offset == 2)
  ------------------
  |  Branch (8451:37): [True: 60, False: 60]
  ------------------
 8452|     60|                                    s.append("[4]");
 8453|    120|                            }
 8454|       |
 8455|       |                            // texel out (for sparse texture)
 8456|    240|                            if (sparse) {
  ------------------
  |  Branch (8456:33): [True: 120, False: 120]
  ------------------
 8457|    120|                                s.append(",out ");
 8458|    120|                                s.append(prefixes[sampler.type]);
 8459|    120|                                s.append("vec4 ");
 8460|    120|                            }
 8461|       |
 8462|       |                            // comp argument
 8463|    240|                            if (comp)
  ------------------
  |  Branch (8463:33): [True: 160, False: 80]
  ------------------
 8464|    160|                                s.append(",int");
 8465|       |
 8466|       |                            // bias argument
 8467|    240|                            if (bias) {
  ------------------
  |  Branch (8467:33): [True: 80, False: 160]
  ------------------
 8468|     80|                                if (f16TexAddr)
  ------------------
  |  Branch (8468:37): [True: 16, False: 64]
  ------------------
 8469|     16|                                    s.append(",float16_t");
 8470|     64|                                else
 8471|     64|                                    s.append(",float");
 8472|     80|                            }
 8473|       |
 8474|    240|                            s.append(");\n");
 8475|    240|                            if (bias) {
  ------------------
  |  Branch (8475:33): [True: 80, False: 160]
  ------------------
 8476|     80|                                stageBuiltins[EShLangFragment].append(s);
 8477|     80|                                stageBuiltins[EShLangCompute].append(s);
 8478|     80|                                stageBuiltins[EShLangTask].append(s);
 8479|     80|                                stageBuiltins[EShLangMesh].append(s);
 8480|     80|                            } else
 8481|    160|                                commonBuiltins.append(s);
 8482|    240|                        }
 8483|    120|                    }
 8484|    120|                }
 8485|     40|            }
 8486|     32|        }
 8487|     32|    }
 8488|     16|}
_ZN7glslang9TBuiltIns22addGatherFunctionsQCOMEv:
 8491|      1|{
 8492|      1|    const TBasicType bTypes[] = { EbtFloat, EbtInt, EbtUint };
 8493|      1|    const TSamplerDim sDims[] = { Esd2D };
 8494|      1|    const TString modes[] = { "4x1", "V2", "H2", "D" };
 8495|      3|    for (size_t arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (8495:30): [True: 2, False: 1]
  ------------------
 8496|      4|        for (size_t dimIdx = 0; dimIdx < std::size(sDims); ++dimIdx) {
  ------------------
  |  Branch (8496:33): [True: 2, False: 2]
  ------------------
 8497|      2|            int dim = sDims[dimIdx];
 8498|       |            // Loop over the bTypes
 8499|      8|            for (size_t bType = 0; bType < std::size(bTypes); ++bType) {
  ------------------
  |  Branch (8499:36): [True: 6, False: 2]
  ------------------
 8500|     30|                for (size_t mode = 0; mode < std::size(modes); ++mode) {
  ------------------
  |  Branch (8500:39): [True: 24, False: 6]
  ------------------
 8501|       |                    // loop over two forms of offset in the call name:  none, and Offset
 8502|     72|                    for (int offset = 0; offset < 2; ++offset) {
  ------------------
  |  Branch (8502:42): [True: 48, False: 24]
  ------------------
 8503|    144|                        for (int comp = 0; comp < 2; ++comp) {
  ------------------
  |  Branch (8503:44): [True: 96, False: 48]
  ------------------
 8504|       |                            //
 8505|       |                            // Now, make all the function prototypes for the type we just built...
 8506|       |                            //
 8507|     96|                            TSampler sampler;
 8508|     96|                            sampler.set(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false, false, false);
  ------------------
  |  Branch (8508:74): [True: 48, False: 48]
  ------------------
 8509|     96|                            TString typeName = sampler.getString().c_str();
 8510|       |
 8511|     96|                            TString s;
 8512|     96|                            s.append(prefixes[sampler.type]);
 8513|     96|                            s.append("vec4 textureGather");
 8514|     96|                            s.append(modes[mode]);
 8515|       |
 8516|     96|                            if (offset == 1)
  ------------------
  |  Branch (8516:33): [True: 48, False: 48]
  ------------------
 8517|     48|                                s.append("Offset");
 8518|       |
 8519|     96|                            s.append("QCOM(");
 8520|     96|                            s.append(typeName);
 8521|     96|                            s.append(", vec");
 8522|     96|                            int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8522:68): [True: 48, False: 48]
  ------------------
 8523|     96|                            s.append(postfixes[totalDims]);
 8524|       |
 8525|       |                            // offset argument
 8526|     96|                            if (offset == 1)
  ------------------
  |  Branch (8526:33): [True: 48, False: 48]
  ------------------
 8527|     48|                                s.append(", ivec2");
 8528|       |
 8529|     96|                            if (comp)
  ------------------
  |  Branch (8529:33): [True: 48, False: 48]
  ------------------
 8530|     48|                                s.append(", int");
 8531|     96|                            s.append(");\n");
 8532|     96|                            commonBuiltins.append(s);
 8533|     96|                        }
 8534|     48|                    }
 8535|     24|                }
 8536|      6|            }
 8537|      2|        }
 8538|      2|    }
 8539|      1|}
_ZN7glslang9TBuiltIns10initializeERK16TBuiltInResourcei8EProfileRKNS_10SpvVersionE11EShLanguage:
 8549|     36|{
 8550|       |    //
 8551|       |    // Initialize the context-dependent (resource-dependent) built-in strings for parsing.
 8552|       |    //
 8553|       |
 8554|       |    //============================================================================
 8555|       |    //
 8556|       |    // Standard Uniforms
 8557|       |    //
 8558|       |    //============================================================================
 8559|       |
 8560|     36|    TString& s = commonBuiltins;
 8561|     36|    const int maxSize = 200;
 8562|     36|    char builtInConstant[maxSize];
 8563|       |
 8564|       |    //
 8565|       |    // Build string of implementation dependent constants.
 8566|       |    //
 8567|       |
 8568|     36|    if (profile == EEsProfile) {
  ------------------
  |  Branch (8568:9): [True: 36, False: 0]
  ------------------
 8569|     36|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexAttribs = %d;", resources.maxVertexAttribs);
 8570|     36|        s.append(builtInConstant);
 8571|       |
 8572|     36|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexUniformVectors = %d;", resources.maxVertexUniformVectors);
 8573|     36|        s.append(builtInConstant);
 8574|       |
 8575|     36|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexTextureImageUnits = %d;", resources.maxVertexTextureImageUnits);
 8576|     36|        s.append(builtInConstant);
 8577|       |
 8578|     36|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxCombinedTextureImageUnits = %d;", resources.maxCombinedTextureImageUnits);
 8579|     36|        s.append(builtInConstant);
 8580|       |
 8581|     36|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxTextureImageUnits = %d;", resources.maxTextureImageUnits);
 8582|     36|        s.append(builtInConstant);
 8583|       |
 8584|     36|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxFragmentUniformVectors = %d;", resources.maxFragmentUniformVectors);
 8585|     36|        s.append(builtInConstant);
 8586|       |
 8587|     36|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxDrawBuffers = %d;", resources.maxDrawBuffers);
 8588|     36|        s.append(builtInConstant);
 8589|       |
 8590|     36|        if (version == 100) {
  ------------------
  |  Branch (8590:13): [True: 36, False: 0]
  ------------------
 8591|     36|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVaryingVectors = %d;", resources.maxVaryingVectors);
 8592|     36|            s.append(builtInConstant);
 8593|     36|        } else {
 8594|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexOutputVectors = %d;", resources.maxVertexOutputVectors);
 8595|      0|            s.append(builtInConstant);
 8596|       |
 8597|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxFragmentInputVectors = %d;", resources.maxFragmentInputVectors);
 8598|      0|            s.append(builtInConstant);
 8599|       |
 8600|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MinProgramTexelOffset = %d;", resources.minProgramTexelOffset);
 8601|      0|            s.append(builtInConstant);
 8602|       |
 8603|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxProgramTexelOffset = %d;", resources.maxProgramTexelOffset);
 8604|      0|            s.append(builtInConstant);
 8605|      0|        }
 8606|       |
 8607|     36|        if (version >= 310) {
  ------------------
  |  Branch (8607:13): [True: 0, False: 36]
  ------------------
 8608|       |            // geometry
 8609|       |
 8610|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryInputComponents = %d;", resources.maxGeometryInputComponents);
 8611|      0|            s.append(builtInConstant);
 8612|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputComponents = %d;", resources.maxGeometryOutputComponents);
 8613|      0|            s.append(builtInConstant);
 8614|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryImageUniforms = %d;", resources.maxGeometryImageUniforms);
 8615|      0|            s.append(builtInConstant);
 8616|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTextureImageUnits = %d;", resources.maxGeometryTextureImageUnits);
 8617|      0|            s.append(builtInConstant);
 8618|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputVertices = %d;", resources.maxGeometryOutputVertices);
 8619|      0|            s.append(builtInConstant);
 8620|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTotalOutputComponents = %d;", resources.maxGeometryTotalOutputComponents);
 8621|      0|            s.append(builtInConstant);
 8622|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryUniformComponents = %d;", resources.maxGeometryUniformComponents);
 8623|      0|            s.append(builtInConstant);
 8624|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounters = %d;", resources.maxGeometryAtomicCounters);
 8625|      0|            s.append(builtInConstant);
 8626|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounterBuffers = %d;", resources.maxGeometryAtomicCounterBuffers);
 8627|      0|            s.append(builtInConstant);
 8628|       |
 8629|       |            // tessellation
 8630|       |
 8631|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlInputComponents = %d;", resources.maxTessControlInputComponents);
 8632|      0|            s.append(builtInConstant);
 8633|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlOutputComponents = %d;", resources.maxTessControlOutputComponents);
 8634|      0|            s.append(builtInConstant);
 8635|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTextureImageUnits = %d;", resources.maxTessControlTextureImageUnits);
 8636|      0|            s.append(builtInConstant);
 8637|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlUniformComponents = %d;", resources.maxTessControlUniformComponents);
 8638|      0|            s.append(builtInConstant);
 8639|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTotalOutputComponents = %d;", resources.maxTessControlTotalOutputComponents);
 8640|      0|            s.append(builtInConstant);
 8641|       |
 8642|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationInputComponents = %d;", resources.maxTessEvaluationInputComponents);
 8643|      0|            s.append(builtInConstant);
 8644|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationOutputComponents = %d;", resources.maxTessEvaluationOutputComponents);
 8645|      0|            s.append(builtInConstant);
 8646|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationTextureImageUnits = %d;", resources.maxTessEvaluationTextureImageUnits);
 8647|      0|            s.append(builtInConstant);
 8648|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationUniformComponents = %d;", resources.maxTessEvaluationUniformComponents);
 8649|      0|            s.append(builtInConstant);
 8650|       |
 8651|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessPatchComponents = %d;", resources.maxTessPatchComponents);
 8652|      0|            s.append(builtInConstant);
 8653|       |
 8654|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxPatchVertices = %d;", resources.maxPatchVertices);
 8655|      0|            s.append(builtInConstant);
 8656|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessGenLevel = %d;", resources.maxTessGenLevel);
 8657|      0|            s.append(builtInConstant);
 8658|       |
 8659|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxPatchVertices
 8660|      0|            if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (8660:17): [True: 0, False: 0]
  |  Branch (8660:51): [True: 0, False: 0]
  ------------------
 8661|      0|                s.append(
 8662|      0|                    "in gl_PerVertex {"
 8663|      0|                        "highp vec4 gl_Position;"
 8664|      0|                        "highp float gl_PointSize;"
 8665|      0|                        "highp float gl_ClipDistance[];"      // GL_EXT_clip_cull_distance
 8666|      0|                        "highp float gl_CullDistance[];"      // GL_EXT_clip_cull_distance
 8667|      0|                        "highp vec4 gl_SecondaryPositionNV;"  // GL_NV_stereo_view_rendering
 8668|      0|                        "highp vec4 gl_PositionPerViewNV[];"  // GL_NVX_multiview_per_view_attributes
 8669|      0|                    "} gl_in[gl_MaxPatchVertices];"
 8670|      0|                    "\n");
 8671|      0|            }
 8672|      0|        }
 8673|       |
 8674|     36|        if (version >= 320) {
  ------------------
  |  Branch (8674:13): [True: 0, False: 36]
  ------------------
 8675|       |            // tessellation
 8676|       |
 8677|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlImageUniforms = %d;", resources.maxTessControlImageUniforms);
 8678|      0|            s.append(builtInConstant);
 8679|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationImageUniforms = %d;", resources.maxTessEvaluationImageUniforms);
 8680|      0|            s.append(builtInConstant);
 8681|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounters = %d;", resources.maxTessControlAtomicCounters);
 8682|      0|            s.append(builtInConstant);
 8683|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounters = %d;", resources.maxTessEvaluationAtomicCounters);
 8684|      0|            s.append(builtInConstant);
 8685|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounterBuffers = %d;", resources.maxTessControlAtomicCounterBuffers);
 8686|      0|            s.append(builtInConstant);
 8687|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounterBuffers = %d;", resources.maxTessEvaluationAtomicCounterBuffers);
 8688|      0|            s.append(builtInConstant);
 8689|      0|        }
 8690|       |
 8691|     36|        if (version >= 100) {
  ------------------
  |  Branch (8691:13): [True: 36, False: 0]
  ------------------
 8692|       |            // GL_EXT_blend_func_extended
 8693|     36|            snprintf(builtInConstant, maxSize, "const mediump int gl_MaxDualSourceDrawBuffersEXT = %d;", resources.maxDualSourceDrawBuffersEXT);
 8694|     36|            s.append(builtInConstant);
 8695|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxDualSourceDrawBuffersEXT
 8696|     36|            if (language == EShLangFragment) {
  ------------------
  |  Branch (8696:17): [True: 0, False: 36]
  ------------------
 8697|      0|                s.append(
 8698|      0|                    "mediump vec4 gl_SecondaryFragColorEXT;"
 8699|      0|                    "mediump vec4 gl_SecondaryFragDataEXT[gl_MaxDualSourceDrawBuffersEXT];"
 8700|      0|                    "\n");
 8701|      0|            }
 8702|     36|        }
 8703|       |
 8704|     36|        if (version >= 300) {
  ------------------
  |  Branch (8704:13): [True: 0, False: 36]
  ------------------
 8705|       |            // GL_EXT_clip_cull_distance
 8706|      0|            snprintf(builtInConstant, maxSize, "const mediump int gl_MaxClipDistances = %d;", resources.maxClipDistances);
 8707|      0|            s.append(builtInConstant);
 8708|      0|            snprintf(builtInConstant, maxSize, "const mediump int gl_MaxCullDistances = %d;", resources.maxCullDistances);
 8709|      0|            s.append(builtInConstant);
 8710|      0|            snprintf(builtInConstant, maxSize, "const mediump int gl_MaxCombinedClipAndCullDistances = %d;", resources.maxCombinedClipAndCullDistances);
 8711|      0|            s.append(builtInConstant);
 8712|      0|        }
 8713|     36|    } else {
 8714|       |        // non-ES profile
 8715|       |
 8716|      0|        if (version > 400) {
  ------------------
  |  Branch (8716:13): [True: 0, False: 0]
  ------------------
 8717|      0|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexUniformVectors = %d;", resources.maxVertexUniformVectors);
 8718|      0|            s.append(builtInConstant);
 8719|       |
 8720|      0|            snprintf(builtInConstant, maxSize, "const int  gl_MaxFragmentUniformVectors = %d;", resources.maxFragmentUniformVectors);
 8721|      0|            s.append(builtInConstant);
 8722|       |
 8723|      0|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVaryingVectors = %d;", resources.maxVaryingVectors);
 8724|      0|            s.append(builtInConstant);
 8725|      0|        }
 8726|       |
 8727|      0|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexAttribs = %d;", resources.maxVertexAttribs);
 8728|      0|        s.append(builtInConstant);
 8729|       |
 8730|      0|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexTextureImageUnits = %d;", resources.maxVertexTextureImageUnits);
 8731|      0|        s.append(builtInConstant);
 8732|       |
 8733|      0|        snprintf(builtInConstant, maxSize, "const int  gl_MaxCombinedTextureImageUnits = %d;", resources.maxCombinedTextureImageUnits);
 8734|      0|        s.append(builtInConstant);
 8735|       |
 8736|      0|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureImageUnits = %d;", resources.maxTextureImageUnits);
 8737|      0|        s.append(builtInConstant);
 8738|       |
 8739|      0|        snprintf(builtInConstant, maxSize, "const int  gl_MaxDrawBuffers = %d;", resources.maxDrawBuffers);
 8740|      0|        s.append(builtInConstant);
 8741|       |
 8742|      0|        snprintf(builtInConstant, maxSize, "const int  gl_MaxLights = %d;", resources.maxLights);
 8743|      0|        s.append(builtInConstant);
 8744|       |
 8745|      0|        snprintf(builtInConstant, maxSize, "const int  gl_MaxClipPlanes = %d;", resources.maxClipPlanes);
 8746|      0|        s.append(builtInConstant);
 8747|       |
 8748|      0|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureUnits = %d;", resources.maxTextureUnits);
 8749|      0|        s.append(builtInConstant);
 8750|       |
 8751|      0|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureCoords = %d;", resources.maxTextureCoords);
 8752|      0|        s.append(builtInConstant);
 8753|       |
 8754|      0|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexUniformComponents = %d;", resources.maxVertexUniformComponents);
 8755|      0|        s.append(builtInConstant);
 8756|       |
 8757|       |        // Moved from just being deprecated into compatibility profile only as of 4.20
 8758|      0|        if (version < 420 || profile == ECompatibilityProfile) {
  ------------------
  |  Branch (8758:13): [True: 0, False: 0]
  |  Branch (8758:30): [True: 0, False: 0]
  ------------------
 8759|      0|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVaryingFloats = %d;", resources.maxVaryingFloats);
 8760|      0|            s.append(builtInConstant);
 8761|      0|        }
 8762|       |
 8763|      0|        snprintf(builtInConstant, maxSize, "const int  gl_MaxFragmentUniformComponents = %d;", resources.maxFragmentUniformComponents);
 8764|      0|        s.append(builtInConstant);
 8765|       |
 8766|      0|        if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (8766:13): [True: 0, False: 0]
  |  Branch (8766:36): [True: 0, False: 0]
  ------------------
 8767|       |            //
 8768|       |            // OpenGL'uniform' state.  Page numbers are in reference to version
 8769|       |            // 1.4 of the OpenGL specification.
 8770|       |            //
 8771|       |
 8772|       |            //
 8773|       |            // Matrix state. p. 31, 32, 37, 39, 40.
 8774|       |            //
 8775|      0|            s.append("uniform mat4  gl_TextureMatrix[gl_MaxTextureCoords];"
 8776|       |
 8777|       |            //
 8778|       |            // Derived matrix state that provides inverse and transposed versions
 8779|       |            // of the matrices above.
 8780|       |            //
 8781|      0|                        "uniform mat4  gl_TextureMatrixInverse[gl_MaxTextureCoords];"
 8782|       |
 8783|      0|                        "uniform mat4  gl_TextureMatrixTranspose[gl_MaxTextureCoords];"
 8784|       |
 8785|      0|                        "uniform mat4  gl_TextureMatrixInverseTranspose[gl_MaxTextureCoords];"
 8786|       |
 8787|       |            //
 8788|       |            // Clip planes p. 42.
 8789|       |            //
 8790|      0|                        "uniform vec4  gl_ClipPlane[gl_MaxClipPlanes];"
 8791|       |
 8792|       |            //
 8793|       |            // Light State p 50, 53, 55.
 8794|       |            //
 8795|      0|                        "uniform gl_LightSourceParameters  gl_LightSource[gl_MaxLights];"
 8796|       |
 8797|       |            //
 8798|       |            // Derived state from products of light.
 8799|       |            //
 8800|      0|                        "uniform gl_LightProducts gl_FrontLightProduct[gl_MaxLights];"
 8801|      0|                        "uniform gl_LightProducts gl_BackLightProduct[gl_MaxLights];"
 8802|       |
 8803|       |            //
 8804|       |            // Texture Environment and Generation, p. 152, p. 40-42.
 8805|       |            //
 8806|      0|                        "uniform vec4  gl_TextureEnvColor[gl_MaxTextureImageUnits];"
 8807|      0|                        "uniform vec4  gl_EyePlaneS[gl_MaxTextureCoords];"
 8808|      0|                        "uniform vec4  gl_EyePlaneT[gl_MaxTextureCoords];"
 8809|      0|                        "uniform vec4  gl_EyePlaneR[gl_MaxTextureCoords];"
 8810|      0|                        "uniform vec4  gl_EyePlaneQ[gl_MaxTextureCoords];"
 8811|      0|                        "uniform vec4  gl_ObjectPlaneS[gl_MaxTextureCoords];"
 8812|      0|                        "uniform vec4  gl_ObjectPlaneT[gl_MaxTextureCoords];"
 8813|      0|                        "uniform vec4  gl_ObjectPlaneR[gl_MaxTextureCoords];"
 8814|      0|                        "uniform vec4  gl_ObjectPlaneQ[gl_MaxTextureCoords];");
 8815|      0|        }
 8816|       |
 8817|      0|        if (version >= 130) {
  ------------------
  |  Branch (8817:13): [True: 0, False: 0]
  ------------------
 8818|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxClipDistances = %d;", resources.maxClipDistances);
 8819|      0|            s.append(builtInConstant);
 8820|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxVaryingComponents = %d;", resources.maxVaryingComponents);
 8821|      0|            s.append(builtInConstant);
 8822|       |
 8823|       |            // GL_ARB_shading_language_420pack
 8824|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MinProgramTexelOffset = %d;", resources.minProgramTexelOffset);
 8825|      0|            s.append(builtInConstant);
 8826|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxProgramTexelOffset = %d;", resources.maxProgramTexelOffset);
 8827|      0|            s.append(builtInConstant);
 8828|      0|        }
 8829|       |
 8830|       |        // geometry
 8831|      0|        if (version >= 150) {
  ------------------
  |  Branch (8831:13): [True: 0, False: 0]
  ------------------
 8832|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryInputComponents = %d;", resources.maxGeometryInputComponents);
 8833|      0|            s.append(builtInConstant);
 8834|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputComponents = %d;", resources.maxGeometryOutputComponents);
 8835|      0|            s.append(builtInConstant);
 8836|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTextureImageUnits = %d;", resources.maxGeometryTextureImageUnits);
 8837|      0|            s.append(builtInConstant);
 8838|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputVertices = %d;", resources.maxGeometryOutputVertices);
 8839|      0|            s.append(builtInConstant);
 8840|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTotalOutputComponents = %d;", resources.maxGeometryTotalOutputComponents);
 8841|      0|            s.append(builtInConstant);
 8842|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryUniformComponents = %d;", resources.maxGeometryUniformComponents);
 8843|      0|            s.append(builtInConstant);
 8844|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryVaryingComponents = %d;", resources.maxGeometryVaryingComponents);
 8845|      0|            s.append(builtInConstant);
 8846|       |
 8847|      0|        }
 8848|       |
 8849|      0|        if (version >= 150) {
  ------------------
  |  Branch (8849:13): [True: 0, False: 0]
  ------------------
 8850|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxVertexOutputComponents = %d;", resources.maxVertexOutputComponents);
 8851|      0|            s.append(builtInConstant);
 8852|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentInputComponents = %d;", resources.maxFragmentInputComponents);
 8853|      0|            s.append(builtInConstant);
 8854|      0|        }
 8855|       |
 8856|       |        // tessellation
 8857|      0|        if (version >= 150) {
  ------------------
  |  Branch (8857:13): [True: 0, False: 0]
  ------------------
 8858|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlInputComponents = %d;", resources.maxTessControlInputComponents);
 8859|      0|            s.append(builtInConstant);
 8860|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlOutputComponents = %d;", resources.maxTessControlOutputComponents);
 8861|      0|            s.append(builtInConstant);
 8862|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTextureImageUnits = %d;", resources.maxTessControlTextureImageUnits);
 8863|      0|            s.append(builtInConstant);
 8864|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlUniformComponents = %d;", resources.maxTessControlUniformComponents);
 8865|      0|            s.append(builtInConstant);
 8866|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTotalOutputComponents = %d;", resources.maxTessControlTotalOutputComponents);
 8867|      0|            s.append(builtInConstant);
 8868|       |
 8869|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationInputComponents = %d;", resources.maxTessEvaluationInputComponents);
 8870|      0|            s.append(builtInConstant);
 8871|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationOutputComponents = %d;", resources.maxTessEvaluationOutputComponents);
 8872|      0|            s.append(builtInConstant);
 8873|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationTextureImageUnits = %d;", resources.maxTessEvaluationTextureImageUnits);
 8874|      0|            s.append(builtInConstant);
 8875|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationUniformComponents = %d;", resources.maxTessEvaluationUniformComponents);
 8876|      0|            s.append(builtInConstant);
 8877|       |
 8878|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessPatchComponents = %d;", resources.maxTessPatchComponents);
 8879|      0|            s.append(builtInConstant);
 8880|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessGenLevel = %d;", resources.maxTessGenLevel);
 8881|      0|            s.append(builtInConstant);
 8882|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxPatchVertices = %d;", resources.maxPatchVertices);
 8883|      0|            s.append(builtInConstant);
 8884|       |
 8885|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxPatchVertices
 8886|      0|            if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (8886:17): [True: 0, False: 0]
  |  Branch (8886:51): [True: 0, False: 0]
  ------------------
 8887|      0|                s.append(
 8888|      0|                    "in gl_PerVertex {"
 8889|      0|                        "vec4 gl_Position;"
 8890|      0|                        "float gl_PointSize;"
 8891|      0|                        "float gl_ClipDistance[];"
 8892|      0|                    );
 8893|      0|                if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (8893:21): [True: 0, False: 0]
  ------------------
 8894|      0|                    s.append(
 8895|      0|                        "vec4 gl_ClipVertex;"
 8896|      0|                        "vec4 gl_FrontColor;"
 8897|      0|                        "vec4 gl_BackColor;"
 8898|      0|                        "vec4 gl_FrontSecondaryColor;"
 8899|      0|                        "vec4 gl_BackSecondaryColor;"
 8900|      0|                        "vec4 gl_TexCoord[];"
 8901|      0|                        "float gl_FogFragCoord;"
 8902|      0|                        );
 8903|      0|                s.append(
 8904|      0|                    "float gl_CullDistance[];"  // GL_ARB_cull_distance, core in 450
 8905|      0|                    );
 8906|      0|                if (profile != EEsProfile && version >= 450)
  ------------------
  |  Branch (8906:21): [True: 0, False: 0]
  |  Branch (8906:46): [True: 0, False: 0]
  ------------------
 8907|      0|                    s.append(
 8908|      0|                        "vec4 gl_SecondaryPositionNV;"  // GL_NV_stereo_view_rendering
 8909|      0|                        "vec4 gl_PositionPerViewNV[];"  // GL_NVX_multiview_per_view_attributes
 8910|      0|                       );
 8911|      0|                s.append(
 8912|      0|                    "} gl_in[gl_MaxPatchVertices];"
 8913|      0|                    "\n");
 8914|      0|            }
 8915|      0|        }
 8916|       |
 8917|      0|        if (version >= 150) {
  ------------------
  |  Branch (8917:13): [True: 0, False: 0]
  ------------------
 8918|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxViewports = %d;", resources.maxViewports);
 8919|      0|            s.append(builtInConstant);
 8920|      0|        }
 8921|       |
 8922|       |        // images
 8923|      0|        if (version >= 130) {
  ------------------
  |  Branch (8923:13): [True: 0, False: 0]
  ------------------
 8924|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedImageUnitsAndFragmentOutputs = %d;", resources.maxCombinedImageUnitsAndFragmentOutputs);
 8925|      0|            s.append(builtInConstant);
 8926|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxImageSamples = %d;", resources.maxImageSamples);
 8927|      0|            s.append(builtInConstant);
 8928|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlImageUniforms = %d;", resources.maxTessControlImageUniforms);
 8929|      0|            s.append(builtInConstant);
 8930|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationImageUniforms = %d;", resources.maxTessEvaluationImageUniforms);
 8931|      0|            s.append(builtInConstant);
 8932|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryImageUniforms = %d;", resources.maxGeometryImageUniforms);
 8933|      0|            s.append(builtInConstant);
 8934|      0|        }
 8935|       |
 8936|       |        // enhanced layouts
 8937|      0|        if (version >= 430) {
  ------------------
  |  Branch (8937:13): [True: 0, False: 0]
  ------------------
 8938|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTransformFeedbackBuffers = %d;", resources.maxTransformFeedbackBuffers);
 8939|      0|            s.append(builtInConstant);
 8940|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTransformFeedbackInterleavedComponents = %d;", resources.maxTransformFeedbackInterleavedComponents);
 8941|      0|            s.append(builtInConstant);
 8942|      0|        }
 8943|      0|    }
 8944|       |
 8945|       |    // compute
 8946|     36|    if ((profile == EEsProfile && version >= 310) || (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8946:10): [True: 36, False: 0]
  |  Branch (8946:35): [True: 0, False: 36]
  |  Branch (8946:55): [True: 0, False: 36]
  |  Branch (8946:80): [True: 0, False: 0]
  ------------------
 8947|      0|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxComputeWorkGroupCount = ivec3(%d,%d,%d);", resources.maxComputeWorkGroupCountX,
 8948|      0|                                                                                                         resources.maxComputeWorkGroupCountY,
 8949|      0|                                                                                                         resources.maxComputeWorkGroupCountZ);
 8950|      0|        s.append(builtInConstant);
 8951|      0|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxComputeWorkGroupSize = ivec3(%d,%d,%d);", resources.maxComputeWorkGroupSizeX,
 8952|      0|                                                                                                        resources.maxComputeWorkGroupSizeY,
 8953|      0|                                                                                                        resources.maxComputeWorkGroupSizeZ);
 8954|      0|        s.append(builtInConstant);
 8955|       |
 8956|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeUniformComponents = %d;", resources.maxComputeUniformComponents);
 8957|      0|        s.append(builtInConstant);
 8958|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeTextureImageUnits = %d;", resources.maxComputeTextureImageUnits);
 8959|      0|        s.append(builtInConstant);
 8960|       |
 8961|       |        // GL_ARM_tensors operands.
 8962|      0|        snprintf(builtInConstant, maxSize, "const uint gl_TensorOperandsNonTemporalARM = 0x1U;");
 8963|      0|        s.append(builtInConstant);
 8964|      0|        snprintf(builtInConstant, maxSize, "const uint gl_TensorOperandsOutOfBoundsValueARM = 0x2U;");
 8965|      0|        s.append(builtInConstant);
 8966|       |
 8967|      0|        s.append("\n");
 8968|      0|    }
 8969|       |
 8970|       |    // images (some in compute below)
 8971|     36|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (8971:10): [True: 36, False: 0]
  |  Branch (8971:35): [True: 0, False: 36]
  ------------------
 8972|     36|        (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (8972:10): [True: 0, False: 36]
  |  Branch (8972:35): [True: 0, False: 0]
  ------------------
 8973|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxImageUnits = %d;", resources.maxImageUnits);
 8974|      0|        s.append(builtInConstant);
 8975|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedShaderOutputResources = %d;", resources.maxCombinedShaderOutputResources);
 8976|      0|        s.append(builtInConstant);
 8977|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexImageUniforms = %d;", resources.maxVertexImageUniforms);
 8978|      0|        s.append(builtInConstant);
 8979|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentImageUniforms = %d;", resources.maxFragmentImageUniforms);
 8980|      0|        s.append(builtInConstant);
 8981|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedImageUniforms = %d;", resources.maxCombinedImageUniforms);
 8982|      0|        s.append(builtInConstant);
 8983|      0|    }
 8984|       |
 8985|       |    // compute
 8986|     36|    if ((profile == EEsProfile && version >= 310) || (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8986:10): [True: 36, False: 0]
  |  Branch (8986:35): [True: 0, False: 36]
  |  Branch (8986:55): [True: 0, False: 36]
  |  Branch (8986:80): [True: 0, False: 0]
  ------------------
 8987|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeImageUniforms = %d;", resources.maxComputeImageUniforms);
 8988|      0|        s.append(builtInConstant);
 8989|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeAtomicCounters = %d;", resources.maxComputeAtomicCounters);
 8990|      0|        s.append(builtInConstant);
 8991|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeAtomicCounterBuffers = %d;", resources.maxComputeAtomicCounterBuffers);
 8992|      0|        s.append(builtInConstant);
 8993|       |
 8994|      0|        s.append("\n");
 8995|      0|    }
 8996|       |
 8997|       |    // atomic counters (some in compute below)
 8998|     36|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (8998:10): [True: 36, False: 0]
  |  Branch (8998:35): [True: 0, False: 36]
  ------------------
 8999|     36|        (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8999:10): [True: 0, False: 36]
  |  Branch (8999:35): [True: 0, False: 0]
  ------------------
 9000|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexAtomicCounters = %d;", resources.               maxVertexAtomicCounters);
 9001|      0|        s.append(builtInConstant);
 9002|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentAtomicCounters = %d;", resources.             maxFragmentAtomicCounters);
 9003|      0|        s.append(builtInConstant);
 9004|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedAtomicCounters = %d;", resources.             maxCombinedAtomicCounters);
 9005|      0|        s.append(builtInConstant);
 9006|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxAtomicCounterBindings = %d;", resources.              maxAtomicCounterBindings);
 9007|      0|        s.append(builtInConstant);
 9008|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexAtomicCounterBuffers = %d;", resources.         maxVertexAtomicCounterBuffers);
 9009|      0|        s.append(builtInConstant);
 9010|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentAtomicCounterBuffers = %d;", resources.       maxFragmentAtomicCounterBuffers);
 9011|      0|        s.append(builtInConstant);
 9012|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedAtomicCounterBuffers = %d;", resources.       maxCombinedAtomicCounterBuffers);
 9013|      0|        s.append(builtInConstant);
 9014|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxAtomicCounterBufferSize = %d;", resources.            maxAtomicCounterBufferSize);
 9015|      0|        s.append(builtInConstant);
 9016|      0|    }
 9017|     36|    if (profile != EEsProfile && version >= 420) {
  ------------------
  |  Branch (9017:9): [True: 0, False: 36]
  |  Branch (9017:34): [True: 0, False: 0]
  ------------------
 9018|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounters = %d;", resources.          maxTessControlAtomicCounters);
 9019|      0|        s.append(builtInConstant);
 9020|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounters = %d;", resources.       maxTessEvaluationAtomicCounters);
 9021|      0|        s.append(builtInConstant);
 9022|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounters = %d;", resources.             maxGeometryAtomicCounters);
 9023|      0|        s.append(builtInConstant);
 9024|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounterBuffers = %d;", resources.    maxTessControlAtomicCounterBuffers);
 9025|      0|        s.append(builtInConstant);
 9026|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounterBuffers = %d;", resources. maxTessEvaluationAtomicCounterBuffers);
 9027|      0|        s.append(builtInConstant);
 9028|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounterBuffers = %d;", resources.       maxGeometryAtomicCounterBuffers);
 9029|      0|        s.append(builtInConstant);
 9030|       |
 9031|      0|        s.append("\n");
 9032|      0|    }
 9033|       |
 9034|       |    // GL_ARB_cull_distance, core in 450
 9035|     36|    if (profile != EEsProfile && version >= 130) {
  ------------------
  |  Branch (9035:9): [True: 0, False: 36]
  |  Branch (9035:34): [True: 0, False: 0]
  ------------------
 9036|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxCullDistances = %d;",                resources.maxCullDistances);
 9037|      0|        s.append(builtInConstant);
 9038|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedClipAndCullDistances = %d;", resources.maxCombinedClipAndCullDistances);
 9039|      0|        s.append(builtInConstant);
 9040|      0|    }
 9041|       |
 9042|       |    // GL_ARB_ES3_1_compatibility
 9043|     36|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9043:10): [True: 0, False: 36]
  |  Branch (9043:35): [True: 0, False: 0]
  ------------------
 9044|     36|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9044:10): [True: 36, False: 0]
  |  Branch (9044:35): [True: 0, False: 36]
  ------------------
 9045|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxSamples = %d;", resources.maxSamples);
 9046|      0|        s.append(builtInConstant);
 9047|      0|    }
 9048|       |
 9049|       |    // SPV_NV_mesh_shader
 9050|     36|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (9050:10): [True: 0, False: 36]
  |  Branch (9050:35): [True: 0, False: 0]
  |  Branch (9050:55): [True: 36, False: 0]
  |  Branch (9050:80): [True: 0, False: 36]
  ------------------
 9051|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshOutputVerticesNV = %d;", resources.maxMeshOutputVerticesNV);
 9052|      0|        s.append(builtInConstant);
 9053|       |
 9054|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshOutputPrimitivesNV = %d;", resources.maxMeshOutputPrimitivesNV);
 9055|      0|        s.append(builtInConstant);
 9056|       |
 9057|      0|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxMeshWorkGroupSizeNV = ivec3(%d,%d,%d);", resources.maxMeshWorkGroupSizeX_NV,
 9058|      0|                                                                                                       resources.maxMeshWorkGroupSizeY_NV,
 9059|      0|                                                                                                       resources.maxMeshWorkGroupSizeZ_NV);
 9060|      0|        s.append(builtInConstant);
 9061|      0|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxTaskWorkGroupSizeNV = ivec3(%d,%d,%d);", resources.maxTaskWorkGroupSizeX_NV,
 9062|      0|                                                                                                       resources.maxTaskWorkGroupSizeY_NV,
 9063|      0|                                                                                                       resources.maxTaskWorkGroupSizeZ_NV);
 9064|      0|        s.append(builtInConstant);
 9065|       |
 9066|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshViewCountNV = %d;", resources.maxMeshViewCountNV);
 9067|      0|        s.append(builtInConstant);
 9068|       |
 9069|      0|        s.append("\n");
 9070|      0|    }
 9071|       |
 9072|     36|    s.append("\n");
 9073|     36|}
_ZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableE:
 9172|     85|{
 9173|       |    //
 9174|       |    // Tag built-in variables and functions with additional qualifier and extension information
 9175|       |    // that cannot be declared with the text strings.
 9176|       |    //
 9177|       |
 9178|       |    // N.B.: a symbol should only be tagged once, and this function is called multiple times, once
 9179|       |    // per stage that's used for this profile.  So
 9180|       |    //  - generally, stick common ones in the fragment stage to ensure they are tagged exactly once
 9181|       |    //  - for ES, which has different precisions for different stages, the coarsest-grained tagging
 9182|       |    //    for a built-in used in many stages needs to be once for the fragment stage and once for
 9183|       |    //    the vertex stage
 9184|       |
 9185|     85|    switch(language) {
 9186|     37|    case EShLangVertex:
  ------------------
  |  Branch (9186:5): [True: 37, False: 48]
  ------------------
 9187|     37|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9187:13): [True: 1, False: 36]
  ------------------
 9188|      1|            BuiltInVariable("gl_VertexIndex",   EbvVertexIndex,   symbolTable);
 9189|      1|            BuiltInVariable("gl_InstanceIndex", EbvInstanceIndex, symbolTable);
 9190|      1|        }
 9191|       |
 9192|     37|        if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (9192:13): [True: 36, False: 1]
  ------------------
 9193|     36|            SpecialQualifier("gl_VertexID",   EvqVertexId,   EbvVertexId,   symbolTable);
 9194|     36|            SpecialQualifier("gl_InstanceID", EvqInstanceId, EbvInstanceId, symbolTable);
 9195|     36|            if (version < 140)
  ------------------
  |  Branch (9195:17): [True: 36, False: 0]
  ------------------
 9196|     36|                symbolTable.setVariableExtensions("gl_InstanceID", 1, &E_GL_EXT_draw_instanced);
 9197|     36|        }
 9198|       |
 9199|     37|        if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (9199:13): [True: 1, False: 36]
  |  Branch (9199:38): [True: 0, False: 1]
  ------------------
 9200|       |            // treat these built-ins as aliases of VertexIndex and InstanceIndex
 9201|      0|            RetargetVariable("gl_InstanceID", "gl_InstanceIndex", symbolTable);
 9202|      0|            RetargetVariable("gl_VertexID", "gl_VertexIndex", symbolTable);
 9203|      0|        }
 9204|       |
 9205|     37|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9205:13): [True: 1, False: 36]
  ------------------
 9206|      1|            if (version >= 440) {
  ------------------
  |  Branch (9206:17): [True: 1, False: 0]
  ------------------
 9207|      1|                symbolTable.setVariableExtensions("gl_BaseVertexARB",   1, &E_GL_ARB_shader_draw_parameters);
 9208|      1|                symbolTable.setVariableExtensions("gl_BaseInstanceARB", 1, &E_GL_ARB_shader_draw_parameters);
 9209|      1|                symbolTable.setVariableExtensions("gl_DrawIDARB",       1, &E_GL_ARB_shader_draw_parameters);
 9210|      1|                BuiltInVariable("gl_BaseVertexARB",   EbvBaseVertex,   symbolTable);
 9211|      1|                BuiltInVariable("gl_BaseInstanceARB", EbvBaseInstance, symbolTable);
 9212|      1|                BuiltInVariable("gl_DrawIDARB",       EbvDrawId,       symbolTable);
 9213|      1|            }
 9214|      1|            if (version >= 460) {
  ------------------
  |  Branch (9214:17): [True: 0, False: 1]
  ------------------
 9215|      0|                BuiltInVariable("gl_BaseVertex",   EbvBaseVertex,   symbolTable);
 9216|      0|                BuiltInVariable("gl_BaseInstance", EbvBaseInstance, symbolTable);
 9217|      0|                BuiltInVariable("gl_DrawID",       EbvDrawId,       symbolTable);
 9218|      0|            }
 9219|      1|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
 9220|      1|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9221|      1|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
 9222|      1|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9223|      1|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9224|      1|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9225|      1|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9226|       |
 9227|      1|            symbolTable.setFunctionExtensions("ballotARB",              1, &E_GL_ARB_shader_ballot);
 9228|      1|            symbolTable.setFunctionExtensions("readInvocationARB",      1, &E_GL_ARB_shader_ballot);
 9229|      1|            symbolTable.setFunctionExtensions("readFirstInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9230|       |
 9231|      1|            if (version >= 430) {
  ------------------
  |  Branch (9231:17): [True: 1, False: 0]
  ------------------
 9232|      1|                symbolTable.setFunctionExtensions("anyInvocationARB",       1, &E_GL_ARB_shader_group_vote);
 9233|      1|                symbolTable.setFunctionExtensions("allInvocationsARB",      1, &E_GL_ARB_shader_group_vote);
 9234|      1|                symbolTable.setFunctionExtensions("allInvocationsEqualARB", 1, &E_GL_ARB_shader_group_vote);
 9235|      1|            }
 9236|      1|            if (version >= 150) {
  ------------------
  |  Branch (9236:17): [True: 1, False: 0]
  ------------------
 9237|      1|                symbolTable.setFunctionExtensions("anyThreadNV",       1, &E_GL_NV_gpu_shader5);
 9238|      1|                symbolTable.setFunctionExtensions("allThreadsNV",      1, &E_GL_NV_gpu_shader5);
 9239|      1|                symbolTable.setFunctionExtensions("allThreadsEqualNV", 1, &E_GL_NV_gpu_shader5);
 9240|      1|            }
 9241|      1|        }
 9242|       |
 9243|       |
 9244|     37|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9244:13): [True: 1, False: 36]
  ------------------
 9245|      1|            symbolTable.setFunctionExtensions("minInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9246|      1|            symbolTable.setFunctionExtensions("maxInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9247|      1|            symbolTable.setFunctionExtensions("addInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9248|      1|            symbolTable.setFunctionExtensions("minInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9249|      1|            symbolTable.setFunctionExtensions("maxInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9250|      1|            symbolTable.setFunctionExtensions("addInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9251|      1|            symbolTable.setFunctionExtensions("swizzleInvocationsAMD",            1, &E_GL_AMD_shader_ballot);
 9252|      1|            symbolTable.setFunctionExtensions("swizzleInvocationsWithPatternAMD", 1, &E_GL_AMD_shader_ballot);
 9253|      1|            symbolTable.setFunctionExtensions("writeInvocationAMD",               1, &E_GL_AMD_shader_ballot);
 9254|      1|            symbolTable.setFunctionExtensions("mbcntAMD",                         1, &E_GL_AMD_shader_ballot);
 9255|       |
 9256|      1|            symbolTable.setFunctionExtensions("minInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9257|      1|            symbolTable.setFunctionExtensions("maxInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9258|      1|            symbolTable.setFunctionExtensions("addInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9259|      1|            symbolTable.setFunctionExtensions("minInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9260|      1|            symbolTable.setFunctionExtensions("maxInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9261|      1|            symbolTable.setFunctionExtensions("addInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9262|      1|            symbolTable.setFunctionExtensions("minInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9263|      1|            symbolTable.setFunctionExtensions("maxInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9264|      1|            symbolTable.setFunctionExtensions("addInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9265|      1|            symbolTable.setFunctionExtensions("minInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9266|      1|            symbolTable.setFunctionExtensions("maxInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9267|      1|            symbolTable.setFunctionExtensions("addInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9268|      1|        }
 9269|       |
 9270|     37|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9270:13): [True: 1, False: 36]
  ------------------
 9271|      1|            symbolTable.setFunctionExtensions("min3", 1, &E_GL_AMD_shader_trinary_minmax);
 9272|      1|            symbolTable.setFunctionExtensions("max3", 1, &E_GL_AMD_shader_trinary_minmax);
 9273|      1|            symbolTable.setFunctionExtensions("mid3", 1, &E_GL_AMD_shader_trinary_minmax);
 9274|      1|        }
 9275|       |
 9276|     37|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9276:13): [True: 1, False: 36]
  ------------------
 9277|      1|            symbolTable.setVariableExtensions("gl_SIMDGroupSizeAMD", 1, &E_GL_AMD_gcn_shader);
 9278|      1|            SpecialQualifier("gl_SIMDGroupSizeAMD", EvqVaryingIn, EbvSubGroupSize, symbolTable);
 9279|       |
 9280|      1|            symbolTable.setFunctionExtensions("cubeFaceIndexAMD", 1, &E_GL_AMD_gcn_shader);
 9281|      1|            symbolTable.setFunctionExtensions("cubeFaceCoordAMD", 1, &E_GL_AMD_gcn_shader);
 9282|      1|            symbolTable.setFunctionExtensions("timeAMD",          1, &E_GL_AMD_gcn_shader);
 9283|      1|        }
 9284|       |
 9285|     37|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9285:13): [True: 1, False: 36]
  ------------------
 9286|      1|            symbolTable.setFunctionExtensions("fragmentMaskFetchAMD", 1, &E_GL_AMD_shader_fragment_mask);
 9287|      1|            symbolTable.setFunctionExtensions("fragmentFetchAMD",     1, &E_GL_AMD_shader_fragment_mask);
 9288|      1|        }
 9289|       |
 9290|     37|        symbolTable.setFunctionExtensions("countLeadingZeros",  1, &E_GL_INTEL_shader_integer_functions2);
 9291|     37|        symbolTable.setFunctionExtensions("countTrailingZeros", 1, &E_GL_INTEL_shader_integer_functions2);
 9292|     37|        symbolTable.setFunctionExtensions("absoluteDifference", 1, &E_GL_INTEL_shader_integer_functions2);
 9293|     37|        symbolTable.setFunctionExtensions("addSaturate",        1, &E_GL_INTEL_shader_integer_functions2);
 9294|     37|        symbolTable.setFunctionExtensions("subtractSaturate",   1, &E_GL_INTEL_shader_integer_functions2);
 9295|     37|        symbolTable.setFunctionExtensions("average",            1, &E_GL_INTEL_shader_integer_functions2);
 9296|     37|        symbolTable.setFunctionExtensions("averageRounded",     1, &E_GL_INTEL_shader_integer_functions2);
 9297|     37|        symbolTable.setFunctionExtensions("multiply32x16",      1, &E_GL_INTEL_shader_integer_functions2);
 9298|       |
 9299|     37|        symbolTable.setFunctionExtensions("textureFootprintNV",          1, &E_GL_NV_shader_texture_footprint);
 9300|     37|        symbolTable.setFunctionExtensions("textureFootprintClampNV",     1, &E_GL_NV_shader_texture_footprint);
 9301|     37|        symbolTable.setFunctionExtensions("textureFootprintLodNV",       1, &E_GL_NV_shader_texture_footprint);
 9302|     37|        symbolTable.setFunctionExtensions("textureFootprintGradNV",      1, &E_GL_NV_shader_texture_footprint);
 9303|     37|        symbolTable.setFunctionExtensions("textureFootprintGradClampNV", 1, &E_GL_NV_shader_texture_footprint);
 9304|       |        // Compatibility variables, vertex only
 9305|     37|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9305:13): [True: 37, False: 0]
  ------------------
 9306|     37|            BuiltInVariable("gl_Color",          EbvColor,          symbolTable);
 9307|     37|            BuiltInVariable("gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9308|     37|            BuiltInVariable("gl_Normal",         EbvNormal,         symbolTable);
 9309|     37|            BuiltInVariable("gl_Vertex",         EbvVertex,         symbolTable);
 9310|     37|            BuiltInVariable("gl_MultiTexCoord0", EbvMultiTexCoord0, symbolTable);
 9311|     37|            BuiltInVariable("gl_MultiTexCoord1", EbvMultiTexCoord1, symbolTable);
 9312|     37|            BuiltInVariable("gl_MultiTexCoord2", EbvMultiTexCoord2, symbolTable);
 9313|     37|            BuiltInVariable("gl_MultiTexCoord3", EbvMultiTexCoord3, symbolTable);
 9314|     37|            BuiltInVariable("gl_MultiTexCoord4", EbvMultiTexCoord4, symbolTable);
 9315|     37|            BuiltInVariable("gl_MultiTexCoord5", EbvMultiTexCoord5, symbolTable);
 9316|     37|            BuiltInVariable("gl_MultiTexCoord6", EbvMultiTexCoord6, symbolTable);
 9317|     37|            BuiltInVariable("gl_MultiTexCoord7", EbvMultiTexCoord7, symbolTable);
 9318|     37|            BuiltInVariable("gl_FogCoord",       EbvFogFragCoord,   symbolTable);
 9319|     37|        }
 9320|       |
 9321|     37|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9321:13): [True: 36, False: 1]
  ------------------
 9322|     36|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9322:17): [True: 36, False: 0]
  ------------------
 9323|     36|                symbolTable.setFunctionExtensions("texture2DGradEXT",     1, &E_GL_EXT_shader_texture_lod);
 9324|     36|                symbolTable.setFunctionExtensions("texture2DProjGradEXT", 1, &E_GL_EXT_shader_texture_lod);
 9325|     36|                symbolTable.setFunctionExtensions("textureCubeGradEXT",   1, &E_GL_EXT_shader_texture_lod);
 9326|     36|                if (version == 310)
  ------------------
  |  Branch (9326:21): [True: 0, False: 36]
  ------------------
 9327|      0|                    symbolTable.setFunctionExtensions("textureGatherOffsets", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9328|     36|            }
 9329|     36|            if (version == 310) {
  ------------------
  |  Branch (9329:17): [True: 0, False: 36]
  ------------------
 9330|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9331|     36|            } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (9331:24): [True: 0, False: 36]
  |  Branch (9331:49): [True: 0, False: 0]
  ------------------
 9332|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9333|      0|            }
 9334|     36|        }
 9335|       |
 9336|     37|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9336:13): [True: 36, False: 1]
  |  Branch (9336:38): [True: 36, False: 0]
  ------------------
 9337|     36|            symbolTable.setFunctionExtensions("imageAtomicAdd",      1, &E_GL_OES_shader_image_atomic);
 9338|     36|            symbolTable.setFunctionExtensions("imageAtomicMin",      1, &E_GL_OES_shader_image_atomic);
 9339|     36|            symbolTable.setFunctionExtensions("imageAtomicMax",      1, &E_GL_OES_shader_image_atomic);
 9340|     36|            symbolTable.setFunctionExtensions("imageAtomicAnd",      1, &E_GL_OES_shader_image_atomic);
 9341|     36|            symbolTable.setFunctionExtensions("imageAtomicOr",       1, &E_GL_OES_shader_image_atomic);
 9342|     36|            symbolTable.setFunctionExtensions("imageAtomicXor",      1, &E_GL_OES_shader_image_atomic);
 9343|     36|            symbolTable.setFunctionExtensions("imageAtomicExchange", 1, &E_GL_OES_shader_image_atomic);
 9344|     36|            symbolTable.setFunctionExtensions("imageAtomicCompSwap", 1, &E_GL_OES_shader_image_atomic);
 9345|     36|        }
 9346|       |
 9347|     37|        if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (9347:13): [True: 1, False: 36]
  ------------------
 9348|      1|            symbolTable.setVariableExtensions("gl_ViewID_OVR", Num_OVR_multiview_EXTs, OVR_multiview_EXTs);
 9349|      1|            BuiltInVariable("gl_ViewID_OVR", EbvViewIndex, symbolTable);
 9350|      1|        }
 9351|       |
 9352|     37|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9352:13): [True: 36, False: 1]
  ------------------
 9353|     36|            symbolTable.setFunctionExtensions("shadow2DEXT",        1, &E_GL_EXT_shadow_samplers);
 9354|     36|            symbolTable.setFunctionExtensions("shadow2DProjEXT",    1, &E_GL_EXT_shadow_samplers);
 9355|     36|        }
 9356|       |
 9357|       |        // E_GL_EXT_texture_array
 9358|     37|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (9358:13): [True: 1, False: 36]
  |  Branch (9358:38): [True: 1, False: 0]
  ------------------
 9359|      1|            symbolTable.setFunctionExtensions("texture1DArray", 1, &E_GL_EXT_texture_array);
 9360|      1|            symbolTable.setFunctionExtensions("texture2DArray", 1, &E_GL_EXT_texture_array);
 9361|      1|            symbolTable.setFunctionExtensions("shadow1DArray", 1, &E_GL_EXT_texture_array);
 9362|      1|            symbolTable.setFunctionExtensions("shadow2DArray", 1, &E_GL_EXT_texture_array);
 9363|       |
 9364|      1|            symbolTable.setFunctionExtensions("texture1DArrayLod", 1, &E_GL_EXT_texture_array);
 9365|      1|            symbolTable.setFunctionExtensions("texture2DArrayLod", 1, &E_GL_EXT_texture_array);
 9366|      1|            symbolTable.setFunctionExtensions("shadow1DArrayLod", 1, &E_GL_EXT_texture_array);
 9367|      1|        }
 9368|     37|        [[fallthrough]];
 9369|       |
 9370|     38|    case EShLangTessControl:
  ------------------
  |  Branch (9370:5): [True: 1, False: 84]
  ------------------
 9371|     38|        if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (9371:13): [True: 36, False: 2]
  |  Branch (9371:38): [True: 0, False: 36]
  ------------------
 9372|      0|            BuiltInVariable("gl_BoundingBoxEXT", EbvBoundingBox, symbolTable);
 9373|      0|            symbolTable.setVariableExtensions("gl_BoundingBoxEXT", 1,
 9374|      0|                                              &E_GL_EXT_primitive_bounding_box);
 9375|      0|            BuiltInVariable("gl_BoundingBoxOES", EbvBoundingBox, symbolTable);
 9376|      0|            symbolTable.setVariableExtensions("gl_BoundingBoxOES", 1,
 9377|      0|                                              &E_GL_OES_primitive_bounding_box);
 9378|       |
 9379|      0|            if (version >= 320) {
  ------------------
  |  Branch (9379:17): [True: 0, False: 0]
  ------------------
 9380|      0|                BuiltInVariable("gl_BoundingBox", EbvBoundingBox, symbolTable);
 9381|      0|            }
 9382|      0|        }
 9383|     38|        [[fallthrough]];
 9384|       |
 9385|     39|    case EShLangTessEvaluation:
  ------------------
  |  Branch (9385:5): [True: 1, False: 84]
  ------------------
 9386|     40|    case EShLangGeometry:
  ------------------
  |  Branch (9386:5): [True: 1, False: 84]
  ------------------
 9387|     40|        SpecialQualifier("gl_Position",   EvqPosition,   EbvPosition,   symbolTable);
 9388|     40|        SpecialQualifier("gl_PointSize",  EvqPointSize,  EbvPointSize,  symbolTable);
 9389|       |
 9390|     40|        BuiltInVariable("gl_in",  "gl_Position",     EbvPosition,     symbolTable);
 9391|     40|        BuiltInVariable("gl_in",  "gl_PointSize",    EbvPointSize,    symbolTable);
 9392|       |
 9393|     40|        BuiltInVariable("gl_out", "gl_Position",     EbvPosition,     symbolTable);
 9394|     40|        BuiltInVariable("gl_out", "gl_PointSize",    EbvPointSize,    symbolTable);
 9395|       |
 9396|     40|        SpecialQualifier("gl_ClipVertex", EvqClipVertex, EbvClipVertex, symbolTable);
 9397|       |
 9398|     40|        BuiltInVariable("gl_in",  "gl_ClipDistance", EbvClipDistance, symbolTable);
 9399|     40|        BuiltInVariable("gl_in",  "gl_CullDistance", EbvCullDistance, symbolTable);
 9400|       |
 9401|     40|        BuiltInVariable("gl_out", "gl_ClipDistance", EbvClipDistance, symbolTable);
 9402|     40|        BuiltInVariable("gl_out", "gl_CullDistance", EbvCullDistance, symbolTable);
 9403|       |
 9404|     40|        BuiltInVariable("gl_ClipDistance",    EbvClipDistance,   symbolTable);
 9405|     40|        BuiltInVariable("gl_CullDistance",    EbvCullDistance,   symbolTable);
 9406|       |
 9407|       |        // GL_EXT_clip_cull_distance (ES) and GL_ARB_cull_distance (before 450); the
 9408|       |        // tessellation gl_in members are tied in the resource-dependent path below.
 9409|     40|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9409:13): [True: 36, False: 4]
  ------------------
 9410|     36|            symbolTable.setVariableExtensions("gl_ClipDistance", 1, &E_GL_EXT_clip_cull_distance);
 9411|     36|            symbolTable.setVariableExtensions("gl_CullDistance", 1, &E_GL_EXT_clip_cull_distance);
 9412|     36|            symbolTable.setVariableExtensions("gl_in",  "gl_ClipDistance", 1, &E_GL_EXT_clip_cull_distance);
 9413|     36|            symbolTable.setVariableExtensions("gl_in",  "gl_CullDistance", 1, &E_GL_EXT_clip_cull_distance);
 9414|     36|            symbolTable.setVariableExtensions("gl_out", "gl_ClipDistance", 1, &E_GL_EXT_clip_cull_distance);
 9415|     36|            symbolTable.setVariableExtensions("gl_out", "gl_CullDistance", 1, &E_GL_EXT_clip_cull_distance);
 9416|     36|        } else if (version < 450) {
  ------------------
  |  Branch (9416:20): [True: 0, False: 4]
  ------------------
 9417|      0|            symbolTable.setVariableExtensions("gl_CullDistance", 1, &E_GL_ARB_cull_distance);
 9418|      0|            symbolTable.setVariableExtensions("gl_in",  "gl_CullDistance", 1, &E_GL_ARB_cull_distance);
 9419|      0|            symbolTable.setVariableExtensions("gl_out", "gl_CullDistance", 1, &E_GL_ARB_cull_distance);
 9420|      0|        }
 9421|       |
 9422|     40|        BuiltInVariable("gl_PrimitiveIDIn",   EbvPrimitiveId,    symbolTable);
 9423|     40|        BuiltInVariable("gl_PrimitiveID",     EbvPrimitiveId,    symbolTable);
 9424|     40|        BuiltInVariable("gl_InvocationID",    EbvInvocationId,   symbolTable);
 9425|     40|        BuiltInVariable("gl_Layer",           EbvLayer,          symbolTable);
 9426|     40|        BuiltInVariable("gl_ViewportIndex",   EbvViewportIndex,  symbolTable);
 9427|       |
 9428|     40|        if (language != EShLangGeometry) {
  ------------------
  |  Branch (9428:13): [True: 39, False: 1]
  ------------------
 9429|     39|            symbolTable.setVariableExtensions("gl_Layer",         Num_viewportEXTs, viewportEXTs);
 9430|     39|            symbolTable.setVariableExtensions("gl_ViewportIndex", Num_viewportEXTs, viewportEXTs);
 9431|     39|        }
 9432|     40|        symbolTable.setVariableExtensions("gl_ViewportMask",            1, &E_GL_NV_viewport_array2);
 9433|     40|        symbolTable.setVariableExtensions("gl_SecondaryPositionNV",     1, &E_GL_NV_stereo_view_rendering);
 9434|     40|        symbolTable.setVariableExtensions("gl_SecondaryViewportMaskNV", 1, &E_GL_NV_stereo_view_rendering);
 9435|     40|        symbolTable.setVariableExtensions("gl_PositionPerViewNV",       1, &E_GL_NVX_multiview_per_view_attributes);
 9436|     40|        symbolTable.setVariableExtensions("gl_ViewportMaskPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9437|       |
 9438|     40|        if (profile != EEsProfile && language == EShLangGeometry && version < 400) {
  ------------------
  |  Branch (9438:13): [True: 4, False: 36]
  |  Branch (9438:38): [True: 1, False: 3]
  |  Branch (9438:69): [True: 0, False: 1]
  ------------------
 9439|      0|            symbolTable.setVariableExtensions("gl_InvocationID", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9440|      0|        }
 9441|     40|        BuiltInVariable("gl_ViewportMask",              EbvViewportMaskNV,          symbolTable);
 9442|     40|        BuiltInVariable("gl_SecondaryPositionNV",       EbvSecondaryPositionNV,     symbolTable);
 9443|     40|        BuiltInVariable("gl_SecondaryViewportMaskNV",   EbvSecondaryViewportMaskNV, symbolTable);
 9444|     40|        BuiltInVariable("gl_PositionPerViewNV",         EbvPositionPerViewNV,       symbolTable);
 9445|     40|        BuiltInVariable("gl_ViewportMaskPerViewNV",     EbvViewportMaskPerViewNV,   symbolTable);
 9446|       |
 9447|     40|        if (language == EShLangVertex || language == EShLangGeometry) {
  ------------------
  |  Branch (9447:13): [True: 37, False: 3]
  |  Branch (9447:42): [True: 1, False: 2]
  ------------------
 9448|     38|            symbolTable.setVariableExtensions("gl_in", "gl_SecondaryPositionNV", 1, &E_GL_NV_stereo_view_rendering);
 9449|     38|            symbolTable.setVariableExtensions("gl_in", "gl_PositionPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9450|       |
 9451|     38|            BuiltInVariable("gl_in", "gl_SecondaryPositionNV", EbvSecondaryPositionNV, symbolTable);
 9452|     38|            BuiltInVariable("gl_in", "gl_PositionPerViewNV",   EbvPositionPerViewNV,   symbolTable);
 9453|     38|        }
 9454|     40|        symbolTable.setVariableExtensions("gl_out", "gl_ViewportMask",            1, &E_GL_NV_viewport_array2);
 9455|     40|        symbolTable.setVariableExtensions("gl_out", "gl_SecondaryPositionNV",     1, &E_GL_NV_stereo_view_rendering);
 9456|     40|        symbolTable.setVariableExtensions("gl_out", "gl_SecondaryViewportMaskNV", 1, &E_GL_NV_stereo_view_rendering);
 9457|     40|        symbolTable.setVariableExtensions("gl_out", "gl_PositionPerViewNV",       1, &E_GL_NVX_multiview_per_view_attributes);
 9458|     40|        symbolTable.setVariableExtensions("gl_out", "gl_ViewportMaskPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9459|       |
 9460|     40|        BuiltInVariable("gl_out", "gl_ViewportMask",            EbvViewportMaskNV,          symbolTable);
 9461|     40|        BuiltInVariable("gl_out", "gl_SecondaryPositionNV",     EbvSecondaryPositionNV,     symbolTable);
 9462|     40|        BuiltInVariable("gl_out", "gl_SecondaryViewportMaskNV", EbvSecondaryViewportMaskNV, symbolTable);
 9463|     40|        BuiltInVariable("gl_out", "gl_PositionPerViewNV",       EbvPositionPerViewNV,       symbolTable);
 9464|     40|        BuiltInVariable("gl_out", "gl_ViewportMaskPerViewNV",   EbvViewportMaskPerViewNV,   symbolTable);
 9465|       |
 9466|     40|        BuiltInVariable("gl_PatchVerticesIn", EbvPatchVertices,  symbolTable);
 9467|     40|        BuiltInVariable("gl_TessLevelOuter",  EbvTessLevelOuter, symbolTable);
 9468|     40|        BuiltInVariable("gl_TessLevelInner",  EbvTessLevelInner, symbolTable);
 9469|     40|        BuiltInVariable("gl_TessCoord",       EbvTessCoord,      symbolTable);
 9470|       |
 9471|     40|        if (version < 410)
  ------------------
  |  Branch (9471:13): [True: 36, False: 4]
  ------------------
 9472|     36|            symbolTable.setVariableExtensions("gl_ViewportIndex", 1, &E_GL_ARB_viewport_array);
 9473|       |
 9474|       |        // Compatibility variables
 9475|       |
 9476|     40|        BuiltInVariable("gl_in", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9477|     40|        BuiltInVariable("gl_in", "gl_FrontColor",          EbvFrontColor,          symbolTable);
 9478|     40|        BuiltInVariable("gl_in", "gl_BackColor",           EbvBackColor,           symbolTable);
 9479|     40|        BuiltInVariable("gl_in", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9480|     40|        BuiltInVariable("gl_in", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9481|     40|        BuiltInVariable("gl_in", "gl_TexCoord",            EbvTexCoord,            symbolTable);
 9482|     40|        BuiltInVariable("gl_in", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9483|       |
 9484|     40|        BuiltInVariable("gl_out", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9485|     40|        BuiltInVariable("gl_out", "gl_FrontColor",          EbvFrontColor,          symbolTable);
 9486|     40|        BuiltInVariable("gl_out", "gl_BackColor",           EbvBackColor,           symbolTable);
 9487|     40|        BuiltInVariable("gl_out", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9488|     40|        BuiltInVariable("gl_out", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9489|     40|        BuiltInVariable("gl_out", "gl_TexCoord",            EbvTexCoord,            symbolTable);
 9490|     40|        BuiltInVariable("gl_out", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9491|       |
 9492|     40|        BuiltInVariable("gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9493|     40|        BuiltInVariable("gl_FrontColor",          EbvFrontColor,          symbolTable);
 9494|     40|        BuiltInVariable("gl_BackColor",           EbvBackColor,           symbolTable);
 9495|     40|        BuiltInVariable("gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9496|     40|        BuiltInVariable("gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9497|     40|        BuiltInVariable("gl_TexCoord",            EbvTexCoord,            symbolTable);
 9498|     40|        BuiltInVariable("gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9499|       |
 9500|       |        // gl_PointSize, when it needs to be tied to an extension, is always a member of a block.
 9501|       |        // (Sometimes with an instance name, sometimes anonymous).
 9502|     40|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9502:13): [True: 36, False: 4]
  ------------------
 9503|     36|            if (language == EShLangGeometry) {
  ------------------
  |  Branch (9503:17): [True: 0, False: 36]
  ------------------
 9504|      0|                symbolTable.setVariableExtensions("gl_PointSize", Num_AEP_geometry_point_size, AEP_geometry_point_size);
 9505|      0|                symbolTable.setVariableExtensions("gl_in", "gl_PointSize", Num_AEP_geometry_point_size, AEP_geometry_point_size);
 9506|     36|            } else if (language == EShLangTessEvaluation || language == EShLangTessControl) {
  ------------------
  |  Branch (9506:24): [True: 0, False: 36]
  |  Branch (9506:61): [True: 0, False: 36]
  ------------------
 9507|       |                // gl_in tessellation settings of gl_PointSize are in the context-dependent paths
 9508|      0|                symbolTable.setVariableExtensions("gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
 9509|      0|                symbolTable.setVariableExtensions("gl_out", "gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
 9510|      0|            }
 9511|     36|        }
 9512|       |
 9513|     40|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (9513:14): [True: 4, False: 36]
  |  Branch (9513:39): [True: 4, False: 0]
  ------------------
 9514|     36|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9514:14): [True: 36, False: 0]
  |  Branch (9514:39): [True: 0, False: 36]
  ------------------
 9515|      4|            symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
 9516|      4|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
 9517|      4|            symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
 9518|      4|            BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
 9519|      4|        }
 9520|       |
 9521|     40|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9521:13): [True: 4, False: 36]
  ------------------
 9522|      4|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
 9523|      4|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
 9524|      4|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
 9525|      4|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
 9526|      4|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
 9527|      4|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
 9528|       |
 9529|      4|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9529:17): [True: 4, False: 0]
  ------------------
 9530|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
 9531|      4|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
 9532|      4|                if (language == EShLangFragment)
  ------------------
  |  Branch (9532:21): [True: 0, False: 4]
  ------------------
 9533|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
 9534|      4|            }
 9535|      0|            else
 9536|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
 9537|      4|        }
 9538|       |
 9539|       |        // GL_ARB_gpu_shader5/GL_NV_gpu_shader5
 9540|     40|        if (profile != EEsProfile && version < 400 && language == EShLangGeometry) {
  ------------------
  |  Branch (9540:13): [True: 4, False: 36]
  |  Branch (9540:38): [True: 0, False: 4]
  |  Branch (9540:55): [True: 0, False: 0]
  ------------------
 9541|      0|            symbolTable.setFunctionExtensions("EmitStreamVertex", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9542|      0|            symbolTable.setFunctionExtensions("EndStreamPrimitive", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9543|      0|        }
 9544|       |        // GL_KHR_shader_subgroup
 9545|     40|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9545:14): [True: 36, False: 4]
  |  Branch (9545:39): [True: 0, False: 36]
  ------------------
 9546|     40|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (9546:14): [True: 4, False: 36]
  |  Branch (9546:39): [True: 4, False: 0]
  ------------------
 9547|      4|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
 9548|      4|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
 9549|      4|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9550|      4|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9551|      4|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9552|      4|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9553|      4|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9554|       |
 9555|      4|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
 9556|      4|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
 9557|      4|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
 9558|      4|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
 9559|      4|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
 9560|      4|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
 9561|      4|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
 9562|       |
 9563|       |            // GL_NV_shader_sm_builtins
 9564|      4|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
 9565|      4|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
 9566|      4|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
 9567|      4|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
 9568|      4|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
 9569|      4|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
 9570|      4|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
 9571|      4|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
 9572|       |
 9573|       |            // GL_ARM_shader_core_builtins
 9574|      4|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
 9575|      4|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9576|      4|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9577|      4|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9578|      4|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9579|       |
 9580|      4|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
 9581|      4|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
 9582|      4|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
 9583|      4|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
 9584|      4|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
 9585|      4|        }
 9586|       |
 9587|     40|        if (language == EShLangGeometry || language == EShLangVertex) {
  ------------------
  |  Branch (9587:13): [True: 1, False: 39]
  |  Branch (9587:44): [True: 37, False: 2]
  ------------------
 9588|     38|            if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9588:18): [True: 36, False: 2]
  |  Branch (9588:43): [True: 0, False: 36]
  ------------------
 9589|     38|                (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (9589:18): [True: 2, False: 36]
  |  Branch (9589:43): [True: 2, False: 0]
  ------------------
 9590|      2|                symbolTable.setVariableExtensions("gl_PrimitiveShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9591|      2|                BuiltInVariable("gl_PrimitiveShadingRateEXT", EbvPrimitiveShadingRateKHR, symbolTable);
 9592|       |
 9593|      2|                symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9594|      2|                symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9595|      2|                symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9596|      2|                symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9597|      2|            }
 9598|     38|        }
 9599|     40|        break;
 9600|       |
 9601|     36|    case EShLangFragment:
  ------------------
  |  Branch (9601:5): [True: 36, False: 49]
  ------------------
 9602|     36|        SpecialQualifier("gl_FrontFacing",      EvqFace,       EbvFace,             symbolTable);
 9603|     36|        SpecialQualifier("gl_FragCoord",        EvqFragCoord,  EbvFragCoord,        symbolTable);
 9604|     36|        SpecialQualifier("gl_PointCoord",       EvqPointCoord, EbvPointCoord,       symbolTable);
 9605|     36|        if (spvVersion.spv == 0)
  ------------------
  |  Branch (9605:13): [True: 36, False: 0]
  ------------------
 9606|     36|            SpecialQualifier("gl_FragColor",    EvqFragColor,  EbvFragColor,        symbolTable);
 9607|      0|        else {
 9608|      0|            TSymbol* symbol = symbolTable.find("gl_FragColor");
 9609|      0|            if (symbol) {
  ------------------
  |  Branch (9609:17): [True: 0, False: 0]
  ------------------
 9610|      0|                symbol->getWritableType().getQualifier().storage = EvqVaryingOut;
 9611|      0|                symbol->getWritableType().getQualifier().layoutLocation = 0;
 9612|      0|            }
 9613|      0|        }
 9614|     36|        SpecialQualifier("gl_FragDepth",        EvqFragDepth,  EbvFragDepth,        symbolTable);
 9615|     36|        SpecialQualifier("gl_FragDepthEXT",     EvqFragDepth,  EbvFragDepth,        symbolTable);
 9616|     36|        SpecialQualifier("gl_FragStencilRefARB", EvqFragStencil, EbvFragStencilRef, symbolTable);
 9617|     36|        SpecialQualifier("gl_HelperInvocation", EvqVaryingIn,  EbvHelperInvocation, symbolTable);
 9618|       |
 9619|     36|        BuiltInVariable("gl_ClipDistance",    EbvClipDistance,   symbolTable);
 9620|     36|        BuiltInVariable("gl_CullDistance",    EbvCullDistance,   symbolTable);
 9621|     36|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9621:13): [True: 36, False: 0]
  ------------------
 9622|     36|            symbolTable.setVariableExtensions("gl_ClipDistance", 1, &E_GL_EXT_clip_cull_distance);
 9623|     36|            symbolTable.setVariableExtensions("gl_CullDistance", 1, &E_GL_EXT_clip_cull_distance);
 9624|     36|        } else if (version < 450)
  ------------------
  |  Branch (9624:20): [True: 0, False: 0]
  ------------------
 9625|      0|            symbolTable.setVariableExtensions("gl_CullDistance", 1, &E_GL_ARB_cull_distance);
 9626|     36|        BuiltInVariable("gl_PrimitiveID",     EbvPrimitiveId,    symbolTable);
 9627|       |
 9628|     36|        if (profile != EEsProfile && version >= 140) {
  ------------------
  |  Branch (9628:13): [True: 0, False: 36]
  |  Branch (9628:38): [True: 0, False: 0]
  ------------------
 9629|      0|            symbolTable.setVariableExtensions("gl_FragStencilRefARB", 1, &E_GL_ARB_shader_stencil_export);
 9630|      0|            BuiltInVariable("gl_FragStencilRefARB", EbvFragStencilRef, symbolTable);
 9631|      0|        }
 9632|       |
 9633|     36|        if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9633:13): [True: 0, False: 36]
  |  Branch (9633:38): [True: 0, False: 0]
  ------------------
 9634|      0|            symbolTable.setFunctionExtensions("textureQueryLOD", 1, &E_GL_ARB_texture_query_lod);
 9635|      0|        }
 9636|       |
 9637|     36|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (9637:13): [True: 0, False: 36]
  |  Branch (9637:38): [True: 0, False: 0]
  ------------------
 9638|      0|            symbolTable.setFunctionExtensions("rayQueryInitializeEXT",                                            1, &E_GL_EXT_ray_query);
 9639|      0|            symbolTable.setFunctionExtensions("rayQueryTerminateEXT",                                             1, &E_GL_EXT_ray_query);
 9640|      0|            symbolTable.setFunctionExtensions("rayQueryGenerateIntersectionEXT",                                  1, &E_GL_EXT_ray_query);
 9641|      0|            symbolTable.setFunctionExtensions("rayQueryConfirmIntersectionEXT",                                   1, &E_GL_EXT_ray_query);
 9642|      0|            symbolTable.setFunctionExtensions("rayQueryProceedEXT",                                               1, &E_GL_EXT_ray_query);
 9643|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTypeEXT",                                   1, &E_GL_EXT_ray_query);
 9644|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTEXT",                                      1, &E_GL_EXT_ray_query);
 9645|      0|            symbolTable.setFunctionExtensions("rayQueryGetRayFlagsEXT",                                           1, &E_GL_EXT_ray_query);
 9646|      0|            symbolTable.setFunctionExtensions("rayQueryGetRayTMinEXT",                                            1, &E_GL_EXT_ray_query);
 9647|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceCustomIndexEXT",                    1, &E_GL_EXT_ray_query);
 9648|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceIdEXT",                             1, &E_GL_EXT_ray_query);
 9649|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT", 1, &E_GL_EXT_ray_query);
 9650|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionGeometryIndexEXT",                          1, &E_GL_EXT_ray_query);
 9651|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionPrimitiveIndexEXT",                         1, &E_GL_EXT_ray_query);
 9652|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionBarycentricsEXT",                           1, &E_GL_EXT_ray_query);
 9653|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionFrontFaceEXT",                              1, &E_GL_EXT_ray_query);
 9654|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionCandidateAABBOpaqueEXT",                    1, &E_GL_EXT_ray_query);
 9655|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectRayDirectionEXT",                     1, &E_GL_EXT_ray_query);
 9656|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectRayOriginEXT",                        1, &E_GL_EXT_ray_query);
 9657|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectToWorldEXT",                          1, &E_GL_EXT_ray_query);
 9658|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionWorldToObjectEXT",                          1, &E_GL_EXT_ray_query);
 9659|      0|            symbolTable.setFunctionExtensions("rayQueryGetWorldRayOriginEXT",                                     1, &E_GL_EXT_ray_query);
 9660|      0|            symbolTable.setFunctionExtensions("rayQueryGetWorldRayDirectionEXT",                                  1, &E_GL_EXT_ray_query);
 9661|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTriangleVertexPositionsEXT",                1, &E_GL_EXT_ray_tracing_position_fetch);
 9662|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionClusterIdNV",                               1, &E_GL_NV_cluster_acceleration_structure);
 9663|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionSpherePositionNV",                          1, &E_GL_NV_linear_swept_spheres);
 9664|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionSphereRadiusNV",                            1, &E_GL_NV_linear_swept_spheres);
 9665|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSHitValueNV",                             1, &E_GL_NV_linear_swept_spheres);
 9666|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSPositionsNV",                            1, &E_GL_NV_linear_swept_spheres);
 9667|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSRadiiNV",                                1, &E_GL_NV_linear_swept_spheres);
 9668|      0|            symbolTable.setFunctionExtensions("rayQueryIsSphereHitNV",                                            1, &E_GL_NV_linear_swept_spheres);
 9669|      0|            symbolTable.setFunctionExtensions("rayQueryIsLSSHitNV",                                               1, &E_GL_NV_linear_swept_spheres);
 9670|      0|            symbolTable.setVariableExtensions("gl_RayFlagsSkipAABBEXT",                         1, &E_GL_EXT_ray_flags_primitive_culling);
 9671|      0|            symbolTable.setVariableExtensions("gl_RayFlagsSkipTrianglesEXT",                    1, &E_GL_EXT_ray_flags_primitive_culling);
 9672|      0|            symbolTable.setVariableExtensions("gl_RayFlagsForceOpacityMicromap2StateEXT",                  1, &E_GL_EXT_opacity_micromap);
 9673|      0|            symbolTable.setVariableExtensions("gl_EnableOpacityMicromapEXT",                    1, &E_GL_EXT_opacity_micromap_ray_query_mode);
 9674|      0|        }
 9675|       |
 9676|     36|        if ((profile != EEsProfile && version >= 130) ||
  ------------------
  |  Branch (9676:14): [True: 0, False: 36]
  |  Branch (9676:39): [True: 0, False: 0]
  ------------------
 9677|     36|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9677:14): [True: 36, False: 0]
  |  Branch (9677:39): [True: 0, False: 36]
  ------------------
 9678|      0|            BuiltInVariable("gl_SampleID",           EbvSampleId,       symbolTable);
 9679|      0|            BuiltInVariable("gl_SamplePosition",     EbvSamplePosition, symbolTable);
 9680|      0|            BuiltInVariable("gl_SampleMask",         EbvSampleMask,     symbolTable);
 9681|       |
 9682|      0|            if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9682:17): [True: 0, False: 0]
  |  Branch (9682:42): [True: 0, False: 0]
  ------------------
 9683|      0|                BuiltInVariable("gl_SampleMaskIn",    EbvSampleMask,     symbolTable);
 9684|      0|                symbolTable.setVariableExtensions("gl_SampleMaskIn", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9685|       |
 9686|      0|                BuiltInVariable("gl_NumSamples",     EbvSampleMask,     symbolTable);
 9687|       |
 9688|      0|                symbolTable.setVariableExtensions("gl_SampleMask",     1, &E_GL_ARB_sample_shading);
 9689|      0|                symbolTable.setVariableExtensions("gl_SampleID",       1, &E_GL_ARB_sample_shading);
 9690|      0|                symbolTable.setVariableExtensions("gl_SamplePosition", 1, &E_GL_ARB_sample_shading);
 9691|      0|                symbolTable.setVariableExtensions("gl_NumSamples",     1, &E_GL_ARB_sample_shading);
 9692|      0|            } else {
 9693|      0|                BuiltInVariable("gl_SampleMaskIn",    EbvSampleMask,     symbolTable);
 9694|       |
 9695|      0|                if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9695:21): [True: 0, False: 0]
  |  Branch (9695:46): [True: 0, False: 0]
  ------------------
 9696|      0|                    symbolTable.setVariableExtensions("gl_SampleID", 1, &E_GL_OES_sample_variables);
 9697|      0|                    symbolTable.setVariableExtensions("gl_SamplePosition", 1, &E_GL_OES_sample_variables);
 9698|      0|                    symbolTable.setVariableExtensions("gl_SampleMaskIn", 1, &E_GL_OES_sample_variables);
 9699|      0|                    symbolTable.setVariableExtensions("gl_SampleMask", 1, &E_GL_OES_sample_variables);
 9700|      0|                    symbolTable.setVariableExtensions("gl_NumSamples", 1, &E_GL_OES_sample_variables);
 9701|      0|                }
 9702|      0|            }
 9703|      0|        }
 9704|       |
 9705|     36|        BuiltInVariable("gl_Layer",           EbvLayer,          symbolTable);
 9706|     36|        BuiltInVariable("gl_ViewportIndex",   EbvViewportIndex,  symbolTable);
 9707|       |
 9708|       |        // Compatibility variables
 9709|       |
 9710|     36|        BuiltInVariable("gl_in", "gl_FogFragCoord",   EbvFogFragCoord,   symbolTable);
 9711|     36|        BuiltInVariable("gl_in", "gl_TexCoord",       EbvTexCoord,       symbolTable);
 9712|     36|        BuiltInVariable("gl_in", "gl_Color",          EbvColor,          symbolTable);
 9713|     36|        BuiltInVariable("gl_in", "gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9714|       |
 9715|     36|        BuiltInVariable("gl_FogFragCoord",   EbvFogFragCoord,   symbolTable);
 9716|     36|        BuiltInVariable("gl_TexCoord",       EbvTexCoord,       symbolTable);
 9717|     36|        BuiltInVariable("gl_Color",          EbvColor,          symbolTable);
 9718|     36|        BuiltInVariable("gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9719|       |
 9720|       |        // built-in functions
 9721|       |
 9722|     36|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9722:13): [True: 36, False: 0]
  ------------------
 9723|     36|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9723:17): [True: 36, False: 0]
  ------------------
 9724|     36|                symbolTable.setFunctionExtensions("texture2DLodEXT",      1, &E_GL_EXT_shader_texture_lod);
 9725|     36|                symbolTable.setFunctionExtensions("texture2DProjLodEXT",  1, &E_GL_EXT_shader_texture_lod);
 9726|     36|                symbolTable.setFunctionExtensions("textureCubeLodEXT",    1, &E_GL_EXT_shader_texture_lod);
 9727|     36|                symbolTable.setFunctionExtensions("texture2DGradEXT",     1, &E_GL_EXT_shader_texture_lod);
 9728|     36|                symbolTable.setFunctionExtensions("texture2DProjGradEXT", 1, &E_GL_EXT_shader_texture_lod);
 9729|     36|                symbolTable.setFunctionExtensions("textureCubeGradEXT",   1, &E_GL_EXT_shader_texture_lod);
 9730|     36|                if (version < 320)
  ------------------
  |  Branch (9730:21): [True: 36, False: 0]
  ------------------
 9731|     36|                    symbolTable.setFunctionExtensions("textureGatherOffsets", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9732|     36|            }
 9733|     36|            if (version == 100) {
  ------------------
  |  Branch (9733:17): [True: 36, False: 0]
  ------------------
 9734|     36|                symbolTable.setFunctionExtensions("dFdx",   1, &E_GL_OES_standard_derivatives);
 9735|     36|                symbolTable.setFunctionExtensions("dFdy",   1, &E_GL_OES_standard_derivatives);
 9736|     36|                symbolTable.setFunctionExtensions("fwidth", 1, &E_GL_OES_standard_derivatives);
 9737|     36|            }
 9738|     36|            if (version == 310) {
  ------------------
  |  Branch (9738:17): [True: 0, False: 36]
  ------------------
 9739|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9740|      0|                symbolTable.setFunctionExtensions("interpolateAtCentroid", 1, &E_GL_OES_shader_multisample_interpolation);
 9741|      0|                symbolTable.setFunctionExtensions("interpolateAtSample",   1, &E_GL_OES_shader_multisample_interpolation);
 9742|      0|                symbolTable.setFunctionExtensions("interpolateAtOffset",   1, &E_GL_OES_shader_multisample_interpolation);
 9743|      0|            }
 9744|     36|        } else if (version < 130) {
  ------------------
  |  Branch (9744:20): [True: 0, False: 0]
  ------------------
 9745|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9745:17): [True: 0, False: 0]
  ------------------
 9746|      0|                symbolTable.setFunctionExtensions("texture1DLod",        1, &E_GL_ARB_shader_texture_lod);
 9747|      0|                symbolTable.setFunctionExtensions("texture2DLod",        1, &E_GL_ARB_shader_texture_lod);
 9748|      0|                symbolTable.setFunctionExtensions("texture3DLod",        1, &E_GL_ARB_shader_texture_lod);
 9749|      0|                symbolTable.setFunctionExtensions("textureCubeLod",      1, &E_GL_ARB_shader_texture_lod);
 9750|      0|                symbolTable.setFunctionExtensions("texture1DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9751|      0|                symbolTable.setFunctionExtensions("texture2DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9752|      0|                symbolTable.setFunctionExtensions("texture3DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9753|      0|                symbolTable.setFunctionExtensions("shadow1DLod",         1, &E_GL_ARB_shader_texture_lod);
 9754|      0|                symbolTable.setFunctionExtensions("shadow2DLod",         1, &E_GL_ARB_shader_texture_lod);
 9755|      0|                symbolTable.setFunctionExtensions("shadow1DProjLod",     1, &E_GL_ARB_shader_texture_lod);
 9756|      0|                symbolTable.setFunctionExtensions("shadow2DProjLod",     1, &E_GL_ARB_shader_texture_lod);
 9757|      0|            }
 9758|      0|        }
 9759|       |
 9760|       |        // E_GL_ARB_shader_texture_lod functions usable only with the extension enabled
 9761|     36|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (9761:13): [True: 0, False: 36]
  |  Branch (9761:38): [True: 0, False: 0]
  ------------------
 9762|      0|            symbolTable.setFunctionExtensions("texture1DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9763|      0|            symbolTable.setFunctionExtensions("texture1DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9764|      0|            symbolTable.setFunctionExtensions("texture2DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9765|      0|            symbolTable.setFunctionExtensions("texture2DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9766|      0|            symbolTable.setFunctionExtensions("texture3DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9767|      0|            symbolTable.setFunctionExtensions("texture3DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9768|      0|            symbolTable.setFunctionExtensions("textureCubeGradARB",       1, &E_GL_ARB_shader_texture_lod);
 9769|      0|            symbolTable.setFunctionExtensions("shadow1DGradARB",          1, &E_GL_ARB_shader_texture_lod);
 9770|      0|            symbolTable.setFunctionExtensions("shadow1DProjGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9771|      0|            symbolTable.setFunctionExtensions("shadow2DGradARB",          1, &E_GL_ARB_shader_texture_lod);
 9772|      0|            symbolTable.setFunctionExtensions("shadow2DProjGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9773|      0|            symbolTable.setFunctionExtensions("texture2DRectGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9774|      0|            symbolTable.setFunctionExtensions("texture2DRectProjGradARB", 1, &E_GL_ARB_shader_texture_lod);
 9775|      0|            symbolTable.setFunctionExtensions("shadow2DRectGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9776|      0|            symbolTable.setFunctionExtensions("shadow2DRectProjGradARB",  1, &E_GL_ARB_shader_texture_lod);
 9777|      0|        }
 9778|       |
 9779|       |        // E_GL_ARB_shader_image_load_store
 9780|     36|        if (profile != EEsProfile && version < 420)
  ------------------
  |  Branch (9780:13): [True: 0, False: 36]
  |  Branch (9780:38): [True: 0, False: 0]
  ------------------
 9781|      0|            symbolTable.setFunctionExtensions("memoryBarrier", 1, &E_GL_ARB_shader_image_load_store);
 9782|       |        // All the image access functions are protected by checks on the type of the first argument.
 9783|       |
 9784|       |        // E_GL_ARB_shader_atomic_counters
 9785|     36|        if (profile != EEsProfile && version < 420) {
  ------------------
  |  Branch (9785:13): [True: 0, False: 36]
  |  Branch (9785:38): [True: 0, False: 0]
  ------------------
 9786|      0|            symbolTable.setFunctionExtensions("atomicCounterIncrement", 1, &E_GL_ARB_shader_atomic_counters);
 9787|      0|            symbolTable.setFunctionExtensions("atomicCounterDecrement", 1, &E_GL_ARB_shader_atomic_counters);
 9788|      0|            symbolTable.setFunctionExtensions("atomicCounter"         , 1, &E_GL_ARB_shader_atomic_counters);
 9789|      0|        }
 9790|       |
 9791|       |        // E_GL_ARB_gpu_shader5/E_GL_NV_gpu_shader5
 9792|     36|        if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9792:13): [True: 0, False: 36]
  |  Branch (9792:38): [True: 0, False: 0]
  ------------------
 9793|      0|            symbolTable.setFunctionExtensions("bitfieldExtract", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9794|      0|            symbolTable.setFunctionExtensions("bitfieldInsert", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9795|      0|            symbolTable.setFunctionExtensions("bitfieldReverse", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9796|      0|            symbolTable.setFunctionExtensions("bitCount", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9797|      0|            symbolTable.setFunctionExtensions("findLSB", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9798|      0|            symbolTable.setFunctionExtensions("findMSB", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9799|      0|            symbolTable.setFunctionExtensions("uaddCarry", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9800|      0|            symbolTable.setFunctionExtensions("usubBorrow", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9801|      0|            symbolTable.setFunctionExtensions("umulExtended", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9802|      0|            symbolTable.setFunctionExtensions("imulExtended", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9803|      0|            symbolTable.setFunctionExtensions("interpolateAtCentroid", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9804|      0|            symbolTable.setFunctionExtensions("interpolateAtSample", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9805|      0|            symbolTable.setFunctionExtensions("interpolateAtOffset", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9806|      0|        }
 9807|       |
 9808|       |        // E_GL_NV_gpu_shader5
 9809|     36|        if (profile != EEsProfile && version < 450) {
  ------------------
  |  Branch (9809:13): [True: 0, False: 36]
  |  Branch (9809:38): [True: 0, False: 0]
  ------------------
 9810|      0|            symbolTable.setFunctionExtensions("packInt2x32",     1, &E_GL_NV_gpu_shader5);
 9811|      0|            symbolTable.setFunctionExtensions("packUint2x32",     1, &E_GL_NV_gpu_shader5);
 9812|      0|            symbolTable.setFunctionExtensions("unpackInt2x32",     1, &E_GL_NV_gpu_shader5);
 9813|      0|            symbolTable.setFunctionExtensions("unpackUint2x32",     1, &E_GL_NV_gpu_shader5);
 9814|      0|            symbolTable.setFunctionExtensions("packFloat2x16",     1, &E_GL_NV_gpu_shader5);
 9815|      0|            symbolTable.setFunctionExtensions("unpackFloat2x16",     1, &E_GL_NV_gpu_shader5);
 9816|      0|            symbolTable.setFunctionExtensions("doubleBitsToInt64",     1, &E_GL_NV_gpu_shader5);
 9817|      0|            symbolTable.setFunctionExtensions("doubleBitsToUint64",     1, &E_GL_NV_gpu_shader5);
 9818|      0|            symbolTable.setFunctionExtensions("int64BitsToDouble",     1, &E_GL_NV_gpu_shader5);
 9819|      0|            symbolTable.setFunctionExtensions("uint64BitsToDouble",     1, &E_GL_NV_gpu_shader5);
 9820|      0|        }
 9821|       |
 9822|       |        // E_GL_ARB_shader_atomic_counter_ops
 9823|     36|        if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (9823:13): [True: 0, False: 36]
  |  Branch (9823:38): [True: 0, False: 0]
  ------------------
 9824|      0|            symbolTable.setFunctionExtensions("atomicCounterAddARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9825|      0|            symbolTable.setFunctionExtensions("atomicCounterSubtractARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9826|      0|            symbolTable.setFunctionExtensions("atomicCounterMinARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9827|      0|            symbolTable.setFunctionExtensions("atomicCounterMaxARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9828|      0|            symbolTable.setFunctionExtensions("atomicCounterAndARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9829|      0|            symbolTable.setFunctionExtensions("atomicCounterOrARB"      , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9830|      0|            symbolTable.setFunctionExtensions("atomicCounterXorARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9831|      0|            symbolTable.setFunctionExtensions("atomicCounterExchangeARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9832|      0|            symbolTable.setFunctionExtensions("atomicCounterCompSwapARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9833|      0|        }
 9834|       |
 9835|       |        // E_GL_ARB_derivative_control
 9836|     36|        if (profile != EEsProfile && version < 450) {
  ------------------
  |  Branch (9836:13): [True: 0, False: 36]
  |  Branch (9836:38): [True: 0, False: 0]
  ------------------
 9837|      0|            symbolTable.setFunctionExtensions("dFdxFine",     1, &E_GL_ARB_derivative_control);
 9838|      0|            symbolTable.setFunctionExtensions("dFdyFine",     1, &E_GL_ARB_derivative_control);
 9839|      0|            symbolTable.setFunctionExtensions("fwidthFine",   1, &E_GL_ARB_derivative_control);
 9840|      0|            symbolTable.setFunctionExtensions("dFdxCoarse",   1, &E_GL_ARB_derivative_control);
 9841|      0|            symbolTable.setFunctionExtensions("dFdyCoarse",   1, &E_GL_ARB_derivative_control);
 9842|      0|            symbolTable.setFunctionExtensions("fwidthCoarse", 1, &E_GL_ARB_derivative_control);
 9843|      0|        }
 9844|       |
 9845|       |        // E_GL_ARB_sparse_texture2
 9846|     36|        if (profile != EEsProfile)
  ------------------
  |  Branch (9846:13): [True: 0, False: 36]
  ------------------
 9847|      0|        {
 9848|      0|            symbolTable.setFunctionExtensions("sparseTextureARB",              1, &E_GL_ARB_sparse_texture2);
 9849|      0|            symbolTable.setFunctionExtensions("sparseTextureLodARB",           1, &E_GL_ARB_sparse_texture2);
 9850|      0|            symbolTable.setFunctionExtensions("sparseTextureOffsetARB",        1, &E_GL_ARB_sparse_texture2);
 9851|      0|            symbolTable.setFunctionExtensions("sparseTexelFetchARB",           1, &E_GL_ARB_sparse_texture2);
 9852|      0|            symbolTable.setFunctionExtensions("sparseTexelFetchOffsetARB",     1, &E_GL_ARB_sparse_texture2);
 9853|      0|            symbolTable.setFunctionExtensions("sparseTextureLodOffsetARB",     1, &E_GL_ARB_sparse_texture2);
 9854|      0|            symbolTable.setFunctionExtensions("sparseTextureGradARB",          1, &E_GL_ARB_sparse_texture2);
 9855|      0|            symbolTable.setFunctionExtensions("sparseTextureGradOffsetARB",    1, &E_GL_ARB_sparse_texture2);
 9856|      0|            symbolTable.setFunctionExtensions("sparseTextureGatherARB",        1, &E_GL_ARB_sparse_texture2);
 9857|      0|            symbolTable.setFunctionExtensions("sparseTextureGatherOffsetARB",  1, &E_GL_ARB_sparse_texture2);
 9858|      0|            symbolTable.setFunctionExtensions("sparseTextureGatherOffsetsARB", 1, &E_GL_ARB_sparse_texture2);
 9859|      0|            symbolTable.setFunctionExtensions("sparseImageLoadARB",            1, &E_GL_ARB_sparse_texture2);
 9860|      0|            symbolTable.setFunctionExtensions("sparseTexelsResident",          1, &E_GL_ARB_sparse_texture2);
 9861|      0|        }
 9862|       |
 9863|       |        // E_GL_ARB_sparse_texture_clamp
 9864|     36|        if (profile != EEsProfile)
  ------------------
  |  Branch (9864:13): [True: 0, False: 36]
  ------------------
 9865|      0|        {
 9866|      0|            symbolTable.setFunctionExtensions("sparseTextureClampARB",              1, &E_GL_ARB_sparse_texture_clamp);
 9867|      0|            symbolTable.setFunctionExtensions("sparseTextureOffsetClampARB",        1, &E_GL_ARB_sparse_texture_clamp);
 9868|      0|            symbolTable.setFunctionExtensions("sparseTextureGradClampARB",          1, &E_GL_ARB_sparse_texture_clamp);
 9869|      0|            symbolTable.setFunctionExtensions("sparseTextureGradOffsetClampARB",    1, &E_GL_ARB_sparse_texture_clamp);
 9870|      0|            symbolTable.setFunctionExtensions("textureClampARB",                    1, &E_GL_ARB_sparse_texture_clamp);
 9871|      0|            symbolTable.setFunctionExtensions("textureOffsetClampARB",              1, &E_GL_ARB_sparse_texture_clamp);
 9872|      0|            symbolTable.setFunctionExtensions("textureGradClampARB",                1, &E_GL_ARB_sparse_texture_clamp);
 9873|      0|            symbolTable.setFunctionExtensions("textureGradOffsetClampARB",          1, &E_GL_ARB_sparse_texture_clamp);
 9874|      0|        }
 9875|       |
 9876|       |        // E_GL_AMD_shader_explicit_vertex_parameter
 9877|     36|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9877:13): [True: 0, False: 36]
  ------------------
 9878|      0|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspAMD",         1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9879|      0|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspCentroidAMD", 1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9880|      0|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspSampleAMD",   1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9881|      0|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothAMD",          1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9882|      0|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothCentroidAMD",  1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9883|      0|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothSampleAMD",    1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9884|      0|            symbolTable.setVariableExtensions("gl_BaryCoordPullModelAMD",       1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9885|       |
 9886|      0|            symbolTable.setFunctionExtensions("interpolateAtVertexAMD",         1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9887|       |
 9888|      0|            BuiltInVariable("gl_BaryCoordNoPerspAMD",           EbvBaryCoordNoPersp,         symbolTable);
 9889|      0|            BuiltInVariable("gl_BaryCoordNoPerspCentroidAMD",   EbvBaryCoordNoPerspCentroid, symbolTable);
 9890|      0|            BuiltInVariable("gl_BaryCoordNoPerspSampleAMD",     EbvBaryCoordNoPerspSample,   symbolTable);
 9891|      0|            BuiltInVariable("gl_BaryCoordSmoothAMD",            EbvBaryCoordSmooth,          symbolTable);
 9892|      0|            BuiltInVariable("gl_BaryCoordSmoothCentroidAMD",    EbvBaryCoordSmoothCentroid,  symbolTable);
 9893|      0|            BuiltInVariable("gl_BaryCoordSmoothSampleAMD",      EbvBaryCoordSmoothSample,    symbolTable);
 9894|      0|            BuiltInVariable("gl_BaryCoordPullModelAMD",         EbvBaryCoordPullModel,       symbolTable);
 9895|      0|        }
 9896|       |
 9897|       |        // E_GL_AMD_texture_gather_bias_lod
 9898|     36|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9898:13): [True: 0, False: 36]
  ------------------
 9899|      0|            symbolTable.setFunctionExtensions("textureGatherLodAMD",                1, &E_GL_AMD_texture_gather_bias_lod);
 9900|      0|            symbolTable.setFunctionExtensions("textureGatherLodOffsetAMD",          1, &E_GL_AMD_texture_gather_bias_lod);
 9901|      0|            symbolTable.setFunctionExtensions("textureGatherLodOffsetsAMD",         1, &E_GL_AMD_texture_gather_bias_lod);
 9902|      0|            symbolTable.setFunctionExtensions("sparseTextureGatherLodAMD",          1, &E_GL_AMD_texture_gather_bias_lod);
 9903|      0|            symbolTable.setFunctionExtensions("sparseTextureGatherLodOffsetAMD",    1, &E_GL_AMD_texture_gather_bias_lod);
 9904|      0|            symbolTable.setFunctionExtensions("sparseTextureGatherLodOffsetsAMD",   1, &E_GL_AMD_texture_gather_bias_lod);
 9905|      0|        }
 9906|       |
 9907|       |        // E_GL_AMD_shader_image_load_store_lod
 9908|     36|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9908:13): [True: 0, False: 36]
  ------------------
 9909|      0|            symbolTable.setFunctionExtensions("imageLoadLodAMD",        1, &E_GL_AMD_shader_image_load_store_lod);
 9910|      0|            symbolTable.setFunctionExtensions("imageStoreLodAMD",       1, &E_GL_AMD_shader_image_load_store_lod);
 9911|      0|            symbolTable.setFunctionExtensions("sparseImageLoadLodAMD",  1, &E_GL_AMD_shader_image_load_store_lod);
 9912|      0|        }
 9913|     36|        if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (9913:13): [True: 0, False: 36]
  |  Branch (9913:38): [True: 0, False: 0]
  ------------------
 9914|      0|            symbolTable.setVariableExtensions("gl_FragFullyCoveredNV", 1, &E_GL_NV_conservative_raster_underestimation);
 9915|      0|            BuiltInVariable("gl_FragFullyCoveredNV", EbvFragFullyCoveredNV, symbolTable);
 9916|      0|        }
 9917|     36|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9917:14): [True: 0, False: 36]
  |  Branch (9917:39): [True: 0, False: 0]
  ------------------
 9918|     36|            (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (9918:14): [True: 36, False: 0]
  |  Branch (9918:39): [True: 0, False: 36]
  ------------------
 9919|      0|            symbolTable.setVariableExtensions("gl_FragmentSizeNV",        1, &E_GL_NV_shading_rate_image);
 9920|      0|            symbolTable.setVariableExtensions("gl_InvocationsPerPixelNV", 1, &E_GL_NV_shading_rate_image);
 9921|      0|            BuiltInVariable("gl_FragmentSizeNV",        EbvFragmentSizeNV, symbolTable);
 9922|      0|            BuiltInVariable("gl_InvocationsPerPixelNV", EbvInvocationsPerPixelNV, symbolTable);
 9923|      0|            symbolTable.setVariableExtensions("gl_BaryCoordNV",        1, &E_GL_NV_fragment_shader_barycentric);
 9924|      0|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspNV", 1, &E_GL_NV_fragment_shader_barycentric);
 9925|      0|            BuiltInVariable("gl_BaryCoordNV",        EbvBaryCoordNV,        symbolTable);
 9926|      0|            BuiltInVariable("gl_BaryCoordNoPerspNV", EbvBaryCoordNoPerspNV, symbolTable);
 9927|      0|            symbolTable.setVariableExtensions("gl_BaryCoordEXT",        1, &E_GL_EXT_fragment_shader_barycentric);
 9928|      0|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspEXT", 1, &E_GL_EXT_fragment_shader_barycentric);
 9929|      0|            BuiltInVariable("gl_BaryCoordEXT",        EbvBaryCoordEXT,        symbolTable);
 9930|      0|            BuiltInVariable("gl_BaryCoordNoPerspEXT", EbvBaryCoordNoPerspEXT, symbolTable);
 9931|      0|        }
 9932|       |
 9933|     36|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9933:14): [True: 0, False: 36]
  |  Branch (9933:39): [True: 0, False: 0]
  ------------------
 9934|     36|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9934:14): [True: 36, False: 0]
  |  Branch (9934:39): [True: 0, False: 36]
  ------------------
 9935|      0|            symbolTable.setVariableExtensions("gl_FragSizeEXT",            1, &E_GL_EXT_fragment_invocation_density);
 9936|      0|            symbolTable.setVariableExtensions("gl_FragInvocationCountEXT", 1, &E_GL_EXT_fragment_invocation_density);
 9937|      0|            BuiltInVariable("gl_FragSizeEXT",            EbvFragSizeEXT, symbolTable);
 9938|      0|            BuiltInVariable("gl_FragInvocationCountEXT", EbvFragInvocationCountEXT, symbolTable);
 9939|      0|        }
 9940|       |
 9941|     36|        symbolTable.setVariableExtensions("gl_FragDepthEXT", 1, &E_GL_EXT_frag_depth);
 9942|       |
 9943|     36|        symbolTable.setFunctionExtensions("clockARB",     1, &E_GL_ARB_shader_clock);
 9944|     36|        symbolTable.setFunctionExtensions("clock2x32ARB", 1, &E_GL_ARB_shader_clock);
 9945|       |
 9946|     36|        symbolTable.setFunctionExtensions("clockRealtimeEXT", 1, &E_GL_EXT_shader_realtime_clock);
 9947|     36|        symbolTable.setFunctionExtensions("clockRealtime2x32EXT", 1, &E_GL_EXT_shader_realtime_clock);
 9948|       |
 9949|     36|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9949:13): [True: 36, False: 0]
  |  Branch (9949:38): [True: 36, False: 0]
  ------------------
 9950|     36|            symbolTable.setVariableExtensions("gl_PrimitiveID",  Num_AEP_geometry_shader, AEP_geometry_shader);
 9951|     36|            symbolTable.setVariableExtensions("gl_Layer",        Num_AEP_geometry_shader, AEP_geometry_shader);
 9952|     36|        }
 9953|       |
 9954|     36|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9954:13): [True: 36, False: 0]
  |  Branch (9954:38): [True: 36, False: 0]
  ------------------
 9955|     36|            symbolTable.setFunctionExtensions("imageAtomicAdd",      1, &E_GL_OES_shader_image_atomic);
 9956|     36|            symbolTable.setFunctionExtensions("imageAtomicMin",      1, &E_GL_OES_shader_image_atomic);
 9957|     36|            symbolTable.setFunctionExtensions("imageAtomicMax",      1, &E_GL_OES_shader_image_atomic);
 9958|     36|            symbolTable.setFunctionExtensions("imageAtomicAnd",      1, &E_GL_OES_shader_image_atomic);
 9959|     36|            symbolTable.setFunctionExtensions("imageAtomicOr",       1, &E_GL_OES_shader_image_atomic);
 9960|     36|            symbolTable.setFunctionExtensions("imageAtomicXor",      1, &E_GL_OES_shader_image_atomic);
 9961|     36|            symbolTable.setFunctionExtensions("imageAtomicExchange", 1, &E_GL_OES_shader_image_atomic);
 9962|     36|            symbolTable.setFunctionExtensions("imageAtomicCompSwap", 1, &E_GL_OES_shader_image_atomic);
 9963|     36|        }
 9964|       |
 9965|     36|        if (profile != EEsProfile && version < 330 ) {
  ------------------
  |  Branch (9965:13): [True: 0, False: 36]
  |  Branch (9965:38): [True: 0, False: 0]
  ------------------
 9966|      0|            const int numBitEncodingExts = 3;
 9967|      0|            const char* bitEncodingExts[numBitEncodingExts] = { E_GL_ARB_shader_bit_encoding,
 9968|      0|                                                                E_GL_ARB_gpu_shader5,
 9969|      0|                                                                E_GL_NV_gpu_shader5};
 9970|      0|            symbolTable.setFunctionExtensions("floatBitsToInt", numBitEncodingExts, bitEncodingExts);
 9971|      0|            symbolTable.setFunctionExtensions("floatBitsToUint", numBitEncodingExts, bitEncodingExts);
 9972|      0|            symbolTable.setFunctionExtensions("intBitsToFloat", numBitEncodingExts, bitEncodingExts);
 9973|      0|            symbolTable.setFunctionExtensions("uintBitsToFloat", numBitEncodingExts, bitEncodingExts);
 9974|       |
 9975|      0|        }
 9976|       |
 9977|     36|        if (profile != EEsProfile && version < 430 ) {
  ------------------
  |  Branch (9977:13): [True: 0, False: 36]
  |  Branch (9977:38): [True: 0, False: 0]
  ------------------
 9978|      0|            symbolTable.setFunctionExtensions("imageSize", 1, &E_GL_ARB_shader_image_size);
 9979|      0|        }
 9980|       |
 9981|       |        // GL_ARB_shader_storage_buffer_object
 9982|     36|        if (profile != EEsProfile && version < 430 ) {
  ------------------
  |  Branch (9982:13): [True: 0, False: 36]
  |  Branch (9982:38): [True: 0, False: 0]
  ------------------
 9983|      0|            symbolTable.setFunctionExtensions("atomicAdd", 1, &E_GL_ARB_shader_storage_buffer_object);
 9984|      0|            symbolTable.setFunctionExtensions("atomicMin", 1, &E_GL_ARB_shader_storage_buffer_object);
 9985|      0|            symbolTable.setFunctionExtensions("atomicMax", 1, &E_GL_ARB_shader_storage_buffer_object);
 9986|      0|            symbolTable.setFunctionExtensions("atomicAnd", 1, &E_GL_ARB_shader_storage_buffer_object);
 9987|      0|            symbolTable.setFunctionExtensions("atomicOr", 1, &E_GL_ARB_shader_storage_buffer_object);
 9988|      0|            symbolTable.setFunctionExtensions("atomicXor", 1, &E_GL_ARB_shader_storage_buffer_object);
 9989|      0|            symbolTable.setFunctionExtensions("atomicExchange", 1, &E_GL_ARB_shader_storage_buffer_object);
 9990|      0|            symbolTable.setFunctionExtensions("atomicCompSwap", 1, &E_GL_ARB_shader_storage_buffer_object);
 9991|      0|        }
 9992|       |
 9993|       |        // GL_ARB_shading_language_packing
 9994|     36|        if (profile != EEsProfile && version < 400 ) {
  ------------------
  |  Branch (9994:13): [True: 0, False: 36]
  |  Branch (9994:38): [True: 0, False: 0]
  ------------------
 9995|      0|            const int numPackingExts = 3;
 9996|      0|            const char* packingExts[numPackingExts] = { E_GL_ARB_shading_language_packing,
 9997|      0|                                                                E_GL_ARB_gpu_shader5,
 9998|      0|                                                                E_GL_NV_gpu_shader5};
 9999|      0|            symbolTable.setFunctionExtensions("packUnorm2x16", numPackingExts, packingExts);
10000|      0|            symbolTable.setFunctionExtensions("unpackUnorm2x16", numPackingExts, packingExts);
10001|      0|            symbolTable.setFunctionExtensions("packSnorm4x8", numPackingExts, packingExts);
10002|      0|            symbolTable.setFunctionExtensions("packUnorm4x8", numPackingExts, packingExts);
10003|      0|            symbolTable.setFunctionExtensions("unpackSnorm4x8", numPackingExts, packingExts);
10004|      0|            symbolTable.setFunctionExtensions("unpackUnorm4x8", numPackingExts, packingExts);
10005|      0|        }
10006|     36|        if (profile != EEsProfile && version < 420 ) {
  ------------------
  |  Branch (10006:13): [True: 0, False: 36]
  |  Branch (10006:38): [True: 0, False: 0]
  ------------------
10007|      0|            symbolTable.setFunctionExtensions("packSnorm2x16", 1, &E_GL_ARB_shading_language_packing);
10008|      0|            symbolTable.setFunctionExtensions("unpackSnorm2x16", 1, &E_GL_ARB_shading_language_packing);
10009|      0|            symbolTable.setFunctionExtensions("unpackHalf2x16", 1, &E_GL_ARB_shading_language_packing);
10010|      0|            symbolTable.setFunctionExtensions("packHalf2x16", 1, &E_GL_ARB_shading_language_packing);
10011|      0|        }
10012|       |
10013|     36|        symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
10014|     36|        BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
10015|     36|        symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
10016|     36|        BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
10017|     36|        if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (10017:13): [True: 0, False: 36]
  ------------------
10018|      0|            symbolTable.setVariableExtensions("gl_ViewID_OVR", Num_OVR_multiview_EXTs, OVR_multiview_EXTs);
10019|      0|            BuiltInVariable("gl_ViewID_OVR", EbvViewIndex, symbolTable);
10020|      0|        }
10021|       |
10022|       |        // GL_ARB_shader_ballot
10023|     36|        if (profile != EEsProfile) {
  ------------------
  |  Branch (10023:13): [True: 0, False: 36]
  ------------------
10024|      0|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10025|      0|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10026|      0|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10027|      0|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10028|      0|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10029|      0|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10030|      0|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10031|       |
10032|      0|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10033|      0|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10034|      0|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10035|      0|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10036|      0|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10037|      0|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10038|       |
10039|      0|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10039:17): [True: 0, False: 0]
  ------------------
10040|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10041|      0|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10042|      0|                if (language == EShLangFragment)
  ------------------
  |  Branch (10042:21): [True: 0, False: 0]
  ------------------
10043|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10044|      0|            }
10045|      0|            else
10046|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10047|      0|        }
10048|       |
10049|       |        // GL_EXT_expect_assume
10050|     36|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10050:14): [True: 36, False: 0]
  |  Branch (10050:39): [True: 0, False: 36]
  ------------------
10051|     36|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10051:14): [True: 0, False: 36]
  |  Branch (10051:39): [True: 0, False: 0]
  ------------------
10052|      0|            symbolTable.setFunctionExtensions("assumeEXT", 1, &E_GL_EXT_expect_assume);
10053|      0|            symbolTable.setFunctionExtensions("expectEXT", 1, &E_GL_EXT_expect_assume);
10054|      0|        }
10055|       |
10056|       |        // GL_KHR_shader_subgroup
10057|     36|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10057:14): [True: 36, False: 0]
  |  Branch (10057:39): [True: 0, False: 36]
  ------------------
10058|     36|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10058:14): [True: 0, False: 36]
  |  Branch (10058:39): [True: 0, False: 0]
  ------------------
10059|      0|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10060|      0|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10061|      0|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10062|      0|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10063|      0|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10064|      0|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10065|      0|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10066|       |
10067|      0|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10068|      0|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10069|      0|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10070|      0|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10071|      0|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10072|      0|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10073|      0|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10074|       |
10075|      0|            symbolTable.setFunctionExtensions("subgroupBarrier",                 1, &E_GL_KHR_shader_subgroup_basic);
10076|      0|            symbolTable.setFunctionExtensions("subgroupMemoryBarrier",           1, &E_GL_KHR_shader_subgroup_basic);
10077|      0|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierBuffer",     1, &E_GL_KHR_shader_subgroup_basic);
10078|      0|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierImage",      1, &E_GL_KHR_shader_subgroup_basic);
10079|      0|            symbolTable.setFunctionExtensions("subgroupElect",                   1, &E_GL_KHR_shader_subgroup_basic);
10080|      0|            symbolTable.setFunctionExtensions("subgroupAll",                     1, &E_GL_KHR_shader_subgroup_vote);
10081|      0|            symbolTable.setFunctionExtensions("subgroupAny",                     1, &E_GL_KHR_shader_subgroup_vote);
10082|      0|            symbolTable.setFunctionExtensions("subgroupAllEqual",                1, &E_GL_KHR_shader_subgroup_vote);
10083|      0|            symbolTable.setFunctionExtensions("subgroupBroadcast",               1, &E_GL_KHR_shader_subgroup_ballot);
10084|      0|            symbolTable.setFunctionExtensions("subgroupBroadcastFirst",          1, &E_GL_KHR_shader_subgroup_ballot);
10085|      0|            symbolTable.setFunctionExtensions("subgroupBallot",                  1, &E_GL_KHR_shader_subgroup_ballot);
10086|      0|            symbolTable.setFunctionExtensions("subgroupInverseBallot",           1, &E_GL_KHR_shader_subgroup_ballot);
10087|      0|            symbolTable.setFunctionExtensions("subgroupBallotBitExtract",        1, &E_GL_KHR_shader_subgroup_ballot);
10088|      0|            symbolTable.setFunctionExtensions("subgroupBallotBitCount",          1, &E_GL_KHR_shader_subgroup_ballot);
10089|      0|            symbolTable.setFunctionExtensions("subgroupBallotInclusiveBitCount", 1, &E_GL_KHR_shader_subgroup_ballot);
10090|      0|            symbolTable.setFunctionExtensions("subgroupBallotExclusiveBitCount", 1, &E_GL_KHR_shader_subgroup_ballot);
10091|      0|            symbolTable.setFunctionExtensions("subgroupBallotFindLSB",           1, &E_GL_KHR_shader_subgroup_ballot);
10092|      0|            symbolTable.setFunctionExtensions("subgroupBallotFindMSB",           1, &E_GL_KHR_shader_subgroup_ballot);
10093|      0|            symbolTable.setFunctionExtensions("subgroupShuffle",                 1, &E_GL_KHR_shader_subgroup_shuffle);
10094|      0|            symbolTable.setFunctionExtensions("subgroupShuffleXor",              1, &E_GL_KHR_shader_subgroup_shuffle);
10095|      0|            symbolTable.setFunctionExtensions("subgroupShuffleUp",               1, &E_GL_KHR_shader_subgroup_shuffle_relative);
10096|      0|            symbolTable.setFunctionExtensions("subgroupShuffleDown",             1, &E_GL_KHR_shader_subgroup_shuffle_relative);
10097|      0|            symbolTable.setFunctionExtensions("subgroupRotate",                  1, &E_GL_KHR_shader_subgroup_rotate);
10098|      0|            symbolTable.setFunctionExtensions("subgroupClusteredRotate",         1, &E_GL_KHR_shader_subgroup_rotate);
10099|      0|            symbolTable.setFunctionExtensions("subgroupAdd",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10100|      0|            symbolTable.setFunctionExtensions("subgroupMul",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10101|      0|            symbolTable.setFunctionExtensions("subgroupMin",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10102|      0|            symbolTable.setFunctionExtensions("subgroupMax",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10103|      0|            symbolTable.setFunctionExtensions("subgroupAnd",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10104|      0|            symbolTable.setFunctionExtensions("subgroupOr",                      1, &E_GL_KHR_shader_subgroup_arithmetic);
10105|      0|            symbolTable.setFunctionExtensions("subgroupXor",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10106|      0|            symbolTable.setFunctionExtensions("subgroupInclusiveAdd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10107|      0|            symbolTable.setFunctionExtensions("subgroupInclusiveMul",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10108|      0|            symbolTable.setFunctionExtensions("subgroupInclusiveMin",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10109|      0|            symbolTable.setFunctionExtensions("subgroupInclusiveMax",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10110|      0|            symbolTable.setFunctionExtensions("subgroupInclusiveAnd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10111|      0|            symbolTable.setFunctionExtensions("subgroupInclusiveOr",             1, &E_GL_KHR_shader_subgroup_arithmetic);
10112|      0|            symbolTable.setFunctionExtensions("subgroupInclusiveXor",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10113|      0|            symbolTable.setFunctionExtensions("subgroupExclusiveAdd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10114|      0|            symbolTable.setFunctionExtensions("subgroupExclusiveMul",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10115|      0|            symbolTable.setFunctionExtensions("subgroupExclusiveMin",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10116|      0|            symbolTable.setFunctionExtensions("subgroupExclusiveMax",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10117|      0|            symbolTable.setFunctionExtensions("subgroupExclusiveAnd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10118|      0|            symbolTable.setFunctionExtensions("subgroupExclusiveOr",             1, &E_GL_KHR_shader_subgroup_arithmetic);
10119|      0|            symbolTable.setFunctionExtensions("subgroupExclusiveXor",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10120|      0|            symbolTable.setFunctionExtensions("subgroupClusteredAdd",            1, &E_GL_KHR_shader_subgroup_clustered);
10121|      0|            symbolTable.setFunctionExtensions("subgroupClusteredMul",            1, &E_GL_KHR_shader_subgroup_clustered);
10122|      0|            symbolTable.setFunctionExtensions("subgroupClusteredMin",            1, &E_GL_KHR_shader_subgroup_clustered);
10123|      0|            symbolTable.setFunctionExtensions("subgroupClusteredMax",            1, &E_GL_KHR_shader_subgroup_clustered);
10124|      0|            symbolTable.setFunctionExtensions("subgroupClusteredAnd",            1, &E_GL_KHR_shader_subgroup_clustered);
10125|      0|            symbolTable.setFunctionExtensions("subgroupClusteredOr",             1, &E_GL_KHR_shader_subgroup_clustered);
10126|      0|            symbolTable.setFunctionExtensions("subgroupClusteredXor",            1, &E_GL_KHR_shader_subgroup_clustered);
10127|      0|            symbolTable.setFunctionExtensions("subgroupQuadBroadcast",           1, &E_GL_KHR_shader_subgroup_quad);
10128|      0|            symbolTable.setFunctionExtensions("subgroupQuadSwapHorizontal",      1, &E_GL_KHR_shader_subgroup_quad);
10129|      0|            symbolTable.setFunctionExtensions("subgroupQuadSwapVertical",        1, &E_GL_KHR_shader_subgroup_quad);
10130|      0|            symbolTable.setFunctionExtensions("subgroupQuadSwapDiagonal",        1, &E_GL_KHR_shader_subgroup_quad);
10131|      0|            symbolTable.setFunctionExtensions("subgroupPartitionNV",                          1, &E_GL_NV_shader_subgroup_partitioned);
10132|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedAddNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10133|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedMulNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10134|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedMinNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10135|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedMaxNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10136|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedAndNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10137|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedOrNV",                      1, &E_GL_NV_shader_subgroup_partitioned);
10138|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedXorNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10139|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveAddNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10140|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMulNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10141|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMinNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10142|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMaxNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10143|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveAndNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10144|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveOrNV",             1, &E_GL_NV_shader_subgroup_partitioned);
10145|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveXorNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10146|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveAddNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10147|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMulNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10148|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMinNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10149|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMaxNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10150|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveAndNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10151|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveOrNV",             1, &E_GL_NV_shader_subgroup_partitioned);
10152|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveXorNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10153|       |
10154|       |            // GL_NV_shader_sm_builtins
10155|      0|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10156|      0|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10157|      0|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10158|      0|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10159|      0|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10160|      0|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10161|      0|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10162|      0|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10163|       |
10164|       |            // GL_ARM_shader_core_builtins
10165|      0|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10166|      0|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10167|      0|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10168|      0|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10169|      0|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10170|       |
10171|      0|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10172|      0|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10173|      0|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10174|      0|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10175|      0|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10176|      0|        }
10177|       |
10178|     36|        if (profile == EEsProfile) {
  ------------------
  |  Branch (10178:13): [True: 36, False: 0]
  ------------------
10179|     36|            symbolTable.setFunctionExtensions("shadow2DEXT",        1, &E_GL_EXT_shadow_samplers);
10180|     36|            symbolTable.setFunctionExtensions("shadow2DProjEXT",    1, &E_GL_EXT_shadow_samplers);
10181|     36|        }
10182|       |
10183|     36|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10183:13): [True: 0, False: 36]
  ------------------
10184|      0|            symbolTable.setVariableExtensions("gl_ScopeDevice",             1, &E_GL_KHR_memory_scope_semantics);
10185|      0|            symbolTable.setVariableExtensions("gl_ScopeWorkgroup",          1, &E_GL_KHR_memory_scope_semantics);
10186|      0|            symbolTable.setVariableExtensions("gl_ScopeSubgroup",           1, &E_GL_KHR_memory_scope_semantics);
10187|      0|            symbolTable.setVariableExtensions("gl_ScopeInvocation",         1, &E_GL_KHR_memory_scope_semantics);
10188|       |
10189|      0|            symbolTable.setVariableExtensions("gl_SemanticsRelaxed",        1, &E_GL_KHR_memory_scope_semantics);
10190|      0|            symbolTable.setVariableExtensions("gl_SemanticsAcquire",        1, &E_GL_KHR_memory_scope_semantics);
10191|      0|            symbolTable.setVariableExtensions("gl_SemanticsRelease",        1, &E_GL_KHR_memory_scope_semantics);
10192|      0|            symbolTable.setVariableExtensions("gl_SemanticsAcquireRelease", 1, &E_GL_KHR_memory_scope_semantics);
10193|      0|            symbolTable.setVariableExtensions("gl_SemanticsMakeAvailable",  1, &E_GL_KHR_memory_scope_semantics);
10194|      0|            symbolTable.setVariableExtensions("gl_SemanticsMakeVisible",    1, &E_GL_KHR_memory_scope_semantics);
10195|      0|            symbolTable.setVariableExtensions("gl_SemanticsVolatile",       1, &E_GL_KHR_memory_scope_semantics);
10196|       |
10197|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsNone",    1, &E_GL_KHR_memory_scope_semantics);
10198|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsBuffer",  1, &E_GL_KHR_memory_scope_semantics);
10199|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsShared",  1, &E_GL_KHR_memory_scope_semantics);
10200|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsImage",   1, &E_GL_KHR_memory_scope_semantics);
10201|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsOutput",  1, &E_GL_KHR_memory_scope_semantics);
10202|      0|        }
10203|       |
10204|     36|        symbolTable.setFunctionExtensions("helperInvocationEXT",            1, &E_GL_EXT_demote_to_helper_invocation);
10205|       |
10206|     36|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10206:14): [True: 36, False: 0]
  |  Branch (10206:39): [True: 0, False: 36]
  ------------------
10207|     36|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10207:14): [True: 0, False: 36]
  |  Branch (10207:39): [True: 0, False: 0]
  ------------------
10208|      0|            symbolTable.setVariableExtensions("gl_ShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
10209|      0|            BuiltInVariable("gl_ShadingRateEXT", EbvShadingRateKHR, symbolTable);
10210|       |
10211|      0|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10212|      0|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10213|      0|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10214|      0|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10215|      0|        }
10216|       |
10217|       |        // GL_EXT_shader_quad_control
10218|     36|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (10218:14): [True: 0, False: 36]
  |  Branch (10218:39): [True: 0, False: 0]
  ------------------
10219|     36|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (10219:14): [True: 36, False: 0]
  |  Branch (10219:39): [True: 0, False: 36]
  ------------------
10220|      0|            symbolTable.setFunctionExtensions("subgroupQuadAll",                     1,  &E_GL_KHR_shader_subgroup_vote);
10221|      0|            symbolTable.setFunctionExtensions("subgroupQuadAny",                     1,  &E_GL_KHR_shader_subgroup_vote);
10222|      0|        }
10223|       |
10224|       |        // GL_EXT_shader_tile_image
10225|     36|        symbolTable.setFunctionExtensions("stencilAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10226|     36|        symbolTable.setFunctionExtensions("depthAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10227|     36|        symbolTable.setFunctionExtensions("colorAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10228|       |
10229|     36|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10229:14): [True: 36, False: 0]
  |  Branch (10229:39): [True: 0, False: 36]
  ------------------
10230|     36|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10230:14): [True: 0, False: 36]
  |  Branch (10230:39): [True: 0, False: 0]
  ------------------
10231|       |
10232|      0|            symbolTable.setFunctionExtensions("textureWeightedQCOM",      1, &E_GL_QCOM_image_processing);
10233|      0|            symbolTable.setFunctionExtensions("textureBoxFilterQCOM",     1, &E_GL_QCOM_image_processing);
10234|      0|            symbolTable.setFunctionExtensions("textureBlockMatchSADQCOM", 1, &E_GL_QCOM_image_processing);
10235|      0|            symbolTable.setFunctionExtensions("textureBlockMatchSSDQCOM", 1, &E_GL_QCOM_image_processing);
10236|       |
10237|      0|            symbolTable.setFunctionExtensions("textureBlockMatchWindowSSDQCOM", 1, &E_GL_QCOM_image_processing2);
10238|      0|            symbolTable.setFunctionExtensions("textureBlockMatchWindowSADQCOM", 1, &E_GL_QCOM_image_processing2);
10239|      0|            symbolTable.setFunctionExtensions("textureBlockMatchGatherSSDQCOM", 1, &E_GL_QCOM_image_processing2);
10240|      0|            symbolTable.setFunctionExtensions("textureBlockMatchGatherSADQCOM", 1, &E_GL_QCOM_image_processing2);
10241|      0|        }
10242|       |
10243|     36|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10243:14): [True: 36, False: 0]
  |  Branch (10243:39): [True: 0, False: 36]
  ------------------
10244|     36|            (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10244:14): [True: 0, False: 36]
  |  Branch (10244:39): [True: 0, False: 0]
  ------------------
10245|      0|            BuiltInVariable("gl_TileOffsetQCOM",    EbvTileOffsetQCOM,      symbolTable);
10246|      0|            BuiltInVariable("gl_TileDimensionQCOM", EbvTileDimensionQCOM,   symbolTable);
10247|      0|            BuiltInVariable("gl_TileApronSizeQCOM", EbvTileApronSizeQCOM,   symbolTable);
10248|       |
10249|      0|            symbolTable.setVariableExtensions("gl_TileOffsetQCOM",        1, &E_GL_QCOM_tile_shading);
10250|      0|            symbolTable.setVariableExtensions("gl_TileDimensionQCOM",     1, &E_GL_QCOM_tile_shading);
10251|      0|            symbolTable.setVariableExtensions("gl_TileApronSizeQCOM",     1, &E_GL_QCOM_tile_shading);
10252|      0|        }
10253|       |
10254|     36|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10254:14): [True: 36, False: 0]
  |  Branch (10254:39): [True: 0, False: 36]
  ------------------
10255|     36|            (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (10255:14): [True: 0, False: 36]
  |  Branch (10255:39): [True: 0, False: 0]
  ------------------
10256|      0|            symbolTable.setFunctionExtensions("textureGather4x1QCOM", 1, &E_GL_QCOM_image_processing3);
10257|      0|            symbolTable.setFunctionExtensions("textureGatherV2QCOM", 1, &E_GL_QCOM_image_processing3);
10258|      0|            symbolTable.setFunctionExtensions("textureGatherH2QCOM", 1, &E_GL_QCOM_image_processing3);
10259|      0|            symbolTable.setFunctionExtensions("textureGatherDQCOM", 1, &E_GL_QCOM_image_processing3);
10260|      0|            symbolTable.setFunctionExtensions("textureGather4x1OffsetQCOM", 1, &E_GL_QCOM_image_processing3);
10261|      0|            symbolTable.setFunctionExtensions("textureGatherV2OffsetQCOM", 1, &E_GL_QCOM_image_processing3);
10262|      0|            symbolTable.setFunctionExtensions("textureGatherH2OffsetQCOM", 1, &E_GL_QCOM_image_processing3);
10263|      0|            symbolTable.setFunctionExtensions("textureGatherDOffsetQCOM", 1, &E_GL_QCOM_image_processing3);
10264|      0|        }
10265|       |
10266|     36|        break;
10267|       |
10268|      1|    case EShLangCompute:
  ------------------
  |  Branch (10268:5): [True: 1, False: 84]
  ------------------
10269|      1|        BuiltInVariable("gl_NumWorkGroups",         EbvNumWorkGroups,        symbolTable);
10270|      1|        BuiltInVariable("gl_WorkGroupSize",         EbvWorkGroupSize,        symbolTable);
10271|      1|        BuiltInVariable("gl_WorkGroupID",           EbvWorkGroupId,          symbolTable);
10272|      1|        BuiltInVariable("gl_LocalInvocationID",     EbvLocalInvocationId,    symbolTable);
10273|      1|        BuiltInVariable("gl_GlobalInvocationID",    EbvGlobalInvocationId,   symbolTable);
10274|      1|        BuiltInVariable("gl_LocalInvocationIndex",  EbvLocalInvocationIndex, symbolTable);
10275|      1|        BuiltInVariable("gl_DeviceIndex",           EbvDeviceIndex,          symbolTable);
10276|      1|        BuiltInVariable("gl_ViewIndex",             EbvViewIndex,            symbolTable);
10277|       |
10278|      1|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (10278:14): [True: 1, False: 0]
  |  Branch (10278:39): [True: 1, False: 0]
  ------------------
10279|      1|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (10279:14): [True: 0, False: 0]
  |  Branch (10279:39): [True: 0, False: 0]
  ------------------
10280|      1|            symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
10281|      1|            symbolTable.setVariableExtensions("gl_ViewIndex",    1, &E_GL_EXT_multiview);
10282|      1|        }
10283|       |
10284|      1|        if (profile != EEsProfile && version < 430) {
  ------------------
  |  Branch (10284:13): [True: 1, False: 0]
  |  Branch (10284:38): [True: 0, False: 1]
  ------------------
10285|      0|            symbolTable.setVariableExtensions("gl_NumWorkGroups",        1, &E_GL_ARB_compute_shader);
10286|      0|            symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_ARB_compute_shader);
10287|      0|            symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_ARB_compute_shader);
10288|      0|            symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_ARB_compute_shader);
10289|      0|            symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_ARB_compute_shader);
10290|      0|            symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_ARB_compute_shader);
10291|       |
10292|      0|            symbolTable.setVariableExtensions("gl_MaxComputeWorkGroupCount",       1, &E_GL_ARB_compute_shader);
10293|      0|            symbolTable.setVariableExtensions("gl_MaxComputeWorkGroupSize",        1, &E_GL_ARB_compute_shader);
10294|      0|            symbolTable.setVariableExtensions("gl_MaxComputeUniformComponents",    1, &E_GL_ARB_compute_shader);
10295|      0|            symbolTable.setVariableExtensions("gl_MaxComputeTextureImageUnits",    1, &E_GL_ARB_compute_shader);
10296|      0|            symbolTable.setVariableExtensions("gl_MaxComputeImageUniforms",        1, &E_GL_ARB_compute_shader);
10297|      0|            symbolTable.setVariableExtensions("gl_MaxComputeAtomicCounters",       1, &E_GL_ARB_compute_shader);
10298|      0|            symbolTable.setVariableExtensions("gl_MaxComputeAtomicCounterBuffers", 1, &E_GL_ARB_compute_shader);
10299|       |
10300|      0|            symbolTable.setFunctionExtensions("barrier",                    1, &E_GL_ARB_compute_shader);
10301|      0|            symbolTable.setFunctionExtensions("memoryBarrierAtomicCounter", 1, &E_GL_ARB_compute_shader);
10302|      0|            symbolTable.setFunctionExtensions("memoryBarrierBuffer",        1, &E_GL_ARB_compute_shader);
10303|      0|            symbolTable.setFunctionExtensions("memoryBarrierImage",         1, &E_GL_ARB_compute_shader);
10304|      0|            symbolTable.setFunctionExtensions("memoryBarrierShared",        1, &E_GL_ARB_compute_shader);
10305|      0|            symbolTable.setFunctionExtensions("groupMemoryBarrier",         1, &E_GL_ARB_compute_shader);
10306|      0|        }
10307|       |
10308|      1|        symbolTable.setFunctionExtensions("controlBarrier",                 1, &E_GL_KHR_memory_scope_semantics);
10309|      1|        symbolTable.setFunctionExtensions("debugPrintfEXT",                 1, &E_GL_EXT_debug_printf);
10310|      1|        symbolTable.setFunctionExtensions("abortEXT",                       1, &E_GL_EXT_abort);
10311|      1|        symbolTable.setFunctionExtensions("controlBarrierArrive",           1, &E_GL_EXT_split_barrier);
10312|      1|        symbolTable.setFunctionExtensions("controlBarrierWait",             1, &E_GL_EXT_split_barrier);
10313|       |
10314|       |        // GL_ARB_shader_ballot
10315|      1|        if (profile != EEsProfile) {
  ------------------
  |  Branch (10315:13): [True: 1, False: 0]
  ------------------
10316|      1|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10317|      1|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10318|      1|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10319|      1|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10320|      1|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10321|      1|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10322|      1|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10323|       |
10324|      1|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10325|      1|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10326|      1|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10327|      1|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10328|      1|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10329|      1|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10330|       |
10331|      1|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10331:17): [True: 1, False: 0]
  ------------------
10332|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10333|      1|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10334|      1|                if (language == EShLangFragment)
  ------------------
  |  Branch (10334:21): [True: 0, False: 1]
  ------------------
10335|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10336|      1|            }
10337|      0|            else
10338|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10339|      1|        }
10340|       |
10341|       |        // GL_KHR_shader_subgroup
10342|      1|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10342:14): [True: 0, False: 1]
  |  Branch (10342:39): [True: 0, False: 0]
  ------------------
10343|      1|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10343:14): [True: 1, False: 0]
  |  Branch (10343:39): [True: 1, False: 0]
  ------------------
10344|      1|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10345|      1|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10346|      1|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10347|      1|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10348|      1|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10349|      1|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10350|      1|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10351|       |
10352|      1|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10353|      1|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10354|      1|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10355|      1|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10356|      1|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10357|      1|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10358|      1|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10359|       |
10360|       |            // GL_NV_shader_sm_builtins
10361|      1|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10362|      1|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10363|      1|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10364|      1|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10365|      1|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10366|      1|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10367|      1|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10368|      1|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10369|       |
10370|       |            // GL_ARM_shader_core_builtins
10371|      1|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10372|      1|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10373|      1|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10374|      1|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10375|      1|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10376|       |
10377|      1|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10378|      1|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10379|      1|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10380|      1|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10381|      1|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10382|      1|        }
10383|       |
10384|       |        // GL_KHR_shader_subgroup
10385|      1|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10385:14): [True: 0, False: 1]
  |  Branch (10385:39): [True: 0, False: 0]
  ------------------
10386|      1|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10386:14): [True: 1, False: 0]
  |  Branch (10386:39): [True: 1, False: 0]
  ------------------
10387|      1|            symbolTable.setVariableExtensions("gl_NumSubgroups", 1, &E_GL_KHR_shader_subgroup_basic);
10388|      1|            symbolTable.setVariableExtensions("gl_SubgroupID",   1, &E_GL_KHR_shader_subgroup_basic);
10389|       |
10390|      1|            BuiltInVariable("gl_NumSubgroups", EbvNumSubgroups, symbolTable);
10391|      1|            BuiltInVariable("gl_SubgroupID",   EbvSubgroupID,   symbolTable);
10392|       |
10393|      1|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
10394|      1|        }
10395|       |
10396|      1|        {
10397|      1|            const char *coopExt[2] = { E_GL_NV_cooperative_matrix, E_GL_NV_integer_cooperative_matrix };
10398|      1|            symbolTable.setFunctionExtensions("coopMatLoadNV",   2, coopExt);
10399|      1|            symbolTable.setFunctionExtensions("coopMatStoreNV",  2, coopExt);
10400|      1|            symbolTable.setFunctionExtensions("coopMatMulAddNV", 2, coopExt);
10401|      1|        }
10402|       |
10403|      1|        {
10404|      1|            auto coopMatKHRCallback = [](const char *name) -> std::vector<const char *> {
10405|      1|                std::vector<const char *> ret;
10406|      1|                if (strstr(name, "u64") != nullptr) {
10407|      1|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10408|      1|                } else {
10409|      1|                    ret.push_back(E_GL_KHR_cooperative_matrix);
10410|      1|                }
10411|      1|                return ret;
10412|      1|            };
10413|      1|            auto coopMat2NVCallback = [](const char *name) -> std::vector<const char *> {
10414|      1|                std::vector<const char *> ret;
10415|      1|                if (strstr(name, "u64") != nullptr) {
10416|      1|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10417|      1|                } else {
10418|      1|                    ret.push_back(E_GL_NV_cooperative_matrix2);
10419|      1|                }
10420|      1|                return ret;
10421|      1|            };
10422|       |
10423|      1|            symbolTable.setFunctionExtensionsCallback("coopMatLoad",   coopMatKHRCallback);
10424|      1|            symbolTable.setFunctionExtensionsCallback("coopMatStore",  coopMatKHRCallback);
10425|      1|            symbolTable.setFunctionExtensions("coopMatMulAdd", 1, &E_GL_KHR_cooperative_matrix);
10426|       |
10427|      1|            symbolTable.setFunctionExtensionsCallback("coopMatLoadTensorNV",   coopMat2NVCallback);
10428|      1|            symbolTable.setFunctionExtensionsCallback("coopMatStoreTensorNV",   coopMat2NVCallback);
10429|       |
10430|      1|            symbolTable.setFunctionExtensions("coopMatReduceNV",   1, &E_GL_NV_cooperative_matrix2);
10431|      1|            symbolTable.setFunctionExtensions("coopMatPerElementNV",  1, &E_GL_NV_cooperative_matrix2);
10432|      1|            symbolTable.setFunctionExtensions("coopMatTransposeNV",   1, &E_GL_NV_cooperative_matrix2);
10433|       |
10434|      1|            symbolTable.setFunctionExtensions("createTensorLayoutNV",           1, &E_GL_NV_cooperative_matrix2);
10435|      1|            symbolTable.setFunctionExtensions("setTensorLayoutBlockSizeNV",     1, &E_GL_NV_cooperative_matrix2);
10436|      1|            symbolTable.setFunctionExtensions("setTensorLayoutDimensionNV",     1, &E_GL_NV_cooperative_matrix2);
10437|      1|            symbolTable.setFunctionExtensions("setTensorLayoutStrideNV",        1, &E_GL_NV_cooperative_matrix2);
10438|      1|            symbolTable.setFunctionExtensions("sliceTensorLayoutNV",            1, &E_GL_NV_cooperative_matrix2);
10439|      1|            symbolTable.setFunctionExtensions("setTensorLayoutClampValueNV",    1, &E_GL_NV_cooperative_matrix2);
10440|       |
10441|      1|            symbolTable.setFunctionExtensions("createTensorViewNV",             1, &E_GL_NV_cooperative_matrix2);
10442|      1|            symbolTable.setFunctionExtensions("setTensorViewDimensionsNV",      1, &E_GL_NV_cooperative_matrix2);
10443|      1|            symbolTable.setFunctionExtensions("setTensorViewStrideNV",          1, &E_GL_NV_cooperative_matrix2);
10444|      1|            symbolTable.setFunctionExtensions("setTensorViewClipNV",            1, &E_GL_NV_cooperative_matrix2);
10445|      1|        }
10446|       |
10447|      1|        {
10448|      1|            symbolTable.setFunctionExtensions("coopMatReduceEXT",           1, &E_GL_EXT_cooperative_matrix_maintenance1);
10449|      1|            symbolTable.setFunctionExtensions("coopMatPerElementEXT",       1, &E_GL_EXT_cooperative_matrix_maintenance1);
10450|      1|            symbolTable.setFunctionExtensions("coopMatTransposeEXT",        1, &E_GL_EXT_cooperative_matrix_maintenance1);
10451|      1|            symbolTable.setFunctionExtensions("coopMatGetCoordinateEXT",    1, &E_GL_EXT_cooperative_matrix_maintenance1);
10452|      1|        }
10453|       |
10454|      1|        {
10455|      1|            symbolTable.setFunctionExtensions("tensorReadARM",   1, &E_GL_ARM_tensors);
10456|      1|            symbolTable.setFunctionExtensions("tensorWriteARM",  1, &E_GL_ARM_tensors);
10457|      1|            symbolTable.setFunctionExtensions("tensorSizeARM",   1, &E_GL_ARM_tensors);
10458|      1|        }
10459|      1|        {
10460|      1|            auto coopVecCallback = [](const char *name) -> std::vector<const char *> {
10461|      1|                std::vector<const char *> ret;
10462|       |                // This looks for u64 as the last parameter (the offset)
10463|      1|                if (strstr(name, "u641;") != nullptr) {
10464|      1|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10465|      1|                } else {
10466|      1|                    ret.push_back(E_GL_NV_cooperative_vector);
10467|      1|                }
10468|      1|                return ret;
10469|      1|            };
10470|      1|            symbolTable.setFunctionExtensionsCallback("coopVecMatMulNV", coopVecCallback);
10471|      1|            symbolTable.setFunctionExtensionsCallback("coopVecMatMulAddNV", coopVecCallback);
10472|      1|            symbolTable.setFunctionExtensionsCallback("coopVecLoadNV", coopVecCallback);
10473|      1|            symbolTable.setFunctionExtensionsCallback("coopVecStoreNV", coopVecCallback);
10474|      1|            symbolTable.setFunctionExtensionsCallback("coopVecOuterProductAccumulateNV", coopVecCallback);
10475|      1|            symbolTable.setFunctionExtensionsCallback("coopVecReduceSumAccumulateNV", coopVecCallback);
10476|      1|        }
10477|       |
10478|      1|        {
10479|      1|          symbolTable.setFunctionExtensions("bitcastQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10480|      1|          symbolTable.setFunctionExtensions("extractSubArrayQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10481|      1|          symbolTable.setFunctionExtensions("vectorToCoopmatQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10482|      1|          symbolTable.setFunctionExtensions("coopmatToVectorQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10483|      1|        }
10484|       |
10485|      1|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (10485:14): [True: 1, False: 0]
  |  Branch (10485:39): [True: 1, False: 0]
  |  Branch (10485:59): [True: 0, False: 0]
  |  Branch (10485:84): [True: 0, False: 0]
  ------------------
10486|      1|            const char* const derivativeExts[] = { E_GL_NV_compute_shader_derivatives, E_GL_KHR_compute_shader_derivatives };
10487|      1|            if (language == EShLangCompute) {
  ------------------
  |  Branch (10487:17): [True: 1, False: 0]
  ------------------
10488|      1|                symbolTable.setFunctionExtensions("dFdx",                   2, derivativeExts);
10489|      1|                symbolTable.setFunctionExtensions("dFdy",                   2, derivativeExts);
10490|      1|                symbolTable.setFunctionExtensions("fwidth",                 2, derivativeExts);
10491|      1|                symbolTable.setFunctionExtensions("dFdxFine",               2, derivativeExts);
10492|      1|                symbolTable.setFunctionExtensions("dFdyFine",               2, derivativeExts);
10493|      1|                symbolTable.setFunctionExtensions("fwidthFine",             2, derivativeExts);
10494|      1|                symbolTable.setFunctionExtensions("dFdxCoarse",             2, derivativeExts);
10495|      1|                symbolTable.setFunctionExtensions("dFdyCoarse",             2, derivativeExts);
10496|      1|                symbolTable.setFunctionExtensions("fwidthCoarse",           2, derivativeExts);
10497|      1|            } else if (language == EShLangTask || language == EShLangMesh) {
  ------------------
  |  Branch (10497:24): [True: 0, False: 0]
  |  Branch (10497:51): [True: 0, False: 0]
  ------------------
10498|      0|                symbolTable.setFunctionExtensions("dFdx",                   1, &E_GL_KHR_compute_shader_derivatives);
10499|      0|                symbolTable.setFunctionExtensions("dFdy",                   1, &E_GL_KHR_compute_shader_derivatives);
10500|      0|                symbolTable.setFunctionExtensions("fwidth",                 1, &E_GL_KHR_compute_shader_derivatives);
10501|      0|                symbolTable.setFunctionExtensions("dFdxFine",               1, &E_GL_KHR_compute_shader_derivatives);
10502|      0|                symbolTable.setFunctionExtensions("dFdyFine",               1, &E_GL_KHR_compute_shader_derivatives);
10503|      0|                symbolTable.setFunctionExtensions("fwidthFine",             1, &E_GL_KHR_compute_shader_derivatives);
10504|      0|                symbolTable.setFunctionExtensions("dFdxCoarse",             1, &E_GL_KHR_compute_shader_derivatives);
10505|      0|                symbolTable.setFunctionExtensions("dFdyCoarse",             1, &E_GL_KHR_compute_shader_derivatives);
10506|      0|                symbolTable.setFunctionExtensions("fwidthCoarse",           1, &E_GL_KHR_compute_shader_derivatives);
10507|      0|            }
10508|      1|        }
10509|       |
10510|      1|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10510:14): [True: 0, False: 1]
  |  Branch (10510:39): [True: 0, False: 0]
  ------------------
10511|      1|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10511:14): [True: 1, False: 0]
  |  Branch (10511:39): [True: 1, False: 0]
  ------------------
10512|      1|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10513|      1|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10514|      1|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10515|      1|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10516|      1|        }
10517|       |
10518|      1|        if ((profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10518:14): [True: 1, False: 0]
  |  Branch (10518:39): [True: 0, False: 1]
  ------------------
10519|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
10520|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
10521|      0|        }
10522|       |
10523|       |        // GL_EXT_integer_dot_product
10524|      1|        if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (10524:14): [True: 0, False: 1]
  |  Branch (10524:39): [True: 0, False: 0]
  ------------------
10525|      1|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10525:14): [True: 1, False: 0]
  |  Branch (10525:39): [True: 1, False: 0]
  ------------------
10526|      1|            symbolTable.setFunctionExtensions("dotEXT", 1, &E_GL_EXT_integer_dot_product);
10527|      1|            symbolTable.setFunctionExtensions("dotPacked4x8EXT", 1, &E_GL_EXT_integer_dot_product);
10528|      1|            symbolTable.setFunctionExtensions("dotAccSatEXT", 1, &E_GL_EXT_integer_dot_product);
10529|      1|            symbolTable.setFunctionExtensions("dotPacked4x8AccSatEXT", 1, &E_GL_EXT_integer_dot_product);
10530|      1|        }
10531|       |
10532|      1|        {
10533|      1|            symbolTable.setFunctionExtensions("bfloat16BitsToIntEXT", 1, &E_GL_EXT_bfloat16);
10534|      1|            symbolTable.setFunctionExtensions("bfloat16BitsToUintEXT", 1, &E_GL_EXT_bfloat16);
10535|      1|            symbolTable.setFunctionExtensions("intBitsToBFloat16EXT", 1, &E_GL_EXT_bfloat16);
10536|      1|            symbolTable.setFunctionExtensions("uintBitsToBFloat16EXT", 1, &E_GL_EXT_bfloat16);
10537|       |
10538|      1|            symbolTable.setFunctionExtensions("floate5m2BitsToIntEXT", 1, &E_GL_EXT_float_e5m2);
10539|      1|            symbolTable.setFunctionExtensions("floate5m2BitsToUintEXT", 1, &E_GL_EXT_float_e5m2);
10540|      1|            symbolTable.setFunctionExtensions("intBitsToFloate5m2EXT", 1, &E_GL_EXT_float_e5m2);
10541|      1|            symbolTable.setFunctionExtensions("uintBitsToFloate5m2EXT", 1, &E_GL_EXT_float_e5m2);
10542|       |
10543|      1|            symbolTable.setFunctionExtensions("floate4m3BitsToIntEXT", 1, &E_GL_EXT_float_e4m3);
10544|      1|            symbolTable.setFunctionExtensions("floate4m3BitsToUintEXT", 1, &E_GL_EXT_float_e4m3);
10545|      1|            symbolTable.setFunctionExtensions("intBitsToFloate4m3EXT", 1, &E_GL_EXT_float_e4m3);
10546|      1|            symbolTable.setFunctionExtensions("uintBitsToFloate4m3EXT", 1, &E_GL_EXT_float_e4m3);
10547|       |
10548|      1|            const char *float8exts[] = {E_GL_EXT_float_e5m2, E_GL_EXT_float_e4m3};
10549|      1|            symbolTable.setFunctionExtensions("saturatedConvertEXT", 2, float8exts);
10550|       |
10551|      1|            symbolTable.setFunctionExtensions("floatue8m0BitsToIntEXT", 1, &E_GL_EXT_float_ue8m0);
10552|      1|            symbolTable.setFunctionExtensions("floatue8m0BitsToUintEXT", 1, &E_GL_EXT_float_ue8m0);
10553|      1|            symbolTable.setFunctionExtensions("intBitsToFloatue8m0EXT", 1, &E_GL_EXT_float_ue8m0);
10554|      1|            symbolTable.setFunctionExtensions("uintBitsToFloatue8m0EXT", 1, &E_GL_EXT_float_ue8m0);
10555|       |
10556|      1|            symbolTable.setFunctionExtensions("floatmxint8BitsToIntEXT", 1, &E_GL_EXT_float_mxint8);
10557|      1|            symbolTable.setFunctionExtensions("floatmxint8BitsToUintEXT", 1, &E_GL_EXT_float_mxint8);
10558|      1|            symbolTable.setFunctionExtensions("intBitsToFloatmxint8EXT", 1, &E_GL_EXT_float_mxint8);
10559|      1|            symbolTable.setFunctionExtensions("uintBitsToFloatmxint8EXT", 1, &E_GL_EXT_float_mxint8);
10560|       |
10561|      1|            symbolTable.setFunctionExtensions("unpackFloat2xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10562|      1|            symbolTable.setFunctionExtensions("unpackFloat4xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10563|      1|            symbolTable.setFunctionExtensions("unpackFloat8xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10564|      1|            symbolTable.setFunctionExtensions("unpackFloat16xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10565|      1|            symbolTable.setFunctionExtensions("packFloat2xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10566|      1|            symbolTable.setFunctionExtensions("packFloat4xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10567|      1|            symbolTable.setFunctionExtensions("packFloat8xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10568|      1|            symbolTable.setFunctionExtensions("packFloat16xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10569|       |
10570|      1|            symbolTable.setFunctionExtensions("unpackFloat4xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10571|      1|            symbolTable.setFunctionExtensions("unpackFloat8xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10572|      1|            symbolTable.setFunctionExtensions("unpackFloat16xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10573|      1|            symbolTable.setFunctionExtensions("packFloat4xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10574|      1|            symbolTable.setFunctionExtensions("packFloat8xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10575|      1|            symbolTable.setFunctionExtensions("packFloat16xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10576|       |
10577|      1|            symbolTable.setFunctionExtensions("unpackFloat4xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10578|      1|            symbolTable.setFunctionExtensions("unpackFloat8xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10579|      1|            symbolTable.setFunctionExtensions("unpackFloat16xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10580|      1|            symbolTable.setFunctionExtensions("packFloat4xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10581|      1|            symbolTable.setFunctionExtensions("packFloat8xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10582|      1|            symbolTable.setFunctionExtensions("packFloat16xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10583|       |
10584|      1|            symbolTable.setFunctionExtensions("bitcastExtractfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10585|      1|            symbolTable.setFunctionExtensions("bitcastExtractfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10586|      1|            symbolTable.setFunctionExtensions("bitcastExtractfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10587|      1|        }
10588|       |
10589|       |        // E_SPV_QCOM_tile_shading
10590|      1|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10590:14): [True: 0, False: 1]
  |  Branch (10590:39): [True: 0, False: 0]
  ------------------
10591|      1|            (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10591:14): [True: 1, False: 0]
  |  Branch (10591:39): [True: 0, False: 1]
  ------------------
10592|      0|            BuiltInVariable("gl_TileOffsetQCOM",        EbvTileOffsetQCOM,      symbolTable);
10593|      0|            BuiltInVariable("gl_TileDimensionQCOM",     EbvTileDimensionQCOM,   symbolTable);
10594|      0|            BuiltInVariable("gl_TileApronSizeQCOM",     EbvTileApronSizeQCOM,   symbolTable);
10595|       |
10596|      0|            symbolTable.setVariableExtensions("gl_TileOffsetQCOM",        1, &E_GL_QCOM_tile_shading);
10597|      0|            symbolTable.setVariableExtensions("gl_TileDimensionQCOM",     1, &E_GL_QCOM_tile_shading);
10598|      0|            symbolTable.setVariableExtensions("gl_TileApronSizeQCOM",     1, &E_GL_QCOM_tile_shading);
10599|      0|        }
10600|      1|        break;
10601|       |
10602|      1|    case EShLangRayGen:
  ------------------
  |  Branch (10602:5): [True: 1, False: 84]
  ------------------
10603|      2|    case EShLangIntersect:
  ------------------
  |  Branch (10603:5): [True: 1, False: 84]
  ------------------
10604|      3|    case EShLangAnyHit:
  ------------------
  |  Branch (10604:5): [True: 1, False: 84]
  ------------------
10605|      4|    case EShLangClosestHit:
  ------------------
  |  Branch (10605:5): [True: 1, False: 84]
  ------------------
10606|      5|    case EShLangMiss:
  ------------------
  |  Branch (10606:5): [True: 1, False: 84]
  ------------------
10607|      6|    case EShLangCallable:
  ------------------
  |  Branch (10607:5): [True: 1, False: 84]
  ------------------
10608|      6|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (10608:13): [True: 6, False: 0]
  |  Branch (10608:38): [True: 0, False: 6]
  ------------------
10609|      0|            const char *rtexts[] = { E_GL_NV_ray_tracing, E_GL_EXT_ray_tracing };
10610|      0|            symbolTable.setVariableExtensions("gl_LaunchIDNV", 1, &E_GL_NV_ray_tracing);
10611|      0|            symbolTable.setVariableExtensions("gl_LaunchIDEXT", 1, &E_GL_EXT_ray_tracing);
10612|      0|            symbolTable.setVariableExtensions("gl_LaunchSizeNV", 1, &E_GL_NV_ray_tracing);
10613|      0|            symbolTable.setVariableExtensions("gl_LaunchSizeEXT", 1, &E_GL_EXT_ray_tracing);
10614|      0|            symbolTable.setVariableExtensions("gl_PrimitiveID", 2, rtexts);
10615|      0|            symbolTable.setVariableExtensions("gl_InstanceID", 2, rtexts);
10616|      0|            symbolTable.setVariableExtensions("gl_InstanceCustomIndexNV", 1, &E_GL_NV_ray_tracing);
10617|      0|            symbolTable.setVariableExtensions("gl_InstanceCustomIndexEXT", 1, &E_GL_EXT_ray_tracing);
10618|      0|            symbolTable.setVariableExtensions("gl_GeometryIndexEXT", 1, &E_GL_EXT_ray_tracing);
10619|      0|            symbolTable.setVariableExtensions("gl_WorldRayOriginNV", 1, &E_GL_NV_ray_tracing);
10620|      0|            symbolTable.setVariableExtensions("gl_WorldRayOriginEXT", 1, &E_GL_EXT_ray_tracing);
10621|      0|            symbolTable.setVariableExtensions("gl_WorldRayDirectionNV", 1, &E_GL_NV_ray_tracing);
10622|      0|            symbolTable.setVariableExtensions("gl_WorldRayDirectionEXT", 1, &E_GL_EXT_ray_tracing);
10623|      0|            symbolTable.setVariableExtensions("gl_ObjectRayOriginNV", 1, &E_GL_NV_ray_tracing);
10624|      0|            symbolTable.setVariableExtensions("gl_ObjectRayOriginEXT", 1, &E_GL_EXT_ray_tracing);
10625|      0|            symbolTable.setVariableExtensions("gl_ObjectRayDirectionNV", 1, &E_GL_NV_ray_tracing);
10626|      0|            symbolTable.setVariableExtensions("gl_ObjectRayDirectionEXT", 1, &E_GL_EXT_ray_tracing);
10627|      0|            symbolTable.setVariableExtensions("gl_RayTminNV", 1, &E_GL_NV_ray_tracing);
10628|      0|            symbolTable.setVariableExtensions("gl_RayTminEXT", 1, &E_GL_EXT_ray_tracing);
10629|      0|            symbolTable.setVariableExtensions("gl_RayTmaxNV", 1, &E_GL_NV_ray_tracing);
10630|      0|            symbolTable.setVariableExtensions("gl_RayTmaxEXT", 1, &E_GL_EXT_ray_tracing);
10631|      0|            symbolTable.setVariableExtensions("gl_CullMaskEXT", 1, &E_GL_EXT_ray_cull_mask);
10632|      0|            symbolTable.setVariableExtensions("gl_HitTNV", 1, &E_GL_NV_ray_tracing);
10633|      0|            symbolTable.setVariableExtensions("gl_HitTEXT", 1, &E_GL_EXT_ray_tracing);
10634|      0|            symbolTable.setVariableExtensions("gl_HitKindNV", 1, &E_GL_NV_ray_tracing);
10635|      0|            symbolTable.setVariableExtensions("gl_HitKindEXT", 1, &E_GL_EXT_ray_tracing);
10636|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorldNV", 1, &E_GL_NV_ray_tracing);
10637|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorldEXT", 1, &E_GL_EXT_ray_tracing);
10638|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorld3x4EXT", 1, &E_GL_EXT_ray_tracing);
10639|      0|            symbolTable.setVariableExtensions("gl_WorldToObjectNV", 1, &E_GL_NV_ray_tracing);
10640|      0|            symbolTable.setVariableExtensions("gl_WorldToObjectEXT", 1, &E_GL_EXT_ray_tracing);
10641|      0|            symbolTable.setVariableExtensions("gl_WorldToObject3x4EXT", 1, &E_GL_EXT_ray_tracing);
10642|      0|            symbolTable.setVariableExtensions("gl_IncomingRayFlagsNV", 1, &E_GL_NV_ray_tracing);
10643|      0|            symbolTable.setVariableExtensions("gl_IncomingRayFlagsEXT", 1, &E_GL_EXT_ray_tracing);
10644|      0|            symbolTable.setVariableExtensions("gl_CurrentRayTimeNV", 1, &E_GL_NV_ray_tracing_motion_blur);
10645|      0|            symbolTable.setVariableExtensions("gl_HitTriangleVertexPositionsEXT", 1, &E_GL_EXT_ray_tracing_position_fetch);
10646|      0|            symbolTable.setVariableExtensions("gl_HitMicroTriangleVertexPositionsNV", 1, &E_GL_NV_displacement_micromap);
10647|      0|            symbolTable.setVariableExtensions("gl_HitMicroTriangleVertexBarycentricsNV", 1, &E_GL_NV_displacement_micromap);
10648|      0|            symbolTable.setVariableExtensions("gl_ClusterIDNV", 1, &E_GL_NV_cluster_acceleration_structure);
10649|      0|            symbolTable.setVariableExtensions("gl_HitKindSphereNV", 1, &E_GL_NV_linear_swept_spheres);
10650|      0|            symbolTable.setVariableExtensions("gl_HitKindLSSNV", 1, &E_GL_NV_linear_swept_spheres);
10651|      0|            symbolTable.setVariableExtensions("gl_HitSpherePositionNV", 1, &E_GL_NV_linear_swept_spheres);
10652|      0|            symbolTable.setVariableExtensions("gl_HitSphereRadiusNV", 1, &E_GL_NV_linear_swept_spheres);
10653|      0|            symbolTable.setVariableExtensions("gl_HitLSSPositionNV", 1, &E_GL_NV_linear_swept_spheres);
10654|      0|            symbolTable.setVariableExtensions("gl_HitLSSRadiiNV", 1, &E_GL_NV_linear_swept_spheres);
10655|       |
10656|      0|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
10657|       |
10658|       |
10659|      0|            symbolTable.setFunctionExtensions("traceNV", 1, &E_GL_NV_ray_tracing);
10660|      0|            symbolTable.setFunctionExtensions("traceRayMotionNV", 1, &E_GL_NV_ray_tracing_motion_blur);
10661|      0|            symbolTable.setFunctionExtensions("traceRayEXT", 1, &E_GL_EXT_ray_tracing);
10662|      0|            symbolTable.setFunctionExtensions("reportIntersectionNV", 1, &E_GL_NV_ray_tracing);
10663|      0|            symbolTable.setFunctionExtensions("reportIntersectionEXT", 1, &E_GL_EXT_ray_tracing);
10664|      0|            symbolTable.setFunctionExtensions("ignoreIntersectionNV", 1, &E_GL_NV_ray_tracing);
10665|      0|            symbolTable.setFunctionExtensions("terminateRayNV", 1, &E_GL_NV_ray_tracing);
10666|      0|            symbolTable.setFunctionExtensions("executeCallableNV", 1, &E_GL_NV_ray_tracing);
10667|      0|            symbolTable.setFunctionExtensions("executeCallableEXT", 1, &E_GL_EXT_ray_tracing);
10668|       |
10669|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayNV", 1, &E_GL_NV_shader_invocation_reorder);
10670|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10671|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitNV", 1, &E_GL_NV_shader_invocation_reorder);
10672|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10673|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitWithIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10674|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitWithIndexMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10675|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissNV", 1, &E_GL_NV_shader_invocation_reorder);
10676|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10677|      0|            symbolTable.setFunctionExtensions("hitObjectRecordEmptyNV", 1, &E_GL_NV_shader_invocation_reorder);
10678|      0|            symbolTable.setFunctionExtensions("hitObjectExecuteShaderNV", 1, &E_GL_NV_shader_invocation_reorder);
10679|      0|            symbolTable.setFunctionExtensions("hitObjectIsEmptyNV", 1, &E_GL_NV_shader_invocation_reorder);
10680|      0|            symbolTable.setFunctionExtensions("hitObjectIsMissNV", 1, &E_GL_NV_shader_invocation_reorder);
10681|      0|            symbolTable.setFunctionExtensions("hitObjectIsHitNV", 1, &E_GL_NV_shader_invocation_reorder);
10682|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMinNV", 1, &E_GL_NV_shader_invocation_reorder);
10683|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMaxNV", 1, &E_GL_NV_shader_invocation_reorder);
10684|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayOriginNV", 1, &E_GL_NV_shader_invocation_reorder);
10685|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayDirectionNV", 1, &E_GL_NV_shader_invocation_reorder);
10686|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayOriginNV", 1, &E_GL_NV_shader_invocation_reorder);
10687|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayDirectionNV", 1, &E_GL_NV_shader_invocation_reorder);
10688|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldToObjectNV", 1, &E_GL_NV_shader_invocation_reorder);
10689|      0|            symbolTable.setFunctionExtensions("hitObjectGetbjectToWorldNV", 1, &E_GL_NV_shader_invocation_reorder);
10690|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceCustomIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10691|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceIdNV", 1, &E_GL_NV_shader_invocation_reorder);
10692|      0|            symbolTable.setFunctionExtensions("hitObjectGetGeometryIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10693|      0|            symbolTable.setFunctionExtensions("hitObjectGetPrimitiveIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10694|      0|            symbolTable.setFunctionExtensions("hitObjectGetHitKindNV", 1, &E_GL_NV_shader_invocation_reorder);
10695|      0|            symbolTable.setFunctionExtensions("hitObjectGetAttributesNV", 1, &E_GL_NV_shader_invocation_reorder);
10696|      0|            symbolTable.setFunctionExtensions("hitObjectGetCurrentTimeNV", 1, &E_GL_NV_shader_invocation_reorder);
10697|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderBindingTableRecordIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10698|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderRecordBufferHandleNV", 1, &E_GL_NV_shader_invocation_reorder);
10699|      0|            symbolTable.setFunctionExtensions("hitObjectGetClusterIdNV", 1, &E_GL_NV_cluster_acceleration_structure);
10700|      0|            symbolTable.setFunctionExtensions("reorderThreadNV", 1, &E_GL_NV_shader_invocation_reorder);
10701|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
10702|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
10703|      0|            symbolTable.setFunctionExtensions("hitObjectGetSpherePositionNV", 1, &E_GL_NV_linear_swept_spheres);
10704|      0|            symbolTable.setFunctionExtensions("hitObjectGetSphereRadiusNV", 1, &E_GL_NV_linear_swept_spheres);
10705|      0|            symbolTable.setFunctionExtensions("hitObjectGetLSSPositionsNV", 1, &E_GL_NV_linear_swept_spheres);
10706|      0|            symbolTable.setFunctionExtensions("hitObjectGetLSSRadiiNV", 1, &E_GL_NV_linear_swept_spheres);
10707|      0|            symbolTable.setFunctionExtensions("hitObjectIsSphereHitNV", 1, &E_GL_NV_linear_swept_spheres);
10708|      0|            symbolTable.setFunctionExtensions("hitObjectIsLSSHitNV", 1, &E_GL_NV_linear_swept_spheres);
10709|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10710|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayMotionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10711|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10712|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissMotionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10713|      0|            symbolTable.setFunctionExtensions("hitObjectRecordEmptyEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10714|      0|            symbolTable.setFunctionExtensions("hitObjectExecuteShaderEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10715|      0|            symbolTable.setFunctionExtensions("hitObjectIsEmptyEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10716|      0|            symbolTable.setFunctionExtensions("hitObjectIsMissEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10717|      0|            symbolTable.setFunctionExtensions("hitObjectIsHitEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10718|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMinEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10719|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMaxEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10720|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayFlagsEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10721|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayOriginEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10722|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayDirectionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10723|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayOriginEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10724|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayDirectionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10725|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldToObjectEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10726|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectToWorldEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10727|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceCustomIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10728|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceIdEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10729|      0|            symbolTable.setFunctionExtensions("hitObjectGetGeometryIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10730|      0|            symbolTable.setFunctionExtensions("hitObjectGetPrimitiveIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10731|      0|            symbolTable.setFunctionExtensions("hitObjectGetHitKindEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10732|      0|            symbolTable.setFunctionExtensions("hitObjectGetAttributesEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10733|      0|            symbolTable.setFunctionExtensions("hitObjectGetCurrentTimeEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10734|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderBindingTableRecordIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10735|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderRecordBufferHandleEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10736|      0|            symbolTable.setFunctionExtensions("hitObjectSetShaderBindingTableRecordIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10737|      0|            symbolTable.setFunctionExtensions("reorderThreadEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10738|      0|            symbolTable.setFunctionExtensions("hitObjectReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10739|      0|            symbolTable.setFunctionExtensions("hitObjectTraceReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10740|      0|            symbolTable.setFunctionExtensions("hitObjectTraceMotionReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10741|      0|            symbolTable.setFunctionExtensions("hitObjectRecordFromQueryEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10742|      0|            symbolTable.setFunctionExtensions("hitObjectGetIntersectionTriangleVertexPositionsEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10743|       |
10744|       |
10745|      0|            BuiltInVariable("gl_LaunchIDNV",             EbvLaunchId,           symbolTable);
10746|      0|            BuiltInVariable("gl_LaunchIDEXT",            EbvLaunchId,           symbolTable);
10747|      0|            BuiltInVariable("gl_LaunchSizeNV",           EbvLaunchSize,         symbolTable);
10748|      0|            BuiltInVariable("gl_LaunchSizeEXT",          EbvLaunchSize,         symbolTable);
10749|      0|            BuiltInVariable("gl_PrimitiveID",            EbvPrimitiveId,        symbolTable);
10750|      0|            BuiltInVariable("gl_InstanceID",             EbvInstanceId,         symbolTable);
10751|      0|            BuiltInVariable("gl_InstanceCustomIndexNV",  EbvInstanceCustomIndex,symbolTable);
10752|      0|            BuiltInVariable("gl_InstanceCustomIndexEXT", EbvInstanceCustomIndex,symbolTable);
10753|      0|            BuiltInVariable("gl_GeometryIndexEXT",       EbvGeometryIndex,      symbolTable);
10754|      0|            BuiltInVariable("gl_WorldRayOriginNV",       EbvWorldRayOrigin,     symbolTable);
10755|      0|            BuiltInVariable("gl_WorldRayOriginEXT",      EbvWorldRayOrigin,     symbolTable);
10756|      0|            BuiltInVariable("gl_WorldRayDirectionNV",    EbvWorldRayDirection,  symbolTable);
10757|      0|            BuiltInVariable("gl_WorldRayDirectionEXT",   EbvWorldRayDirection,  symbolTable);
10758|      0|            BuiltInVariable("gl_ObjectRayOriginNV",      EbvObjectRayOrigin,    symbolTable);
10759|      0|            BuiltInVariable("gl_ObjectRayOriginEXT",     EbvObjectRayOrigin,    symbolTable);
10760|      0|            BuiltInVariable("gl_ObjectRayDirectionNV",   EbvObjectRayDirection, symbolTable);
10761|      0|            BuiltInVariable("gl_ObjectRayDirectionEXT",  EbvObjectRayDirection, symbolTable);
10762|      0|            BuiltInVariable("gl_RayTminNV",              EbvRayTmin,            symbolTable);
10763|      0|            BuiltInVariable("gl_RayTminEXT",             EbvRayTmin,            symbolTable);
10764|      0|            BuiltInVariable("gl_RayTmaxNV",              EbvRayTmax,            symbolTable);
10765|      0|            BuiltInVariable("gl_RayTmaxEXT",             EbvRayTmax,            symbolTable);
10766|      0|            BuiltInVariable("gl_CullMaskEXT",            EbvCullMask,           symbolTable);
10767|      0|            BuiltInVariable("gl_HitKindNV",              EbvHitKind,            symbolTable);
10768|      0|            BuiltInVariable("gl_HitKindEXT",             EbvHitKind,            symbolTable);
10769|      0|            BuiltInVariable("gl_ObjectToWorldNV",        EbvObjectToWorld,      symbolTable);
10770|      0|            BuiltInVariable("gl_ObjectToWorldEXT",       EbvObjectToWorld,      symbolTable);
10771|      0|            BuiltInVariable("gl_ObjectToWorld3x4EXT",    EbvObjectToWorld3x4,   symbolTable);
10772|      0|            BuiltInVariable("gl_WorldToObjectNV",        EbvWorldToObject,      symbolTable);
10773|      0|            BuiltInVariable("gl_WorldToObjectEXT",       EbvWorldToObject,      symbolTable);
10774|      0|            BuiltInVariable("gl_WorldToObject3x4EXT",    EbvWorldToObject3x4,   symbolTable);
10775|      0|            BuiltInVariable("gl_IncomingRayFlagsNV",     EbvIncomingRayFlags,   symbolTable);
10776|      0|            BuiltInVariable("gl_IncomingRayFlagsEXT",    EbvIncomingRayFlags,   symbolTable);
10777|      0|            BuiltInVariable("gl_DeviceIndex",            EbvDeviceIndex,        symbolTable);
10778|      0|            BuiltInVariable("gl_CurrentRayTimeNV",       EbvCurrentRayTimeNV,   symbolTable);
10779|      0|            BuiltInVariable("gl_HitTriangleVertexPositionsEXT", EbvPositionFetch, symbolTable);
10780|      0|            BuiltInVariable("gl_HitMicroTriangleVertexPositionsNV", EbvMicroTrianglePositionNV, symbolTable);
10781|      0|            BuiltInVariable("gl_HitMicroTriangleVertexBarycentricsNV", EbvMicroTriangleBaryNV, symbolTable);
10782|      0|            BuiltInVariable("gl_HitKindFrontFacingMicroTriangleNV", EbvHitKindFrontFacingMicroTriangleNV, symbolTable);
10783|      0|            BuiltInVariable("gl_HitKindBackFacingMicroTriangleNV", EbvHitKindBackFacingMicroTriangleNV, symbolTable);
10784|      0|            BuiltInVariable("gl_ClusterIDNV",            EbvClusterIDNV,         symbolTable);
10785|      0|            BuiltInVariable("gl_HitIsSphereNV", EbvHitIsSphereNV, symbolTable);
10786|      0|            BuiltInVariable("gl_HitIsLSSNV", EbvHitIsLSSNV, symbolTable);
10787|      0|            BuiltInVariable("gl_HitSpherePositionNV", EbvHitSpherePositionNV, symbolTable);
10788|      0|            BuiltInVariable("gl_HitSphereRadiusNV", EbvHitSphereRadiusNV, symbolTable);
10789|      0|            BuiltInVariable("gl_HitLSSPositionsNV", EbvHitLSSPositionsNV, symbolTable);
10790|      0|            BuiltInVariable("gl_HitLSSRadiiNV", EbvHitLSSRadiiNV, symbolTable);
10791|       |
10792|       |            // gl_HitT variables are aliases of their gl_RayTmax counterparts.
10793|      0|            RetargetVariable("gl_HitTNV",                "gl_RayTmaxNV",        symbolTable);
10794|      0|            RetargetVariable("gl_HitTEXT",               "gl_RayTmaxEXT",       symbolTable);
10795|       |
10796|       |            // GL_ARB_shader_ballot
10797|      0|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10798|      0|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10799|      0|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10800|      0|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10801|      0|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10802|      0|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10803|      0|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10804|       |
10805|      0|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10806|      0|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10807|      0|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10808|      0|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10809|      0|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10810|      0|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10811|       |
10812|      0|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10812:17): [True: 0, False: 0]
  ------------------
10813|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10814|      0|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10815|      0|                if (language == EShLangFragment)
  ------------------
  |  Branch (10815:21): [True: 0, False: 0]
  ------------------
10816|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10817|      0|            }
10818|      0|            else
10819|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10820|       |
10821|       |            // GL_KHR_shader_subgroup
10822|      0|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
10823|      0|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
10824|      0|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10825|      0|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10826|      0|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10827|      0|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10828|      0|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10829|      0|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10830|      0|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10831|       |
10832|      0|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
10833|      0|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
10834|      0|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10835|      0|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10836|      0|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10837|      0|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10838|      0|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10839|      0|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10840|      0|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10841|       |
10842|       |            // GL_NV_shader_sm_builtins
10843|      0|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10844|      0|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10845|      0|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10846|      0|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10847|      0|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10848|      0|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10849|      0|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10850|      0|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10851|       |
10852|       |            // GL_ARM_shader_core_builtins
10853|      0|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10854|      0|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10855|      0|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10856|      0|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10857|      0|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10858|       |
10859|      0|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10860|      0|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10861|      0|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10862|      0|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10863|      0|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10864|      0|        }
10865|      6|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10865:14): [True: 0, False: 6]
  |  Branch (10865:39): [True: 0, False: 0]
  ------------------
10866|      6|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10866:14): [True: 6, False: 0]
  |  Branch (10866:39): [True: 6, False: 0]
  ------------------
10867|      6|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10868|      6|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10869|      6|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10870|      6|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10871|      6|        }
10872|      6|        break;
10873|       |
10874|      1|    case EShLangMesh:
  ------------------
  |  Branch (10874:5): [True: 1, False: 84]
  ------------------
10875|      1|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (10875:14): [True: 1, False: 0]
  |  Branch (10875:39): [True: 1, False: 0]
  |  Branch (10875:59): [True: 0, False: 0]
  |  Branch (10875:84): [True: 0, False: 0]
  ------------------
10876|       |            // per-vertex builtins
10877|      1|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_Position",     1, &E_GL_NV_mesh_shader);
10878|      1|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_PointSize",    1, &E_GL_NV_mesh_shader);
10879|      1|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_ClipDistance", 1, &E_GL_NV_mesh_shader);
10880|      1|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_CullDistance", 1, &E_GL_NV_mesh_shader);
10881|       |
10882|      1|            BuiltInVariable("gl_MeshVerticesNV", "gl_Position",     EbvPosition,     symbolTable);
10883|      1|            BuiltInVariable("gl_MeshVerticesNV", "gl_PointSize",    EbvPointSize,    symbolTable);
10884|      1|            BuiltInVariable("gl_MeshVerticesNV", "gl_ClipDistance", EbvClipDistance, symbolTable);
10885|      1|            BuiltInVariable("gl_MeshVerticesNV", "gl_CullDistance", EbvCullDistance, symbolTable);
10886|       |
10887|      1|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_PositionPerViewNV",     1, &E_GL_NV_mesh_shader);
10888|      1|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_ClipDistancePerViewNV", 1, &E_GL_NV_mesh_shader);
10889|      1|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_CullDistancePerViewNV", 1, &E_GL_NV_mesh_shader);
10890|       |
10891|      1|            BuiltInVariable("gl_MeshVerticesNV", "gl_PositionPerViewNV",     EbvPositionPerViewNV,     symbolTable);
10892|      1|            BuiltInVariable("gl_MeshVerticesNV", "gl_ClipDistancePerViewNV", EbvClipDistancePerViewNV, symbolTable);
10893|      1|            BuiltInVariable("gl_MeshVerticesNV", "gl_CullDistancePerViewNV", EbvCullDistancePerViewNV, symbolTable);
10894|       |
10895|       |            // per-primitive builtins
10896|      1|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_PrimitiveID",   1, &E_GL_NV_mesh_shader);
10897|      1|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_Layer",         1, &E_GL_NV_mesh_shader);
10898|      1|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportIndex", 1, &E_GL_NV_mesh_shader);
10899|      1|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportMask",  1, &E_GL_NV_mesh_shader);
10900|       |
10901|      1|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_PrimitiveID",   EbvPrimitiveId,    symbolTable);
10902|      1|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_Layer",         EbvLayer,          symbolTable);
10903|      1|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportIndex", EbvViewportIndex,  symbolTable);
10904|      1|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportMask",  EbvViewportMaskNV, symbolTable);
10905|       |
10906|       |            // per-view per-primitive builtins
10907|      1|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_LayerPerViewNV",        1, &E_GL_NV_mesh_shader);
10908|      1|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportMaskPerViewNV", 1, &E_GL_NV_mesh_shader);
10909|       |
10910|      1|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_LayerPerViewNV",        EbvLayerPerViewNV,        symbolTable);
10911|      1|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportMaskPerViewNV", EbvViewportMaskPerViewNV, symbolTable);
10912|       |
10913|       |            // other builtins
10914|      1|            symbolTable.setVariableExtensions("gl_PrimitiveCountNV",     1, &E_GL_NV_mesh_shader);
10915|      1|            symbolTable.setVariableExtensions("gl_PrimitiveIndicesNV",   1, &E_GL_NV_mesh_shader);
10916|      1|            symbolTable.setVariableExtensions("gl_MeshViewCountNV",      1, &E_GL_NV_mesh_shader);
10917|      1|            symbolTable.setVariableExtensions("gl_MeshViewIndicesNV",    1, &E_GL_NV_mesh_shader);
10918|      1|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10918:17): [True: 1, False: 0]
  ------------------
10919|      1|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        Num_AEP_mesh_shader, AEP_mesh_shader);
10920|      1|                symbolTable.setVariableExtensions("gl_WorkGroupID",          Num_AEP_mesh_shader, AEP_mesh_shader);
10921|      1|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    Num_AEP_mesh_shader, AEP_mesh_shader);
10922|      1|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   Num_AEP_mesh_shader, AEP_mesh_shader);
10923|      1|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", Num_AEP_mesh_shader, AEP_mesh_shader);
10924|      1|            } else {
10925|      0|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_NV_mesh_shader);
10926|      0|                symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_NV_mesh_shader);
10927|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_NV_mesh_shader);
10928|      0|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_NV_mesh_shader);
10929|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_NV_mesh_shader);
10930|      0|            }
10931|      1|            BuiltInVariable("gl_PrimitiveCountNV",     EbvPrimitiveCountNV,     symbolTable);
10932|      1|            BuiltInVariable("gl_PrimitiveIndicesNV",   EbvPrimitiveIndicesNV,   symbolTable);
10933|      1|            BuiltInVariable("gl_MeshViewCountNV",      EbvMeshViewCountNV,      symbolTable);
10934|      1|            BuiltInVariable("gl_MeshViewIndicesNV",    EbvMeshViewIndicesNV,    symbolTable);
10935|      1|            BuiltInVariable("gl_WorkGroupSize",        EbvWorkGroupSize,        symbolTable);
10936|      1|            BuiltInVariable("gl_WorkGroupID",          EbvWorkGroupId,          symbolTable);
10937|      1|            BuiltInVariable("gl_LocalInvocationID",    EbvLocalInvocationId,    symbolTable);
10938|      1|            BuiltInVariable("gl_GlobalInvocationID",   EbvGlobalInvocationId,   symbolTable);
10939|      1|            BuiltInVariable("gl_LocalInvocationIndex", EbvLocalInvocationIndex, symbolTable);
10940|       |
10941|       |            // builtin constants
10942|      1|            symbolTable.setVariableExtensions("gl_MaxMeshOutputVerticesNV",   1, &E_GL_NV_mesh_shader);
10943|      1|            symbolTable.setVariableExtensions("gl_MaxMeshOutputPrimitivesNV", 1, &E_GL_NV_mesh_shader);
10944|      1|            symbolTable.setVariableExtensions("gl_MaxMeshWorkGroupSizeNV",    1, &E_GL_NV_mesh_shader);
10945|      1|            symbolTable.setVariableExtensions("gl_MaxMeshViewCountNV",        1, &E_GL_NV_mesh_shader);
10946|       |
10947|       |            // builtin functions
10948|      1|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10948:17): [True: 1, False: 0]
  ------------------
10949|      1|                symbolTable.setFunctionExtensions("barrier",                      Num_AEP_mesh_shader, AEP_mesh_shader);
10950|      1|                symbolTable.setFunctionExtensions("memoryBarrierShared",          Num_AEP_mesh_shader, AEP_mesh_shader);
10951|      1|                symbolTable.setFunctionExtensions("groupMemoryBarrier",           Num_AEP_mesh_shader, AEP_mesh_shader);
10952|      1|            } else {
10953|      0|                symbolTable.setFunctionExtensions("barrier",                      1, &E_GL_NV_mesh_shader);
10954|      0|                symbolTable.setFunctionExtensions("memoryBarrierShared",          1, &E_GL_NV_mesh_shader);
10955|      0|                symbolTable.setFunctionExtensions("groupMemoryBarrier",           1, &E_GL_NV_mesh_shader);
10956|      0|            }
10957|      1|            symbolTable.setFunctionExtensions("writePackedPrimitiveIndices4x8NV",  1, &E_GL_NV_mesh_shader);
10958|      1|        }
10959|       |
10960|      1|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (10960:13): [True: 1, False: 0]
  |  Branch (10960:38): [True: 1, False: 0]
  ------------------
10961|       |            // GL_EXT_Mesh_shader
10962|      1|            symbolTable.setVariableExtensions("gl_PrimitivePointIndicesEXT",    1, &E_GL_EXT_mesh_shader);
10963|      1|            symbolTable.setVariableExtensions("gl_PrimitiveLineIndicesEXT",     1, &E_GL_EXT_mesh_shader);
10964|      1|            symbolTable.setVariableExtensions("gl_PrimitiveTriangleIndicesEXT", 1, &E_GL_EXT_mesh_shader);
10965|      1|            symbolTable.setVariableExtensions("gl_NumWorkGroups",               1, &E_GL_EXT_mesh_shader);
10966|       |
10967|      1|            BuiltInVariable("gl_PrimitivePointIndicesEXT",    EbvPrimitivePointIndicesEXT,    symbolTable);
10968|      1|            BuiltInVariable("gl_PrimitiveLineIndicesEXT",     EbvPrimitiveLineIndicesEXT,     symbolTable);
10969|      1|            BuiltInVariable("gl_PrimitiveTriangleIndicesEXT", EbvPrimitiveTriangleIndicesEXT, symbolTable);
10970|      1|            BuiltInVariable("gl_NumWorkGroups",        EbvNumWorkGroups,        symbolTable);
10971|       |
10972|      1|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_Position",     1, &E_GL_EXT_mesh_shader);
10973|      1|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_PointSize",    1, &E_GL_EXT_mesh_shader);
10974|      1|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_ClipDistance", 1, &E_GL_EXT_mesh_shader);
10975|      1|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_CullDistance", 1, &E_GL_EXT_mesh_shader);
10976|       |
10977|      1|            BuiltInVariable("gl_MeshVerticesEXT", "gl_Position",     EbvPosition,     symbolTable);
10978|      1|            BuiltInVariable("gl_MeshVerticesEXT", "gl_PointSize",    EbvPointSize,    symbolTable);
10979|      1|            BuiltInVariable("gl_MeshVerticesEXT", "gl_ClipDistance", EbvClipDistance, symbolTable);
10980|      1|            BuiltInVariable("gl_MeshVerticesEXT", "gl_CullDistance", EbvCullDistance, symbolTable);
10981|       |
10982|      1|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_PrimitiveID",             1, &E_GL_EXT_mesh_shader);
10983|      1|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_Layer",                   1, &E_GL_EXT_mesh_shader);
10984|      1|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_ViewportIndex",           1, &E_GL_EXT_mesh_shader);
10985|      1|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_CullPrimitiveEXT",        1, &E_GL_EXT_mesh_shader);
10986|       |
10987|       |            // note: technically this member requires both GL_EXT_mesh_shader and GL_EXT_fragment_shading_rate
10988|       |            // since setVariableExtensions only needs *one of* the extensions to validate, it's more useful to specify EXT_fragment_shading_rate
10989|       |            // GL_EXT_mesh_shader will be required in practice by use of other fields of gl_MeshPrimitivesEXT
10990|      1|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_PrimitiveShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
10991|       |
10992|      1|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_PrimitiveID",              EbvPrimitiveId,    symbolTable);
10993|      1|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_Layer",                    EbvLayer,          symbolTable);
10994|      1|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_ViewportIndex",            EbvViewportIndex,  symbolTable);
10995|      1|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_CullPrimitiveEXT",         EbvCullPrimitiveEXT, symbolTable);
10996|      1|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_PrimitiveShadingRateEXT",  EbvPrimitiveShadingRateKHR, symbolTable);
10997|       |
10998|      1|            symbolTable.setFunctionExtensions("SetMeshOutputsEXT",  1, &E_GL_EXT_mesh_shader);
10999|       |
11000|       |            // GL_EXT_device_group
11001|      1|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
11002|      1|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
11003|       |
11004|       |            // GL_ARB_shader_draw_parameters
11005|      1|            symbolTable.setVariableExtensions("gl_DrawIDARB", 1, &E_GL_ARB_shader_draw_parameters);
11006|      1|            BuiltInVariable("gl_DrawIDARB", EbvDrawId, symbolTable);
11007|      1|            if (version >= 460) {
  ------------------
  |  Branch (11007:17): [True: 0, False: 1]
  ------------------
11008|      0|                BuiltInVariable("gl_DrawID", EbvDrawId, symbolTable);
11009|      0|            }
11010|       |            // GL_EXT_multiview
11011|      1|            BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
11012|      1|            symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
11013|       |
11014|       |            // GL_ARB_shader_ballot
11015|      1|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
11016|      1|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
11017|      1|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
11018|      1|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
11019|      1|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
11020|      1|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
11021|      1|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
11022|       |
11023|      1|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
11024|      1|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
11025|      1|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
11026|      1|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
11027|      1|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
11028|      1|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
11029|       |
11030|      1|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (11030:17): [True: 1, False: 0]
  ------------------
11031|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
11032|      1|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
11033|      1|                if (language == EShLangFragment)
  ------------------
  |  Branch (11033:21): [True: 0, False: 1]
  ------------------
11034|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
11035|      1|            }
11036|      0|            else
11037|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
11038|      1|        }
11039|       |
11040|       |        // GL_KHR_shader_subgroup
11041|      1|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11041:14): [True: 0, False: 1]
  |  Branch (11041:39): [True: 0, False: 0]
  ------------------
11042|      1|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11042:14): [True: 1, False: 0]
  |  Branch (11042:39): [True: 1, False: 0]
  ------------------
11043|      1|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
11044|      1|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
11045|      1|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
11046|      1|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
11047|      1|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11048|      1|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11049|      1|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11050|      1|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11051|      1|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11052|       |
11053|      1|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
11054|      1|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
11055|      1|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
11056|      1|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
11057|      1|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
11058|      1|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
11059|      1|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
11060|      1|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
11061|      1|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
11062|       |
11063|      1|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
11064|       |
11065|       |            // GL_NV_shader_sm_builtins
11066|      1|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
11067|      1|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
11068|      1|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
11069|      1|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
11070|      1|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
11071|      1|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
11072|      1|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
11073|      1|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
11074|       |
11075|       |            // GL_ARM_shader_core_builtins
11076|      1|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
11077|      1|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
11078|      1|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
11079|      1|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
11080|      1|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
11081|       |
11082|      1|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
11083|      1|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
11084|      1|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
11085|      1|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
11086|      1|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
11087|      1|        }
11088|       |
11089|      1|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11089:14): [True: 0, False: 1]
  |  Branch (11089:39): [True: 0, False: 0]
  ------------------
11090|      1|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11090:14): [True: 1, False: 0]
  |  Branch (11090:39): [True: 1, False: 0]
  ------------------
11091|      1|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11092|      1|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11093|      1|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11094|      1|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11095|      1|        }
11096|       |
11097|       |        // Builtins for GL_NV_displacment_micromap
11098|      1|        if ((profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (11098:14): [True: 1, False: 0]
  |  Branch (11098:39): [True: 0, False: 1]
  ------------------
11099|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
11100|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
11101|      0|        }
11102|       |
11103|      1|        break;
11104|       |
11105|      1|    case EShLangTask:
  ------------------
  |  Branch (11105:5): [True: 1, False: 84]
  ------------------
11106|      1|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (11106:14): [True: 1, False: 0]
  |  Branch (11106:39): [True: 1, False: 0]
  |  Branch (11106:59): [True: 0, False: 0]
  |  Branch (11106:84): [True: 0, False: 0]
  ------------------
11107|      1|            symbolTable.setVariableExtensions("gl_TaskCountNV",          1, &E_GL_NV_mesh_shader);
11108|      1|            symbolTable.setVariableExtensions("gl_MeshViewCountNV",      1, &E_GL_NV_mesh_shader);
11109|      1|            symbolTable.setVariableExtensions("gl_MeshViewIndicesNV",    1, &E_GL_NV_mesh_shader);
11110|      1|            if (profile != EEsProfile) {
  ------------------
  |  Branch (11110:17): [True: 1, False: 0]
  ------------------
11111|      1|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        Num_AEP_mesh_shader, AEP_mesh_shader);
11112|      1|                symbolTable.setVariableExtensions("gl_WorkGroupID",          Num_AEP_mesh_shader, AEP_mesh_shader);
11113|      1|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    Num_AEP_mesh_shader, AEP_mesh_shader);
11114|      1|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   Num_AEP_mesh_shader, AEP_mesh_shader);
11115|      1|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", Num_AEP_mesh_shader, AEP_mesh_shader);
11116|      1|            } else {
11117|      0|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_NV_mesh_shader);
11118|      0|                symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_NV_mesh_shader);
11119|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_NV_mesh_shader);
11120|      0|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_NV_mesh_shader);
11121|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_NV_mesh_shader);
11122|      0|            }
11123|       |
11124|      1|            BuiltInVariable("gl_TaskCountNV",          EbvTaskCountNV,          symbolTable);
11125|      1|            BuiltInVariable("gl_WorkGroupSize",        EbvWorkGroupSize,        symbolTable);
11126|      1|            BuiltInVariable("gl_WorkGroupID",          EbvWorkGroupId,          symbolTable);
11127|      1|            BuiltInVariable("gl_LocalInvocationID",    EbvLocalInvocationId,    symbolTable);
11128|      1|            BuiltInVariable("gl_GlobalInvocationID",   EbvGlobalInvocationId,   symbolTable);
11129|      1|            BuiltInVariable("gl_LocalInvocationIndex", EbvLocalInvocationIndex, symbolTable);
11130|      1|            BuiltInVariable("gl_MeshViewCountNV",      EbvMeshViewCountNV,      symbolTable);
11131|      1|            BuiltInVariable("gl_MeshViewIndicesNV",    EbvMeshViewIndicesNV,    symbolTable);
11132|       |
11133|      1|            symbolTable.setVariableExtensions("gl_MaxTaskWorkGroupSizeNV", 1, &E_GL_NV_mesh_shader);
11134|      1|            symbolTable.setVariableExtensions("gl_MaxMeshViewCountNV",     1, &E_GL_NV_mesh_shader);
11135|       |
11136|      1|            if (profile != EEsProfile) {
  ------------------
  |  Branch (11136:17): [True: 1, False: 0]
  ------------------
11137|      1|                symbolTable.setFunctionExtensions("barrier",                   Num_AEP_mesh_shader, AEP_mesh_shader);
11138|      1|                symbolTable.setFunctionExtensions("memoryBarrierShared",       Num_AEP_mesh_shader, AEP_mesh_shader);
11139|      1|                symbolTable.setFunctionExtensions("groupMemoryBarrier",        Num_AEP_mesh_shader, AEP_mesh_shader);
11140|      1|            } else {
11141|      0|                symbolTable.setFunctionExtensions("barrier",                   1, &E_GL_NV_mesh_shader);
11142|      0|                symbolTable.setFunctionExtensions("memoryBarrierShared",       1, &E_GL_NV_mesh_shader);
11143|      0|                symbolTable.setFunctionExtensions("groupMemoryBarrier",        1, &E_GL_NV_mesh_shader);
11144|      0|            }
11145|      1|        }
11146|       |
11147|      1|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (11147:13): [True: 1, False: 0]
  |  Branch (11147:38): [True: 1, False: 0]
  ------------------
11148|       |            // GL_EXT_mesh_shader
11149|      1|            symbolTable.setFunctionExtensions("EmitMeshTasksEXT",          1, &E_GL_EXT_mesh_shader);
11150|      1|            symbolTable.setVariableExtensions("gl_NumWorkGroups",        1, &E_GL_EXT_mesh_shader);
11151|      1|            BuiltInVariable("gl_NumWorkGroups",        EbvNumWorkGroups,        symbolTable);
11152|       |
11153|       |            // GL_EXT_device_group
11154|      1|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
11155|      1|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
11156|       |
11157|       |            // GL_ARB_shader_draw_parameters
11158|      1|            symbolTable.setVariableExtensions("gl_DrawIDARB", 1, &E_GL_ARB_shader_draw_parameters);
11159|      1|            BuiltInVariable("gl_DrawIDARB", EbvDrawId, symbolTable);
11160|      1|            if (version >= 460) {
  ------------------
  |  Branch (11160:17): [True: 0, False: 1]
  ------------------
11161|      0|                BuiltInVariable("gl_DrawID", EbvDrawId, symbolTable);
11162|      0|            }
11163|       |
11164|       |            // GL_ARB_shader_ballot
11165|      1|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
11166|      1|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
11167|      1|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
11168|      1|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
11169|      1|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
11170|      1|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
11171|      1|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
11172|       |
11173|      1|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
11174|      1|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
11175|      1|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
11176|      1|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
11177|      1|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
11178|      1|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
11179|       |
11180|      1|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (11180:17): [True: 1, False: 0]
  ------------------
11181|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
11182|      1|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
11183|      1|                if (language == EShLangFragment)
  ------------------
  |  Branch (11183:21): [True: 0, False: 1]
  ------------------
11184|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
11185|      1|            }
11186|      0|            else
11187|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
11188|      1|        }
11189|       |
11190|       |        // GL_KHR_shader_subgroup
11191|      1|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11191:14): [True: 0, False: 1]
  |  Branch (11191:39): [True: 0, False: 0]
  ------------------
11192|      1|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11192:14): [True: 1, False: 0]
  |  Branch (11192:39): [True: 1, False: 0]
  ------------------
11193|      1|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
11194|      1|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
11195|      1|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
11196|      1|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
11197|      1|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11198|      1|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11199|      1|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11200|      1|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11201|      1|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11202|       |
11203|      1|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
11204|      1|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
11205|      1|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
11206|      1|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
11207|      1|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
11208|      1|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
11209|      1|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
11210|      1|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
11211|      1|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
11212|       |
11213|      1|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
11214|       |
11215|       |            // GL_NV_shader_sm_builtins
11216|      1|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
11217|      1|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
11218|      1|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
11219|      1|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
11220|      1|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
11221|      1|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
11222|      1|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
11223|      1|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
11224|       |
11225|       |            // GL_ARM_shader_core_builtins
11226|      1|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
11227|      1|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
11228|      1|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
11229|      1|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
11230|      1|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
11231|       |
11232|      1|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
11233|      1|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
11234|      1|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
11235|      1|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
11236|      1|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
11237|      1|        }
11238|      1|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11238:14): [True: 0, False: 1]
  |  Branch (11238:39): [True: 0, False: 0]
  ------------------
11239|      1|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11239:14): [True: 1, False: 0]
  |  Branch (11239:39): [True: 1, False: 0]
  ------------------
11240|      1|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11241|      1|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11242|      1|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11243|      1|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11244|      1|        }
11245|      1|        break;
11246|       |
11247|      0|    default:
  ------------------
  |  Branch (11247:5): [True: 0, False: 85]
  ------------------
11248|      0|        assert(false && "Language not supported");
11249|      0|        break;
11250|     85|    }
11251|       |
11252|       |    //
11253|       |    // Next, identify which built-ins have a mapping to an operator.
11254|       |    // If PureOperatorBuiltins is false, those that are not identified as such are
11255|       |    // expected to be resolved through a library of functions, versus as
11256|       |    // operations.
11257|       |    //
11258|       |
11259|     85|    relateTabledBuiltins(version, profile, spvVersion, language, symbolTable);
11260|       |
11261|     85|    symbolTable.relateToOperator("doubleBitsToInt64",  EOpDoubleBitsToInt64);
11262|     85|    symbolTable.relateToOperator("doubleBitsToUint64", EOpDoubleBitsToUint64);
11263|     85|    symbolTable.relateToOperator("int64BitsToDouble",  EOpInt64BitsToDouble);
11264|     85|    symbolTable.relateToOperator("uint64BitsToDouble", EOpUint64BitsToDouble);
11265|     85|    symbolTable.relateToOperator("halfBitsToInt16",  EOpFloat16BitsToInt16);
11266|     85|    symbolTable.relateToOperator("halfBitsToUint16", EOpFloat16BitsToUint16);
11267|     85|    symbolTable.relateToOperator("float16BitsToInt16",  EOpFloat16BitsToInt16);
11268|     85|    symbolTable.relateToOperator("float16BitsToUint16", EOpFloat16BitsToUint16);
11269|     85|    symbolTable.relateToOperator("int16BitsToFloat16",  EOpInt16BitsToFloat16);
11270|     85|    symbolTable.relateToOperator("uint16BitsToFloat16", EOpUint16BitsToFloat16);
11271|       |
11272|     85|    symbolTable.relateToOperator("int16BitsToHalf",  EOpInt16BitsToFloat16);
11273|     85|    symbolTable.relateToOperator("uint16BitsToHalf", EOpUint16BitsToFloat16);
11274|       |
11275|     85|    symbolTable.relateToOperator("packSnorm4x8",    EOpPackSnorm4x8);
11276|     85|    symbolTable.relateToOperator("unpackSnorm4x8",  EOpUnpackSnorm4x8);
11277|     85|    symbolTable.relateToOperator("packUnorm4x8",    EOpPackUnorm4x8);
11278|     85|    symbolTable.relateToOperator("unpackUnorm4x8",  EOpUnpackUnorm4x8);
11279|       |
11280|     85|    symbolTable.relateToOperator("packDouble2x32",    EOpPackDouble2x32);
11281|     85|    symbolTable.relateToOperator("unpackDouble2x32",  EOpUnpackDouble2x32);
11282|       |
11283|     85|    symbolTable.relateToOperator("packInt2x32",     EOpPackInt2x32);
11284|     85|    symbolTable.relateToOperator("unpackInt2x32",   EOpUnpackInt2x32);
11285|     85|    symbolTable.relateToOperator("packUint2x32",    EOpPackUint2x32);
11286|     85|    symbolTable.relateToOperator("unpackUint2x32",  EOpUnpackUint2x32);
11287|       |
11288|     85|    symbolTable.relateToOperator("packInt2x16",     EOpPackInt2x16);
11289|     85|    symbolTable.relateToOperator("unpackInt2x16",   EOpUnpackInt2x16);
11290|     85|    symbolTable.relateToOperator("packUint2x16",    EOpPackUint2x16);
11291|     85|    symbolTable.relateToOperator("unpackUint2x16",  EOpUnpackUint2x16);
11292|       |
11293|     85|    symbolTable.relateToOperator("packInt4x16",     EOpPackInt4x16);
11294|     85|    symbolTable.relateToOperator("unpackInt4x16",   EOpUnpackInt4x16);
11295|     85|    symbolTable.relateToOperator("packUint4x16",    EOpPackUint4x16);
11296|     85|    symbolTable.relateToOperator("unpackUint4x16",  EOpUnpackUint4x16);
11297|     85|    symbolTable.relateToOperator("packFloat2x16",   EOpPackFloat2x16);
11298|     85|    symbolTable.relateToOperator("unpackFloat2x16", EOpUnpackFloat2x16);
11299|       |
11300|     85|    symbolTable.relateToOperator("pack16",          EOpPack16);
11301|     85|    symbolTable.relateToOperator("pack32",          EOpPack32);
11302|     85|    symbolTable.relateToOperator("pack64",          EOpPack64);
11303|       |
11304|     85|    symbolTable.relateToOperator("unpack32",        EOpUnpack32);
11305|     85|    symbolTable.relateToOperator("unpack16",        EOpUnpack16);
11306|     85|    symbolTable.relateToOperator("unpack8",         EOpUnpack8);
11307|       |
11308|     85|    symbolTable.relateToOperator("controlBarrier",             EOpBarrier);
11309|     85|    symbolTable.relateToOperator("memoryBarrierAtomicCounter", EOpMemoryBarrierAtomicCounter);
11310|     85|    symbolTable.relateToOperator("memoryBarrierImage",         EOpMemoryBarrierImage);
11311|       |
11312|     85|    symbolTable.relateToOperator("controlBarrierArrive",  EOpControlBarrierArriveEXT);
11313|     85|    symbolTable.relateToOperator("controlBarrierWait",    EOpControlBarrierWaitEXT);
11314|       |
11315|     85|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11315:9): [True: 0, False: 85]
  ------------------
11316|       |        //
11317|       |        // functions signature have been replaced to take uint operations on buffer variables
11318|       |        // remap atomic counter functions to atomic operations
11319|       |        //
11320|      0|        symbolTable.relateToOperator("memoryBarrierAtomicCounter", EOpMemoryBarrierBuffer);
11321|      0|    }
11322|       |
11323|     85|    symbolTable.relateToOperator("atomicLoad",     EOpAtomicLoad);
11324|     85|    symbolTable.relateToOperator("atomicStore",    EOpAtomicStore);
11325|       |
11326|     85|    symbolTable.relateToOperator("atomicCounterIncrement", EOpAtomicCounterIncrement);
11327|     85|    symbolTable.relateToOperator("atomicCounterDecrement", EOpAtomicCounterDecrement);
11328|     85|    symbolTable.relateToOperator("atomicCounter",          EOpAtomicCounter);
11329|       |
11330|     85|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11330:9): [True: 0, False: 85]
  ------------------
11331|       |        //
11332|       |        // functions signature have been replaced to take uint operations
11333|       |        // remap atomic counter functions to atomic operations
11334|       |        //
11335|       |        // these atomic counter functions do not match signatures of glsl
11336|       |        // atomic functions, so they will be remapped to semantically
11337|       |        // equivalent functions in the parser
11338|       |        //
11339|      0|        symbolTable.relateToOperator("atomicCounterIncrement", EOpNull);
11340|      0|        symbolTable.relateToOperator("atomicCounterDecrement", EOpNull);
11341|      0|        symbolTable.relateToOperator("atomicCounter", EOpNull);
11342|      0|    }
11343|       |
11344|     85|    symbolTable.relateToOperator("clockARB",     EOpReadClockSubgroupKHR);
11345|     85|    symbolTable.relateToOperator("clock2x32ARB", EOpReadClockSubgroupKHR);
11346|       |
11347|     85|    symbolTable.relateToOperator("clockRealtimeEXT",     EOpReadClockDeviceKHR);
11348|     85|    symbolTable.relateToOperator("clockRealtime2x32EXT", EOpReadClockDeviceKHR);
11349|       |
11350|     85|    if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (11350:9): [True: 13, False: 72]
  |  Branch (11350:34): [True: 13, False: 0]
  ------------------
11351|     13|        symbolTable.relateToOperator("atomicCounterAddARB",      EOpAtomicCounterAdd);
11352|     13|        symbolTable.relateToOperator("atomicCounterSubtractARB", EOpAtomicCounterSubtract);
11353|     13|        symbolTable.relateToOperator("atomicCounterMinARB",      EOpAtomicCounterMin);
11354|     13|        symbolTable.relateToOperator("atomicCounterMaxARB",      EOpAtomicCounterMax);
11355|     13|        symbolTable.relateToOperator("atomicCounterAndARB",      EOpAtomicCounterAnd);
11356|     13|        symbolTable.relateToOperator("atomicCounterOrARB",       EOpAtomicCounterOr);
11357|     13|        symbolTable.relateToOperator("atomicCounterXorARB",      EOpAtomicCounterXor);
11358|     13|        symbolTable.relateToOperator("atomicCounterExchangeARB", EOpAtomicCounterExchange);
11359|     13|        symbolTable.relateToOperator("atomicCounterCompSwapARB", EOpAtomicCounterCompSwap);
11360|     13|    }
11361|       |
11362|     85|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11362:9): [True: 13, False: 72]
  |  Branch (11362:34): [True: 0, False: 13]
  ------------------
11363|      0|        symbolTable.relateToOperator("atomicCounterAdd",      EOpAtomicCounterAdd);
11364|      0|        symbolTable.relateToOperator("atomicCounterSubtract", EOpAtomicCounterSubtract);
11365|      0|        symbolTable.relateToOperator("atomicCounterMin",      EOpAtomicCounterMin);
11366|      0|        symbolTable.relateToOperator("atomicCounterMax",      EOpAtomicCounterMax);
11367|      0|        symbolTable.relateToOperator("atomicCounterAnd",      EOpAtomicCounterAnd);
11368|      0|        symbolTable.relateToOperator("atomicCounterOr",       EOpAtomicCounterOr);
11369|      0|        symbolTable.relateToOperator("atomicCounterXor",      EOpAtomicCounterXor);
11370|      0|        symbolTable.relateToOperator("atomicCounterExchange", EOpAtomicCounterExchange);
11371|      0|        symbolTable.relateToOperator("atomicCounterCompSwap", EOpAtomicCounterCompSwap);
11372|      0|    }
11373|       |
11374|     85|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11374:9): [True: 0, False: 85]
  ------------------
11375|       |        //
11376|       |        // functions signature have been replaced to take 'uint' instead of 'atomic_uint'
11377|       |        // remap atomic counter functions to non-counter atomic ops so
11378|       |        // functions act as aliases to non-counter atomic ops
11379|       |        //
11380|      0|        symbolTable.relateToOperator("atomicCounterAdd", EOpAtomicAdd);
11381|      0|        symbolTable.relateToOperator("atomicCounterSubtract", EOpAtomicSubtract);
11382|      0|        symbolTable.relateToOperator("atomicCounterMin", EOpAtomicMin);
11383|      0|        symbolTable.relateToOperator("atomicCounterMax", EOpAtomicMax);
11384|      0|        symbolTable.relateToOperator("atomicCounterAnd", EOpAtomicAnd);
11385|      0|        symbolTable.relateToOperator("atomicCounterOr", EOpAtomicOr);
11386|      0|        symbolTable.relateToOperator("atomicCounterXor", EOpAtomicXor);
11387|      0|        symbolTable.relateToOperator("atomicCounterExchange", EOpAtomicExchange);
11388|      0|        symbolTable.relateToOperator("atomicCounterCompSwap", EOpAtomicCompSwap);
11389|      0|    }
11390|       |
11391|     85|    symbolTable.relateToOperator("fma",               EOpFma);
11392|     85|    symbolTable.relateToOperator("frexp",             EOpFrexp);
11393|     85|    symbolTable.relateToOperator("ldexp",             EOpLdexp);
11394|     85|    symbolTable.relateToOperator("uaddCarry",         EOpAddCarry);
11395|     85|    symbolTable.relateToOperator("usubBorrow",        EOpSubBorrow);
11396|     85|    symbolTable.relateToOperator("umulExtended",      EOpUMulExtended);
11397|     85|    symbolTable.relateToOperator("imulExtended",      EOpIMulExtended);
11398|     85|    symbolTable.relateToOperator("bitfieldExtract",   EOpBitfieldExtract);
11399|     85|    symbolTable.relateToOperator("bitfieldInsert",    EOpBitfieldInsert);
11400|     85|    symbolTable.relateToOperator("bitfieldReverse",   EOpBitFieldReverse);
11401|     85|    symbolTable.relateToOperator("bitCount",          EOpBitCount);
11402|     85|    symbolTable.relateToOperator("findLSB",           EOpFindLSB);
11403|     85|    symbolTable.relateToOperator("findMSB",           EOpFindMSB);
11404|       |
11405|     85|    symbolTable.relateToOperator("helperInvocationEXT",  EOpIsHelperInvocation);
11406|       |
11407|     85|    symbolTable.relateToOperator("countLeadingZeros",  EOpCountLeadingZeros);
11408|     85|    symbolTable.relateToOperator("countTrailingZeros", EOpCountTrailingZeros);
11409|     85|    symbolTable.relateToOperator("absoluteDifference", EOpAbsDifference);
11410|     85|    symbolTable.relateToOperator("addSaturate",        EOpAddSaturate);
11411|     85|    symbolTable.relateToOperator("subtractSaturate",   EOpSubSaturate);
11412|     85|    symbolTable.relateToOperator("average",            EOpAverage);
11413|     85|    symbolTable.relateToOperator("averageRounded",     EOpAverageRounded);
11414|     85|    symbolTable.relateToOperator("multiply32x16",      EOpMul32x16);
11415|     85|    symbolTable.relateToOperator("debugPrintfEXT",     EOpDebugPrintf);
11416|     85|    symbolTable.relateToOperator("assumeEXT",          EOpAssumeEXT);
11417|     85|    symbolTable.relateToOperator("expectEXT",          EOpExpectEXT);
11418|     85|    symbolTable.relateToOperator("abortEXT",           EOpAbortEXT);
11419|       |
11420|       |
11421|     85|    if (PureOperatorBuiltins) {
  ------------------
  |  Branch (11421:9): [True: 85, Folded]
  ------------------
11422|     85|        symbolTable.relateToOperator("imageSize",               EOpImageQuerySize);
11423|     85|        symbolTable.relateToOperator("imageSamples",            EOpImageQuerySamples);
11424|     85|        symbolTable.relateToOperator("imageLoad",               EOpImageLoad);
11425|     85|        symbolTable.relateToOperator("imageStore",              EOpImageStore);
11426|     85|        symbolTable.relateToOperator("imageAtomicAdd",          EOpImageAtomicAdd);
11427|     85|        symbolTable.relateToOperator("imageAtomicMin",          EOpImageAtomicMin);
11428|     85|        symbolTable.relateToOperator("imageAtomicMax",          EOpImageAtomicMax);
11429|     85|        symbolTable.relateToOperator("imageAtomicAnd",          EOpImageAtomicAnd);
11430|     85|        symbolTable.relateToOperator("imageAtomicOr",           EOpImageAtomicOr);
11431|     85|        symbolTable.relateToOperator("imageAtomicXor",          EOpImageAtomicXor);
11432|     85|        symbolTable.relateToOperator("imageAtomicExchange",     EOpImageAtomicExchange);
11433|     85|        symbolTable.relateToOperator("imageAtomicCompSwap",     EOpImageAtomicCompSwap);
11434|     85|        symbolTable.relateToOperator("imageAtomicLoad",         EOpImageAtomicLoad);
11435|     85|        symbolTable.relateToOperator("imageAtomicStore",        EOpImageAtomicStore);
11436|       |
11437|     85|        symbolTable.relateToOperator("subpassLoad",             EOpSubpassLoad);
11438|     85|        symbolTable.relateToOperator("subpassLoadMS",           EOpSubpassLoadMS);
11439|       |
11440|     85|        symbolTable.relateToOperator("textureGather",           EOpTextureGather);
11441|     85|        symbolTable.relateToOperator("textureGatherOffset",     EOpTextureGatherOffset);
11442|     85|        symbolTable.relateToOperator("textureGatherOffsets",    EOpTextureGatherOffsets);
11443|       |
11444|     85|        symbolTable.relateToOperator("noise1", EOpNoise);
11445|     85|        symbolTable.relateToOperator("noise2", EOpNoise);
11446|     85|        symbolTable.relateToOperator("noise3", EOpNoise);
11447|     85|        symbolTable.relateToOperator("noise4", EOpNoise);
11448|       |
11449|     85|        symbolTable.relateToOperator("textureFootprintNV",          EOpImageSampleFootprintNV);
11450|     85|        symbolTable.relateToOperator("textureFootprintClampNV",     EOpImageSampleFootprintClampNV);
11451|     85|        symbolTable.relateToOperator("textureFootprintLodNV",       EOpImageSampleFootprintLodNV);
11452|     85|        symbolTable.relateToOperator("textureFootprintGradNV",      EOpImageSampleFootprintGradNV);
11453|     85|        symbolTable.relateToOperator("textureFootprintGradClampNV", EOpImageSampleFootprintGradClampNV);
11454|       |
11455|     85|        if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (11455:13): [True: 85, False: 0]
  |  Branch (11455:36): [True: 0, False: 85]
  ------------------
11456|      0|            symbolTable.relateToOperator("ftransform", EOpFtransform);
11457|       |
11458|     85|        if (spvVersion.spv == 0 && (IncludeLegacy(version, profile, spvVersion) ||
  ------------------
  |  Branch (11458:13): [True: 85, False: 0]
  |  Branch (11458:37): [True: 0, False: 85]
  ------------------
11459|     85|            (profile == EEsProfile && version == 100))) {
  ------------------
  |  Branch (11459:14): [True: 72, False: 13]
  |  Branch (11459:39): [True: 72, False: 0]
  ------------------
11460|       |
11461|     72|            symbolTable.relateToOperator("texture1D",                EOpTexture);
11462|     72|            symbolTable.relateToOperator("texture1DGradARB",         EOpTextureGrad);
11463|     72|            symbolTable.relateToOperator("texture1DProj",            EOpTextureProj);
11464|     72|            symbolTable.relateToOperator("texture1DProjGradARB",     EOpTextureProjGrad);
11465|     72|            symbolTable.relateToOperator("texture1DLod",             EOpTextureLod);
11466|     72|            symbolTable.relateToOperator("texture1DProjLod",         EOpTextureProjLod);
11467|       |
11468|     72|            symbolTable.relateToOperator("texture2DRect",            EOpTexture);
11469|     72|            symbolTable.relateToOperator("texture2DRectProj",        EOpTextureProj);
11470|     72|            symbolTable.relateToOperator("texture2DRectGradARB",     EOpTextureGrad);
11471|     72|            symbolTable.relateToOperator("texture2DRectProjGradARB", EOpTextureProjGrad);
11472|     72|            symbolTable.relateToOperator("shadow2DRect",             EOpTexture);
11473|     72|            symbolTable.relateToOperator("shadow2DRectProj",         EOpTextureProj);
11474|     72|            symbolTable.relateToOperator("shadow2DRectGradARB",      EOpTextureGrad);
11475|     72|            symbolTable.relateToOperator("shadow2DRectProjGradARB",  EOpTextureProjGrad);
11476|       |
11477|     72|            symbolTable.relateToOperator("texture2D",                EOpTexture);
11478|     72|            symbolTable.relateToOperator("texture2DProj",            EOpTextureProj);
11479|     72|            symbolTable.relateToOperator("texture2DGradEXT",         EOpTextureGrad);
11480|     72|            symbolTable.relateToOperator("texture2DGradARB",         EOpTextureGrad);
11481|     72|            symbolTable.relateToOperator("texture2DProjGradEXT",     EOpTextureProjGrad);
11482|     72|            symbolTable.relateToOperator("texture2DProjGradARB",     EOpTextureProjGrad);
11483|     72|            symbolTable.relateToOperator("texture2DLod",             EOpTextureLod);
11484|     72|            symbolTable.relateToOperator("texture2DLodEXT",          EOpTextureLod);
11485|     72|            symbolTable.relateToOperator("texture2DProjLod",         EOpTextureProjLod);
11486|     72|            symbolTable.relateToOperator("texture2DProjLodEXT",      EOpTextureProjLod);
11487|       |
11488|     72|            symbolTable.relateToOperator("texture3D",                EOpTexture);
11489|     72|            symbolTable.relateToOperator("texture3DGradARB",         EOpTextureGrad);
11490|     72|            symbolTable.relateToOperator("texture3DProj",            EOpTextureProj);
11491|     72|            symbolTable.relateToOperator("texture3DProjGradARB",     EOpTextureProjGrad);
11492|     72|            symbolTable.relateToOperator("texture3DLod",             EOpTextureLod);
11493|     72|            symbolTable.relateToOperator("texture3DProjLod",         EOpTextureProjLod);
11494|     72|            symbolTable.relateToOperator("textureCube",              EOpTexture);
11495|     72|            symbolTable.relateToOperator("textureCubeGradEXT",       EOpTextureGrad);
11496|     72|            symbolTable.relateToOperator("textureCubeGradARB",       EOpTextureGrad);
11497|     72|            symbolTable.relateToOperator("textureCubeLod",           EOpTextureLod);
11498|     72|            symbolTable.relateToOperator("textureCubeLodEXT",        EOpTextureLod);
11499|     72|            symbolTable.relateToOperator("shadow1D",                 EOpTexture);
11500|     72|            symbolTable.relateToOperator("shadow1DGradARB",          EOpTextureGrad);
11501|     72|            symbolTable.relateToOperator("shadow2D",                 EOpTexture);
11502|     72|            symbolTable.relateToOperator("shadow2DGradARB",          EOpTextureGrad);
11503|     72|            symbolTable.relateToOperator("shadow1DProj",             EOpTextureProj);
11504|     72|            symbolTable.relateToOperator("shadow2DProj",             EOpTextureProj);
11505|     72|            symbolTable.relateToOperator("shadow1DProjGradARB",      EOpTextureProjGrad);
11506|     72|            symbolTable.relateToOperator("shadow2DProjGradARB",      EOpTextureProjGrad);
11507|     72|            symbolTable.relateToOperator("shadow1DLod",              EOpTextureLod);
11508|     72|            symbolTable.relateToOperator("shadow2DLod",              EOpTextureLod);
11509|     72|            symbolTable.relateToOperator("shadow1DProjLod",          EOpTextureProjLod);
11510|     72|            symbolTable.relateToOperator("shadow2DProjLod",          EOpTextureProjLod);
11511|     72|        }
11512|       |
11513|     85|        if (profile != EEsProfile) {
  ------------------
  |  Branch (11513:13): [True: 13, False: 72]
  ------------------
11514|     13|            symbolTable.relateToOperator("sparseTextureARB",                EOpSparseTexture);
11515|     13|            symbolTable.relateToOperator("sparseTextureLodARB",             EOpSparseTextureLod);
11516|     13|            symbolTable.relateToOperator("sparseTextureOffsetARB",          EOpSparseTextureOffset);
11517|     13|            symbolTable.relateToOperator("sparseTexelFetchARB",             EOpSparseTextureFetch);
11518|     13|            symbolTable.relateToOperator("sparseTexelFetchOffsetARB",       EOpSparseTextureFetchOffset);
11519|     13|            symbolTable.relateToOperator("sparseTextureLodOffsetARB",       EOpSparseTextureLodOffset);
11520|     13|            symbolTable.relateToOperator("sparseTextureGradARB",            EOpSparseTextureGrad);
11521|     13|            symbolTable.relateToOperator("sparseTextureGradOffsetARB",      EOpSparseTextureGradOffset);
11522|     13|            symbolTable.relateToOperator("sparseTextureGatherARB",          EOpSparseTextureGather);
11523|     13|            symbolTable.relateToOperator("sparseTextureGatherOffsetARB",    EOpSparseTextureGatherOffset);
11524|     13|            symbolTable.relateToOperator("sparseTextureGatherOffsetsARB",   EOpSparseTextureGatherOffsets);
11525|     13|            symbolTable.relateToOperator("sparseImageLoadARB",              EOpSparseImageLoad);
11526|     13|            symbolTable.relateToOperator("sparseTexelsResidentARB",         EOpSparseTexelsResident);
11527|       |
11528|     13|            symbolTable.relateToOperator("sparseTextureClampARB",           EOpSparseTextureClamp);
11529|     13|            symbolTable.relateToOperator("sparseTextureOffsetClampARB",     EOpSparseTextureOffsetClamp);
11530|     13|            symbolTable.relateToOperator("sparseTextureGradClampARB",       EOpSparseTextureGradClamp);
11531|     13|            symbolTable.relateToOperator("sparseTextureGradOffsetClampARB", EOpSparseTextureGradOffsetClamp);
11532|     13|            symbolTable.relateToOperator("textureClampARB",                 EOpTextureClamp);
11533|     13|            symbolTable.relateToOperator("textureOffsetClampARB",           EOpTextureOffsetClamp);
11534|     13|            symbolTable.relateToOperator("textureGradClampARB",             EOpTextureGradClamp);
11535|     13|            symbolTable.relateToOperator("textureGradOffsetClampARB",       EOpTextureGradOffsetClamp);
11536|       |
11537|     13|            symbolTable.relateToOperator("ballotARB",                       EOpBallot);
11538|     13|            symbolTable.relateToOperator("readInvocationARB",               EOpReadInvocation);
11539|     13|            symbolTable.relateToOperator("readFirstInvocationARB",          EOpReadFirstInvocation);
11540|       |
11541|     13|            if (version >= 430) {
  ------------------
  |  Branch (11541:17): [True: 13, False: 0]
  ------------------
11542|     13|                symbolTable.relateToOperator("anyInvocationARB",            EOpAnyInvocation);
11543|     13|                symbolTable.relateToOperator("allInvocationsARB",           EOpAllInvocations);
11544|     13|                symbolTable.relateToOperator("allInvocationsEqualARB",      EOpAllInvocationsEqual);
11545|     13|            }
11546|     13|            if (version >= 460) {
  ------------------
  |  Branch (11546:17): [True: 0, False: 13]
  ------------------
11547|      0|                symbolTable.relateToOperator("anyInvocation",               EOpAnyInvocation);
11548|      0|                symbolTable.relateToOperator("allInvocations",              EOpAllInvocations);
11549|      0|                symbolTable.relateToOperator("allInvocationsEqual",         EOpAllInvocationsEqual);
11550|      0|            }
11551|       |            // As per dependency between NV_gpu_shader5 and ARB_shader_group_vote
11552|       |            // anyInvocationARB = anyThreadNV
11553|       |            // allInvocationsARB = allThreadsNV
11554|       |            // allInvocationsEqualARB = allThreadsEqualNV
11555|       |            // Thus we reuse the Op's
11556|     13|            if (version >= 150) {
  ------------------
  |  Branch (11556:17): [True: 13, False: 0]
  ------------------
11557|     13|                symbolTable.relateToOperator("anyThreadNV",            EOpAnyInvocation);
11558|     13|                symbolTable.relateToOperator("allThreadsNV",           EOpAllInvocations);
11559|     13|                symbolTable.relateToOperator("allThreadsEqualNV",      EOpAllInvocationsEqual);
11560|     13|            }
11561|     13|            symbolTable.relateToOperator("minInvocationsAMD",                           EOpMinInvocations);
11562|     13|            symbolTable.relateToOperator("maxInvocationsAMD",                           EOpMaxInvocations);
11563|     13|            symbolTable.relateToOperator("addInvocationsAMD",                           EOpAddInvocations);
11564|     13|            symbolTable.relateToOperator("minInvocationsNonUniformAMD",                 EOpMinInvocationsNonUniform);
11565|     13|            symbolTable.relateToOperator("maxInvocationsNonUniformAMD",                 EOpMaxInvocationsNonUniform);
11566|     13|            symbolTable.relateToOperator("addInvocationsNonUniformAMD",                 EOpAddInvocationsNonUniform);
11567|     13|            symbolTable.relateToOperator("minInvocationsInclusiveScanAMD",              EOpMinInvocationsInclusiveScan);
11568|     13|            symbolTable.relateToOperator("maxInvocationsInclusiveScanAMD",              EOpMaxInvocationsInclusiveScan);
11569|     13|            symbolTable.relateToOperator("addInvocationsInclusiveScanAMD",              EOpAddInvocationsInclusiveScan);
11570|     13|            symbolTable.relateToOperator("minInvocationsInclusiveScanNonUniformAMD",    EOpMinInvocationsInclusiveScanNonUniform);
11571|     13|            symbolTable.relateToOperator("maxInvocationsInclusiveScanNonUniformAMD",    EOpMaxInvocationsInclusiveScanNonUniform);
11572|     13|            symbolTable.relateToOperator("addInvocationsInclusiveScanNonUniformAMD",    EOpAddInvocationsInclusiveScanNonUniform);
11573|     13|            symbolTable.relateToOperator("minInvocationsExclusiveScanAMD",              EOpMinInvocationsExclusiveScan);
11574|     13|            symbolTable.relateToOperator("maxInvocationsExclusiveScanAMD",              EOpMaxInvocationsExclusiveScan);
11575|     13|            symbolTable.relateToOperator("addInvocationsExclusiveScanAMD",              EOpAddInvocationsExclusiveScan);
11576|     13|            symbolTable.relateToOperator("minInvocationsExclusiveScanNonUniformAMD",    EOpMinInvocationsExclusiveScanNonUniform);
11577|     13|            symbolTable.relateToOperator("maxInvocationsExclusiveScanNonUniformAMD",    EOpMaxInvocationsExclusiveScanNonUniform);
11578|     13|            symbolTable.relateToOperator("addInvocationsExclusiveScanNonUniformAMD",    EOpAddInvocationsExclusiveScanNonUniform);
11579|     13|            symbolTable.relateToOperator("swizzleInvocationsAMD",                       EOpSwizzleInvocations);
11580|     13|            symbolTable.relateToOperator("swizzleInvocationsMaskedAMD",                 EOpSwizzleInvocationsMasked);
11581|     13|            symbolTable.relateToOperator("writeInvocationAMD",                          EOpWriteInvocation);
11582|     13|            symbolTable.relateToOperator("mbcntAMD",                                    EOpMbcnt);
11583|       |
11584|     13|            symbolTable.relateToOperator("min3",    EOpMin3);
11585|     13|            symbolTable.relateToOperator("max3",    EOpMax3);
11586|     13|            symbolTable.relateToOperator("mid3",    EOpMid3);
11587|       |
11588|     13|            symbolTable.relateToOperator("cubeFaceIndexAMD",    EOpCubeFaceIndex);
11589|     13|            symbolTable.relateToOperator("cubeFaceCoordAMD",    EOpCubeFaceCoord);
11590|     13|            symbolTable.relateToOperator("timeAMD",             EOpTime);
11591|       |
11592|     13|            symbolTable.relateToOperator("textureGatherLodAMD",                 EOpTextureGatherLod);
11593|     13|            symbolTable.relateToOperator("textureGatherLodOffsetAMD",           EOpTextureGatherLodOffset);
11594|     13|            symbolTable.relateToOperator("textureGatherLodOffsetsAMD",          EOpTextureGatherLodOffsets);
11595|     13|            symbolTable.relateToOperator("sparseTextureGatherLodAMD",           EOpSparseTextureGatherLod);
11596|     13|            symbolTable.relateToOperator("sparseTextureGatherLodOffsetAMD",     EOpSparseTextureGatherLodOffset);
11597|     13|            symbolTable.relateToOperator("sparseTextureGatherLodOffsetsAMD",    EOpSparseTextureGatherLodOffsets);
11598|       |
11599|     13|            symbolTable.relateToOperator("imageLoadLodAMD",                     EOpImageLoadLod);
11600|     13|            symbolTable.relateToOperator("imageStoreLodAMD",                    EOpImageStoreLod);
11601|     13|            symbolTable.relateToOperator("sparseImageLoadLodAMD",               EOpSparseImageLoadLod);
11602|       |
11603|     13|            symbolTable.relateToOperator("fragmentMaskFetchAMD",                EOpFragmentMaskFetch);
11604|     13|            symbolTable.relateToOperator("fragmentFetchAMD",                    EOpFragmentFetch);
11605|     13|        }
11606|       |
11607|       |        // GL_EXT_integer_dot_product
11608|     85|        if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (11608:14): [True: 72, False: 13]
  |  Branch (11608:39): [True: 0, False: 72]
  ------------------
11609|     85|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11609:14): [True: 13, False: 72]
  |  Branch (11609:39): [True: 13, False: 0]
  ------------------
11610|     13|            symbolTable.relateToOperator("dotEXT", EOpDot);
11611|     13|            symbolTable.relateToOperator("dotPacked4x8EXT", EOpDotPackedEXT);
11612|     13|            symbolTable.relateToOperator("dotAccSatEXT", EOpDotAccSatEXT);
11613|     13|            symbolTable.relateToOperator("dotPacked4x8AccSatEXT", EOpDotPackedAccSatEXT);
11614|     13|        }
11615|       |
11616|       |        // GL_EXT_bfloat16
11617|     85|        if ((profile == EEsProfile && version >= 320) ||
  ------------------
  |  Branch (11617:14): [True: 72, False: 13]
  |  Branch (11617:39): [True: 0, False: 72]
  ------------------
11618|     85|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11618:14): [True: 13, False: 72]
  |  Branch (11618:39): [True: 13, False: 0]
  ------------------
11619|     13|            symbolTable.relateToOperator("bfloat16BitsToIntEXT",  EOpFloatBitsToInt);
11620|     13|            symbolTable.relateToOperator("bfloat16BitsToUintEXT", EOpFloatBitsToUint);
11621|     13|            symbolTable.relateToOperator("intBitsToBFloat16EXT",  EOpIntBitsToFloat);
11622|     13|            symbolTable.relateToOperator("uintBitsToBFloat16EXT", EOpUintBitsToFloat);
11623|       |
11624|     13|            symbolTable.relateToOperator("floate5m2BitsToIntEXT",  EOpFloatBitsToInt);
11625|     13|            symbolTable.relateToOperator("floate5m2BitsToUintEXT", EOpFloatBitsToUint);
11626|     13|            symbolTable.relateToOperator("intBitsToFloate5m2EXT",  EOpIntBitsToFloat);
11627|     13|            symbolTable.relateToOperator("uintBitsToFloate5m2EXT", EOpUintBitsToFloat);
11628|       |
11629|     13|            symbolTable.relateToOperator("floate4m3BitsToIntEXT",  EOpFloatBitsToInt);
11630|     13|            symbolTable.relateToOperator("floate4m3BitsToUintEXT", EOpFloatBitsToUint);
11631|     13|            symbolTable.relateToOperator("intBitsToFloate4m3EXT",  EOpIntBitsToFloat);
11632|     13|            symbolTable.relateToOperator("uintBitsToFloate4m3EXT", EOpUintBitsToFloat);
11633|       |
11634|     13|            symbolTable.relateToOperator("saturatedConvertEXT", EOpConstructSaturated);
11635|       |
11636|     13|            symbolTable.relateToOperator("floatue8m0BitsToIntEXT",  EOpFloatBitsToInt);
11637|     13|            symbolTable.relateToOperator("floatue8m0BitsToUintEXT", EOpFloatBitsToUint);
11638|     13|            symbolTable.relateToOperator("intBitsToFloatue8m0EXT",  EOpIntBitsToFloat);
11639|     13|            symbolTable.relateToOperator("uintBitsToFloatue8m0EXT", EOpUintBitsToFloat);
11640|       |
11641|     13|            symbolTable.relateToOperator("floatmxint8BitsToIntEXT",  EOpFloatBitsToInt);
11642|     13|            symbolTable.relateToOperator("floatmxint8BitsToUintEXT", EOpFloatBitsToUint);
11643|     13|            symbolTable.relateToOperator("intBitsToFloatmxint8EXT",  EOpIntBitsToFloat);
11644|     13|            symbolTable.relateToOperator("uintBitsToFloatmxint8EXT", EOpUintBitsToFloat);
11645|       |
11646|     13|            symbolTable.relateToOperator("unpackFloat2xfe2m1EXT", EOpUnpackFloat2xE2M1);
11647|     13|            symbolTable.relateToOperator("unpackFloat4xfe2m1EXT", EOpUnpackFloat4xE2M1);
11648|     13|            symbolTable.relateToOperator("unpackFloat8xfe2m1EXT", EOpUnpackFloat8xE2M1);
11649|     13|            symbolTable.relateToOperator("unpackFloat16xfe2m1EXT", EOpUnpackFloat16xE2M1);
11650|     13|            symbolTable.relateToOperator("packFloat2xfe2m1EXT", EOpPackFloat2xE2M1);
11651|     13|            symbolTable.relateToOperator("packFloat4xfe2m1EXT", EOpPackFloat4xE2M1);
11652|     13|            symbolTable.relateToOperator("packFloat8xfe2m1EXT", EOpPackFloat8xE2M1);
11653|     13|            symbolTable.relateToOperator("packFloat16xfe2m1EXT", EOpPackFloat16xE2M1);
11654|       |
11655|     13|            symbolTable.relateToOperator("unpackFloat4xfe3m2EXT", EOpUnpackFloat4xE3M2);
11656|     13|            symbolTable.relateToOperator("unpackFloat8xfe3m2EXT", EOpUnpackFloat8xE3M2);
11657|     13|            symbolTable.relateToOperator("unpackFloat16xfe3m2EXT", EOpUnpackFloat16xE3M2);
11658|     13|            symbolTable.relateToOperator("packFloat4xfe3m2EXT", EOpPackFloat4xE3M2);
11659|     13|            symbolTable.relateToOperator("packFloat8xfe3m2EXT", EOpPackFloat8xE3M2);
11660|     13|            symbolTable.relateToOperator("packFloat16xfe3m2EXT", EOpPackFloat16xE3M2);
11661|       |
11662|     13|            symbolTable.relateToOperator("unpackFloat4xfe2m3EXT", EOpUnpackFloat4xE2M3);
11663|     13|            symbolTable.relateToOperator("unpackFloat8xfe2m3EXT", EOpUnpackFloat8xE2M3);
11664|     13|            symbolTable.relateToOperator("unpackFloat16xfe2m3EXT", EOpUnpackFloat16xE2M3);
11665|     13|            symbolTable.relateToOperator("packFloat4xfe2m3EXT", EOpPackFloat4xE2M3);
11666|     13|            symbolTable.relateToOperator("packFloat8xfe2m3EXT", EOpPackFloat8xE2M3);
11667|     13|            symbolTable.relateToOperator("packFloat16xfe2m3EXT", EOpPackFloat16xE2M3);
11668|       |
11669|     13|            symbolTable.relateToOperator("bitcastExtractfe2m1EXT", EOpBitcastExtractE2M1);
11670|     13|            symbolTable.relateToOperator("bitcastExtractfe3m2EXT", EOpBitcastExtractE3M2);
11671|     13|            symbolTable.relateToOperator("bitcastExtractfe2m3EXT", EOpBitcastExtractE2M3);
11672|     13|        }
11673|       |
11674|       |        // GL_KHR_shader_subgroup
11675|     85|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11675:14): [True: 72, False: 13]
  |  Branch (11675:39): [True: 0, False: 72]
  ------------------
11676|     85|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11676:14): [True: 13, False: 72]
  |  Branch (11676:39): [True: 13, False: 0]
  ------------------
11677|     13|            symbolTable.relateToOperator("subgroupBarrier",                 EOpSubgroupBarrier);
11678|     13|            symbolTable.relateToOperator("subgroupMemoryBarrier",           EOpSubgroupMemoryBarrier);
11679|     13|            symbolTable.relateToOperator("subgroupMemoryBarrierBuffer",     EOpSubgroupMemoryBarrierBuffer);
11680|     13|            symbolTable.relateToOperator("subgroupMemoryBarrierImage",      EOpSubgroupMemoryBarrierImage);
11681|     13|            symbolTable.relateToOperator("subgroupElect",                   EOpSubgroupElect);
11682|     13|            symbolTable.relateToOperator("subgroupAll",                     EOpSubgroupAll);
11683|     13|            symbolTable.relateToOperator("subgroupAny",                     EOpSubgroupAny);
11684|     13|            symbolTable.relateToOperator("subgroupAllEqual",                EOpSubgroupAllEqual);
11685|     13|            symbolTable.relateToOperator("subgroupBroadcast",               EOpSubgroupBroadcast);
11686|     13|            symbolTable.relateToOperator("subgroupBroadcastFirst",          EOpSubgroupBroadcastFirst);
11687|     13|            symbolTable.relateToOperator("subgroupBallot",                  EOpSubgroupBallot);
11688|     13|            symbolTable.relateToOperator("subgroupInverseBallot",           EOpSubgroupInverseBallot);
11689|     13|            symbolTable.relateToOperator("subgroupBallotBitExtract",        EOpSubgroupBallotBitExtract);
11690|     13|            symbolTable.relateToOperator("subgroupBallotBitCount",          EOpSubgroupBallotBitCount);
11691|     13|            symbolTable.relateToOperator("subgroupBallotInclusiveBitCount", EOpSubgroupBallotInclusiveBitCount);
11692|     13|            symbolTable.relateToOperator("subgroupBallotExclusiveBitCount", EOpSubgroupBallotExclusiveBitCount);
11693|     13|            symbolTable.relateToOperator("subgroupBallotFindLSB",           EOpSubgroupBallotFindLSB);
11694|     13|            symbolTable.relateToOperator("subgroupBallotFindMSB",           EOpSubgroupBallotFindMSB);
11695|     13|            symbolTable.relateToOperator("subgroupShuffle",                 EOpSubgroupShuffle);
11696|     13|            symbolTable.relateToOperator("subgroupShuffleXor",              EOpSubgroupShuffleXor);
11697|     13|            symbolTable.relateToOperator("subgroupShuffleUp",               EOpSubgroupShuffleUp);
11698|     13|            symbolTable.relateToOperator("subgroupShuffleDown",             EOpSubgroupShuffleDown);
11699|     13|            symbolTable.relateToOperator("subgroupRotate",                  EOpSubgroupRotate);
11700|     13|            symbolTable.relateToOperator("subgroupClusteredRotate",         EOpSubgroupClusteredRotate);
11701|     13|            symbolTable.relateToOperator("subgroupAdd",                     EOpSubgroupAdd);
11702|     13|            symbolTable.relateToOperator("subgroupMul",                     EOpSubgroupMul);
11703|     13|            symbolTable.relateToOperator("subgroupMin",                     EOpSubgroupMin);
11704|     13|            symbolTable.relateToOperator("subgroupMax",                     EOpSubgroupMax);
11705|     13|            symbolTable.relateToOperator("subgroupAnd",                     EOpSubgroupAnd);
11706|     13|            symbolTable.relateToOperator("subgroupOr",                      EOpSubgroupOr);
11707|     13|            symbolTable.relateToOperator("subgroupXor",                     EOpSubgroupXor);
11708|     13|            symbolTable.relateToOperator("subgroupInclusiveAdd",            EOpSubgroupInclusiveAdd);
11709|     13|            symbolTable.relateToOperator("subgroupInclusiveMul",            EOpSubgroupInclusiveMul);
11710|     13|            symbolTable.relateToOperator("subgroupInclusiveMin",            EOpSubgroupInclusiveMin);
11711|     13|            symbolTable.relateToOperator("subgroupInclusiveMax",            EOpSubgroupInclusiveMax);
11712|     13|            symbolTable.relateToOperator("subgroupInclusiveAnd",            EOpSubgroupInclusiveAnd);
11713|     13|            symbolTable.relateToOperator("subgroupInclusiveOr",             EOpSubgroupInclusiveOr);
11714|     13|            symbolTable.relateToOperator("subgroupInclusiveXor",            EOpSubgroupInclusiveXor);
11715|     13|            symbolTable.relateToOperator("subgroupExclusiveAdd",            EOpSubgroupExclusiveAdd);
11716|     13|            symbolTable.relateToOperator("subgroupExclusiveMul",            EOpSubgroupExclusiveMul);
11717|     13|            symbolTable.relateToOperator("subgroupExclusiveMin",            EOpSubgroupExclusiveMin);
11718|     13|            symbolTable.relateToOperator("subgroupExclusiveMax",            EOpSubgroupExclusiveMax);
11719|     13|            symbolTable.relateToOperator("subgroupExclusiveAnd",            EOpSubgroupExclusiveAnd);
11720|     13|            symbolTable.relateToOperator("subgroupExclusiveOr",             EOpSubgroupExclusiveOr);
11721|     13|            symbolTable.relateToOperator("subgroupExclusiveXor",            EOpSubgroupExclusiveXor);
11722|     13|            symbolTable.relateToOperator("subgroupClusteredAdd",            EOpSubgroupClusteredAdd);
11723|     13|            symbolTable.relateToOperator("subgroupClusteredMul",            EOpSubgroupClusteredMul);
11724|     13|            symbolTable.relateToOperator("subgroupClusteredMin",            EOpSubgroupClusteredMin);
11725|     13|            symbolTable.relateToOperator("subgroupClusteredMax",            EOpSubgroupClusteredMax);
11726|     13|            symbolTable.relateToOperator("subgroupClusteredAnd",            EOpSubgroupClusteredAnd);
11727|     13|            symbolTable.relateToOperator("subgroupClusteredOr",             EOpSubgroupClusteredOr);
11728|     13|            symbolTable.relateToOperator("subgroupClusteredXor",            EOpSubgroupClusteredXor);
11729|     13|            symbolTable.relateToOperator("subgroupQuadBroadcast",           EOpSubgroupQuadBroadcast);
11730|     13|            symbolTable.relateToOperator("subgroupQuadSwapHorizontal",      EOpSubgroupQuadSwapHorizontal);
11731|     13|            symbolTable.relateToOperator("subgroupQuadSwapVertical",        EOpSubgroupQuadSwapVertical);
11732|     13|            symbolTable.relateToOperator("subgroupQuadSwapDiagonal",        EOpSubgroupQuadSwapDiagonal);
11733|       |
11734|     13|            symbolTable.relateToOperator("subgroupPartitionNV",                          EOpSubgroupPartition);
11735|     13|            symbolTable.relateToOperator("subgroupPartitionedAddNV",                     EOpSubgroupPartitionedAdd);
11736|     13|            symbolTable.relateToOperator("subgroupPartitionedMulNV",                     EOpSubgroupPartitionedMul);
11737|     13|            symbolTable.relateToOperator("subgroupPartitionedMinNV",                     EOpSubgroupPartitionedMin);
11738|     13|            symbolTable.relateToOperator("subgroupPartitionedMaxNV",                     EOpSubgroupPartitionedMax);
11739|     13|            symbolTable.relateToOperator("subgroupPartitionedAndNV",                     EOpSubgroupPartitionedAnd);
11740|     13|            symbolTable.relateToOperator("subgroupPartitionedOrNV",                      EOpSubgroupPartitionedOr);
11741|     13|            symbolTable.relateToOperator("subgroupPartitionedXorNV",                     EOpSubgroupPartitionedXor);
11742|     13|            symbolTable.relateToOperator("subgroupPartitionedInclusiveAddNV",            EOpSubgroupPartitionedInclusiveAdd);
11743|     13|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMulNV",            EOpSubgroupPartitionedInclusiveMul);
11744|     13|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMinNV",            EOpSubgroupPartitionedInclusiveMin);
11745|     13|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMaxNV",            EOpSubgroupPartitionedInclusiveMax);
11746|     13|            symbolTable.relateToOperator("subgroupPartitionedInclusiveAndNV",            EOpSubgroupPartitionedInclusiveAnd);
11747|     13|            symbolTable.relateToOperator("subgroupPartitionedInclusiveOrNV",             EOpSubgroupPartitionedInclusiveOr);
11748|     13|            symbolTable.relateToOperator("subgroupPartitionedInclusiveXorNV",            EOpSubgroupPartitionedInclusiveXor);
11749|     13|            symbolTable.relateToOperator("subgroupPartitionedExclusiveAddNV",            EOpSubgroupPartitionedExclusiveAdd);
11750|     13|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMulNV",            EOpSubgroupPartitionedExclusiveMul);
11751|     13|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMinNV",            EOpSubgroupPartitionedExclusiveMin);
11752|     13|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMaxNV",            EOpSubgroupPartitionedExclusiveMax);
11753|     13|            symbolTable.relateToOperator("subgroupPartitionedExclusiveAndNV",            EOpSubgroupPartitionedExclusiveAnd);
11754|     13|            symbolTable.relateToOperator("subgroupPartitionedExclusiveOrNV",             EOpSubgroupPartitionedExclusiveOr);
11755|     13|            symbolTable.relateToOperator("subgroupPartitionedExclusiveXorNV",            EOpSubgroupPartitionedExclusiveXor);
11756|     13|        }
11757|       |
11758|     85|        if (profile == EEsProfile) {
  ------------------
  |  Branch (11758:13): [True: 72, False: 13]
  ------------------
11759|     72|            symbolTable.relateToOperator("shadow2DEXT",              EOpTexture);
11760|     72|            symbolTable.relateToOperator("shadow2DProjEXT",          EOpTextureProj);
11761|     72|        }
11762|       |
11763|       |        // GL_EXT_shader_quad_control
11764|     85|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11764:14): [True: 72, False: 13]
  |  Branch (11764:39): [True: 0, False: 72]
  ------------------
11765|     85|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11765:14): [True: 13, False: 72]
  |  Branch (11765:39): [True: 13, False: 0]
  ------------------
11766|     13|            symbolTable.relateToOperator("subgroupQuadAll",                     EOpSubgroupQuadAll);
11767|     13|            symbolTable.relateToOperator("subgroupQuadAny",                     EOpSubgroupQuadAny);
11768|     13|        }
11769|       |
11770|     85|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11770:14): [True: 72, False: 13]
  |  Branch (11770:39): [True: 0, False: 72]
  ------------------
11771|     85|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11771:14): [True: 13, False: 72]
  |  Branch (11771:39): [True: 13, False: 0]
  ------------------
11772|     13|            symbolTable.relateToOperator("textureWeightedQCOM",      EOpImageSampleWeightedQCOM);
11773|     13|            symbolTable.relateToOperator("textureBoxFilterQCOM",     EOpImageBoxFilterQCOM);
11774|     13|            symbolTable.relateToOperator("textureBlockMatchSADQCOM", EOpImageBlockMatchSADQCOM);
11775|     13|            symbolTable.relateToOperator("textureBlockMatchSSDQCOM", EOpImageBlockMatchSSDQCOM);
11776|       |
11777|     13|            symbolTable.relateToOperator("textureBlockMatchWindowSSDQCOM", EOpImageBlockMatchWindowSSDQCOM);
11778|     13|            symbolTable.relateToOperator("textureBlockMatchWindowSADQCOM", EOpImageBlockMatchWindowSADQCOM);
11779|     13|            symbolTable.relateToOperator("textureBlockMatchGatherSSDQCOM", EOpImageBlockMatchGatherSSDQCOM);
11780|     13|            symbolTable.relateToOperator("textureBlockMatchGatherSADQCOM", EOpImageBlockMatchGatherSADQCOM);
11781|     13|        }
11782|       |
11783|     85|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11783:14): [True: 72, False: 13]
  |  Branch (11783:39): [True: 0, False: 72]
  ------------------
11784|     85|            (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (11784:14): [True: 13, False: 72]
  |  Branch (11784:39): [True: 13, False: 0]
  ------------------
11785|     13|            symbolTable.relateToOperator("textureGather4x1QCOM", EOpTextureGather4x1QCOM);
11786|     13|            symbolTable.relateToOperator("textureGatherV2QCOM",  EOpTextureGatherV2QCOM);
11787|     13|            symbolTable.relateToOperator("textureGatherH2QCOM",  EOpTextureGatherH2QCOM);
11788|     13|            symbolTable.relateToOperator("textureGatherDQCOM",   EOpTextureGatherDQCOM);
11789|     13|            symbolTable.relateToOperator("textureGather4x1OffsetQCOM", EOpTextureGather4x1OffsetQCOM);
11790|     13|            symbolTable.relateToOperator("textureGatherV2OffsetQCOM",  EOpTextureGatherV2OffsetQCOM);
11791|     13|            symbolTable.relateToOperator("textureGatherH2OffsetQCOM",  EOpTextureGatherH2OffsetQCOM);
11792|     13|            symbolTable.relateToOperator("textureGatherDOffsetQCOM",   EOpTextureGatherDOffsetQCOM);
11793|     13|        }
11794|       |
11795|     85|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (11795:13): [True: 13, False: 72]
  |  Branch (11795:38): [True: 13, False: 0]
  ------------------
11796|     13|            symbolTable.relateToOperator("texture1DArray", EOpTexture);
11797|     13|            symbolTable.relateToOperator("texture2DArray", EOpTexture);
11798|     13|            symbolTable.relateToOperator("shadow1DArray", EOpTexture);
11799|     13|            symbolTable.relateToOperator("shadow2DArray", EOpTexture);
11800|       |
11801|     13|            symbolTable.relateToOperator("texture1DArrayLod", EOpTextureLod);
11802|     13|            symbolTable.relateToOperator("texture2DArrayLod", EOpTextureLod);
11803|     13|            symbolTable.relateToOperator("shadow1DArrayLod", EOpTextureLod);
11804|     13|        }
11805|       |
11806|     85|        symbolTable.relateToOperator("coopVecMatMulNV",              EOpCooperativeVectorMatMulNV);
11807|     85|        symbolTable.relateToOperator("coopVecMatMulAddNV",           EOpCooperativeVectorMatMulAddNV);
11808|     85|        symbolTable.relateToOperator("coopVecLoadNV",                EOpCooperativeVectorLoadNV);
11809|     85|        symbolTable.relateToOperator("coopVecStoreNV",               EOpCooperativeVectorStoreNV);
11810|     85|        symbolTable.relateToOperator("coopVecOuterProductAccumulateNV", EOpCooperativeVectorOuterProductAccumulateNV);
11811|     85|        symbolTable.relateToOperator("coopVecReduceSumAccumulateNV",    EOpCooperativeVectorReduceSumAccumulateNV);
11812|     85|    }
11813|       |
11814|     85|    switch(language) {
11815|     37|    case EShLangVertex:
  ------------------
  |  Branch (11815:5): [True: 37, False: 48]
  ------------------
11816|     37|        break;
11817|       |
11818|      1|    case EShLangTessControl:
  ------------------
  |  Branch (11818:5): [True: 1, False: 84]
  ------------------
11819|      2|    case EShLangTessEvaluation:
  ------------------
  |  Branch (11819:5): [True: 1, False: 84]
  ------------------
11820|      2|        break;
11821|       |
11822|      1|    case EShLangGeometry:
  ------------------
  |  Branch (11822:5): [True: 1, False: 84]
  ------------------
11823|      1|        symbolTable.relateToOperator("EmitStreamVertex",   EOpEmitStreamVertex);
11824|      1|        symbolTable.relateToOperator("EndStreamPrimitive", EOpEndStreamPrimitive);
11825|      1|        symbolTable.relateToOperator("EmitVertex",         EOpEmitVertex);
11826|      1|        symbolTable.relateToOperator("EndPrimitive",       EOpEndPrimitive);
11827|      1|        break;
11828|       |
11829|     36|    case EShLangFragment:
  ------------------
  |  Branch (11829:5): [True: 36, False: 49]
  ------------------
11830|     36|        if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (11830:13): [True: 0, False: 36]
  |  Branch (11830:38): [True: 0, False: 0]
  ------------------
11831|      0|            symbolTable.relateToOperator("dFdxFine",     EOpDPdxFine);
11832|      0|            symbolTable.relateToOperator("dFdyFine",     EOpDPdyFine);
11833|      0|            symbolTable.relateToOperator("fwidthFine",   EOpFwidthFine);
11834|      0|            symbolTable.relateToOperator("dFdxCoarse",   EOpDPdxCoarse);
11835|      0|            symbolTable.relateToOperator("dFdyCoarse",   EOpDPdyCoarse);
11836|      0|            symbolTable.relateToOperator("fwidthCoarse", EOpFwidthCoarse);
11837|      0|        }
11838|       |
11839|     36|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11839:13): [True: 0, False: 36]
  |  Branch (11839:38): [True: 0, False: 0]
  ------------------
11840|      0|            symbolTable.relateToOperator("rayQueryInitializeEXT",                                             EOpRayQueryInitialize);
11841|      0|            symbolTable.relateToOperator("rayQueryTerminateEXT",                                              EOpRayQueryTerminate);
11842|      0|            symbolTable.relateToOperator("rayQueryGenerateIntersectionEXT",                                   EOpRayQueryGenerateIntersection);
11843|      0|            symbolTable.relateToOperator("rayQueryConfirmIntersectionEXT",                                    EOpRayQueryConfirmIntersection);
11844|      0|            symbolTable.relateToOperator("rayQueryProceedEXT",                                                EOpRayQueryProceed);
11845|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTypeEXT",                                    EOpRayQueryGetIntersectionType);
11846|      0|            symbolTable.relateToOperator("rayQueryGetRayTMinEXT",                                             EOpRayQueryGetRayTMin);
11847|      0|            symbolTable.relateToOperator("rayQueryGetRayFlagsEXT",                                            EOpRayQueryGetRayFlags);
11848|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTEXT",                                       EOpRayQueryGetIntersectionT);
11849|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceCustomIndexEXT",                     EOpRayQueryGetIntersectionInstanceCustomIndex);
11850|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceIdEXT",                              EOpRayQueryGetIntersectionInstanceId);
11851|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT",  EOpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffset);
11852|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionGeometryIndexEXT",                           EOpRayQueryGetIntersectionGeometryIndex);
11853|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionPrimitiveIndexEXT",                          EOpRayQueryGetIntersectionPrimitiveIndex);
11854|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionBarycentricsEXT",                            EOpRayQueryGetIntersectionBarycentrics);
11855|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionFrontFaceEXT",                               EOpRayQueryGetIntersectionFrontFace);
11856|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionCandidateAABBOpaqueEXT",                     EOpRayQueryGetIntersectionCandidateAABBOpaque);
11857|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectRayDirectionEXT",                      EOpRayQueryGetIntersectionObjectRayDirection);
11858|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectRayOriginEXT",                         EOpRayQueryGetIntersectionObjectRayOrigin);
11859|      0|            symbolTable.relateToOperator("rayQueryGetWorldRayDirectionEXT",                                   EOpRayQueryGetWorldRayDirection);
11860|      0|            symbolTable.relateToOperator("rayQueryGetWorldRayOriginEXT",                                      EOpRayQueryGetWorldRayOrigin);
11861|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectToWorldEXT",                           EOpRayQueryGetIntersectionObjectToWorld);
11862|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionWorldToObjectEXT",                           EOpRayQueryGetIntersectionWorldToObject);
11863|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTriangleVertexPositionsEXT",                 EOpRayQueryGetIntersectionTriangleVertexPositionsEXT);
11864|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionClusterIdNV",                                EOpRayQueryGetIntersectionClusterIdNV);
11865|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionSpherePositionNV",                           EOpRayQueryGetIntersectionSpherePositionNV);
11866|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionSphereRadiusNV",                             EOpRayQueryGetIntersectionSphereRadiusNV);
11867|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSHitValueNV",                              EOpRayQueryGetIntersectionLSSHitValueNV);
11868|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSPositionsNV",                             EOpRayQueryGetIntersectionLSSPositionsNV);
11869|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSRadiiNV",                                 EOpRayQueryGetIntersectionLSSRadiiNV);
11870|      0|            symbolTable.relateToOperator("rayQueryIsSphereHitNV",                                             EOpRayQueryIsSphereHitNV);
11871|      0|            symbolTable.relateToOperator("rayQueryIsLSSHitNV",                                                EOpRayQueryIsLSSHitNV);
11872|      0|        }
11873|       |
11874|     36|        symbolTable.relateToOperator("interpolateAtCentroid", EOpInterpolateAtCentroid);
11875|     36|        symbolTable.relateToOperator("interpolateAtSample",   EOpInterpolateAtSample);
11876|     36|        symbolTable.relateToOperator("interpolateAtOffset",   EOpInterpolateAtOffset);
11877|       |
11878|     36|        if (profile != EEsProfile)
  ------------------
  |  Branch (11878:13): [True: 0, False: 36]
  ------------------
11879|      0|            symbolTable.relateToOperator("interpolateAtVertexAMD", EOpInterpolateAtVertex);
11880|       |
11881|     36|        symbolTable.relateToOperator("beginInvocationInterlockARB", EOpBeginInvocationInterlock);
11882|     36|        symbolTable.relateToOperator("endInvocationInterlockARB",   EOpEndInvocationInterlock);
11883|       |
11884|     36|        symbolTable.relateToOperator("stencilAttachmentReadEXT", EOpStencilAttachmentReadEXT);
11885|     36|        symbolTable.relateToOperator("depthAttachmentReadEXT",   EOpDepthAttachmentReadEXT);
11886|     36|        symbolTable.relateToOperator("colorAttachmentReadEXT",   EOpColorAttachmentReadEXT);
11887|       |
11888|     36|        break;
11889|       |
11890|      1|    case EShLangCompute:
  ------------------
  |  Branch (11890:5): [True: 1, False: 84]
  ------------------
11891|      1|        symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
11892|      1|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (11892:14): [True: 1, False: 0]
  |  Branch (11892:39): [True: 1, False: 0]
  ------------------
11893|      1|            (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (11893:14): [True: 0, False: 0]
  |  Branch (11893:39): [True: 0, False: 0]
  ------------------
11894|      1|            symbolTable.relateToOperator("dFdx",        EOpDPdx);
11895|      1|            symbolTable.relateToOperator("dFdy",        EOpDPdy);
11896|      1|            symbolTable.relateToOperator("fwidth",      EOpFwidth);
11897|      1|            symbolTable.relateToOperator("dFdxFine",    EOpDPdxFine);
11898|      1|            symbolTable.relateToOperator("dFdyFine",    EOpDPdyFine);
11899|      1|            symbolTable.relateToOperator("fwidthFine",  EOpFwidthFine);
11900|      1|            symbolTable.relateToOperator("dFdxCoarse",  EOpDPdxCoarse);
11901|      1|            symbolTable.relateToOperator("dFdyCoarse",  EOpDPdyCoarse);
11902|      1|            symbolTable.relateToOperator("fwidthCoarse",EOpFwidthCoarse);
11903|      1|        }
11904|      1|        symbolTable.relateToOperator("coopMatLoadNV",              EOpCooperativeMatrixLoadNV);
11905|      1|        symbolTable.relateToOperator("coopMatStoreNV",             EOpCooperativeMatrixStoreNV);
11906|      1|        symbolTable.relateToOperator("coopMatMulAddNV",            EOpCooperativeMatrixMulAddNV);
11907|       |
11908|      1|        symbolTable.relateToOperator("coopMatLoad",                EOpCooperativeMatrixLoad);
11909|      1|        symbolTable.relateToOperator("coopMatStore",               EOpCooperativeMatrixStore);
11910|      1|        symbolTable.relateToOperator("coopMatMulAdd",              EOpCooperativeMatrixMulAdd);
11911|       |
11912|      1|        symbolTable.relateToOperator("coopMatLoadTensorNV",        EOpCooperativeMatrixLoadTensorNV);
11913|      1|        symbolTable.relateToOperator("coopMatStoreTensorNV",       EOpCooperativeMatrixStoreTensorNV);
11914|       |
11915|      1|        symbolTable.relateToOperator("coopMatReduceNV",            EOpCooperativeMatrixReduceNV);
11916|      1|        symbolTable.relateToOperator("coopMatPerElementNV",        EOpCooperativeMatrixPerElementOpNV);
11917|      1|        symbolTable.relateToOperator("coopMatTransposeNV",         EOpCooperativeMatrixTransposeNV);
11918|       |
11919|      1|        symbolTable.relateToOperator("coopMatReduceEXT",           EOpCooperativeMatrixReduceNV);
11920|      1|        symbolTable.relateToOperator("coopMatPerElementEXT",       EOpCooperativeMatrixPerElementOpNV);
11921|      1|        symbolTable.relateToOperator("coopMatTransposeEXT",        EOpCooperativeMatrixTransposeNV);
11922|      1|        symbolTable.relateToOperator("coopMatGetCoordinateEXT",    EOpCooperativeMatrixGetCoordinateEXT);
11923|       |
11924|      1|        symbolTable.relateToOperator("createTensorLayoutNV",         EOpCreateTensorLayoutNV);
11925|      1|        symbolTable.relateToOperator("setTensorLayoutBlockSizeNV",   EOpTensorLayoutSetBlockSizeNV);
11926|      1|        symbolTable.relateToOperator("setTensorLayoutDimensionNV",   EOpTensorLayoutSetDimensionNV);
11927|      1|        symbolTable.relateToOperator("setTensorLayoutStrideNV",      EOpTensorLayoutSetStrideNV);
11928|      1|        symbolTable.relateToOperator("sliceTensorLayoutNV",          EOpTensorLayoutSliceNV);
11929|      1|        symbolTable.relateToOperator("setTensorLayoutClampValueNV",  EOpTensorLayoutSetClampValueNV);
11930|       |
11931|      1|        symbolTable.relateToOperator("createTensorViewNV",           EOpCreateTensorViewNV);
11932|      1|        symbolTable.relateToOperator("setTensorViewDimensionsNV",    EOpTensorViewSetDimensionNV);
11933|      1|        symbolTable.relateToOperator("setTensorViewStrideNV",        EOpTensorViewSetStrideNV);
11934|      1|        symbolTable.relateToOperator("setTensorViewClipNV",          EOpTensorViewSetClipNV);
11935|       |
11936|      1|        symbolTable.relateToOperator("tensorReadARM",                EOpTensorReadARM);
11937|      1|        symbolTable.relateToOperator("tensorWriteARM",               EOpTensorWriteARM);
11938|      1|        symbolTable.relateToOperator("tensorSizeARM",                EOpTensorSizeARM);
11939|       |
11940|      1|        symbolTable.relateToOperator("bitcastQCOM", EOpBitCastArrayQCOM);
11941|      1|        symbolTable.relateToOperator("extractSubArrayQCOM", EOpExtractSubArrayQCOM);
11942|      1|        symbolTable.relateToOperator("vectorToCoopmatQCOM", EOpCompositeConstructCoopMatQCOM);
11943|      1|        symbolTable.relateToOperator("coopmatToVectorQCOM", EOpCompositeExtractCoopMatQCOM);
11944|       |
11945|      1|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11945:13): [True: 1, False: 0]
  |  Branch (11945:38): [True: 0, False: 1]
  ------------------
11946|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
11947|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
11948|      0|        }
11949|      1|        break;
11950|       |
11951|      1|    case EShLangRayGen:
  ------------------
  |  Branch (11951:5): [True: 1, False: 84]
  ------------------
11952|      1|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11952:13): [True: 1, False: 0]
  |  Branch (11952:38): [True: 0, False: 1]
  ------------------
11953|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
11954|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
11955|      0|        }
11956|      1|        [[fallthrough]];
11957|      2|    case EShLangClosestHit:
  ------------------
  |  Branch (11957:5): [True: 1, False: 84]
  ------------------
11958|      3|    case EShLangMiss:
  ------------------
  |  Branch (11958:5): [True: 1, False: 84]
  ------------------
11959|      3|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11959:13): [True: 3, False: 0]
  |  Branch (11959:38): [True: 0, False: 3]
  ------------------
11960|      0|            symbolTable.relateToOperator("traceNV", EOpTraceNV);
11961|      0|            symbolTable.relateToOperator("traceRayMotionNV", EOpTraceRayMotionNV);
11962|      0|            symbolTable.relateToOperator("traceRayEXT", EOpTraceKHR);
11963|      0|            symbolTable.relateToOperator("executeCallableNV", EOpExecuteCallableNV);
11964|      0|            symbolTable.relateToOperator("executeCallableEXT", EOpExecuteCallableKHR);
11965|       |
11966|      0|            symbolTable.relateToOperator("hitObjectTraceRayNV", EOpHitObjectTraceRayNV);
11967|      0|            symbolTable.relateToOperator("hitObjectTraceRayMotionNV", EOpHitObjectTraceRayMotionNV);
11968|      0|            symbolTable.relateToOperator("hitObjectRecordHitNV", EOpHitObjectRecordHitNV);
11969|      0|            symbolTable.relateToOperator("hitObjectRecordHitMotionNV", EOpHitObjectRecordHitMotionNV);
11970|      0|            symbolTable.relateToOperator("hitObjectRecordHitWithIndexNV", EOpHitObjectRecordHitWithIndexNV);
11971|      0|            symbolTable.relateToOperator("hitObjectRecordHitWithIndexMotionNV", EOpHitObjectRecordHitWithIndexMotionNV);
11972|      0|            symbolTable.relateToOperator("hitObjectRecordMissNV", EOpHitObjectRecordMissNV);
11973|      0|            symbolTable.relateToOperator("hitObjectRecordMissMotionNV", EOpHitObjectRecordMissMotionNV);
11974|      0|            symbolTable.relateToOperator("hitObjectRecordEmptyNV", EOpHitObjectRecordEmptyNV);
11975|      0|            symbolTable.relateToOperator("hitObjectExecuteShaderNV", EOpHitObjectExecuteShaderNV);
11976|      0|            symbolTable.relateToOperator("hitObjectIsEmptyNV", EOpHitObjectIsEmptyNV);
11977|      0|            symbolTable.relateToOperator("hitObjectIsMissNV", EOpHitObjectIsMissNV);
11978|      0|            symbolTable.relateToOperator("hitObjectIsHitNV", EOpHitObjectIsHitNV);
11979|      0|            symbolTable.relateToOperator("hitObjectGetRayTMinNV", EOpHitObjectGetRayTMinNV);
11980|      0|            symbolTable.relateToOperator("hitObjectGetRayTMaxNV", EOpHitObjectGetRayTMaxNV);
11981|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayOriginNV", EOpHitObjectGetObjectRayOriginNV);
11982|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayDirectionNV", EOpHitObjectGetObjectRayDirectionNV);
11983|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayOriginNV", EOpHitObjectGetWorldRayOriginNV);
11984|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayDirectionNV", EOpHitObjectGetWorldRayDirectionNV);
11985|      0|            symbolTable.relateToOperator("hitObjectGetWorldToObjectNV", EOpHitObjectGetWorldToObjectNV);
11986|      0|            symbolTable.relateToOperator("hitObjectGetObjectToWorldNV", EOpHitObjectGetObjectToWorldNV);
11987|      0|            symbolTable.relateToOperator("hitObjectGetInstanceCustomIndexNV", EOpHitObjectGetInstanceCustomIndexNV);
11988|      0|            symbolTable.relateToOperator("hitObjectGetInstanceIdNV", EOpHitObjectGetInstanceIdNV);
11989|      0|            symbolTable.relateToOperator("hitObjectGetGeometryIndexNV", EOpHitObjectGetGeometryIndexNV);
11990|      0|            symbolTable.relateToOperator("hitObjectGetPrimitiveIndexNV", EOpHitObjectGetPrimitiveIndexNV);
11991|      0|            symbolTable.relateToOperator("hitObjectGetHitKindNV", EOpHitObjectGetHitKindNV);
11992|      0|            symbolTable.relateToOperator("hitObjectGetAttributesNV", EOpHitObjectGetAttributesNV);
11993|      0|            symbolTable.relateToOperator("hitObjectGetCurrentTimeNV", EOpHitObjectGetCurrentTimeNV);
11994|      0|            symbolTable.relateToOperator("hitObjectGetShaderBindingTableRecordIndexNV", EOpHitObjectGetShaderBindingTableRecordIndexNV);
11995|      0|            symbolTable.relateToOperator("hitObjectGetShaderRecordBufferHandleNV", EOpHitObjectGetShaderRecordBufferHandleNV);
11996|      0|            symbolTable.relateToOperator("hitObjectGetClusterIdNV", EOpHitObjectGetClusterIdNV);
11997|      0|            symbolTable.relateToOperator("reorderThreadNV", EOpReorderThreadNV);
11998|      0|            symbolTable.relateToOperator("hitObjectGetSpherePositionNV", EOpHitObjectGetSpherePositionNV);
11999|      0|            symbolTable.relateToOperator("hitObjectGetSphereRadiusNV", EOpHitObjectGetSphereRadiusNV);
12000|      0|            symbolTable.relateToOperator("hitObjectGetLSSPositionsNV", EOpHitObjectGetLSSPositionsNV);
12001|      0|            symbolTable.relateToOperator("hitObjectGetLSSRadiiNV", EOpHitObjectGetLSSRadiiNV);
12002|      0|            symbolTable.relateToOperator("hitObjectIsSphereHitNV", EOpHitObjectIsSphereHitNV);
12003|      0|            symbolTable.relateToOperator("hitObjectIsLSSHitNV", EOpHitObjectIsLSSHitNV);
12004|      0|            symbolTable.relateToOperator("hitObjectTraceRayEXT", EOpHitObjectTraceRayEXT);
12005|      0|            symbolTable.relateToOperator("hitObjectTraceRayMotionEXT", EOpHitObjectTraceRayMotionEXT);
12006|      0|            symbolTable.relateToOperator("hitObjectRecordMissEXT", EOpHitObjectRecordMissEXT);
12007|      0|            symbolTable.relateToOperator("hitObjectRecordMissMotionEXT", EOpHitObjectRecordMissMotionEXT);
12008|      0|            symbolTable.relateToOperator("hitObjectRecordEmptyEXT", EOpHitObjectRecordEmptyEXT);
12009|      0|            symbolTable.relateToOperator("hitObjectExecuteShaderEXT", EOpHitObjectExecuteShaderEXT);
12010|      0|            symbolTable.relateToOperator("hitObjectIsEmptyEXT", EOpHitObjectIsEmptyEXT);
12011|      0|            symbolTable.relateToOperator("hitObjectIsMissEXT", EOpHitObjectIsMissEXT);
12012|      0|            symbolTable.relateToOperator("hitObjectIsHitEXT", EOpHitObjectIsHitEXT);
12013|      0|            symbolTable.relateToOperator("hitObjectGetRayTMinEXT", EOpHitObjectGetRayTMinEXT);
12014|      0|            symbolTable.relateToOperator("hitObjectGetRayTMaxEXT", EOpHitObjectGetRayTMaxEXT);
12015|      0|            symbolTable.relateToOperator("hitObjectGetRayFlagsEXT", EOpHitObjectGetRayFlagsEXT);
12016|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayOriginEXT", EOpHitObjectGetObjectRayOriginEXT);
12017|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayDirectionEXT", EOpHitObjectGetObjectRayDirectionEXT);
12018|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayOriginEXT", EOpHitObjectGetWorldRayOriginEXT);
12019|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayDirectionEXT", EOpHitObjectGetWorldRayDirectionEXT);
12020|      0|            symbolTable.relateToOperator("hitObjectGetWorldToObjectEXT", EOpHitObjectGetWorldToObjectEXT);
12021|      0|            symbolTable.relateToOperator("hitObjectGetObjectToWorldEXT", EOpHitObjectGetObjectToWorldEXT);
12022|      0|            symbolTable.relateToOperator("hitObjectGetInstanceCustomIndexEXT", EOpHitObjectGetInstanceCustomIndexEXT);
12023|      0|            symbolTable.relateToOperator("hitObjectGetInstanceIdEXT", EOpHitObjectGetInstanceIdEXT);
12024|      0|            symbolTable.relateToOperator("hitObjectGetGeometryIndexEXT", EOpHitObjectGetGeometryIndexEXT);
12025|      0|            symbolTable.relateToOperator("hitObjectGetPrimitiveIndexEXT", EOpHitObjectGetPrimitiveIndexEXT);
12026|      0|            symbolTable.relateToOperator("hitObjectGetHitKindEXT", EOpHitObjectGetHitKindEXT);
12027|      0|            symbolTable.relateToOperator("hitObjectGetAttributesEXT", EOpHitObjectGetAttributesEXT);
12028|      0|            symbolTable.relateToOperator("hitObjectGetCurrentTimeEXT", EOpHitObjectGetCurrentTimeEXT);
12029|      0|            symbolTable.relateToOperator("hitObjectGetShaderBindingTableRecordIndexEXT", EOpHitObjectGetShaderBindingTableRecordIndexEXT);
12030|      0|            symbolTable.relateToOperator("hitObjectGetShaderRecordBufferHandleEXT", EOpHitObjectGetShaderRecordBufferHandleEXT);
12031|      0|            symbolTable.relateToOperator("hitObjectSetShaderBindingTableRecordIndexEXT", EOpHitObjectSetShaderBindingTableRecordIndexEXT);
12032|      0|            symbolTable.relateToOperator("reorderThreadEXT", EOpReorderThreadEXT);
12033|      0|            symbolTable.relateToOperator("hitObjectReorderExecuteEXT", EOpHitObjectReorderExecuteEXT);
12034|      0|            symbolTable.relateToOperator("hitObjectTraceReorderExecuteEXT", EOpHitObjectTraceReorderExecuteEXT);
12035|      0|            symbolTable.relateToOperator("hitObjectTraceMotionReorderExecuteEXT", EOpHitObjectTraceMotionReorderExecuteEXT);
12036|      0|            symbolTable.relateToOperator("hitObjectRecordFromQueryEXT", EOpHitObjectRecordFromQueryEXT);
12037|      0|            symbolTable.relateToOperator("hitObjectGetIntersectionTriangleVertexPositionsEXT", EOpHitObjectGetIntersectionTriangleVertexPositionsEXT);
12038|      0|        }
12039|      3|        break;
12040|      1|    case EShLangIntersect:
  ------------------
  |  Branch (12040:5): [True: 1, False: 84]
  ------------------
12041|      1|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (12041:13): [True: 1, False: 0]
  |  Branch (12041:38): [True: 0, False: 1]
  ------------------
12042|      0|            symbolTable.relateToOperator("reportIntersectionNV", EOpReportIntersection);
12043|      0|            symbolTable.relateToOperator("reportIntersectionEXT", EOpReportIntersection);
12044|      0|        }
12045|      1|        break;
12046|      1|    case EShLangAnyHit:
  ------------------
  |  Branch (12046:5): [True: 1, False: 84]
  ------------------
12047|      1|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (12047:13): [True: 1, False: 0]
  |  Branch (12047:38): [True: 0, False: 1]
  ------------------
12048|      0|            symbolTable.relateToOperator("ignoreIntersectionNV", EOpIgnoreIntersectionNV);
12049|      0|            symbolTable.relateToOperator("terminateRayNV", EOpTerminateRayNV);
12050|      0|        }
12051|      1|        break;
12052|      1|    case EShLangCallable:
  ------------------
  |  Branch (12052:5): [True: 1, False: 84]
  ------------------
12053|      1|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (12053:13): [True: 1, False: 0]
  |  Branch (12053:38): [True: 0, False: 1]
  ------------------
12054|      0|            symbolTable.relateToOperator("executeCallableNV", EOpExecuteCallableNV);
12055|      0|            symbolTable.relateToOperator("executeCallableEXT", EOpExecuteCallableKHR);
12056|      0|        }
12057|      1|        break;
12058|      1|    case EShLangMesh:
  ------------------
  |  Branch (12058:5): [True: 1, False: 84]
  ------------------
12059|      1|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (12059:14): [True: 1, False: 0]
  |  Branch (12059:39): [True: 1, False: 0]
  |  Branch (12059:59): [True: 0, False: 0]
  |  Branch (12059:84): [True: 0, False: 0]
  ------------------
12060|      1|            symbolTable.relateToOperator("writePackedPrimitiveIndices4x8NV", EOpWritePackedPrimitiveIndices4x8NV);
12061|      1|            symbolTable.relateToOperator("memoryBarrierShared", EOpMemoryBarrierShared);
12062|      1|            symbolTable.relateToOperator("groupMemoryBarrier", EOpGroupMemoryBarrier);
12063|      1|            symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
12064|      1|        }
12065|       |
12066|      1|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (12066:13): [True: 1, False: 0]
  |  Branch (12066:38): [True: 1, False: 0]
  ------------------
12067|      1|            symbolTable.relateToOperator("SetMeshOutputsEXT", EOpSetMeshOutputsEXT);
12068|      1|        }
12069|       |
12070|      1|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (12070:13): [True: 1, False: 0]
  |  Branch (12070:38): [True: 0, False: 1]
  ------------------
12071|       |            // Builtins for GL_NV_displacement_micromap.
12072|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
12073|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
12074|      0|        }
12075|      1|        break;
12076|      1|    case EShLangTask:
  ------------------
  |  Branch (12076:5): [True: 1, False: 84]
  ------------------
12077|      1|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (12077:14): [True: 1, False: 0]
  |  Branch (12077:39): [True: 1, False: 0]
  |  Branch (12077:59): [True: 0, False: 0]
  |  Branch (12077:84): [True: 0, False: 0]
  ------------------
12078|      1|            symbolTable.relateToOperator("memoryBarrierShared", EOpMemoryBarrierShared);
12079|      1|            symbolTable.relateToOperator("groupMemoryBarrier", EOpGroupMemoryBarrier);
12080|      1|            symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
12081|      1|        }
12082|      1|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (12082:13): [True: 1, False: 0]
  |  Branch (12082:38): [True: 1, False: 0]
  ------------------
12083|      1|            symbolTable.relateToOperator("EmitMeshTasksEXT", EOpEmitMeshTasksEXT);
12084|      1|        }
12085|      1|        break;
12086|       |
12087|      0|    default:
  ------------------
  |  Branch (12087:5): [True: 0, False: 85]
  ------------------
12088|       |        assert(false && "Language not supported");
12089|     85|    }
12090|     85|}
_ZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableERK16TBuiltInResource:
12102|     36|{
12103|     36|    if (profile != EEsProfile && version >= 430 && version < 440) {
  ------------------
  |  Branch (12103:9): [True: 0, False: 36]
  |  Branch (12103:34): [True: 0, False: 0]
  |  Branch (12103:52): [True: 0, False: 0]
  ------------------
12104|      0|        symbolTable.setVariableExtensions("gl_MaxTransformFeedbackBuffers", 1, &E_GL_ARB_enhanced_layouts);
12105|      0|        symbolTable.setVariableExtensions("gl_MaxTransformFeedbackInterleavedComponents", 1, &E_GL_ARB_enhanced_layouts);
12106|      0|    }
12107|     36|    if (profile != EEsProfile && version >= 130 && version < 420) {
  ------------------
  |  Branch (12107:9): [True: 0, False: 36]
  |  Branch (12107:34): [True: 0, False: 0]
  |  Branch (12107:52): [True: 0, False: 0]
  ------------------
12108|      0|        symbolTable.setVariableExtensions("gl_MinProgramTexelOffset", 1, &E_GL_ARB_shading_language_420pack);
12109|      0|        symbolTable.setVariableExtensions("gl_MaxProgramTexelOffset", 1, &E_GL_ARB_shading_language_420pack);
12110|      0|    }
12111|     36|    if (profile != EEsProfile && version >= 150 && version < 410)
  ------------------
  |  Branch (12111:9): [True: 0, False: 36]
  |  Branch (12111:34): [True: 0, False: 0]
  |  Branch (12111:52): [True: 0, False: 0]
  ------------------
12112|      0|        symbolTable.setVariableExtensions("gl_MaxViewports", 1, &E_GL_ARB_viewport_array);
12113|     36|    if (profile == EEsProfile && version >= 300) {
  ------------------
  |  Branch (12113:9): [True: 36, False: 0]
  |  Branch (12113:34): [True: 0, False: 36]
  ------------------
12114|      0|        symbolTable.setVariableExtensions("gl_MaxClipDistances", 1, &E_GL_EXT_clip_cull_distance);
12115|      0|        symbolTable.setVariableExtensions("gl_MaxCullDistances", 1, &E_GL_EXT_clip_cull_distance);
12116|      0|        symbolTable.setVariableExtensions("gl_MaxCombinedClipAndCullDistances", 1, &E_GL_EXT_clip_cull_distance);
12117|      0|    }
12118|     36|    if (profile != EEsProfile && version >= 130 && version < 450) {
  ------------------
  |  Branch (12118:9): [True: 0, False: 36]
  |  Branch (12118:34): [True: 0, False: 0]
  |  Branch (12118:52): [True: 0, False: 0]
  ------------------
12119|      0|        symbolTable.setVariableExtensions("gl_MaxCullDistances", 1, &E_GL_ARB_cull_distance);
12120|      0|        symbolTable.setVariableExtensions("gl_MaxCombinedClipAndCullDistances", 1, &E_GL_ARB_cull_distance);
12121|      0|    }
12122|       |
12123|     36|    switch(language) {
12124|      0|    case EShLangFragment:
  ------------------
  |  Branch (12124:5): [True: 0, False: 36]
  ------------------
12125|       |        // Set up gl_FragData based on current array size.
12126|      0|        if (version == 100 || IncludeLegacy(version, profile, spvVersion) || (! ForwardCompatibility && profile != EEsProfile && version < 420)) {
  ------------------
  |  Branch (12126:13): [True: 0, False: 0]
  |  Branch (12126:31): [True: 0, False: 0]
  |  Branch (12126:79): [True: 0, Folded]
  |  Branch (12126:105): [True: 0, False: 0]
  |  Branch (12126:130): [True: 0, False: 0]
  ------------------
12127|      0|            TPrecisionQualifier pq = profile == EEsProfile ? EpqMedium : EpqNone;
  ------------------
  |  Branch (12127:38): [True: 0, False: 0]
  ------------------
12128|      0|            TType fragData(EbtFloat, EvqFragColor, pq, 4);
12129|      0|            TArraySizes* arraySizes = new TArraySizes;
12130|      0|            arraySizes->addInnerSize(resources.maxDrawBuffers);
12131|      0|            fragData.transferArraySizes(arraySizes);
12132|      0|            symbolTable.insert(*new TVariable(NewPoolTString("gl_FragData"), fragData));
12133|      0|            SpecialQualifier("gl_FragData", EvqFragColor, EbvFragData, symbolTable);
12134|      0|        }
12135|       |
12136|       |        // GL_EXT_blend_func_extended
12137|      0|        if (profile == EEsProfile && version >= 100) {
  ------------------
  |  Branch (12137:13): [True: 0, False: 0]
  |  Branch (12137:38): [True: 0, False: 0]
  ------------------
12138|      0|           symbolTable.setVariableExtensions("gl_MaxDualSourceDrawBuffersEXT",    1, &E_GL_EXT_blend_func_extended);
12139|      0|           symbolTable.setVariableExtensions("gl_SecondaryFragColorEXT",    1, &E_GL_EXT_blend_func_extended);
12140|      0|           symbolTable.setVariableExtensions("gl_SecondaryFragDataEXT",    1, &E_GL_EXT_blend_func_extended);
12141|      0|           SpecialQualifier("gl_SecondaryFragColorEXT", EvqVaryingOut, EbvSecondaryFragColorEXT, symbolTable);
12142|      0|           SpecialQualifier("gl_SecondaryFragDataEXT", EvqVaryingOut, EbvSecondaryFragDataEXT, symbolTable);
12143|      0|        }
12144|       |
12145|      0|        break;
12146|       |
12147|      0|    case EShLangTessControl:
  ------------------
  |  Branch (12147:5): [True: 0, False: 36]
  ------------------
12148|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (12148:5): [True: 0, False: 36]
  ------------------
12149|       |        // Because of the context-dependent array size (gl_MaxPatchVertices),
12150|       |        // these variables were added later than the others and need to be mapped now.
12151|       |
12152|       |        // standard members
12153|      0|        BuiltInVariable("gl_in", "gl_Position",     EbvPosition,     symbolTable);
12154|      0|        BuiltInVariable("gl_in", "gl_PointSize",    EbvPointSize,    symbolTable);
12155|      0|        BuiltInVariable("gl_in", "gl_ClipDistance", EbvClipDistance, symbolTable);
12156|      0|        BuiltInVariable("gl_in", "gl_CullDistance", EbvCullDistance, symbolTable);
12157|       |
12158|       |        // compatibility members
12159|      0|        BuiltInVariable("gl_in", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
12160|      0|        BuiltInVariable("gl_in", "gl_FrontColor",          EbvFrontColor,          symbolTable);
12161|      0|        BuiltInVariable("gl_in", "gl_BackColor",           EbvBackColor,           symbolTable);
12162|      0|        BuiltInVariable("gl_in", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
12163|      0|        BuiltInVariable("gl_in", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
12164|      0|        BuiltInVariable("gl_in", "gl_TexCoord",            EbvTexCoord,            symbolTable);
12165|      0|        BuiltInVariable("gl_in", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
12166|       |
12167|      0|        symbolTable.setVariableExtensions("gl_in", "gl_SecondaryPositionNV", 1, &E_GL_NV_stereo_view_rendering);
12168|      0|        symbolTable.setVariableExtensions("gl_in", "gl_PositionPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
12169|       |
12170|      0|        BuiltInVariable("gl_in", "gl_SecondaryPositionNV", EbvSecondaryPositionNV, symbolTable);
12171|      0|        BuiltInVariable("gl_in", "gl_PositionPerViewNV",   EbvPositionPerViewNV,   symbolTable);
12172|       |
12173|       |        // extension requirements
12174|      0|        if (profile == EEsProfile) {
  ------------------
  |  Branch (12174:13): [True: 0, False: 0]
  ------------------
12175|      0|            symbolTable.setVariableExtensions("gl_in", "gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
12176|      0|            symbolTable.setVariableExtensions("gl_in", "gl_ClipDistance", 1, &E_GL_EXT_clip_cull_distance);
12177|      0|            symbolTable.setVariableExtensions("gl_in", "gl_CullDistance", 1, &E_GL_EXT_clip_cull_distance);
12178|      0|        } else if (version < 450)
  ------------------
  |  Branch (12178:20): [True: 0, False: 0]
  ------------------
12179|      0|            symbolTable.setVariableExtensions("gl_in", "gl_CullDistance", 1, &E_GL_ARB_cull_distance);
12180|       |
12181|      0|        break;
12182|       |
12183|     36|    default:
  ------------------
  |  Branch (12183:5): [True: 36, False: 0]
  ------------------
12184|     36|        break;
12185|     36|    }
12186|     36|}
Initialize.cpp:_ZZN7glslang9TBuiltIns17addTabledBuiltinsEi8EProfileRKNS_10SpvVersionEENK3$_0clERNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEERK4spanIKNS_12_GLOBAL__N_115BuiltInFunctionEE:
  510|     75|    const auto forEachFunction = [&](TString& decls, const span<const BuiltInFunction>& functions) {
  511|  3.03k|        for (const auto& fn : functions) {
  ------------------
  |  Branch (511:29): [True: 3.03k, False: 75]
  ------------------
  512|  3.03k|            if (ValidVersion(fn, version, profile, spvVersion)) {
  ------------------
  |  Branch (512:17): [True: 1.81k, False: 1.22k]
  ------------------
  513|  1.81k|                AddTabledBuiltin(decls, fn);
  514|  1.81k|                if (profile != EEsProfile) {
  ------------------
  |  Branch (514:21): [True: 85, False: 1.72k]
  ------------------
  515|     85|                    AddLongVectorBuiltin(decls, fn);
  516|     85|                }
  517|  1.81k|            }
  518|  3.03k|        }
  519|     75|    };
Initialize.cpp:_ZN7glslang12_GLOBAL__N_112ValidVersionERKNS0_15BuiltInFunctionEi8EProfileRKNS_10SpvVersionE:
  476|  3.03k|{
  477|       |    // nullptr means always valid
  478|  3.03k|    if (function.versioning.empty())
  ------------------
  |  Branch (478:9): [True: 1.77k, False: 1.25k]
  ------------------
  479|  1.77k|        return true;
  480|       |
  481|       |    // check for what is said about our current profile
  482|  2.51k|    for (const auto& v : function.versioning) {
  ------------------
  |  Branch (482:24): [True: 2.51k, False: 1.22k]
  ------------------
  483|  2.51k|        if ((v.profiles & profile) != 0) {
  ------------------
  |  Branch (483:13): [True: 1.25k, False: 1.25k]
  ------------------
  484|  1.25k|            if (v.minCoreVersion <= version || (v.numExtensions > 0 && v.minExtendedVersion <= version))
  ------------------
  |  Branch (484:17): [True: 34, False: 1.22k]
  |  Branch (484:49): [True: 0, False: 1.22k]
  |  Branch (484:72): [True: 0, False: 0]
  ------------------
  485|     34|                return true;
  486|  1.25k|        }
  487|  2.51k|    }
  488|       |
  489|  1.22k|    return false;
  490|  1.25k|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_116AddTabledBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionE:
  322|  1.81k|{
  323|  1.81k|    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|  1.81k|    const ArgClass ClassFixed = (ArgClass)(ClassLS | ClassXLS | ClassLS2 | ClassFS | ClassFS2);
  329|  3.92k|    for (int fixed = 0; fixed < ((function.classes & ClassFixed) > 0 ? 2 : 1); ++fixed) {
  ------------------
  |  Branch (329:25): [True: 2.11k, False: 1.81k]
  |  Branch (329:34): [True: 897, False: 3.02k]
  ------------------
  330|       |
  331|  2.11k|        if (fixed == 0 && (function.classes & ClassXLS))
  ------------------
  |  Branch (331:13): [True: 1.81k, False: 299]
  |  Branch (331:27): [True: 37, False: 1.77k]
  ------------------
  332|     37|            continue;
  333|       |
  334|       |        // walk the type strings in TypeString[]
  335|  35.2k|        for (int type = 0; type < TypeStringCount; ++type) {
  ------------------
  |  Branch (335:28): [True: 33.2k, False: 2.07k]
  ------------------
  336|       |            // skip types not selected: go from type to row number to type bit
  337|  33.2k|            if ((function.types & (1 << (type >> TypeStringRowShift))) == 0)
  ------------------
  |  Branch (337:17): [True: 23.6k, False: 9.54k]
  ------------------
  338|  23.6k|                continue;
  339|       |
  340|       |            // if we aren't on a scalar, and should be, skip
  341|  9.54k|            if ((function.classes & ClassV1) && !isScalarType(type))
  ------------------
  |  Branch (341:17): [True: 64, False: 9.48k]
  |  Branch (341:49): [True: 48, False: 16]
  ------------------
  342|     48|                continue;
  343|       |
  344|       |            // if we aren't on a 3-vector, and should be, skip
  345|  9.49k|            if ((function.classes & ClassV3) && (type & TypeStringColumnMask) != 2)
  ------------------
  |  Branch (345:17): [True: 148, False: 9.34k]
  |  Branch (345:49): [True: 111, False: 37]
  ------------------
  346|    111|                continue;
  347|       |
  348|       |            // skip replication of all arg scalars between the varying arg set and the fixed args
  349|  9.38k|            if (fixed == 1 && type == (type & TypeStringScalarMask) && (function.classes & ClassXLS) == 0)
  ------------------
  |  Branch (349:17): [True: 1.20k, False: 8.17k]
  |  Branch (349:31): [True: 302, False: 906]
  |  Branch (349:72): [True: 265, False: 37]
  ------------------
  350|    265|                continue;
  351|       |
  352|       |            // skip scalars when we are told to
  353|  9.12k|            if ((function.classes & ClassNS) && isScalarType(type))
  ------------------
  |  Branch (353:17): [True: 2.54k, False: 6.58k]
  |  Branch (353:49): [True: 635, False: 1.90k]
  ------------------
  354|    635|                continue;
  355|       |
  356|       |            // return type
  357|  8.48k|            if (function.classes & ClassB)
  ------------------
  |  Branch (357:17): [True: 1.58k, False: 6.90k]
  ------------------
  358|  1.58k|                decls.append(TypeString[type & TypeStringColumnMask]);
  359|  6.90k|            else if (function.classes & ClassRS)
  ------------------
  |  Branch (359:22): [True: 666, False: 6.23k]
  ------------------
  360|    666|                decls.append(TypeString[type & TypeStringScalarMask]);
  361|  6.23k|            else
  362|  6.23k|                decls.append(TypeString[type]);
  363|  8.48k|            decls.append(" ");
  364|  8.48k|            decls.append(function.name);
  365|  8.48k|            decls.append("(");
  366|       |
  367|       |            // arguments
  368|  22.6k|            for (int arg = 0; arg < function.numArguments; ++arg) {
  ------------------
  |  Branch (368:31): [True: 14.1k, False: 8.48k]
  ------------------
  369|  14.1k|                if (arg == function.numArguments - 1 && (function.classes & ClassLO))
  ------------------
  |  Branch (369:21): [True: 8.48k, False: 5.64k]
  |  Branch (369:57): [True: 4, False: 8.48k]
  ------------------
  370|      4|                    decls.append("out ");
  371|  14.1k|                if (arg == 0) {
  ------------------
  |  Branch (371:21): [True: 8.48k, False: 5.64k]
  ------------------
  372|  8.48k|                    if (function.classes & ClassCVN)
  ------------------
  |  Branch (372:25): [True: 16, False: 8.46k]
  ------------------
  373|     16|                        decls.append("coherent volatile nontemporal ");
  374|  8.48k|                    if (function.classes & ClassFIO)
  ------------------
  |  Branch (374:25): [True: 16, False: 8.46k]
  ------------------
  375|     16|                        decls.append("inout ");
  376|  8.48k|                    if (function.classes & ClassFO)
  ------------------
  |  Branch (376:25): [True: 0, False: 8.48k]
  ------------------
  377|      0|                        decls.append("out ");
  378|  8.48k|                }
  379|  14.1k|                if ((function.classes & ClassLB) && arg == function.numArguments - 1)
  ------------------
  |  Branch (379:21): [True: 36, False: 14.0k]
  |  Branch (379:53): [True: 12, False: 24]
  ------------------
  380|     12|                    decls.append(TypeString[type & TypeStringColumnMask]);
  381|  14.1k|                else if (fixed && ((arg == function.numArguments - 1 && (function.classes & (ClassLS | ClassXLS |
  ------------------
  |  Branch (381:26): [True: 2.37k, False: 11.7k]
  |  Branch (381:37): [True: 943, False: 1.43k]
  |  Branch (381:73): [True: 721, False: 222]
  ------------------
  382|    943|                                                                                                       ClassLS2))) ||
  383|  1.65k|                                   (arg == function.numArguments - 2 && (function.classes & ClassLS2))             ||
  ------------------
  |  Branch (383:37): [True: 943, False: 709]
  |  Branch (383:73): [True: 117, False: 826]
  ------------------
  384|  1.53k|                                   (arg == 0                         && (function.classes & (ClassFS | ClassFS2))) ||
  ------------------
  |  Branch (384:37): [True: 943, False: 592]
  |  Branch (384:73): [True: 222, False: 721]
  ------------------
  385|  1.31k|                                   (arg == 1                         && (function.classes & ClassFS2))))
  ------------------
  |  Branch (385:37): [True: 481, False: 832]
  |  Branch (385:73): [True: 111, False: 370]
  ------------------
  386|  1.17k|                    decls.append(TypeString[type & TypeStringScalarMask]);
  387|  12.9k|                else
  388|  12.9k|                    decls.append(TypeString[type]);
  389|  14.1k|                if (arg < function.numArguments - 1)
  ------------------
  |  Branch (389:21): [True: 5.64k, False: 8.48k]
  ------------------
  390|  5.64k|                    decls.append(",");
  391|  14.1k|            }
  392|  8.48k|            decls.append(");\n");
  393|  8.48k|        }
  394|  2.07k|    }
  395|  1.81k|}
Initialize.cpp:_ZZN7glslang12_GLOBAL__N_116AddTabledBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionEENK3$_0clEi:
  323|  2.60k|    const auto isScalarType = [](int type) { return (type & TypeStringColumnMask) == 0; };
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120AddLongVectorBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionE:
  401|     85|{
  402|     85|    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|     85|    const ArgClass ClassFixed = (ArgClass)(ClassLS | ClassXLS | ClassLS2 | ClassFS | ClassFS2);
  408|    181|    for (int fixed = 0; fixed < ((function.classes & ClassFixed) > 0 ? 2 : 1); ++fixed) {
  ------------------
  |  Branch (408:25): [True: 96, False: 85]
  |  Branch (408:34): [True: 33, False: 148]
  ------------------
  409|       |
  410|     96|        if (fixed == 0 && (function.classes & ClassXLS))
  ------------------
  |  Branch (410:13): [True: 85, False: 11]
  |  Branch (410:27): [True: 1, False: 84]
  ------------------
  411|      1|            continue;
  412|       |
  413|       |        // Iterate over the different scalar types (needed for ClassRS)
  414|  1.61k|        for (int type = 0; type < TypeStringCount; ++type) {
  ------------------
  |  Branch (414:28): [True: 1.52k, False: 95]
  ------------------
  415|  1.52k|            if (!isScalarType(type))
  ------------------
  |  Branch (415:17): [True: 1.14k, False: 380]
  ------------------
  416|  1.14k|                continue;
  417|       |
  418|       |            // skip types not selected: go from type to row number to type bit
  419|    380|            if ((function.types & (1 << (type >> TypeStringRowShift))) == 0)
  ------------------
  |  Branch (419:17): [True: 262, False: 118]
  ------------------
  420|    262|                continue;
  421|       |
  422|       |            // skip scalar-only
  423|    118|            if (function.classes & ClassV1)
  ------------------
  |  Branch (423:17): [True: 16, False: 102]
  ------------------
  424|     16|                continue;
  425|       |
  426|       |            // skip 3-vector
  427|    102|            if (function.classes & ClassV3)
  ------------------
  |  Branch (427:17): [True: 1, False: 101]
  ------------------
  428|      1|                continue;
  429|       |
  430|    101|            TString decl;
  431|       |            // return type
  432|    101|            if (function.classes & ClassB)
  ------------------
  |  Branch (432:17): [True: 22, False: 79]
  ------------------
  433|     22|                decl.append("vector");
  434|     79|            else if (function.classes & ClassRS)
  ------------------
  |  Branch (434:22): [True: 5, False: 74]
  ------------------
  435|      5|                decl.append(TypeString[type & TypeStringScalarMask]);
  436|     74|            else
  437|     74|                decl.append("vector");
  438|    101|            decl.append(" ");
  439|    101|            decl.append(function.name);
  440|    101|            decl.append("(");
  441|       |
  442|       |            // arguments
  443|    276|            for (int arg = 0; arg < function.numArguments; ++arg) {
  ------------------
  |  Branch (443:31): [True: 175, False: 101]
  ------------------
  444|    175|                if (arg == function.numArguments - 1 && (function.classes & ClassLO))
  ------------------
  |  Branch (444:21): [True: 101, False: 74]
  |  Branch (444:57): [True: 1, False: 100]
  ------------------
  445|      1|                    decl.append("out ");
  446|    175|                if (arg == 0) {
  ------------------
  |  Branch (446:21): [True: 101, False: 74]
  ------------------
  447|    101|                    if (function.classes & ClassCVN)
  ------------------
  |  Branch (447:25): [True: 0, False: 101]
  ------------------
  448|      0|                        decl.append("coherent volatile nontemporal ");
  449|    101|                    if (function.classes & ClassFIO)
  ------------------
  |  Branch (449:25): [True: 0, False: 101]
  ------------------
  450|      0|                        decl.append("inout ");
  451|    101|                    if (function.classes & ClassFO)
  ------------------
  |  Branch (451:25): [True: 0, False: 101]
  ------------------
  452|      0|                        decl.append("out ");
  453|    101|                }
  454|    175|                if ((function.classes & ClassLB) && arg == function.numArguments - 1)
  ------------------
  |  Branch (454:21): [True: 9, False: 166]
  |  Branch (454:53): [True: 3, False: 6]
  ------------------
  455|      3|                    decl.append("vector");
  456|    172|                else if (fixed && ((arg == function.numArguments - 1 && (function.classes & (ClassLS | ClassXLS |
  ------------------
  |  Branch (456:26): [True: 34, False: 138]
  |  Branch (456:37): [True: 14, False: 20]
  |  Branch (456:73): [True: 12, False: 2]
  ------------------
  457|     14|                                                                                                       ClassLS2))) ||
  458|     22|                                   (arg == function.numArguments - 2 && (function.classes & ClassLS2))             ||
  ------------------
  |  Branch (458:37): [True: 14, False: 8]
  |  Branch (458:73): [True: 3, False: 11]
  ------------------
  459|     19|                                   (arg == 0                         && (function.classes & (ClassFS | ClassFS2))) ||
  ------------------
  |  Branch (459:37): [True: 14, False: 5]
  |  Branch (459:73): [True: 2, False: 12]
  ------------------
  460|     17|                                   (arg == 1                         && (function.classes & ClassFS2))))
  ------------------
  |  Branch (460:37): [True: 4, False: 13]
  |  Branch (460:73): [True: 1, False: 3]
  ------------------
  461|     18|                    decl.append(TypeString[type & TypeStringScalarMask]);
  462|    154|                else
  463|    154|                    decl.append("vector");
  464|    175|                if (arg < function.numArguments - 1)
  ------------------
  |  Branch (464:21): [True: 74, False: 101]
  ------------------
  465|     74|                    decl.append(",");
  466|    175|            }
  467|    101|            decl.append(");\n");
  468|       |
  469|    101|            decls.append(decl);
  470|    101|        }
  471|     95|    }
  472|     85|}
Initialize.cpp:_ZZN7glslang12_GLOBAL__N_120AddLongVectorBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionEENK3$_0clEi:
  402|  1.52k|    const auto isScalarType = [](int type) { return (type & TypeStringColumnMask) == 0; };
_ZN7glslang13IncludeLegacyEi8EProfileRKNS_10SpvVersionE:
  537|    247|{
  538|    247|    return profile != EEsProfile && (version <= 130 || (spvVersion.spv == 0 && version == 140 && ARBCompatibility) ||
  ------------------
  |  Branch (538:12): [True: 31, False: 216]
  |  Branch (538:38): [True: 0, False: 31]
  |  Branch (538:57): [True: 31, False: 0]
  |  Branch (538:80): [True: 0, False: 31]
  |  Branch (538:98): [True: 0, Folded]
  ------------------
  539|     31|           profile == ECompatibilityProfile);
  ------------------
  |  Branch (539:12): [True: 0, False: 31]
  ------------------
  540|    247|}
Initialize.cpp:_ZN7glslangL15BuiltInVariableEPKcNS_16TBuiltInVariableERNS_12TSymbolTableE:
 9127|  2.00k|{
 9128|  2.00k|    TSymbol* symbol = symbolTable.find(name);
 9129|  2.00k|    if (symbol == nullptr)
  ------------------
  |  Branch (9129:9): [True: 1.75k, False: 252]
  ------------------
 9130|  1.75k|        return;
 9131|       |
 9132|    252|    TQualifier& symQualifier = symbol->getWritableType().getQualifier();
 9133|    252|    symQualifier.builtIn = builtIn;
 9134|    252|}
Initialize.cpp:_ZN7glslangL16SpecialQualifierEPKcNS_17TStorageQualifierENS_16TBuiltInVariableERNS_12TSymbolTableE:
 9089|    488|{
 9090|    488|    TSymbol* symbol = symbolTable.find(name);
 9091|    488|    if (symbol == nullptr)
  ------------------
  |  Branch (9091:9): [True: 186, False: 302]
  ------------------
 9092|    186|        return;
 9093|       |
 9094|    302|    TQualifier& symQualifier = symbol->getWritableType().getQualifier();
 9095|    302|    symQualifier.storage = qualifier;
 9096|    302|    symQualifier.builtIn = builtIn;
 9097|    302|}
Initialize.cpp:_ZN7glslangL15BuiltInVariableEPKcS1_NS_16TBuiltInVariableERNS_12TSymbolTableE:
 9149|  1.32k|{
 9150|  1.32k|    TSymbol* symbol = symbolTable.find(blockName);
 9151|  1.32k|    if (symbol == nullptr)
  ------------------
  |  Branch (9151:9): [True: 1.27k, False: 51]
  ------------------
 9152|  1.27k|        return;
 9153|       |
 9154|     51|    TTypeList& structure = *symbol->getWritableType().getWritableStruct();
 9155|    259|    for (int i = 0; i < (int)structure.size(); ++i) {
  ------------------
  |  Branch (9155:21): [True: 245, False: 14]
  ------------------
 9156|    245|        if (structure[i].type->getFieldName().compare(name) == 0) {
  ------------------
  |  Branch (9156:13): [True: 37, False: 208]
  ------------------
 9157|     37|            structure[i].type->getQualifier().builtIn = builtIn;
 9158|     37|            return;
 9159|     37|        }
 9160|    245|    }
 9161|     51|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsINSt3__15arrayINS0_15BuiltInFunctionELm79EEEEEvRKT_RNS_12TSymbolTableE:
  499|     85|{
  500|  6.71k|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 6.71k, False: 85]
  ------------------
  501|  6.71k|        symbolTable.relateToOperator(fn.name, fn.op);
  502|  6.71k|    }
  503|     85|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsINSt3__15arrayINS0_15BuiltInFunctionELm3EEEEEvRKT_RNS_12TSymbolTableE:
  499|     85|{
  500|    255|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 255, False: 85]
  ------------------
  501|    255|        symbolTable.relateToOperator(fn.name, fn.op);
  502|    255|    }
  503|     85|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsIA39_NS0_14CustomFunctionEEEvRKT_RNS_12TSymbolTableE:
  499|     85|{
  500|  3.31k|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 3.31k, False: 85]
  ------------------
  501|  3.31k|        symbolTable.relateToOperator(fn.name, fn.op);
  502|  3.31k|    }
  503|     85|}
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_0clEPKc:
10404|    168|            auto coopMatKHRCallback = [](const char *name) -> std::vector<const char *> {
10405|    168|                std::vector<const char *> ret;
10406|    168|                if (strstr(name, "u64") != nullptr) {
  ------------------
  |  Branch (10406:21): [True: 90, False: 78]
  ------------------
10407|     90|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10408|     90|                } else {
10409|     78|                    ret.push_back(E_GL_KHR_cooperative_matrix);
10410|     78|                }
10411|    168|                return ret;
10412|    168|            };
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_1clEPKc:
10413|     16|            auto coopMat2NVCallback = [](const char *name) -> std::vector<const char *> {
10414|     16|                std::vector<const char *> ret;
10415|     16|                if (strstr(name, "u64") != nullptr) {
  ------------------
  |  Branch (10415:21): [True: 8, False: 8]
  ------------------
10416|      8|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10417|      8|                } else {
10418|      8|                    ret.push_back(E_GL_NV_cooperative_matrix2);
10419|      8|                }
10420|     16|                return ret;
10421|     16|            };
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_2clEPKc:
10460|    484|            auto coopVecCallback = [](const char *name) -> std::vector<const char *> {
10461|    484|                std::vector<const char *> ret;
10462|       |                // This looks for u64 as the last parameter (the offset)
10463|    484|                if (strstr(name, "u641;") != nullptr) {
  ------------------
  |  Branch (10463:21): [True: 242, False: 242]
  ------------------
10464|    242|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10465|    242|                } else {
10466|    242|                    ret.push_back(E_GL_NV_cooperative_vector);
10467|    242|                }
10468|    484|                return ret;
10469|    484|            };

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

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

_ZN7glslang13TIntermediate12addUnaryMathENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocE:
  357|      9|{
  358|      9|    if (child == nullptr)
  ------------------
  |  Branch (358:9): [True: 0, False: 9]
  ------------------
  359|      0|        return nullptr;
  360|       |
  361|      9|    if (child->getType().getBasicType() == EbtBlock)
  ------------------
  |  Branch (361:9): [True: 0, False: 9]
  ------------------
  362|      0|        return nullptr;
  363|       |
  364|      9|    switch (op) {
  365|      0|    case EOpLogicalNot:
  ------------------
  |  Branch (365:5): [True: 0, False: 9]
  ------------------
  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: 9]
  ------------------
  376|      0|    case EOpPreIncrement:
  ------------------
  |  Branch (376:5): [True: 0, False: 9]
  ------------------
  377|      0|    case EOpPostDecrement:
  ------------------
  |  Branch (377:5): [True: 0, False: 9]
  ------------------
  378|      0|    case EOpPreDecrement:
  ------------------
  |  Branch (378:5): [True: 0, False: 9]
  ------------------
  379|      0|    case EOpNegative:
  ------------------
  |  Branch (379:5): [True: 0, False: 9]
  ------------------
  380|      0|        if (child->getType().getBasicType() == EbtStruct || child->getType().isArray())
  ------------------
  |  Branch (380:13): [True: 0, False: 0]
  |  Branch (380:61): [True: 0, False: 0]
  ------------------
  381|      0|            return nullptr;
  382|      0|        break;
  383|      9|    default: break; // some compilers want this
  ------------------
  |  Branch (383:5): [True: 9, False: 0]
  ------------------
  384|      9|    }
  385|       |
  386|       |    //
  387|       |    // Do we need to promote the operand?
  388|       |    //
  389|      9|    TBasicType newType = EbtVoid;
  390|      9|    switch (op) {
  391|      0|    case EOpConstructBool:   newType = EbtBool;   break;
  ------------------
  |  Branch (391:5): [True: 0, False: 9]
  ------------------
  392|      0|    case EOpConstructFloat:  newType = EbtFloat;  break;
  ------------------
  |  Branch (392:5): [True: 0, False: 9]
  ------------------
  393|      0|    case EOpConstructInt:    newType = EbtInt;    break;
  ------------------
  |  Branch (393:5): [True: 0, False: 9]
  ------------------
  394|      9|    case EOpConstructUint:   newType = EbtUint;   break;
  ------------------
  |  Branch (394:5): [True: 9, False: 0]
  ------------------
  395|      0|    case EOpConstructInt8:   newType = EbtInt8;   break;
  ------------------
  |  Branch (395:5): [True: 0, False: 9]
  ------------------
  396|      0|    case EOpConstructUint8:  newType = EbtUint8;  break;
  ------------------
  |  Branch (396:5): [True: 0, False: 9]
  ------------------
  397|      0|    case EOpConstructInt16:  newType = EbtInt16;  break;
  ------------------
  |  Branch (397:5): [True: 0, False: 9]
  ------------------
  398|      0|    case EOpConstructUint16: newType = EbtUint16; break;
  ------------------
  |  Branch (398:5): [True: 0, False: 9]
  ------------------
  399|      0|    case EOpConstructInt64:  newType = EbtInt64;  break;
  ------------------
  |  Branch (399:5): [True: 0, False: 9]
  ------------------
  400|      0|    case EOpConstructUint64: newType = EbtUint64; break;
  ------------------
  |  Branch (400:5): [True: 0, False: 9]
  ------------------
  401|      0|    case EOpConstructDouble: newType = EbtDouble; break;
  ------------------
  |  Branch (401:5): [True: 0, False: 9]
  ------------------
  402|      0|    case EOpConstructFloat16: newType = EbtFloat16; break;
  ------------------
  |  Branch (402:5): [True: 0, False: 9]
  ------------------
  403|      0|    case EOpConstructBFloat16: newType = EbtBFloat16; break;
  ------------------
  |  Branch (403:5): [True: 0, False: 9]
  ------------------
  404|      0|    case EOpConstructFloatE4M3: newType = EbtFloatE4M3; break;
  ------------------
  |  Branch (404:5): [True: 0, False: 9]
  ------------------
  405|      0|    case EOpConstructFloatE5M2: newType = EbtFloatE5M2; break;
  ------------------
  |  Branch (405:5): [True: 0, False: 9]
  ------------------
  406|      0|    case EOpConstructFloatE2M1: newType = EbtFloatE2M1; break;
  ------------------
  |  Branch (406:5): [True: 0, False: 9]
  ------------------
  407|      0|    case EOpConstructFloatE3M2: newType = EbtFloatE3M2; break;
  ------------------
  |  Branch (407:5): [True: 0, False: 9]
  ------------------
  408|      0|    case EOpConstructFloatE2M3: newType = EbtFloatE2M3; break;
  ------------------
  |  Branch (408:5): [True: 0, False: 9]
  ------------------
  409|      0|    case EOpConstructFloatUE8M0: newType = EbtFloatUE8M0; break;
  ------------------
  |  Branch (409:5): [True: 0, False: 9]
  ------------------
  410|      0|    case EOpConstructFloatMXINT8: newType = EbtFloatMXINT8; break;
  ------------------
  |  Branch (410:5): [True: 0, False: 9]
  ------------------
  411|      0|    default: break; // some compilers want this
  ------------------
  |  Branch (411:5): [True: 0, False: 9]
  ------------------
  412|      9|    }
  413|       |
  414|      9|    if (newType != EbtVoid) {
  ------------------
  |  Branch (414:9): [True: 9, False: 0]
  ------------------
  415|      9|        TType newTType(newType, EvqTemporary, child->getVectorSize(), child->getMatrixCols(), child->getMatrixRows(), child->isVector());
  416|      9|        if (child->getType().isLongVector()) {
  ------------------
  |  Branch (416:13): [True: 0, False: 9]
  ------------------
  417|      0|            newTType.shallowCopy(child->getType());
  418|      0|            newTType.setBasicType(newType);
  419|      0|            newTType.makeTemporary();
  420|      0|            newTType.getQualifier().clear();
  421|      0|        }
  422|       |
  423|      9|        child = addConversion(op, newTType, child);
  424|      9|        if (child == nullptr)
  ------------------
  |  Branch (424:13): [True: 0, False: 9]
  ------------------
  425|      0|            return nullptr;
  426|      9|    }
  427|       |
  428|       |    //
  429|       |    // For constructors, we are now done, it was all in the conversion.
  430|       |    // TODO: but, did this bypass constant folding?
  431|       |    //
  432|      9|    switch (op) {
  433|      0|        case EOpConstructInt8:
  ------------------
  |  Branch (433:9): [True: 0, False: 9]
  ------------------
  434|      0|        case EOpConstructUint8:
  ------------------
  |  Branch (434:9): [True: 0, False: 9]
  ------------------
  435|      0|        case EOpConstructInt16:
  ------------------
  |  Branch (435:9): [True: 0, False: 9]
  ------------------
  436|      0|        case EOpConstructUint16:
  ------------------
  |  Branch (436:9): [True: 0, False: 9]
  ------------------
  437|      0|        case EOpConstructInt:
  ------------------
  |  Branch (437:9): [True: 0, False: 9]
  ------------------
  438|      9|        case EOpConstructUint:
  ------------------
  |  Branch (438:9): [True: 9, False: 0]
  ------------------
  439|      9|        case EOpConstructInt64:
  ------------------
  |  Branch (439:9): [True: 0, False: 9]
  ------------------
  440|      9|        case EOpConstructUint64:
  ------------------
  |  Branch (440:9): [True: 0, False: 9]
  ------------------
  441|      9|        case EOpConstructBool:
  ------------------
  |  Branch (441:9): [True: 0, False: 9]
  ------------------
  442|      9|        case EOpConstructFloat:
  ------------------
  |  Branch (442:9): [True: 0, False: 9]
  ------------------
  443|      9|        case EOpConstructDouble:
  ------------------
  |  Branch (443:9): [True: 0, False: 9]
  ------------------
  444|      9|        case EOpConstructFloat16:
  ------------------
  |  Branch (444:9): [True: 0, False: 9]
  ------------------
  445|      9|        case EOpConstructBFloat16:
  ------------------
  |  Branch (445:9): [True: 0, False: 9]
  ------------------
  446|      9|        case EOpConstructFloatE5M2:
  ------------------
  |  Branch (446:9): [True: 0, False: 9]
  ------------------
  447|      9|        case EOpConstructFloatE4M3:
  ------------------
  |  Branch (447:9): [True: 0, False: 9]
  ------------------
  448|      9|        case EOpConstructFloatE2M1:
  ------------------
  |  Branch (448:9): [True: 0, False: 9]
  ------------------
  449|      9|        case EOpConstructFloatE3M2:
  ------------------
  |  Branch (449:9): [True: 0, False: 9]
  ------------------
  450|      9|        case EOpConstructFloatE2M3:
  ------------------
  |  Branch (450:9): [True: 0, False: 9]
  ------------------
  451|      9|        case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (451:9): [True: 0, False: 9]
  ------------------
  452|      9|        case EOpConstructFloatMXINT8: {
  ------------------
  |  Branch (452:9): [True: 0, False: 9]
  ------------------
  453|      9|            TIntermUnary* unary_node = child->getAsUnaryNode();
  454|      9|            if (unary_node != nullptr)
  ------------------
  |  Branch (454:17): [True: 0, False: 9]
  ------------------
  455|      0|                unary_node->updatePrecision();
  456|      9|            return child;
  457|      9|        }
  458|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (458:9): [True: 0, False: 9]
  ------------------
  459|      9|    }
  460|       |
  461|       |    //
  462|       |    // Make a new node for the operator.
  463|       |    //
  464|      0|    TIntermUnary* node = addUnaryNode(op, child, loc);
  465|       |
  466|      0|    if (! promote(node))
  ------------------
  |  Branch (466:9): [True: 0, False: 0]
  ------------------
  467|      0|        return nullptr;
  468|       |
  469|      0|    node->updatePrecision();
  470|       |
  471|       |    // If it's a (non-specialization) constant, it must be folded.
  472|      0|    if (node->getOperand()->getAsConstantUnion())
  ------------------
  |  Branch (472:9): [True: 0, False: 0]
  ------------------
  473|      0|        return node->getOperand()->getAsConstantUnion()->fold(op, node->getType());
  474|       |
  475|       |    // If it's a specialization constant, the result is too,
  476|       |    // if the operation is allowed for specialization constants.
  477|      0|    if (node->getOperand()->getType().getQualifier().isSpecConstant() && isSpecializationOperation(*node))
  ------------------
  |  Branch (477:9): [True: 0, False: 0]
  |  Branch (477:74): [True: 0, False: 0]
  ------------------
  478|      0|        node->getWritableType().getQualifier().makeSpecConstant();
  479|       |
  480|       |    // If must propagate nonuniform, make a nonuniform.
  481|      0|    if (node->getOperand()->getQualifier().isNonUniform() && isNonuniformPropagating(node->getOp()))
  ------------------
  |  Branch (481:9): [True: 0, False: 0]
  |  Branch (481:62): [True: 0, False: 0]
  ------------------
  482|      0|        node->getWritableType().getQualifier().nonUniform = true;
  483|       |
  484|      0|    return node;
  485|      0|}
_ZN7glslang13TIntermediate20setAggregateOperatorEP11TIntermNodeNS_9TOperatorERKNS_5TTypeERKNS_10TSourceLocE:
  527|      3|{
  528|      3|    TIntermAggregate* aggNode;
  529|       |
  530|       |    //
  531|       |    // Make sure we have an aggregate.  If not turn it into one.
  532|       |    //
  533|      3|    if (node != nullptr) {
  ------------------
  |  Branch (533:9): [True: 3, False: 0]
  ------------------
  534|      3|        aggNode = node->getAsAggregate();
  535|      3|        if (aggNode == nullptr || aggNode->getOp() != EOpNull) {
  ------------------
  |  Branch (535:13): [True: 0, False: 3]
  |  Branch (535:35): [True: 0, False: 3]
  ------------------
  536|       |            //
  537|       |            // Make an aggregate containing this node.
  538|       |            //
  539|      0|            aggNode = new TIntermAggregate();
  540|      0|            aggNode->getSequence().push_back(node);
  541|      0|        }
  542|      3|    } else
  543|      0|        aggNode = new TIntermAggregate();
  544|       |
  545|       |    //
  546|       |    // Set the operator.
  547|       |    //
  548|      3|    aggNode->setOperator(op);
  549|      3|    if (loc.line != 0 || node != nullptr)
  ------------------
  |  Branch (549:9): [True: 3, False: 0]
  |  Branch (549:26): [True: 0, False: 0]
  ------------------
  550|      3|        aggNode->setLoc(loc.line != 0 ? loc : node->getLoc());
  ------------------
  |  Branch (550:25): [True: 3, False: 0]
  ------------------
  551|       |
  552|      3|    aggNode->setType(type);
  553|       |
  554|      3|    return fold(aggNode);
  555|      3|}
_ZNK7glslang13TIntermediate19isConversionAllowedENS_9TOperatorEPNS_12TIntermTypedE:
  558|    446|{
  559|       |    //
  560|       |    // Does the base type even allow the operation?
  561|       |    //
  562|    446|    switch (node->getBasicType()) {
  563|      0|    case EbtVoid:
  ------------------
  |  Branch (563:5): [True: 0, False: 446]
  ------------------
  564|      0|        return false;
  565|      0|    case EbtAtomicUint:
  ------------------
  |  Branch (565:5): [True: 0, False: 446]
  ------------------
  566|      0|    case EbtSampler:
  ------------------
  |  Branch (566:5): [True: 0, False: 446]
  ------------------
  567|      0|    case EbtAccStruct:
  ------------------
  |  Branch (567:5): [True: 0, False: 446]
  ------------------
  568|       |        // opaque types can be passed to functions
  569|      0|        if (op == EOpFunction)
  ------------------
  |  Branch (569:13): [True: 0, False: 0]
  ------------------
  570|      0|            break;
  571|       |
  572|       |        // HLSL can assign samplers directly (no constructor)
  573|      0|        if (getSource() == EShSourceHlsl && node->getBasicType() == EbtSampler)
  ------------------
  |  Branch (573:13): [True: 0, False: 0]
  |  Branch (573:45): [True: 0, False: 0]
  ------------------
  574|      0|            break;
  575|       |
  576|       |        // samplers can get assigned via a sampler constructor
  577|       |        // (well, not yet, but code in the rest of this function is ready for it)
  578|      0|        if (node->getBasicType() == EbtSampler && op == EOpAssign &&
  ------------------
  |  Branch (578:13): [True: 0, False: 0]
  |  Branch (578:51): [True: 0, False: 0]
  ------------------
  579|      0|            node->getAsOperator() != nullptr && node->getAsOperator()->getOp() == EOpConstructTextureSampler)
  ------------------
  |  Branch (579:13): [True: 0, False: 0]
  |  Branch (579:49): [True: 0, False: 0]
  ------------------
  580|      0|            break;
  581|       |
  582|       |        // ARB_bindless_texture makes samplers and images l-values, so they can be
  583|       |        // initialized and assigned, which is what carries them in and out of functions.
  584|      0|        if (op == EOpAssign && node->getBasicType() == EbtSampler &&
  ------------------
  |  Branch (584:13): [True: 0, False: 0]
  |  Branch (584:32): [True: 0, False: 0]
  ------------------
  585|      0|            IsRequestedExtension(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (585:13): [True: 0, False: 0]
  ------------------
  586|      0|            break;
  587|       |
  588|       |        // otherwise, opaque types can't even be operated on, let alone converted
  589|      0|        return false;
  590|    446|    default:
  ------------------
  |  Branch (590:5): [True: 446, False: 0]
  ------------------
  591|    446|        break;
  592|    446|    }
  593|       |
  594|    446|    return true;
  595|    446|}
_ZN7glslang13TIntermediate13addConversionENS_9TOperatorERKNS_5TTypeEPNS_12TIntermTypedE:
  856|    446|{
  857|    446|    if (!isConversionAllowed(op, node))
  ------------------
  |  Branch (857:9): [True: 0, False: 446]
  ------------------
  858|      0|        return nullptr;
  859|       |
  860|       |    // Otherwise, if types are identical, no problem
  861|    446|    if (type == node->getType())
  ------------------
  |  Branch (861:9): [True: 437, False: 9]
  ------------------
  862|    437|        return node;
  863|       |
  864|       |    // If one's a structure, then no conversions.
  865|      9|    if (type.isStruct() || node->isStruct())
  ------------------
  |  Branch (865:9): [True: 0, False: 9]
  |  Branch (865:28): [True: 0, False: 9]
  ------------------
  866|      0|        return nullptr;
  867|       |
  868|       |    // If one's an array, then no conversions.
  869|      9|    if (type.isArray() || node->getType().isArray())
  ------------------
  |  Branch (869:9): [True: 0, False: 9]
  |  Branch (869:27): [True: 0, False: 9]
  ------------------
  870|      0|        return nullptr;
  871|       |
  872|       |    // A sampler or image converts to nothing but its own type, and identical types have
  873|       |    // already returned above. Only in bindless mode, so HLSL keeps its own rules.
  874|      9|    if ((type.getBasicType() == EbtSampler || node->getBasicType() == EbtSampler) &&
  ------------------
  |  Branch (874:10): [True: 0, False: 9]
  |  Branch (874:47): [True: 0, False: 9]
  ------------------
  875|      0|        IsRequestedExtension(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (875:9): [True: 0, False: 0]
  ------------------
  876|      0|        return nullptr;
  877|       |
  878|       |    // Reject implicit conversions to cooperative matrix types
  879|      9|    if (node->getType().isCoopMat() &&
  ------------------
  |  Branch (879:9): [True: 0, False: 9]
  ------------------
  880|      0|        op != EOpConstructCooperativeMatrixNV &&
  ------------------
  |  Branch (880:9): [True: 0, False: 0]
  ------------------
  881|      0|        op != EOpConstructCooperativeMatrixKHR &&
  ------------------
  |  Branch (881:9): [True: 0, False: 0]
  ------------------
  882|      0|        op != glslang::EOpCompositeConstructCoopMatQCOM)
  ------------------
  |  Branch (882:9): [True: 0, False: 0]
  ------------------
  883|      0|        return nullptr;
  884|       |
  885|      9|    if (node->getType().isTensorLayoutNV() ||
  ------------------
  |  Branch (885:9): [True: 0, False: 9]
  ------------------
  886|      9|        node->getType().isTensorViewNV())
  ------------------
  |  Branch (886:9): [True: 0, False: 9]
  ------------------
  887|      0|        return nullptr;
  888|       |
  889|       |    // Reject implicit conversions to cooperative vector types
  890|      9|    if (node->getType().isCoopVecNV() &&
  ------------------
  |  Branch (890:9): [True: 0, False: 9]
  ------------------
  891|      0|        op != EOpConstructCooperativeVectorNV)
  ------------------
  |  Branch (891:9): [True: 0, False: 0]
  ------------------
  892|      0|        return nullptr;
  893|       |
  894|       |    // Note: callers are responsible for other aspects of shape,
  895|       |    // like vector and matrix sizes.
  896|       |
  897|      9|    switch (op) {
  898|       |    //
  899|       |    // Explicit conversions (unary operations)
  900|       |    //
  901|      0|    case EOpConstructBool:
  ------------------
  |  Branch (901:5): [True: 0, False: 9]
  ------------------
  902|      0|    case EOpConstructFloat:
  ------------------
  |  Branch (902:5): [True: 0, False: 9]
  ------------------
  903|      0|    case EOpConstructInt:
  ------------------
  |  Branch (903:5): [True: 0, False: 9]
  ------------------
  904|      9|    case EOpConstructUint:
  ------------------
  |  Branch (904:5): [True: 9, False: 0]
  ------------------
  905|      9|    case EOpConstructDouble:
  ------------------
  |  Branch (905:5): [True: 0, False: 9]
  ------------------
  906|      9|    case EOpConstructFloat16:
  ------------------
  |  Branch (906:5): [True: 0, False: 9]
  ------------------
  907|      9|    case EOpConstructBFloat16:
  ------------------
  |  Branch (907:5): [True: 0, False: 9]
  ------------------
  908|      9|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (908:5): [True: 0, False: 9]
  ------------------
  909|      9|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (909:5): [True: 0, False: 9]
  ------------------
  910|      9|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (910:5): [True: 0, False: 9]
  ------------------
  911|      9|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (911:5): [True: 0, False: 9]
  ------------------
  912|      9|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (912:5): [True: 0, False: 9]
  ------------------
  913|      9|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (913:5): [True: 0, False: 9]
  ------------------
  914|      9|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (914:5): [True: 0, False: 9]
  ------------------
  915|      9|    case EOpConstructInt8:
  ------------------
  |  Branch (915:5): [True: 0, False: 9]
  ------------------
  916|      9|    case EOpConstructUint8:
  ------------------
  |  Branch (916:5): [True: 0, False: 9]
  ------------------
  917|      9|    case EOpConstructInt16:
  ------------------
  |  Branch (917:5): [True: 0, False: 9]
  ------------------
  918|      9|    case EOpConstructUint16:
  ------------------
  |  Branch (918:5): [True: 0, False: 9]
  ------------------
  919|      9|    case EOpConstructInt64:
  ------------------
  |  Branch (919:5): [True: 0, False: 9]
  ------------------
  920|      9|    case EOpConstructUint64:
  ------------------
  |  Branch (920:5): [True: 0, False: 9]
  ------------------
  921|      9|    case EOpConstructSaturated:
  ------------------
  |  Branch (921:5): [True: 0, False: 9]
  ------------------
  922|      9|        break;
  923|       |
  924|       |    //
  925|       |    // Implicit conversions
  926|       |    //
  927|      0|    case EOpLogicalNot:
  ------------------
  |  Branch (927:5): [True: 0, False: 9]
  ------------------
  928|       |
  929|      0|    case EOpFunctionCall:
  ------------------
  |  Branch (929:5): [True: 0, False: 9]
  ------------------
  930|       |
  931|      0|    case EOpReturn:
  ------------------
  |  Branch (931:5): [True: 0, False: 9]
  ------------------
  932|      0|    case EOpAssign:
  ------------------
  |  Branch (932:5): [True: 0, False: 9]
  ------------------
  933|      0|    case EOpAddAssign:
  ------------------
  |  Branch (933:5): [True: 0, False: 9]
  ------------------
  934|      0|    case EOpSubAssign:
  ------------------
  |  Branch (934:5): [True: 0, False: 9]
  ------------------
  935|      0|    case EOpMulAssign:
  ------------------
  |  Branch (935:5): [True: 0, False: 9]
  ------------------
  936|      0|    case EOpVectorTimesScalarAssign:
  ------------------
  |  Branch (936:5): [True: 0, False: 9]
  ------------------
  937|      0|    case EOpMatrixTimesScalarAssign:
  ------------------
  |  Branch (937:5): [True: 0, False: 9]
  ------------------
  938|      0|    case EOpDivAssign:
  ------------------
  |  Branch (938:5): [True: 0, False: 9]
  ------------------
  939|      0|    case EOpModAssign:
  ------------------
  |  Branch (939:5): [True: 0, False: 9]
  ------------------
  940|      0|    case EOpAndAssign:
  ------------------
  |  Branch (940:5): [True: 0, False: 9]
  ------------------
  941|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (941:5): [True: 0, False: 9]
  ------------------
  942|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (942:5): [True: 0, False: 9]
  ------------------
  943|       |
  944|      0|    case EOpAtan:
  ------------------
  |  Branch (944:5): [True: 0, False: 9]
  ------------------
  945|      0|    case EOpClamp:
  ------------------
  |  Branch (945:5): [True: 0, False: 9]
  ------------------
  946|      0|    case EOpCross:
  ------------------
  |  Branch (946:5): [True: 0, False: 9]
  ------------------
  947|      0|    case EOpDistance:
  ------------------
  |  Branch (947:5): [True: 0, False: 9]
  ------------------
  948|      0|    case EOpDot:
  ------------------
  |  Branch (948:5): [True: 0, False: 9]
  ------------------
  949|      0|    case EOpDst:
  ------------------
  |  Branch (949:5): [True: 0, False: 9]
  ------------------
  950|      0|    case EOpFaceForward:
  ------------------
  |  Branch (950:5): [True: 0, False: 9]
  ------------------
  951|      0|    case EOpFma:
  ------------------
  |  Branch (951:5): [True: 0, False: 9]
  ------------------
  952|      0|    case EOpFrexp:
  ------------------
  |  Branch (952:5): [True: 0, False: 9]
  ------------------
  953|      0|    case EOpLdexp:
  ------------------
  |  Branch (953:5): [True: 0, False: 9]
  ------------------
  954|      0|    case EOpMix:
  ------------------
  |  Branch (954:5): [True: 0, False: 9]
  ------------------
  955|      0|    case EOpLit:
  ------------------
  |  Branch (955:5): [True: 0, False: 9]
  ------------------
  956|      0|    case EOpMax:
  ------------------
  |  Branch (956:5): [True: 0, False: 9]
  ------------------
  957|      0|    case EOpMin:
  ------------------
  |  Branch (957:5): [True: 0, False: 9]
  ------------------
  958|      0|    case EOpMod:
  ------------------
  |  Branch (958:5): [True: 0, False: 9]
  ------------------
  959|      0|    case EOpModf:
  ------------------
  |  Branch (959:5): [True: 0, False: 9]
  ------------------
  960|      0|    case EOpPow:
  ------------------
  |  Branch (960:5): [True: 0, False: 9]
  ------------------
  961|      0|    case EOpReflect:
  ------------------
  |  Branch (961:5): [True: 0, False: 9]
  ------------------
  962|      0|    case EOpRefract:
  ------------------
  |  Branch (962:5): [True: 0, False: 9]
  ------------------
  963|      0|    case EOpSmoothStep:
  ------------------
  |  Branch (963:5): [True: 0, False: 9]
  ------------------
  964|      0|    case EOpStep:
  ------------------
  |  Branch (964:5): [True: 0, False: 9]
  ------------------
  965|       |
  966|      0|    case EOpSequence:
  ------------------
  |  Branch (966:5): [True: 0, False: 9]
  ------------------
  967|      0|    case EOpConstructStruct:
  ------------------
  |  Branch (967:5): [True: 0, False: 9]
  ------------------
  968|      0|    case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (968:5): [True: 0, False: 9]
  ------------------
  969|      0|    case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (969:5): [True: 0, False: 9]
  ------------------
  970|      0|    case EOpConstructCooperativeVectorNV:
  ------------------
  |  Branch (970:5): [True: 0, False: 9]
  ------------------
  971|       |
  972|      0|        if (type.isReference() || node->getType().isReference()) {
  ------------------
  |  Branch (972:13): [True: 0, False: 0]
  |  Branch (972:35): [True: 0, False: 0]
  ------------------
  973|       |            // types must match to assign a reference
  974|      0|            if (type == node->getType())
  ------------------
  |  Branch (974:17): [True: 0, False: 0]
  ------------------
  975|      0|                return node;
  976|      0|            else
  977|      0|                return nullptr;
  978|      0|        }
  979|       |
  980|      0|        if (type.getBasicType() == node->getType().getBasicType())
  ------------------
  |  Branch (980:13): [True: 0, False: 0]
  ------------------
  981|      0|            return node;
  982|       |
  983|      0|        if (! canImplicitlyPromote(node->getBasicType(), type.getBasicType(), op))
  ------------------
  |  Branch (983:13): [True: 0, False: 0]
  ------------------
  984|      0|            return nullptr;
  985|      0|        break;
  986|       |
  987|       |    // For GLSL, there are no conversions needed; the shift amount just needs to be an
  988|       |    // integer type, as do the base/result.
  989|       |    // HLSL can convert the shift from a bool to an int.
  990|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (990:5): [True: 0, False: 9]
  ------------------
  991|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (991:5): [True: 0, False: 9]
  ------------------
  992|      0|    {
  993|      0|        if (!(getSource() == EShSourceHlsl && node->getType().getBasicType() == EbtBool)) {
  ------------------
  |  Branch (993:15): [True: 0, False: 0]
  |  Branch (993:47): [True: 0, False: 0]
  ------------------
  994|      0|            if (isTypeInt(type.getBasicType()) && isTypeInt(node->getBasicType()))
  ------------------
  |  Branch (994:17): [True: 0, False: 0]
  |  Branch (994:51): [True: 0, False: 0]
  ------------------
  995|      0|                return node;
  996|      0|            else
  997|      0|                return nullptr;
  998|      0|        }
  999|      0|        break;
 1000|      0|    }
 1001|       |
 1002|      0|    default:
  ------------------
  |  Branch (1002:5): [True: 0, False: 9]
  ------------------
 1003|       |        // default is to require a match; all exceptions should have case statements above
 1004|       |
 1005|      0|        if (type.getBasicType() == node->getType().getBasicType())
  ------------------
  |  Branch (1005:13): [True: 0, False: 0]
  ------------------
 1006|      0|            return node;
 1007|      0|        else
 1008|      0|            return nullptr;
 1009|      9|    }
 1010|       |
 1011|      9|    bool canPromoteConstant = true;
 1012|       |    // GL_EXT_shader_16bit_storage can't do OpConstantComposite with
 1013|       |    // 16-bit types, so disable promotion for those types.
 1014|       |    // Many issues with this, from JohnK:
 1015|       |    //  - this isn't really right to discuss SPIR-V here
 1016|       |    //  - this could easily be entirely about scalars, so is overstepping
 1017|       |    //  - we should be looking at what the shader asked for, and saying whether or
 1018|       |    //    not it can be done, in the parser, by calling requireExtensions(), not
 1019|       |    //    changing language sementics on the fly by asking what extensions are in use
 1020|       |    //  - at the time of this writing (14-Aug-2020), no test results are changed by this.
 1021|      9|    switch (op) {
 1022|      0|    case EOpConstructBFloat16:
  ------------------
  |  Branch (1022:5): [True: 0, False: 9]
  ------------------
 1023|      0|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (1023:5): [True: 0, False: 9]
  ------------------
 1024|      0|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (1024:5): [True: 0, False: 9]
  ------------------
 1025|      0|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (1025:5): [True: 0, False: 9]
  ------------------
 1026|      0|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (1026:5): [True: 0, False: 9]
  ------------------
 1027|      0|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (1027:5): [True: 0, False: 9]
  ------------------
 1028|      0|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (1028:5): [True: 0, False: 9]
  ------------------
 1029|      0|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (1029:5): [True: 0, False: 9]
  ------------------
 1030|      0|        canPromoteConstant = true;
 1031|      0|        break;
 1032|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (1032:5): [True: 0, False: 9]
  ------------------
 1033|      0|        canPromoteConstant = numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1033:30): [True: 0, False: 0]
  ------------------
 1034|      0|                             numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_float16);
  ------------------
  |  Branch (1034:30): [True: 0, False: 0]
  ------------------
 1035|      0|        break;
 1036|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (1036:5): [True: 0, False: 9]
  ------------------
 1037|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (1037:5): [True: 0, False: 9]
  ------------------
 1038|      0|        canPromoteConstant = numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1038:30): [True: 0, False: 0]
  ------------------
 1039|      0|                             numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int8);
  ------------------
  |  Branch (1039:30): [True: 0, False: 0]
  ------------------
 1040|      0|        break;
 1041|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (1041:5): [True: 0, False: 9]
  ------------------
 1042|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (1042:5): [True: 0, False: 9]
  ------------------
 1043|      0|        canPromoteConstant = numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1043:30): [True: 0, False: 0]
  ------------------
 1044|      0|                             numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int16);
  ------------------
  |  Branch (1044:30): [True: 0, False: 0]
  ------------------
 1045|      0|        break;
 1046|      9|    default:
  ------------------
  |  Branch (1046:5): [True: 9, False: 0]
  ------------------
 1047|      9|        break;
 1048|      9|    }
 1049|       |
 1050|      9|    if (canPromoteConstant && node->getAsConstantUnion())
  ------------------
  |  Branch (1050:9): [True: 9, False: 0]
  |  Branch (1050:31): [True: 9, False: 0]
  ------------------
 1051|      9|        return promoteConstantUnion(type.getBasicType(), node->getAsConstantUnion());
 1052|       |
 1053|       |    //
 1054|       |    // Add a new newNode for the conversion.
 1055|       |    //
 1056|      0|    TIntermTyped* newNode = createConversion(type.getBasicType(), node);
 1057|       |
 1058|      0|    return newNode;
 1059|      9|}
_ZNK7glslang13TIntermediate22mapTypeToConstructorOpERKNS_5TTypeE:
 1928|      6|{
 1929|      6|    TOperator op = EOpNull;
 1930|       |
 1931|      6|    if (type.getQualifier().isNonUniform())
  ------------------
  |  Branch (1931:9): [True: 0, False: 6]
  ------------------
 1932|      0|        return EOpConstructNonuniform;
 1933|       |
 1934|      6|    if (type.isCoopMatNV())
  ------------------
  |  Branch (1934:9): [True: 0, False: 6]
  ------------------
 1935|      0|        return EOpConstructCooperativeMatrixNV;
 1936|       |
 1937|      6|    if (type.isCoopMatKHR())
  ------------------
  |  Branch (1937:9): [True: 0, False: 6]
  ------------------
 1938|      0|        return EOpConstructCooperativeMatrixKHR;
 1939|       |
 1940|      6|    if (type.isCoopVecOrLongVector())
  ------------------
  |  Branch (1940:9): [True: 0, False: 6]
  ------------------
 1941|      0|        return EOpConstructCooperativeVectorNV;
 1942|       |
 1943|      6|    switch (type.getBasicType()) {
 1944|      0|    case EbtStruct:
  ------------------
  |  Branch (1944:5): [True: 0, False: 6]
  ------------------
 1945|      0|        op = EOpConstructStruct;
 1946|      0|        break;
 1947|      0|    case EbtSampler:
  ------------------
  |  Branch (1947:5): [True: 0, False: 6]
  ------------------
 1948|      0|        if (type.getSampler().isCombined())
  ------------------
  |  Branch (1948:13): [True: 0, False: 0]
  ------------------
 1949|      0|            op = EOpConstructTextureSampler;
 1950|      0|        break;
 1951|      0|    case EbtFloat:
  ------------------
  |  Branch (1951:5): [True: 0, False: 6]
  ------------------
 1952|      0|        if (type.isMatrix()) {
  ------------------
  |  Branch (1952:13): [True: 0, False: 0]
  ------------------
 1953|      0|            switch (type.getMatrixCols()) {
 1954|      0|            case 2:
  ------------------
  |  Branch (1954:13): [True: 0, False: 0]
  ------------------
 1955|      0|                switch (type.getMatrixRows()) {
 1956|      0|                case 2: op = EOpConstructMat2x2; break;
  ------------------
  |  Branch (1956:17): [True: 0, False: 0]
  ------------------
 1957|      0|                case 3: op = EOpConstructMat2x3; break;
  ------------------
  |  Branch (1957:17): [True: 0, False: 0]
  ------------------
 1958|      0|                case 4: op = EOpConstructMat2x4; break;
  ------------------
  |  Branch (1958:17): [True: 0, False: 0]
  ------------------
 1959|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1959:17): [True: 0, False: 0]
  ------------------
 1960|      0|                }
 1961|      0|                break;
 1962|      0|            case 3:
  ------------------
  |  Branch (1962:13): [True: 0, False: 0]
  ------------------
 1963|      0|                switch (type.getMatrixRows()) {
 1964|      0|                case 2: op = EOpConstructMat3x2; break;
  ------------------
  |  Branch (1964:17): [True: 0, False: 0]
  ------------------
 1965|      0|                case 3: op = EOpConstructMat3x3; break;
  ------------------
  |  Branch (1965:17): [True: 0, False: 0]
  ------------------
 1966|      0|                case 4: op = EOpConstructMat3x4; break;
  ------------------
  |  Branch (1966:17): [True: 0, False: 0]
  ------------------
 1967|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1967:17): [True: 0, False: 0]
  ------------------
 1968|      0|                }
 1969|      0|                break;
 1970|      0|            case 4:
  ------------------
  |  Branch (1970:13): [True: 0, False: 0]
  ------------------
 1971|      0|                switch (type.getMatrixRows()) {
 1972|      0|                case 2: op = EOpConstructMat4x2; break;
  ------------------
  |  Branch (1972:17): [True: 0, False: 0]
  ------------------
 1973|      0|                case 3: op = EOpConstructMat4x3; break;
  ------------------
  |  Branch (1973:17): [True: 0, False: 0]
  ------------------
 1974|      0|                case 4: op = EOpConstructMat4x4; break;
  ------------------
  |  Branch (1974:17): [True: 0, False: 0]
  ------------------
 1975|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1975:17): [True: 0, False: 0]
  ------------------
 1976|      0|                }
 1977|      0|                break;
 1978|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (1978:13): [True: 0, False: 0]
  ------------------
 1979|      0|            }
 1980|      0|        } else {
 1981|      0|            switch(type.getVectorSize()) {
 1982|      0|            case 1: op = EOpConstructFloat; break;
  ------------------
  |  Branch (1982:13): [True: 0, False: 0]
  ------------------
 1983|      0|            case 2: op = EOpConstructVec2;  break;
  ------------------
  |  Branch (1983:13): [True: 0, False: 0]
  ------------------
 1984|      0|            case 3: op = EOpConstructVec3;  break;
  ------------------
  |  Branch (1984:13): [True: 0, False: 0]
  ------------------
 1985|      0|            case 4: op = EOpConstructVec4;  break;
  ------------------
  |  Branch (1985:13): [True: 0, False: 0]
  ------------------
 1986|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (1986:13): [True: 0, False: 0]
  ------------------
 1987|      0|            }
 1988|      0|        }
 1989|      0|        break;
 1990|      0|    case EbtInt:
  ------------------
  |  Branch (1990:5): [True: 0, False: 6]
  ------------------
 1991|      0|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (1991:13): [True: 0, False: 0]
  ------------------
 1992|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (1992:21): [True: 0, False: 0]
  ------------------
 1993|      0|            case 2:
  ------------------
  |  Branch (1993:13): [True: 0, False: 0]
  ------------------
 1994|      0|                switch (type.getMatrixRows()) {
 1995|      0|                case 2: op = EOpConstructIMat2x2; break;
  ------------------
  |  Branch (1995:17): [True: 0, False: 0]
  ------------------
 1996|      0|                case 3: op = EOpConstructIMat2x3; break;
  ------------------
  |  Branch (1996:17): [True: 0, False: 0]
  ------------------
 1997|      0|                case 4: op = EOpConstructIMat2x4; break;
  ------------------
  |  Branch (1997:17): [True: 0, False: 0]
  ------------------
 1998|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1998:17): [True: 0, False: 0]
  ------------------
 1999|      0|                }
 2000|      0|                break;
 2001|      0|            case 3:
  ------------------
  |  Branch (2001:13): [True: 0, False: 0]
  ------------------
 2002|      0|                switch (type.getMatrixRows()) {
 2003|      0|                case 2: op = EOpConstructIMat3x2; break;
  ------------------
  |  Branch (2003:17): [True: 0, False: 0]
  ------------------
 2004|      0|                case 3: op = EOpConstructIMat3x3; break;
  ------------------
  |  Branch (2004:17): [True: 0, False: 0]
  ------------------
 2005|      0|                case 4: op = EOpConstructIMat3x4; break;
  ------------------
  |  Branch (2005:17): [True: 0, False: 0]
  ------------------
 2006|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2006:17): [True: 0, False: 0]
  ------------------
 2007|      0|                }
 2008|      0|                break;
 2009|      0|            case 4:
  ------------------
  |  Branch (2009:13): [True: 0, False: 0]
  ------------------
 2010|      0|                switch (type.getMatrixRows()) {
 2011|      0|                case 2: op = EOpConstructIMat4x2; break;
  ------------------
  |  Branch (2011:17): [True: 0, False: 0]
  ------------------
 2012|      0|                case 3: op = EOpConstructIMat4x3; break;
  ------------------
  |  Branch (2012:17): [True: 0, False: 0]
  ------------------
 2013|      0|                case 4: op = EOpConstructIMat4x4; break;
  ------------------
  |  Branch (2013:17): [True: 0, False: 0]
  ------------------
 2014|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2014:17): [True: 0, False: 0]
  ------------------
 2015|      0|                }
 2016|      0|                break;
 2017|      0|            }
 2018|      0|        } else {
 2019|      0|            switch(type.getVectorSize()) {
 2020|      0|            case 1: op = EOpConstructInt;   break;
  ------------------
  |  Branch (2020:13): [True: 0, False: 0]
  ------------------
 2021|      0|            case 2: op = EOpConstructIVec2; break;
  ------------------
  |  Branch (2021:13): [True: 0, False: 0]
  ------------------
 2022|      0|            case 3: op = EOpConstructIVec3; break;
  ------------------
  |  Branch (2022:13): [True: 0, False: 0]
  ------------------
 2023|      0|            case 4: op = EOpConstructIVec4; break;
  ------------------
  |  Branch (2023:13): [True: 0, False: 0]
  ------------------
 2024|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2024:13): [True: 0, False: 0]
  ------------------
 2025|      0|            }
 2026|      0|        }
 2027|      0|        break;
 2028|      6|    case EbtUint:
  ------------------
  |  Branch (2028:5): [True: 6, False: 0]
  ------------------
 2029|      6|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2029:13): [True: 0, False: 6]
  ------------------
 2030|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2030:21): [True: 0, False: 0]
  ------------------
 2031|      0|            case 2:
  ------------------
  |  Branch (2031:13): [True: 0, False: 0]
  ------------------
 2032|      0|                switch (type.getMatrixRows()) {
 2033|      0|                case 2: op = EOpConstructUMat2x2; break;
  ------------------
  |  Branch (2033:17): [True: 0, False: 0]
  ------------------
 2034|      0|                case 3: op = EOpConstructUMat2x3; break;
  ------------------
  |  Branch (2034:17): [True: 0, False: 0]
  ------------------
 2035|      0|                case 4: op = EOpConstructUMat2x4; break;
  ------------------
  |  Branch (2035:17): [True: 0, False: 0]
  ------------------
 2036|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2036:17): [True: 0, False: 0]
  ------------------
 2037|      0|                }
 2038|      0|                break;
 2039|      0|            case 3:
  ------------------
  |  Branch (2039:13): [True: 0, False: 0]
  ------------------
 2040|      0|                switch (type.getMatrixRows()) {
 2041|      0|                case 2: op = EOpConstructUMat3x2; break;
  ------------------
  |  Branch (2041:17): [True: 0, False: 0]
  ------------------
 2042|      0|                case 3: op = EOpConstructUMat3x3; break;
  ------------------
  |  Branch (2042:17): [True: 0, False: 0]
  ------------------
 2043|      0|                case 4: op = EOpConstructUMat3x4; break;
  ------------------
  |  Branch (2043:17): [True: 0, False: 0]
  ------------------
 2044|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2044:17): [True: 0, False: 0]
  ------------------
 2045|      0|                }
 2046|      0|                break;
 2047|      0|            case 4:
  ------------------
  |  Branch (2047:13): [True: 0, False: 0]
  ------------------
 2048|      0|                switch (type.getMatrixRows()) {
 2049|      0|                case 2: op = EOpConstructUMat4x2; break;
  ------------------
  |  Branch (2049:17): [True: 0, False: 0]
  ------------------
 2050|      0|                case 3: op = EOpConstructUMat4x3; break;
  ------------------
  |  Branch (2050:17): [True: 0, False: 0]
  ------------------
 2051|      0|                case 4: op = EOpConstructUMat4x4; break;
  ------------------
  |  Branch (2051:17): [True: 0, False: 0]
  ------------------
 2052|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2052:17): [True: 0, False: 0]
  ------------------
 2053|      0|                }
 2054|      0|                break;
 2055|      0|            }
 2056|      6|        } else {
 2057|      6|            switch(type.getVectorSize()) {
 2058|      0|            case 1: op = EOpConstructUint;  break;
  ------------------
  |  Branch (2058:13): [True: 0, False: 6]
  ------------------
 2059|      0|            case 2: op = EOpConstructUVec2; break;
  ------------------
  |  Branch (2059:13): [True: 0, False: 6]
  ------------------
 2060|      6|            case 3: op = EOpConstructUVec3; break;
  ------------------
  |  Branch (2060:13): [True: 6, False: 0]
  ------------------
 2061|      0|            case 4: op = EOpConstructUVec4; break;
  ------------------
  |  Branch (2061:13): [True: 0, False: 6]
  ------------------
 2062|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2062:13): [True: 0, False: 6]
  ------------------
 2063|      6|            }
 2064|      6|        }
 2065|      6|        break;
 2066|      6|    case EbtBool:
  ------------------
  |  Branch (2066:5): [True: 0, False: 6]
  ------------------
 2067|      0|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2067:13): [True: 0, False: 0]
  ------------------
 2068|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2068:21): [True: 0, False: 0]
  ------------------
 2069|      0|            case 2:
  ------------------
  |  Branch (2069:13): [True: 0, False: 0]
  ------------------
 2070|      0|                switch (type.getMatrixRows()) {
 2071|      0|                case 2: op = EOpConstructBMat2x2; break;
  ------------------
  |  Branch (2071:17): [True: 0, False: 0]
  ------------------
 2072|      0|                case 3: op = EOpConstructBMat2x3; break;
  ------------------
  |  Branch (2072:17): [True: 0, False: 0]
  ------------------
 2073|      0|                case 4: op = EOpConstructBMat2x4; break;
  ------------------
  |  Branch (2073:17): [True: 0, False: 0]
  ------------------
 2074|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2074:17): [True: 0, False: 0]
  ------------------
 2075|      0|                }
 2076|      0|                break;
 2077|      0|            case 3:
  ------------------
  |  Branch (2077:13): [True: 0, False: 0]
  ------------------
 2078|      0|                switch (type.getMatrixRows()) {
 2079|      0|                case 2: op = EOpConstructBMat3x2; break;
  ------------------
  |  Branch (2079:17): [True: 0, False: 0]
  ------------------
 2080|      0|                case 3: op = EOpConstructBMat3x3; break;
  ------------------
  |  Branch (2080:17): [True: 0, False: 0]
  ------------------
 2081|      0|                case 4: op = EOpConstructBMat3x4; break;
  ------------------
  |  Branch (2081:17): [True: 0, False: 0]
  ------------------
 2082|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2082:17): [True: 0, False: 0]
  ------------------
 2083|      0|                }
 2084|      0|                break;
 2085|      0|            case 4:
  ------------------
  |  Branch (2085:13): [True: 0, False: 0]
  ------------------
 2086|      0|                switch (type.getMatrixRows()) {
 2087|      0|                case 2: op = EOpConstructBMat4x2; break;
  ------------------
  |  Branch (2087:17): [True: 0, False: 0]
  ------------------
 2088|      0|                case 3: op = EOpConstructBMat4x3; break;
  ------------------
  |  Branch (2088:17): [True: 0, False: 0]
  ------------------
 2089|      0|                case 4: op = EOpConstructBMat4x4; break;
  ------------------
  |  Branch (2089:17): [True: 0, False: 0]
  ------------------
 2090|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2090:17): [True: 0, False: 0]
  ------------------
 2091|      0|                }
 2092|      0|                break;
 2093|      0|            }
 2094|      0|        } else {
 2095|      0|            switch(type.getVectorSize()) {
 2096|      0|            case 1:  op = EOpConstructBool;  break;
  ------------------
  |  Branch (2096:13): [True: 0, False: 0]
  ------------------
 2097|      0|            case 2:  op = EOpConstructBVec2; break;
  ------------------
  |  Branch (2097:13): [True: 0, False: 0]
  ------------------
 2098|      0|            case 3:  op = EOpConstructBVec3; break;
  ------------------
  |  Branch (2098:13): [True: 0, False: 0]
  ------------------
 2099|      0|            case 4:  op = EOpConstructBVec4; break;
  ------------------
  |  Branch (2099:13): [True: 0, False: 0]
  ------------------
 2100|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2100:13): [True: 0, False: 0]
  ------------------
 2101|      0|            }
 2102|      0|        }
 2103|      0|        break;
 2104|      0|    case EbtDouble:
  ------------------
  |  Branch (2104:5): [True: 0, False: 6]
  ------------------
 2105|      0|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2105:13): [True: 0, False: 0]
  ------------------
 2106|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2106:21): [True: 0, False: 0]
  ------------------
 2107|      0|            case 2:
  ------------------
  |  Branch (2107:13): [True: 0, False: 0]
  ------------------
 2108|      0|                switch (type.getMatrixRows()) {
 2109|      0|                case 2: op = EOpConstructDMat2x2; break;
  ------------------
  |  Branch (2109:17): [True: 0, False: 0]
  ------------------
 2110|      0|                case 3: op = EOpConstructDMat2x3; break;
  ------------------
  |  Branch (2110:17): [True: 0, False: 0]
  ------------------
 2111|      0|                case 4: op = EOpConstructDMat2x4; break;
  ------------------
  |  Branch (2111:17): [True: 0, False: 0]
  ------------------
 2112|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2112:17): [True: 0, False: 0]
  ------------------
 2113|      0|                }
 2114|      0|                break;
 2115|      0|            case 3:
  ------------------
  |  Branch (2115:13): [True: 0, False: 0]
  ------------------
 2116|      0|                switch (type.getMatrixRows()) {
 2117|      0|                case 2: op = EOpConstructDMat3x2; break;
  ------------------
  |  Branch (2117:17): [True: 0, False: 0]
  ------------------
 2118|      0|                case 3: op = EOpConstructDMat3x3; break;
  ------------------
  |  Branch (2118:17): [True: 0, False: 0]
  ------------------
 2119|      0|                case 4: op = EOpConstructDMat3x4; break;
  ------------------
  |  Branch (2119:17): [True: 0, False: 0]
  ------------------
 2120|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2120:17): [True: 0, False: 0]
  ------------------
 2121|      0|                }
 2122|      0|                break;
 2123|      0|            case 4:
  ------------------
  |  Branch (2123:13): [True: 0, False: 0]
  ------------------
 2124|      0|                switch (type.getMatrixRows()) {
 2125|      0|                case 2: op = EOpConstructDMat4x2; break;
  ------------------
  |  Branch (2125:17): [True: 0, False: 0]
  ------------------
 2126|      0|                case 3: op = EOpConstructDMat4x3; break;
  ------------------
  |  Branch (2126:17): [True: 0, False: 0]
  ------------------
 2127|      0|                case 4: op = EOpConstructDMat4x4; break;
  ------------------
  |  Branch (2127:17): [True: 0, False: 0]
  ------------------
 2128|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2128:17): [True: 0, False: 0]
  ------------------
 2129|      0|                }
 2130|      0|                break;
 2131|      0|            }
 2132|      0|        } else {
 2133|      0|            switch(type.getVectorSize()) {
 2134|      0|            case 1: op = EOpConstructDouble; break;
  ------------------
  |  Branch (2134:13): [True: 0, False: 0]
  ------------------
 2135|      0|            case 2: op = EOpConstructDVec2;  break;
  ------------------
  |  Branch (2135:13): [True: 0, False: 0]
  ------------------
 2136|      0|            case 3: op = EOpConstructDVec3;  break;
  ------------------
  |  Branch (2136:13): [True: 0, False: 0]
  ------------------
 2137|      0|            case 4: op = EOpConstructDVec4;  break;
  ------------------
  |  Branch (2137:13): [True: 0, False: 0]
  ------------------
 2138|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2138:13): [True: 0, False: 0]
  ------------------
 2139|      0|            }
 2140|      0|        }
 2141|      0|        break;
 2142|      0|    case EbtFloat16:
  ------------------
  |  Branch (2142:5): [True: 0, False: 6]
  ------------------
 2143|      0|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2143:13): [True: 0, False: 0]
  ------------------
 2144|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2144:21): [True: 0, False: 0]
  ------------------
 2145|      0|            case 2:
  ------------------
  |  Branch (2145:13): [True: 0, False: 0]
  ------------------
 2146|      0|                switch (type.getMatrixRows()) {
 2147|      0|                case 2: op = EOpConstructF16Mat2x2; break;
  ------------------
  |  Branch (2147:17): [True: 0, False: 0]
  ------------------
 2148|      0|                case 3: op = EOpConstructF16Mat2x3; break;
  ------------------
  |  Branch (2148:17): [True: 0, False: 0]
  ------------------
 2149|      0|                case 4: op = EOpConstructF16Mat2x4; break;
  ------------------
  |  Branch (2149:17): [True: 0, False: 0]
  ------------------
 2150|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2150:17): [True: 0, False: 0]
  ------------------
 2151|      0|                }
 2152|      0|                break;
 2153|      0|            case 3:
  ------------------
  |  Branch (2153:13): [True: 0, False: 0]
  ------------------
 2154|      0|                switch (type.getMatrixRows()) {
 2155|      0|                case 2: op = EOpConstructF16Mat3x2; break;
  ------------------
  |  Branch (2155:17): [True: 0, False: 0]
  ------------------
 2156|      0|                case 3: op = EOpConstructF16Mat3x3; break;
  ------------------
  |  Branch (2156:17): [True: 0, False: 0]
  ------------------
 2157|      0|                case 4: op = EOpConstructF16Mat3x4; break;
  ------------------
  |  Branch (2157:17): [True: 0, False: 0]
  ------------------
 2158|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2158:17): [True: 0, False: 0]
  ------------------
 2159|      0|                }
 2160|      0|                break;
 2161|      0|            case 4:
  ------------------
  |  Branch (2161:13): [True: 0, False: 0]
  ------------------
 2162|      0|                switch (type.getMatrixRows()) {
 2163|      0|                case 2: op = EOpConstructF16Mat4x2; break;
  ------------------
  |  Branch (2163:17): [True: 0, False: 0]
  ------------------
 2164|      0|                case 3: op = EOpConstructF16Mat4x3; break;
  ------------------
  |  Branch (2164:17): [True: 0, False: 0]
  ------------------
 2165|      0|                case 4: op = EOpConstructF16Mat4x4; break;
  ------------------
  |  Branch (2165:17): [True: 0, False: 0]
  ------------------
 2166|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2166:17): [True: 0, False: 0]
  ------------------
 2167|      0|                }
 2168|      0|                break;
 2169|      0|            }
 2170|      0|        }
 2171|      0|        else {
 2172|      0|            switch (type.getVectorSize()) {
 2173|      0|            case 1: op = EOpConstructFloat16;  break;
  ------------------
  |  Branch (2173:13): [True: 0, False: 0]
  ------------------
 2174|      0|            case 2: op = EOpConstructF16Vec2;  break;
  ------------------
  |  Branch (2174:13): [True: 0, False: 0]
  ------------------
 2175|      0|            case 3: op = EOpConstructF16Vec3;  break;
  ------------------
  |  Branch (2175:13): [True: 0, False: 0]
  ------------------
 2176|      0|            case 4: op = EOpConstructF16Vec4;  break;
  ------------------
  |  Branch (2176:13): [True: 0, False: 0]
  ------------------
 2177|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2177:13): [True: 0, False: 0]
  ------------------
 2178|      0|            }
 2179|      0|        }
 2180|      0|        break;
 2181|      0|    case EbtBFloat16:
  ------------------
  |  Branch (2181:5): [True: 0, False: 6]
  ------------------
 2182|      0|        switch (type.getVectorSize()) {
 2183|      0|        case 1: op = EOpConstructBFloat16;  break;
  ------------------
  |  Branch (2183:9): [True: 0, False: 0]
  ------------------
 2184|      0|        case 2: op = EOpConstructBF16Vec2;  break;
  ------------------
  |  Branch (2184:9): [True: 0, False: 0]
  ------------------
 2185|      0|        case 3: op = EOpConstructBF16Vec3;  break;
  ------------------
  |  Branch (2185:9): [True: 0, False: 0]
  ------------------
 2186|      0|        case 4: op = EOpConstructBF16Vec4;  break;
  ------------------
  |  Branch (2186:9): [True: 0, False: 0]
  ------------------
 2187|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2187:9): [True: 0, False: 0]
  ------------------
 2188|      0|        }
 2189|      0|        break;
 2190|      0|    case EbtFloatE5M2:
  ------------------
  |  Branch (2190:5): [True: 0, False: 6]
  ------------------
 2191|      0|        switch (type.getVectorSize()) {
 2192|      0|        case 1: op = EOpConstructFloatE5M2;  break;
  ------------------
  |  Branch (2192:9): [True: 0, False: 0]
  ------------------
 2193|      0|        case 2: op = EOpConstructFloatE5M2Vec2;  break;
  ------------------
  |  Branch (2193:9): [True: 0, False: 0]
  ------------------
 2194|      0|        case 3: op = EOpConstructFloatE5M2Vec3;  break;
  ------------------
  |  Branch (2194:9): [True: 0, False: 0]
  ------------------
 2195|      0|        case 4: op = EOpConstructFloatE5M2Vec4;  break;
  ------------------
  |  Branch (2195:9): [True: 0, False: 0]
  ------------------
 2196|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2196:9): [True: 0, False: 0]
  ------------------
 2197|      0|        }
 2198|      0|        break;
 2199|      0|    case EbtFloatE4M3:
  ------------------
  |  Branch (2199:5): [True: 0, False: 6]
  ------------------
 2200|      0|        switch (type.getVectorSize()) {
 2201|      0|        case 1: op = EOpConstructFloatE4M3;  break;
  ------------------
  |  Branch (2201:9): [True: 0, False: 0]
  ------------------
 2202|      0|        case 2: op = EOpConstructFloatE4M3Vec2;  break;
  ------------------
  |  Branch (2202:9): [True: 0, False: 0]
  ------------------
 2203|      0|        case 3: op = EOpConstructFloatE4M3Vec3;  break;
  ------------------
  |  Branch (2203:9): [True: 0, False: 0]
  ------------------
 2204|      0|        case 4: op = EOpConstructFloatE4M3Vec4;  break;
  ------------------
  |  Branch (2204:9): [True: 0, False: 0]
  ------------------
 2205|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2205:9): [True: 0, False: 0]
  ------------------
 2206|      0|        }
 2207|      0|        break;
 2208|      0|    case EbtFloatE2M1:
  ------------------
  |  Branch (2208:5): [True: 0, False: 6]
  ------------------
 2209|      0|        switch (type.getVectorSize()) {
 2210|      0|        case 1: op = EOpConstructFloatE2M1;  break;
  ------------------
  |  Branch (2210:9): [True: 0, False: 0]
  ------------------
 2211|      0|        case 2: op = EOpConstructFloatE2M1Vec2;  break;
  ------------------
  |  Branch (2211:9): [True: 0, False: 0]
  ------------------
 2212|      0|        case 3: op = EOpConstructFloatE2M1Vec3;  break;
  ------------------
  |  Branch (2212:9): [True: 0, False: 0]
  ------------------
 2213|      0|        case 4: op = EOpConstructFloatE2M1Vec4;  break;
  ------------------
  |  Branch (2213:9): [True: 0, False: 0]
  ------------------
 2214|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2214:9): [True: 0, False: 0]
  ------------------
 2215|      0|        }
 2216|      0|        break;
 2217|      0|    case EbtFloatE3M2:
  ------------------
  |  Branch (2217:5): [True: 0, False: 6]
  ------------------
 2218|      0|        switch (type.getVectorSize()) {
 2219|      0|        case 1: op = EOpConstructFloatE3M2;  break;
  ------------------
  |  Branch (2219:9): [True: 0, False: 0]
  ------------------
 2220|      0|        case 2: op = EOpConstructFloatE3M2Vec2;  break;
  ------------------
  |  Branch (2220:9): [True: 0, False: 0]
  ------------------
 2221|      0|        case 3: op = EOpConstructFloatE3M2Vec3;  break;
  ------------------
  |  Branch (2221:9): [True: 0, False: 0]
  ------------------
 2222|      0|        case 4: op = EOpConstructFloatE3M2Vec4;  break;
  ------------------
  |  Branch (2222:9): [True: 0, False: 0]
  ------------------
 2223|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2223:9): [True: 0, False: 0]
  ------------------
 2224|      0|        }
 2225|      0|        break;
 2226|      0|    case EbtFloatE2M3:
  ------------------
  |  Branch (2226:5): [True: 0, False: 6]
  ------------------
 2227|      0|        switch (type.getVectorSize()) {
 2228|      0|        case 1: op = EOpConstructFloatE2M3;  break;
  ------------------
  |  Branch (2228:9): [True: 0, False: 0]
  ------------------
 2229|      0|        case 2: op = EOpConstructFloatE2M3Vec2;  break;
  ------------------
  |  Branch (2229:9): [True: 0, False: 0]
  ------------------
 2230|      0|        case 3: op = EOpConstructFloatE2M3Vec3;  break;
  ------------------
  |  Branch (2230:9): [True: 0, False: 0]
  ------------------
 2231|      0|        case 4: op = EOpConstructFloatE2M3Vec4;  break;
  ------------------
  |  Branch (2231:9): [True: 0, False: 0]
  ------------------
 2232|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2232:9): [True: 0, False: 0]
  ------------------
 2233|      0|        }
 2234|      0|        break;
 2235|      0|    case EbtFloatUE8M0:
  ------------------
  |  Branch (2235:5): [True: 0, False: 6]
  ------------------
 2236|      0|        switch (type.getVectorSize()) {
 2237|      0|        case 1: op = EOpConstructFloatUE8M0;  break;
  ------------------
  |  Branch (2237:9): [True: 0, False: 0]
  ------------------
 2238|      0|        case 2: op = EOpConstructFloatUE8M0Vec2;  break;
  ------------------
  |  Branch (2238:9): [True: 0, False: 0]
  ------------------
 2239|      0|        case 3: op = EOpConstructFloatUE8M0Vec3;  break;
  ------------------
  |  Branch (2239:9): [True: 0, False: 0]
  ------------------
 2240|      0|        case 4: op = EOpConstructFloatUE8M0Vec4;  break;
  ------------------
  |  Branch (2240:9): [True: 0, False: 0]
  ------------------
 2241|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2241:9): [True: 0, False: 0]
  ------------------
 2242|      0|        }
 2243|      0|        break;
 2244|      0|    case EbtFloatMXINT8:
  ------------------
  |  Branch (2244:5): [True: 0, False: 6]
  ------------------
 2245|      0|        switch (type.getVectorSize()) {
 2246|      0|        case 1: op = EOpConstructFloatMXINT8;  break;
  ------------------
  |  Branch (2246:9): [True: 0, False: 0]
  ------------------
 2247|      0|        case 2: op = EOpConstructFloatMXINT8Vec2;  break;
  ------------------
  |  Branch (2247:9): [True: 0, False: 0]
  ------------------
 2248|      0|        case 3: op = EOpConstructFloatMXINT8Vec3;  break;
  ------------------
  |  Branch (2248:9): [True: 0, False: 0]
  ------------------
 2249|      0|        case 4: op = EOpConstructFloatMXINT8Vec4;  break;
  ------------------
  |  Branch (2249:9): [True: 0, False: 0]
  ------------------
 2250|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2250:9): [True: 0, False: 0]
  ------------------
 2251|      0|        }
 2252|      0|        break;
 2253|      0|    case EbtInt8:
  ------------------
  |  Branch (2253:5): [True: 0, False: 6]
  ------------------
 2254|      0|        switch(type.getVectorSize()) {
 2255|      0|        case 1: op = EOpConstructInt8;   break;
  ------------------
  |  Branch (2255:9): [True: 0, False: 0]
  ------------------
 2256|      0|        case 2: op = EOpConstructI8Vec2; break;
  ------------------
  |  Branch (2256:9): [True: 0, False: 0]
  ------------------
 2257|      0|        case 3: op = EOpConstructI8Vec3; break;
  ------------------
  |  Branch (2257:9): [True: 0, False: 0]
  ------------------
 2258|      0|        case 4: op = EOpConstructI8Vec4; break;
  ------------------
  |  Branch (2258:9): [True: 0, False: 0]
  ------------------
 2259|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2259:9): [True: 0, False: 0]
  ------------------
 2260|      0|        }
 2261|      0|        break;
 2262|      0|    case EbtUint8:
  ------------------
  |  Branch (2262:5): [True: 0, False: 6]
  ------------------
 2263|      0|        switch(type.getVectorSize()) {
 2264|      0|        case 1: op = EOpConstructUint8;  break;
  ------------------
  |  Branch (2264:9): [True: 0, False: 0]
  ------------------
 2265|      0|        case 2: op = EOpConstructU8Vec2; break;
  ------------------
  |  Branch (2265:9): [True: 0, False: 0]
  ------------------
 2266|      0|        case 3: op = EOpConstructU8Vec3; break;
  ------------------
  |  Branch (2266:9): [True: 0, False: 0]
  ------------------
 2267|      0|        case 4: op = EOpConstructU8Vec4; break;
  ------------------
  |  Branch (2267:9): [True: 0, False: 0]
  ------------------
 2268|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2268:9): [True: 0, False: 0]
  ------------------
 2269|      0|        }
 2270|      0|        break;
 2271|      0|    case EbtInt16:
  ------------------
  |  Branch (2271:5): [True: 0, False: 6]
  ------------------
 2272|      0|        switch(type.getVectorSize()) {
 2273|      0|        case 1: op = EOpConstructInt16;   break;
  ------------------
  |  Branch (2273:9): [True: 0, False: 0]
  ------------------
 2274|      0|        case 2: op = EOpConstructI16Vec2; break;
  ------------------
  |  Branch (2274:9): [True: 0, False: 0]
  ------------------
 2275|      0|        case 3: op = EOpConstructI16Vec3; break;
  ------------------
  |  Branch (2275:9): [True: 0, False: 0]
  ------------------
 2276|      0|        case 4: op = EOpConstructI16Vec4; break;
  ------------------
  |  Branch (2276:9): [True: 0, False: 0]
  ------------------
 2277|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2277:9): [True: 0, False: 0]
  ------------------
 2278|      0|        }
 2279|      0|        break;
 2280|      0|    case EbtUint16:
  ------------------
  |  Branch (2280:5): [True: 0, False: 6]
  ------------------
 2281|      0|        switch(type.getVectorSize()) {
 2282|      0|        case 1: op = EOpConstructUint16;  break;
  ------------------
  |  Branch (2282:9): [True: 0, False: 0]
  ------------------
 2283|      0|        case 2: op = EOpConstructU16Vec2; break;
  ------------------
  |  Branch (2283:9): [True: 0, False: 0]
  ------------------
 2284|      0|        case 3: op = EOpConstructU16Vec3; break;
  ------------------
  |  Branch (2284:9): [True: 0, False: 0]
  ------------------
 2285|      0|        case 4: op = EOpConstructU16Vec4; break;
  ------------------
  |  Branch (2285:9): [True: 0, False: 0]
  ------------------
 2286|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2286:9): [True: 0, False: 0]
  ------------------
 2287|      0|        }
 2288|      0|        break;
 2289|      0|    case EbtInt64:
  ------------------
  |  Branch (2289:5): [True: 0, False: 6]
  ------------------
 2290|      0|        switch(type.getVectorSize()) {
 2291|      0|        case 1: op = EOpConstructInt64;   break;
  ------------------
  |  Branch (2291:9): [True: 0, False: 0]
  ------------------
 2292|      0|        case 2: op = EOpConstructI64Vec2; break;
  ------------------
  |  Branch (2292:9): [True: 0, False: 0]
  ------------------
 2293|      0|        case 3: op = EOpConstructI64Vec3; break;
  ------------------
  |  Branch (2293:9): [True: 0, False: 0]
  ------------------
 2294|      0|        case 4: op = EOpConstructI64Vec4; break;
  ------------------
  |  Branch (2294:9): [True: 0, False: 0]
  ------------------
 2295|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2295:9): [True: 0, False: 0]
  ------------------
 2296|      0|        }
 2297|      0|        break;
 2298|      0|    case EbtUint64:
  ------------------
  |  Branch (2298:5): [True: 0, False: 6]
  ------------------
 2299|      0|        switch(type.getVectorSize()) {
 2300|      0|        case 1: op = EOpConstructUint64;  break;
  ------------------
  |  Branch (2300:9): [True: 0, False: 0]
  ------------------
 2301|      0|        case 2: op = EOpConstructU64Vec2; break;
  ------------------
  |  Branch (2301:9): [True: 0, False: 0]
  ------------------
 2302|      0|        case 3: op = EOpConstructU64Vec3; break;
  ------------------
  |  Branch (2302:9): [True: 0, False: 0]
  ------------------
 2303|      0|        case 4: op = EOpConstructU64Vec4; break;
  ------------------
  |  Branch (2303:9): [True: 0, False: 0]
  ------------------
 2304|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2304:9): [True: 0, False: 0]
  ------------------
 2305|      0|        }
 2306|      0|        break;
 2307|      0|    case EbtReference:
  ------------------
  |  Branch (2307:5): [True: 0, False: 6]
  ------------------
 2308|      0|        op = EOpConstructReference;
 2309|      0|        break;
 2310|       |
 2311|      0|    case EbtAccStruct:
  ------------------
  |  Branch (2311:5): [True: 0, False: 6]
  ------------------
 2312|      0|        op = EOpConstructAccStruct;
 2313|      0|        break;
 2314|      0|    default:
  ------------------
  |  Branch (2314:5): [True: 0, False: 6]
  ------------------
 2315|      0|        break;
 2316|      6|    }
 2317|       |
 2318|      6|    return op;
 2319|      6|}
_ZN7glslang13TIntermediate13growAggregateEP11TIntermNodeS2_:
 2329|  1.25k|{
 2330|  1.25k|    if (left == nullptr && right == nullptr)
  ------------------
  |  Branch (2330:9): [True: 1.24k, False: 6]
  |  Branch (2330:28): [True: 1.19k, False: 57]
  ------------------
 2331|  1.19k|        return nullptr;
 2332|       |
 2333|     63|    TIntermAggregate* aggNode = nullptr;
 2334|     63|    if (left != nullptr)
  ------------------
  |  Branch (2334:9): [True: 6, False: 57]
  ------------------
 2335|      6|        aggNode = left->getAsAggregate();
 2336|     63|    if (aggNode == nullptr || aggNode->getOp() != EOpNull) {
  ------------------
  |  Branch (2336:9): [True: 60, False: 3]
  |  Branch (2336:31): [True: 0, False: 3]
  ------------------
 2337|     60|        aggNode = new TIntermAggregate;
 2338|     60|        if (left != nullptr)
  ------------------
  |  Branch (2338:13): [True: 3, False: 57]
  ------------------
 2339|      3|            aggNode->getSequence().push_back(left);
 2340|     60|    }
 2341|       |
 2342|     63|    if (right != nullptr)
  ------------------
  |  Branch (2342:9): [True: 63, False: 0]
  ------------------
 2343|     63|        aggNode->getSequence().push_back(right);
 2344|       |
 2345|     63|    return aggNode;
 2346|  1.25k|}
_ZN7glslang13TIntermediate13growAggregateEP11TIntermNodeS2_RKNS_10TSourceLocE:
 2349|  1.19k|{
 2350|  1.19k|    TIntermAggregate* aggNode = growAggregate(left, right);
 2351|  1.19k|    if (aggNode)
  ------------------
  |  Branch (2351:9): [True: 6, False: 1.19k]
  ------------------
 2352|      6|        aggNode->setLoc(loc);
 2353|       |
 2354|  1.19k|    return aggNode;
 2355|  1.19k|}
_ZNK7glslang13TIntermediate16addConstantUnionERKNS_16TConstUnionArrayERKNS_5TTypeERKNS_10TSourceLocEb:
 2580|    711|{
 2581|    711|    TIntermConstantUnion* node = new TIntermConstantUnion(unionArray, t);
 2582|    711|    node->getQualifier().storage = EvqConst;
 2583|    711|    node->setLoc(loc);
 2584|    711|    if (literal)
  ------------------
  |  Branch (2584:9): [True: 699, False: 12]
  ------------------
 2585|    699|        node->setLiteral();
 2586|       |
 2587|    711|    return node;
 2588|    711|}
_ZNK7glslang13TIntermediate16addConstantUnionEiRKNS_10TSourceLocEb:
 2622|    639|{
 2623|    639|    TConstUnionArray unionArray(1);
 2624|    639|    unionArray[0].setIConst(i);
 2625|       |
 2626|    639|    return addConstantUnion(unionArray, TType(EbtInt, EvqConst), loc, literal);
 2627|    639|}
_ZNK7glslang13TIntermediate16addConstantUnionEjRKNS_10TSourceLocEb:
 2630|     60|{
 2631|     60|    TConstUnionArray unionArray(1);
 2632|     60|    unionArray[0].setUConst(u);
 2633|       |
 2634|     60|    return addConstantUnion(unionArray, TType(EbtUint, EvqConst), loc, literal);
 2635|     60|}
_ZN7glslang13TIntermediate21addSymbolLinkageNodesERPNS_16TIntermAggregateE11EShLanguageRNS_12TSymbolTableE:
 2961|     57|{
 2962|       |    // Add top-level nodes for declarations that must be checked cross
 2963|       |    // compilation unit by a linker, yet might not have been referenced
 2964|       |    // by the AST.
 2965|       |    //
 2966|       |    // Almost entirely, translation of symbols is driven by what's present
 2967|       |    // in the AST traversal, not by translating the symbol table.
 2968|       |    //
 2969|       |    // However, there are some special cases:
 2970|       |    //  - From the specification: "Special built-in inputs gl_VertexID and
 2971|       |    //    gl_InstanceID are also considered active vertex attributes."
 2972|       |    //  - Linker-based type mismatch error reporting needs to see all
 2973|       |    //    uniforms/ins/outs variables and blocks.
 2974|       |    //  - ftransform() can make gl_Vertex and gl_ModelViewProjectionMatrix active.
 2975|       |    //
 2976|       |
 2977|       |    // if (ftransformUsed) {
 2978|       |        // TODO: 1.1 lowering functionality: track ftransform() usage
 2979|       |    //    addSymbolLinkageNode(root, symbolTable, "gl_Vertex");
 2980|       |    //    addSymbolLinkageNode(root, symbolTable, "gl_ModelViewProjectionMatrix");
 2981|       |    //}
 2982|       |
 2983|     57|    if (language == EShLangVertex) {
  ------------------
  |  Branch (2983:9): [True: 57, False: 0]
  ------------------
 2984|     57|        addSymbolLinkageNode(linkage, symbolTable, "gl_VertexID");
 2985|     57|        if ((version < 140 && requestedExtensions.find(E_GL_EXT_draw_instanced) != requestedExtensions.end()) || version >= 140)
  ------------------
  |  Branch (2985:13): [True: 21, False: 36]
  |  Branch (2985:14): [True: 36, False: 21]
  |  Branch (2985:31): [True: 0, False: 36]
  |  Branch (2985:114): [True: 21, False: 36]
  ------------------
 2986|     21|            addSymbolLinkageNode(linkage, symbolTable, "gl_InstanceID");
 2987|     57|    }
 2988|       |
 2989|       |    // Add a child to the root node for the linker objects
 2990|     57|    linkage->setOperator(EOpLinkerObjects);
 2991|     57|    treeRoot = growAggregate(treeRoot, linkage);
 2992|     57|}
_ZN7glslang13TIntermediate20addSymbolLinkageNodeERPNS_16TIntermAggregateERNS_12TSymbolTableERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 3000|     78|{
 3001|     78|    TSymbol* symbol = symbolTable.find(name);
 3002|     78|    if (symbol)
  ------------------
  |  Branch (3002:9): [True: 0, False: 78]
  ------------------
 3003|      0|        addSymbolLinkageNode(linkage, *symbol->getAsVariable());
 3004|     78|}
_ZNK7glslang15TIntermOperator13isConstructorEv:
 3264|      6|{
 3265|      6|    return op > EOpConstructGuardStart && op < EOpConstructGuardEnd;
  ------------------
  |  Branch (3265:12): [True: 6, False: 0]
  |  Branch (3265:43): [True: 6, False: 0]
  ------------------
 3266|      6|}
_ZNK7glslang13TIntermediate20promoteConstantUnionENS_10TBasicTypeEPNS_20TIntermConstantUnionE:
 4009|      9|{
 4010|      9|    const TConstUnionArray& rightUnionArray = node->getConstArray();
 4011|      9|    int size = node->getType().computeNumComponents();
 4012|       |
 4013|      9|    TConstUnionArray leftUnionArray(size);
 4014|       |
 4015|     18|    for (int i=0; i < size; i++) {
  ------------------
  |  Branch (4015:19): [True: 9, False: 9]
  ------------------
 4016|       |
 4017|      9|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
 4018|      9|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
 4019|       |
 4020|      9|#define TO_ALL(Get)   \
 4021|      9|        switch (promoteTo) { \
 4022|      9|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
 4023|      9|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
 4024|      9|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
 4025|      9|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
 4026|      9|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
 4027|      9|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
 4028|      9|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
 4029|      9|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
 4030|      9|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
 4031|      9|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
 4032|      9|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
 4033|      9|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
 4034|      9|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
 4035|      9|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
 4036|      9|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
 4037|      9|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
 4038|      9|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
 4039|      9|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
 4040|      9|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
 4041|      9|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
 4042|      9|        default: return node; \
 4043|      9|        }
 4044|       |
 4045|      9|        switch (node->getType().getBasicType()) {
 4046|      0|        case EbtFloat: TO_ALL(getDConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4046:9): [True: 0, False: 9]
  ------------------
 4047|      9|        case EbtInt: TO_ALL(getIConst); break;
  ------------------
  |  | 4021|      9|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 9]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 9]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 9]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 9]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 9]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 9]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 9]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 9]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 9]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 9]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 9]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 9]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 9]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 9]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 9]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 9]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 9]
  |  |  ------------------
  |  | 4039|      9|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      9|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 9, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 9]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 9]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 9]
  |  |  ------------------
  |  | 4043|      9|        }
  ------------------
  |  Branch (4047:9): [True: 9, False: 0]
  ------------------
 4048|      0|        case EbtUint: TO_ALL(getUConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4048:9): [True: 0, False: 9]
  ------------------
 4049|      0|        case EbtBool: TO_ALL(getBConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4049:9): [True: 0, False: 9]
  ------------------
 4050|      0|        case EbtFloat16: TO_ALL(getDConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4050:9): [True: 0, False: 9]
  ------------------
 4051|      0|        case EbtBFloat16: TO_ALL(getDConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4051:9): [True: 0, False: 9]
  ------------------
 4052|      0|        case EbtFloatE5M2: TO_ALL(getDConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4052:9): [True: 0, False: 9]
  ------------------
 4053|      0|        case EbtFloatE4M3: TO_ALL(getDConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4053:9): [True: 0, False: 9]
  ------------------
 4054|      0|        case EbtFloatE2M1: TO_ALL(getDConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4054:9): [True: 0, False: 9]
  ------------------
 4055|      0|        case EbtFloatE3M2: TO_ALL(getDConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4055:9): [True: 0, False: 9]
  ------------------
 4056|      0|        case EbtFloatE2M3: TO_ALL(getDConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4056:9): [True: 0, False: 9]
  ------------------
 4057|      0|        case EbtFloatUE8M0: TO_ALL(getDConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4057:9): [True: 0, False: 9]
  ------------------
 4058|      0|        case EbtFloatMXINT8: TO_ALL(getDConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4058:9): [True: 0, False: 9]
  ------------------
 4059|      0|        case EbtDouble: TO_ALL(getDConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4059:9): [True: 0, False: 9]
  ------------------
 4060|      0|        case EbtInt8: TO_ALL(getI8Const); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4060:9): [True: 0, False: 9]
  ------------------
 4061|      0|        case EbtInt16: TO_ALL(getI16Const); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4061:9): [True: 0, False: 9]
  ------------------
 4062|      0|        case EbtInt64: TO_ALL(getI64Const); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4062:9): [True: 0, False: 9]
  ------------------
 4063|      0|        case EbtUint8: TO_ALL(getU8Const); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4063:9): [True: 0, False: 9]
  ------------------
 4064|      0|        case EbtUint16: TO_ALL(getU16Const); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4064:9): [True: 0, False: 9]
  ------------------
 4065|      0|        case EbtUint64: TO_ALL(getU64Const); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4065:9): [True: 0, False: 9]
  ------------------
 4066|      0|        default: return node;
  ------------------
  |  Branch (4066:9): [True: 0, False: 9]
  ------------------
 4067|      9|        }
 4068|      9|    }
 4069|       |
 4070|      9|    const TType& t = node->getType();
 4071|       |
 4072|      9|    return addConstantUnion(leftUnionArray, TType(promoteTo, t.getQualifier().storage, t.getVectorSize(), t.getMatrixCols(), t.getMatrixRows()),
 4073|      9|                            node->getLoc());
 4074|      9|}

_ZN7glslang17TParseContextBase13outputMessageERKNS_10TSourceLocEPKcS5_S5_NS_11TPrefixTypeEP13__va_list_tag:
   55|    125|{
   56|    125|    const int maxSize = MaxTokenLength + 200;
   57|    125|    char szExtraInfo[maxSize];
   58|       |
   59|    125|    safe_vsprintf(szExtraInfo, maxSize, szExtraInfoFormat, args);
   60|       |
   61|    125|    infoSink.info.prefix(prefix);
   62|    125|    infoSink.info.location(loc, messages & EShMsgAbsolutePath, messages & EShMsgDisplayErrorColumn);
   63|    125|    infoSink.info << "'" << szToken <<  "' : " << szReason << " " << szExtraInfo << "\n";
   64|       |
   65|    125|    if (prefix == EPrefixError) {
  ------------------
  |  Branch (65:9): [True: 125, False: 0]
  ------------------
   66|    125|        ++numErrors;
   67|    125|    }
   68|    125|}
_ZN7glslang17TParseContextBase5errorERKNS_10TSourceLocEPKcS5_S5_z:
   72|     66|{
   73|     66|    if (messages & EShMsgOnlyPreprocessor)
  ------------------
  |  Branch (73:9): [True: 0, False: 66]
  ------------------
   74|      0|        return;
   75|       |    // If enhanced msg readability, only print one error
   76|     66|    if (messages & EShMsgEnhanced && numErrors > 0)
  ------------------
  |  Branch (76:9): [True: 0, False: 66]
  |  Branch (76:38): [True: 0, False: 0]
  ------------------
   77|      0|        return;
   78|     66|    va_list args;
   79|     66|    va_start(args, szExtraInfoFormat);
   80|     66|    outputMessage(loc, szReason, szToken, szExtraInfoFormat, EPrefixError, args);
   81|     66|    va_end(args);
   82|       |
   83|     66|    if ((messages & EShMsgCascadingErrors) == 0)
  ------------------
  |  Branch (83:9): [True: 66, False: 0]
  ------------------
   84|     66|        currentScanner->setEndOfInput();
   85|     66|}
_ZN7glslang17TParseContextBase4warnERKNS_10TSourceLocEPKcS5_S5_z:
   89|  1.36k|{
   90|  1.36k|    if (suppressWarnings())
  ------------------
  |  Branch (90:9): [True: 1.36k, False: 0]
  ------------------
   91|  1.36k|        return;
   92|      0|    va_list args;
   93|      0|    va_start(args, szExtraInfoFormat);
   94|      0|    outputMessage(loc, szReason, szToken, szExtraInfoFormat, EPrefixWarning, args);
   95|       |    va_end(args);
   96|      0|}
_ZN7glslang17TParseContextBase7ppErrorERKNS_10TSourceLocEPKcS5_S5_z:
  100|     59|{
  101|     59|    va_list args;
  102|     59|    va_start(args, szExtraInfoFormat);
  103|     59|    outputMessage(loc, szReason, szToken, szExtraInfoFormat, EPrefixError, args);
  104|     59|    va_end(args);
  105|       |
  106|     59|    if ((messages & EShMsgCascadingErrors) == 0)
  ------------------
  |  Branch (106:9): [True: 47, False: 12]
  ------------------
  107|     47|        currentScanner->setEndOfInput();
  108|     59|}
_ZN7glslang17TParseContextBase16rValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE:
  233|    440|{
  234|    440|    if (! node)
  ------------------
  |  Branch (234:9): [True: 0, False: 440]
  ------------------
  235|      0|        return;
  236|       |
  237|    440|    TIntermBinary* binaryNode = node->getAsBinaryNode();
  238|    440|    const TIntermSymbol* symNode = node->getAsSymbolNode();
  239|       |
  240|    440|    if (node->getQualifier().isWriteOnly()) {
  ------------------
  |  Branch (240:9): [True: 0, False: 440]
  ------------------
  241|      0|        const TIntermTyped* leftMostTypeNode = TIntermediate::traverseLValueBase(node, true);
  242|       |
  243|      0|        if (symNode != nullptr)
  ------------------
  |  Branch (243:13): [True: 0, False: 0]
  ------------------
  244|      0|            error(loc, "can't read from writeonly object: ", op, "%s", symNode->getName().c_str());
  245|      0|        else if (binaryNode &&
  ------------------
  |  Branch (245:18): [True: 0, False: 0]
  ------------------
  246|      0|                (binaryNode->getAsOperator()->getOp() == EOpIndexDirectStruct ||
  ------------------
  |  Branch (246:18): [True: 0, False: 0]
  ------------------
  247|      0|                 binaryNode->getAsOperator()->getOp() == EOpIndexDirect) &&
  ------------------
  |  Branch (247:18): [True: 0, False: 0]
  ------------------
  248|      0|                leftMostTypeNode != nullptr && leftMostTypeNode->getAsSymbolNode() != nullptr)
  ------------------
  |  Branch (248:17): [True: 0, False: 0]
  |  Branch (248:48): [True: 0, False: 0]
  ------------------
  249|      0|            if(IsAnonymous(leftMostTypeNode->getAsSymbolNode()->getName()))
  ------------------
  |  Branch (249:16): [True: 0, False: 0]
  ------------------
  250|      0|                error(loc, "can't read from writeonly object: ", op, "%s", leftMostTypeNode->getAsSymbolNode()->getAccessName().c_str());
  251|      0|            else
  252|      0|                error(loc, "can't read from writeonly object: ", op, "%s", leftMostTypeNode->getAsSymbolNode()->getName().c_str());
  253|      0|        else
  254|      0|            error(loc, "can't read from writeonly object: ", op, "");
  255|       |
  256|    440|    } else {
  257|    440|        if (binaryNode) {
  ------------------
  |  Branch (257:13): [True: 0, False: 440]
  ------------------
  258|      0|            switch (binaryNode->getOp()) {
  259|      0|            case EOpIndexDirect:
  ------------------
  |  Branch (259:13): [True: 0, False: 0]
  ------------------
  260|      0|            case EOpIndexIndirect:
  ------------------
  |  Branch (260:13): [True: 0, False: 0]
  ------------------
  261|      0|            case EOpIndexDirectStruct:
  ------------------
  |  Branch (261:13): [True: 0, False: 0]
  ------------------
  262|      0|            case EOpVectorSwizzle:
  ------------------
  |  Branch (262:13): [True: 0, False: 0]
  ------------------
  263|      0|            case EOpMatrixSwizzle:
  ------------------
  |  Branch (263:13): [True: 0, False: 0]
  ------------------
  264|      0|                rValueErrorCheck(loc, op, binaryNode->getLeft());
  265|      0|                break;
  266|      0|            default:
  ------------------
  |  Branch (266:13): [True: 0, False: 0]
  ------------------
  267|      0|                break;
  268|      0|            }
  269|      0|        }
  270|    440|    }
  271|    440|}
_ZN7glslang17TParseContextBase12trackLinkageERNS_7TSymbolE:
  280|  1.20k|{
  281|  1.20k|    if (!parsingBuiltins)
  ------------------
  |  Branch (281:9): [True: 0, False: 1.20k]
  ------------------
  282|      0|        linkageSymbols.push_back(&symbol);
  283|  1.20k|}
_ZN7glslang17TParseContextBase6finishEv:
  792|    273|{
  793|    273|    if (parsingBuiltins)
  ------------------
  |  Branch (793:9): [True: 216, False: 57]
  ------------------
  794|    216|        return;
  795|       |
  796|     57|    for (const TString& relaxedSymbol : relaxedSymbols)
  ------------------
  |  Branch (796:39): [True: 0, False: 57]
  ------------------
  797|      0|    {
  798|      0|        TSymbol* symbol = symbolTable.find(relaxedSymbol);
  799|      0|        TType& type = symbol->getWritableType();
  800|      0|        for (const TTypeLoc& typeLoc : *type.getStruct())
  ------------------
  |  Branch (800:38): [True: 0, False: 0]
  ------------------
  801|      0|        {
  802|      0|            if (typeLoc.type->isOpaque())
  ------------------
  |  Branch (802:17): [True: 0, False: 0]
  ------------------
  803|      0|            {
  804|      0|                typeLoc.type->getSampler() = TSampler{};
  805|      0|                typeLoc.type->setBasicType(EbtInt);
  806|      0|                TString fieldName("/*");
  807|      0|                fieldName.append(typeLoc.type->getFieldName());
  808|      0|                fieldName.append("*/");
  809|      0|                typeLoc.type->setFieldName(fieldName);
  810|      0|            }
  811|      0|        }
  812|      0|    }
  813|       |
  814|       |    // Transfer the linkage symbols to AST nodes, preserving order.
  815|     57|    TIntermAggregate* linkage = new TIntermAggregate;
  816|     57|    for (auto i = linkageSymbols.begin(); i != linkageSymbols.end(); ++i) {
  ------------------
  |  Branch (816:43): [True: 0, False: 57]
  ------------------
  817|      0|        hideUnavailableMembers(**i);
  818|      0|        intermediate.addSymbolLinkageNode(linkage, **i);
  819|      0|    }
  820|     57|    intermediate.addSymbolLinkageNodes(linkage, getLanguage(), symbolTable);
  821|     57|}

_ZN7glslang13TParseContextC2ERNS_12TSymbolTableERNS_13TIntermediateEbi8EProfileRKNS_10SpvVersionE11EShLanguageR9TInfoSinkb11EShMessagesPKNSt3__112basic_stringIcNSD_11char_traitsIcEENS_14pool_allocatorIcEEEE:
   60|    231|            TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language,
   61|    231|                              infoSink, forwardCompatible, messages, entryPoint),
   62|    231|            inMain(false),
   63|    231|            blockName(nullptr),
   64|    231|            limits(resources.limits),
   65|    231|            atomicUintOffsets(nullptr), anyIndexLimits(false),
   66|    231|            khrDerivativeLayoutQualifierSpecified(false)
   67|    231|{
   68|       |    // decide whether precision qualifiers should be ignored or respected
   69|    231|    if (isEsProfile() || spvVersion.vulkan > 0) {
  ------------------
  |  Branch (69:9): [True: 216, False: 15]
  |  Branch (69:26): [True: 15, False: 0]
  ------------------
   70|    231|        precisionManager.respectPrecisionQualifiers();
   71|    231|        if (! parsingBuiltins && language == EShLangFragment && !isEsProfile() && spvVersion.vulkan > 0)
  ------------------
  |  Branch (71:13): [True: 36, False: 195]
  |  Branch (71:34): [True: 0, False: 36]
  |  Branch (71:65): [True: 0, False: 0]
  |  Branch (71:83): [True: 0, False: 0]
  ------------------
   72|      0|            precisionManager.warnAboutDefaults();
   73|    231|    }
   74|       |
   75|    231|    setPrecisionDefaults();
   76|       |
   77|    231|    globalUniformDefaults.clear();
   78|    231|    globalUniformDefaults.layoutMatrix = ElmColumnMajor;
   79|    231|    globalUniformDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd140 : ElpShared;
  ------------------
  |  Branch (79:43): [True: 0, False: 231]
  ------------------
   80|       |
   81|    231|    globalBufferDefaults.clear();
   82|    231|    globalBufferDefaults.layoutMatrix = ElmColumnMajor;
   83|    231|    globalBufferDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd430 : ElpShared;
  ------------------
  |  Branch (83:42): [True: 0, False: 231]
  ------------------
   84|       |
   85|    231|    globalInputDefaults.clear();
   86|    231|    globalOutputDefaults.clear();
   87|       |
   88|    231|    globalSharedDefaults.clear();
   89|    231|    globalSharedDefaults.layoutMatrix = ElmColumnMajor;
   90|    231|    globalSharedDefaults.layoutPacking = ElpStd430;
   91|       |
   92|       |    // "Shaders in the transform
   93|       |    // feedback capturing mode have an initial global default of
   94|       |    //     layout(xfb_buffer = 0) out;"
   95|    231|    if (language == EShLangVertex ||
  ------------------
  |  Branch (95:9): [True: 146, False: 85]
  ------------------
   96|     85|        language == EShLangTessControl ||
  ------------------
  |  Branch (96:9): [True: 1, False: 84]
  ------------------
   97|     84|        language == EShLangTessEvaluation ||
  ------------------
  |  Branch (97:9): [True: 1, False: 83]
  ------------------
   98|     83|        language == EShLangGeometry)
  ------------------
  |  Branch (98:9): [True: 1, False: 82]
  ------------------
   99|    149|        globalOutputDefaults.layoutXfbBuffer = 0;
  100|       |
  101|    231|    if (language == EShLangGeometry)
  ------------------
  |  Branch (101:9): [True: 1, False: 230]
  ------------------
  102|      1|        globalOutputDefaults.layoutStream = 0;
  103|       |
  104|    231|    if (entryPoint != nullptr && entryPoint->size() > 0 && *entryPoint != "main")
  ------------------
  |  Branch (104:9): [True: 231, False: 0]
  |  Branch (104:34): [True: 0, False: 231]
  |  Branch (104:60): [True: 0, False: 0]
  ------------------
  105|      0|        infoSink.info.message(EPrefixError, "Source entry point must be \"main\"");
  106|    231|}
_ZN7glslang13TParseContextD2Ev:
  109|    231|{
  110|    231|    delete [] atomicUintOffsets;
  111|    231|}
_ZN7glslang13TParseContext20setPrecisionDefaultsEv:
  116|    231|{
  117|       |    // Set all precision defaults to EpqNone, which is correct for all types
  118|       |    // when not obeying precision qualifiers, and correct for types that don't
  119|       |    // have defaults (thus getting an error on use) when obeying precision
  120|       |    // qualifiers.
  121|       |
  122|  9.24k|    for (int type = 0; type < EbtNumTypes; ++type)
  ------------------
  |  Branch (122:24): [True: 9.00k, False: 231]
  ------------------
  123|  9.00k|        defaultPrecision[type] = EpqNone;
  124|       |
  125|  2.59M|    for (int type = 0; type < maxSamplerIndex; ++type)
  ------------------
  |  Branch (125:24): [True: 2.59M, False: 231]
  ------------------
  126|  2.59M|        defaultSamplerPrecision[type] = EpqNone;
  127|       |
  128|       |    // replace with real precision defaults for those that have them
  129|    231|    if (obeyPrecisionQualifiers()) {
  ------------------
  |  Branch (129:9): [True: 231, False: 0]
  ------------------
  130|    231|        if (isEsProfile()) {
  ------------------
  |  Branch (130:13): [True: 216, False: 15]
  ------------------
  131|       |            // Most don't have defaults, a few default to lowp.
  132|    216|            TSampler sampler;
  133|    216|            sampler.set(EbtFloat, Esd2D);
  134|    216|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  135|    216|            sampler.set(EbtFloat, EsdCube);
  136|    216|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  137|    216|            sampler.set(EbtFloat, Esd2D);
  138|    216|            sampler.setExternal(true);
  139|    216|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  140|    216|        }
  141|       |
  142|       |        // If we are parsing built-in computational variables/functions, it is meaningful to record
  143|       |        // whether the built-in has no precision qualifier, as that ambiguity
  144|       |        // is used to resolve the precision from the supplied arguments/operands instead.
  145|       |        // So, we don't actually want to replace EpqNone with a default precision for built-ins.
  146|    231|        if (! parsingBuiltins) {
  ------------------
  |  Branch (146:13): [True: 36, False: 195]
  ------------------
  147|     36|            if (isEsProfile() && language == EShLangFragment) {
  ------------------
  |  Branch (147:17): [True: 36, False: 0]
  |  Branch (147:34): [True: 0, False: 36]
  ------------------
  148|      0|                defaultPrecision[EbtInt] = EpqMedium;
  149|      0|                defaultPrecision[EbtUint] = EpqMedium;
  150|     36|            } else {
  151|     36|                defaultPrecision[EbtInt] = EpqHigh;
  152|     36|                defaultPrecision[EbtUint] = EpqHigh;
  153|     36|                defaultPrecision[EbtFloat] = EpqHigh;
  154|     36|            }
  155|       |
  156|     36|            if (!isEsProfile()) {
  ------------------
  |  Branch (156:17): [True: 0, False: 36]
  ------------------
  157|       |                // Non-ES profile
  158|       |                // All sampler precisions default to highp.
  159|      0|                for (int type = 0; type < maxSamplerIndex; ++type)
  ------------------
  |  Branch (159:36): [True: 0, False: 0]
  ------------------
  160|      0|                    defaultSamplerPrecision[type] = EpqHigh;
  161|      0|            }
  162|     36|        }
  163|       |
  164|    231|        defaultPrecision[EbtSampler] = EpqLow;
  165|    231|        defaultPrecision[EbtAtomicUint] = EpqHigh;
  166|    231|    }
  167|    231|}
_ZN7glslang13TParseContext9setLimitsERK16TBuiltInResource:
  170|     36|{
  171|     36|    resources = r;
  172|     36|    intermediate.setLimits(r);
  173|       |
  174|     36|    anyIndexLimits = ! limits.generalAttributeMatrixVectorIndexing ||
  ------------------
  |  Branch (174:22): [True: 0, False: 36]
  ------------------
  175|     36|                     ! limits.generalConstantMatrixVectorIndexing ||
  ------------------
  |  Branch (175:22): [True: 0, False: 36]
  ------------------
  176|     36|                     ! limits.generalSamplerIndexing ||
  ------------------
  |  Branch (176:22): [True: 0, False: 36]
  ------------------
  177|     36|                     ! limits.generalUniformIndexing ||
  ------------------
  |  Branch (177:22): [True: 0, False: 36]
  ------------------
  178|     36|                     ! limits.generalVariableIndexing ||
  ------------------
  |  Branch (178:22): [True: 0, False: 36]
  ------------------
  179|     36|                     ! limits.generalVaryingIndexing;
  ------------------
  |  Branch (179:22): [True: 0, False: 36]
  ------------------
  180|       |
  181|       |
  182|       |    // "Each binding point tracks its own current default offset for
  183|       |    // inheritance of subsequent variables using the same binding. The initial state of compilation is that all
  184|       |    // binding points have an offset of 0."
  185|     36|    atomicUintOffsets = new int[resources.maxAtomicCounterBindings];
  186|     72|    for (int b = 0; b < resources.maxAtomicCounterBindings; ++b)
  ------------------
  |  Branch (186:21): [True: 36, False: 36]
  ------------------
  187|     36|        atomicUintOffsets[b] = 0;
  188|     36|}
_ZN7glslang13TParseContext18parseShaderStringsERNS_10TPpContextERNS_13TInputScannerEb:
  198|    231|{
  199|    231|    currentScanner = &input;
  200|    231|    ppContext.setInput(input, versionWillBeError);
  201|    231|    yyparse(this);
  202|       |
  203|    231|    finish();
  204|       |
  205|    231|    return numErrors == 0;
  206|    231|}
_ZN7glslang13TParseContext11parserErrorEPKc:
  213|     37|{
  214|     37|    if (! getScanner()->atEndOfInput() || numErrors == 0)
  ------------------
  |  Branch (214:9): [True: 4, False: 33]
  |  Branch (214:43): [True: 0, False: 33]
  ------------------
  215|      4|        error(getCurrentLoc(), "", "", "%s", s);
  216|     33|    else
  217|     33|        error(getCurrentLoc(), "compilation terminated", "", "");
  218|     37|}
_ZNK7glslang13TParseContext15isIoResizeArrayERKNS_5TTypeE:
  773|      9|{
  774|      9|    return type.isArray() &&
  ------------------
  |  Branch (774:12): [True: 6, False: 3]
  ------------------
  775|      6|           ((language == EShLangGeometry    && type.getQualifier().storage == EvqVaryingIn) ||
  ------------------
  |  Branch (775:14): [True: 1, False: 5]
  |  Branch (775:48): [True: 1, False: 0]
  ------------------
  776|      5|            (language == EShLangTessControl && type.getQualifier().storage == EvqVaryingOut &&
  ------------------
  |  Branch (776:14): [True: 1, False: 4]
  |  Branch (776:48): [True: 1, False: 0]
  ------------------
  777|      1|                ! type.getQualifier().patch) ||
  ------------------
  |  Branch (777:17): [True: 1, False: 0]
  ------------------
  778|      4|            (language == EShLangFragment && type.getQualifier().storage == EvqVaryingIn &&
  ------------------
  |  Branch (778:14): [True: 0, False: 4]
  |  Branch (778:45): [True: 0, False: 0]
  ------------------
  779|      0|                (type.getQualifier().pervertexNV || type.getQualifier().pervertexEXT)) ||
  ------------------
  |  Branch (779:18): [True: 0, False: 0]
  |  Branch (779:53): [True: 0, False: 0]
  ------------------
  780|      4|            (language == EShLangMesh && type.getQualifier().storage == EvqVaryingOut &&
  ------------------
  |  Branch (780:14): [True: 4, False: 0]
  |  Branch (780:41): [True: 4, False: 0]
  ------------------
  781|      4|                !type.getQualifier().perTaskNV));
  ------------------
  |  Branch (781:17): [True: 4, False: 0]
  ------------------
  782|      9|}
_ZN7glslang13TParseContext14fixIoArraySizeERKNS_10TSourceLocERNS_5TTypeE:
  786|      3|{
  787|      3|    if (! type.isArray() || type.getQualifier().patch || symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (787:9): [True: 3, False: 0]
  |  Branch (787:29): [True: 0, False: 0]
  |  Branch (787:58): [True: 0, False: 0]
  ------------------
  788|      3|        return;
  789|       |
  790|      3|    assert(! isIoResizeArray(type));
  791|       |
  792|      0|    if (type.getQualifier().storage != EvqVaryingIn || type.getQualifier().patch)
  ------------------
  |  Branch (792:9): [True: 0, False: 0]
  |  Branch (792:56): [True: 0, False: 0]
  ------------------
  793|      0|        return;
  794|       |
  795|      0|    if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (795:9): [True: 0, False: 0]
  |  Branch (795:43): [True: 0, False: 0]
  ------------------
  796|      0|        if (type.getOuterArraySize() != resources.maxPatchVertices) {
  ------------------
  |  Branch (796:13): [True: 0, False: 0]
  ------------------
  797|      0|            if (type.isSizedArray())
  ------------------
  |  Branch (797:17): [True: 0, False: 0]
  ------------------
  798|      0|                error(loc, "tessellation input array size must be gl_MaxPatchVertices or implicitly sized", "[]", "");
  799|      0|            type.changeOuterArraySize(resources.maxPatchVertices);
  800|      0|        }
  801|      0|    }
  802|      0|}
_ZN7glslang13TParseContext12ioArrayCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  808|  1.17k|{
  809|  1.17k|    if (! type.isArray() && ! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (809:9): [True: 1.17k, False: 0]
  |  Branch (809:29): [True: 0, False: 1.17k]
  ------------------
  810|      0|        if (type.getQualifier().isArrayedIo(language) && !type.getQualifier().layoutPassthrough)
  ------------------
  |  Branch (810:13): [True: 0, False: 0]
  |  Branch (810:58): [True: 0, False: 0]
  ------------------
  811|      0|            error(loc, "type must be an array:", type.getStorageQualifierString(), "%s", identifier.c_str());
  812|      0|    }
  813|  1.17k|}
_ZN7glslang13TParseContext24checkIoArraysConsistencyERKNS_10TSourceLocEb:
  842|      6|{
  843|      6|    int requiredSize = 0;
  844|      6|    TString featureString;
  845|      6|    size_t listSize = ioArraySymbolResizeList.size();
  846|      6|    size_t i = 0;
  847|       |
  848|       |    // If tailOnly = true, only check the last array symbol in the list.
  849|      6|    if (tailOnly) {
  ------------------
  |  Branch (849:9): [True: 6, False: 0]
  ------------------
  850|      6|        i = listSize - 1;
  851|      6|    }
  852|      6|    for (bool firstIteration = true; i < listSize; ++i) {
  ------------------
  |  Branch (852:38): [True: 6, False: 0]
  ------------------
  853|      6|        TType &type = ioArraySymbolResizeList[i]->getWritableType();
  854|       |
  855|       |        // As I/O array sizes don't change, fetch requiredSize only once,
  856|       |        // except for mesh shaders which could have different I/O array sizes based on type qualifiers.
  857|      6|        if (firstIteration || (language == EShLangMesh)) {
  ------------------
  |  Branch (857:13): [True: 6, False: 0]
  |  Branch (857:31): [True: 0, False: 0]
  ------------------
  858|      6|            requiredSize = getIoArrayImplicitSize(type.getQualifier(), &featureString);
  859|      6|            if (requiredSize == 0)
  ------------------
  |  Branch (859:17): [True: 6, False: 0]
  ------------------
  860|      6|                break;
  861|      0|            firstIteration = false;
  862|      0|        }
  863|       |
  864|      0|        checkIoArrayConsistency(loc, requiredSize, featureString.c_str(), type,
  865|      0|                                ioArraySymbolResizeList[i]->getName());
  866|      0|    }
  867|      6|}
_ZNK7glslang13TParseContext22getIoArrayImplicitSizeERKNS_10TQualifierEPNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  870|      6|{
  871|      6|    int expectedSize = 0;
  872|      6|    TString str = "unknown";
  873|      6|    unsigned int maxVertices = intermediate.getVertices() != TQualifier::layoutNotSet ? intermediate.getVertices() : 0;
  ------------------
  |  Branch (873:32): [True: 0, False: 6]
  ------------------
  874|       |
  875|      6|    if (language == EShLangGeometry) {
  ------------------
  |  Branch (875:9): [True: 1, False: 5]
  ------------------
  876|      1|        expectedSize = TQualifier::mapGeometryToSize(intermediate.getInputPrimitive());
  877|      1|        str = TQualifier::getGeometryString(intermediate.getInputPrimitive());
  878|      1|    }
  879|      5|    else if (language == EShLangTessControl) {
  ------------------
  |  Branch (879:14): [True: 1, False: 4]
  ------------------
  880|      1|        expectedSize = maxVertices;
  881|      1|        str = "vertices";
  882|      4|    } else if (language == EShLangFragment) {
  ------------------
  |  Branch (882:16): [True: 0, False: 4]
  ------------------
  883|       |        // Number of vertices for Fragment shader is always three.
  884|      0|        expectedSize = 3;
  885|      0|        str = "vertices";
  886|      4|    } else if (language == EShLangMesh) {
  ------------------
  |  Branch (886:16): [True: 4, False: 0]
  ------------------
  887|      4|        unsigned int maxPrimitives =
  888|      4|            intermediate.getPrimitives() != TQualifier::layoutNotSet ? intermediate.getPrimitives() : 0;
  ------------------
  |  Branch (888:13): [True: 0, False: 4]
  ------------------
  889|      4|        if (qualifier.builtIn == EbvPrimitiveIndicesNV) {
  ------------------
  |  Branch (889:13): [True: 0, False: 4]
  ------------------
  890|      0|            expectedSize = maxPrimitives * TQualifier::mapGeometryToSize(intermediate.getOutputPrimitive());
  891|      0|            str = "max_primitives*";
  892|      0|            str += TQualifier::getGeometryString(intermediate.getOutputPrimitive());
  893|      0|        }
  894|      4|        else if (qualifier.builtIn == EbvPrimitiveTriangleIndicesEXT || qualifier.builtIn == EbvPrimitiveLineIndicesEXT ||
  ------------------
  |  Branch (894:18): [True: 0, False: 4]
  |  Branch (894:73): [True: 0, False: 4]
  ------------------
  895|      4|                 qualifier.builtIn == EbvPrimitivePointIndicesEXT) {
  ------------------
  |  Branch (895:18): [True: 0, False: 4]
  ------------------
  896|      0|            expectedSize = maxPrimitives;
  897|      0|            str = "max_primitives";
  898|      0|        }
  899|      4|        else if (qualifier.isPerPrimitive()) {
  ------------------
  |  Branch (899:18): [True: 2, False: 2]
  ------------------
  900|      2|            expectedSize = maxPrimitives;
  901|      2|            str = "max_primitives";
  902|      2|        }
  903|      2|        else {
  904|      2|            expectedSize = maxVertices;
  905|      2|            str = "max_vertices";
  906|      2|        }
  907|      4|    }
  908|      6|    if (featureString)
  ------------------
  |  Branch (908:9): [True: 6, False: 0]
  ------------------
  909|      6|        *featureString = str;
  910|      6|    return expectedSize;
  911|      6|}
_ZN7glslang13TParseContext24handleFunctionDeclaratorERKNS_10TSourceLocERNS_9TFunctionEb:
 1226|  30.4k|{
 1227|       |    // ES can't declare prototypes inside functions
 1228|  30.4k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (1228:9): [True: 0, False: 30.4k]
  ------------------
 1229|      0|        requireProfile(loc, ~EEsProfile, "local function declaration");
 1230|       |
 1231|       |    //
 1232|       |    // Multiple declarations of the same function name are allowed.
 1233|       |    //
 1234|       |    // If this is a definition, the definition production code will check for redefinitions
 1235|       |    // (we don't know at this point if it's a definition or not).
 1236|       |    //
 1237|       |    // Redeclarations (full signature match) are allowed.  But, return types and parameter qualifiers must also match.
 1238|       |    //  - except ES 100, which only allows a single prototype
 1239|       |    //
 1240|       |    // ES 100 does not allow redefining, but does allow overloading of built-in functions.
 1241|       |    // ES 300 does not allow redefining or overloading of built-in functions.
 1242|       |    //
 1243|  30.4k|    bool builtIn;
 1244|  30.4k|    TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn);
 1245|  30.4k|    if (symbol && symbol->getAsFunction() && builtIn)
  ------------------
  |  Branch (1245:9): [True: 136, False: 30.3k]
  |  Branch (1245:19): [True: 136, False: 0]
  |  Branch (1245:46): [True: 136, False: 0]
  ------------------
 1246|    136|        requireProfile(loc, ~EEsProfile, "redefinition of built-in function");
 1247|       |    // Check the validity of using spirv_literal qualifier
 1248|  98.9k|    for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (1248:21): [True: 68.5k, False: 30.4k]
  ------------------
 1249|  68.5k|        if (function[i].type->getQualifier().isSpirvLiteral() && function.getBuiltInOp() != EOpSpirvInst)
  ------------------
  |  Branch (1249:13): [True: 0, False: 68.5k]
  |  Branch (1249:66): [True: 0, False: 0]
  ------------------
 1250|      0|            error(loc, "'spirv_literal' can only be used on functions defined with 'spirv_instruction' for argument",
 1251|      0|                  function.getName().c_str(), "%d", i + 1);
 1252|  68.5k|    }
 1253|       |
 1254|       |    // For function declaration with SPIR-V instruction qualifier, always ignore the built-in function and
 1255|       |    // respect this redeclared one.
 1256|  30.4k|    if (symbol && builtIn && function.getBuiltInOp() == EOpSpirvInst)
  ------------------
  |  Branch (1256:9): [True: 136, False: 30.3k]
  |  Branch (1256:19): [True: 136, False: 0]
  |  Branch (1256:30): [True: 0, False: 136]
  ------------------
 1257|      0|        symbol = nullptr;
 1258|  30.4k|    const TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr;
  ------------------
  |  Branch (1258:32): [True: 136, False: 30.3k]
  ------------------
 1259|  30.4k|    if (prevDec) {
  ------------------
  |  Branch (1259:9): [True: 136, False: 30.3k]
  ------------------
 1260|    136|        if (prevDec->isPrototyped() && prototype)
  ------------------
  |  Branch (1260:13): [True: 0, False: 136]
  |  Branch (1260:40): [True: 0, False: 0]
  ------------------
 1261|      0|            profileRequires(loc, EEsProfile, 300, nullptr, "multiple prototypes for same function");
 1262|    136|        if (prevDec->getSpirvInstruction() != function.getSpirvInstruction()) {
  ------------------
  |  Branch (1262:13): [True: 0, False: 136]
  ------------------
 1263|      0|            error(loc, "overloaded functions must have the same qualifiers", function.getName().c_str(),
 1264|      0|                  "spirv_instruction");
 1265|      0|        }
 1266|    136|        bool parameterTypesDiffer = false;
 1267|    493|        for (int i = 0; i < prevDec->getParamCount(); ++i) {
  ------------------
  |  Branch (1267:25): [True: 357, False: 136]
  ------------------
 1268|    357|            if ((*prevDec)[i].type->getQualifier().storage != function[i].type->getQualifier().storage)
  ------------------
  |  Branch (1268:17): [True: 0, False: 357]
  ------------------
 1269|      0|                error(loc, "overloaded functions must have the same parameter storage qualifiers for argument", function[i].type->getStorageQualifierString(), "%d", i+1);
 1270|       |
 1271|    357|            if ((*prevDec)[i].type->getQualifier().precision != function[i].type->getQualifier().precision)
  ------------------
  |  Branch (1271:17): [True: 0, False: 357]
  ------------------
 1272|      0|                error(loc, "overloaded functions must have the same parameter precision qualifiers for argument", function[i].type->getPrecisionQualifierString(), "%d", i+1);
 1273|       |
 1274|    357|            if (*(*prevDec)[i].type != *function[i].type)
  ------------------
  |  Branch (1274:17): [True: 0, False: 357]
  ------------------
 1275|      0|                parameterTypesDiffer = true;
 1276|    357|        }
 1277|    136|        if (!parameterTypesDiffer && prevDec->getType() != function.getType())
  ------------------
  |  Branch (1277:13): [True: 136, False: 0]
  |  Branch (1277:38): [True: 0, False: 136]
  ------------------
 1278|      0|            error(loc, "overloaded functions must have the same return type", function.getName().c_str(), "");
 1279|       |
 1280|    136|        function.addFunctionControl(prevDec->getFunctionControl());
 1281|    136|        unsigned functionControl = function.getFunctionControl();
 1282|    136|        if (function.hasIncompatibleFunctionControl())
  ------------------
  |  Branch (1282:13): [True: 0, False: 136]
  ------------------
 1283|      0|            error(loc, "function attributes are incompatible", function.getName().c_str(), "");
 1284|    136|        if (!builtIn)
  ------------------
  |  Branch (1284:13): [True: 0, False: 136]
  ------------------
 1285|      0|            symbol->getAsFunction()->setFunctionControl(functionControl);
 1286|    136|    }
 1287|       |
 1288|  30.4k|    arrayObjectCheck(loc, function.getType(), "array in function return type");
 1289|       |
 1290|  30.4k|    if (prototype) {
  ------------------
  |  Branch (1290:9): [True: 30.4k, False: 0]
  ------------------
 1291|       |        // All built-in functions are defined, even though they don't have a body.
 1292|       |        // Count their prototype as a definition instead.
 1293|  30.4k|        if (symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (1293:13): [True: 30.4k, False: 0]
  ------------------
 1294|  30.4k|            function.setDefined();
 1295|      0|        else {
 1296|      0|            if (prevDec && ! builtIn)
  ------------------
  |  Branch (1296:17): [True: 0, False: 0]
  |  Branch (1296:28): [True: 0, False: 0]
  ------------------
 1297|      0|                symbol->getAsFunction()->setPrototyped();  // need a writable one, but like having prevDec as a const
 1298|      0|            function.setPrototyped();
 1299|      0|        }
 1300|  30.4k|    }
 1301|       |
 1302|       |    // This insert won't actually insert it if it's a duplicate signature, but it will still check for
 1303|       |    // other forms of name collisions.
 1304|  30.4k|    if (! symbolTable.insert(function))
  ------------------
  |  Branch (1304:9): [True: 0, False: 30.4k]
  ------------------
 1305|      0|        error(loc, "function name is redeclaration of existing name", function.getName().c_str(), "");
 1306|       |
 1307|       |    //
 1308|       |    // If this is a redeclaration, it could also be a definition,
 1309|       |    // in which case, we need to use the parameter names from this one, and not the one that's
 1310|       |    // being redeclared.  So, pass back this declaration, not the one in the symbol table.
 1311|       |    //
 1312|  30.4k|    return &function;
 1313|  30.4k|}
_ZN7glslang13TParseContext18handleFunctionCallERKNS_10TSourceLocEPNS_9TFunctionEP11TIntermNode:
 1418|      3|{
 1419|      3|    TIntermTyped* result = nullptr;
 1420|       |
 1421|      3|    if (spvVersion.vulkan != 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (1421:9): [True: 3, False: 0]
  |  Branch (1421:35): [True: 0, False: 3]
  ------------------
 1422|       |        // allow calls that are invalid in Vulkan Semantics to be invisibily
 1423|       |        // remapped to equivalent valid functions
 1424|      0|        result = vkRelaxedRemapFunctionCall(loc, function, arguments);
 1425|      0|        if (result)
  ------------------
  |  Branch (1425:13): [True: 0, False: 0]
  ------------------
 1426|      0|            return result;
 1427|      0|    }
 1428|       |
 1429|      3|    if (function->getBuiltInOp() == EOpArrayLength)
  ------------------
  |  Branch (1429:9): [True: 0, False: 3]
  ------------------
 1430|      0|        result = handleLengthMethod(loc, function, arguments);
 1431|      3|    else if (function->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1431:14): [True: 3, False: 0]
  ------------------
 1432|       |        //
 1433|       |        // Then this should be a constructor.
 1434|       |        // Don't go through the symbol table for constructors.
 1435|       |        // Their parameters will be verified algorithmically.
 1436|       |        //
 1437|      3|        TType type(EbtVoid);  // use this to get the type back
 1438|      3|        if (! constructorError(loc, arguments, *function, function->getBuiltInOp(), type)) {
  ------------------
  |  Branch (1438:13): [True: 3, False: 0]
  ------------------
 1439|       |            //
 1440|       |            // It's a constructor, of type 'type'.
 1441|       |            //
 1442|      3|            result = addConstructor(loc, arguments, type);
 1443|      3|            if (result == nullptr)
  ------------------
  |  Branch (1443:17): [True: 0, False: 3]
  ------------------
 1444|      0|                error(loc, "cannot construct with these arguments", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str(), "");
 1445|      3|        }
 1446|      3|    } else {
 1447|       |        //
 1448|       |        // Find it in the symbol table.
 1449|       |        //
 1450|      0|        const TFunction* fnCandidate;
 1451|      0|        bool builtIn {false};
 1452|      0|        fnCandidate = findFunction(loc, *function, builtIn);
 1453|      0|        if (fnCandidate) {
  ------------------
  |  Branch (1453:13): [True: 0, False: 0]
  ------------------
 1454|       |            // This is a declared function that might map to
 1455|       |            //  - a built-in operator,
 1456|       |            //  - a built-in function not mapped to an operator, or
 1457|       |            //  - a user function.
 1458|       |
 1459|       |            // Error check for a function requiring specific extensions present.
 1460|      0|            if (builtIn &&
  ------------------
  |  Branch (1460:17): [True: 0, False: 0]
  ------------------
 1461|      0|                (fnCandidate->getBuiltInOp() == EOpSubgroupQuadAll || fnCandidate->getBuiltInOp() == EOpSubgroupQuadAny))
  ------------------
  |  Branch (1461:18): [True: 0, False: 0]
  |  Branch (1461:71): [True: 0, False: 0]
  ------------------
 1462|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_quad_control, fnCandidate->getName().c_str());
 1463|       |
 1464|      0|            if (builtIn && fnCandidate->getNumExtensions())
  ------------------
  |  Branch (1464:17): [True: 0, False: 0]
  |  Branch (1464:28): [True: 0, False: 0]
  ------------------
 1465|      0|                requireExtensions(loc, fnCandidate->getNumExtensions(), fnCandidate->getExtensions(), fnCandidate->getName().c_str());
 1466|       |
 1467|      0|            if (builtIn && fnCandidate->getType().contains16BitFloat())
  ------------------
  |  Branch (1467:17): [True: 0, False: 0]
  |  Branch (1467:28): [True: 0, False: 0]
  ------------------
 1468|      0|                requireFloat16Arithmetic(loc, "built-in function", "float16 types can only be in uniform block or buffer storage");
 1469|      0|            if (builtIn && fnCandidate->getType().contains16BitInt())
  ------------------
  |  Branch (1469:17): [True: 0, False: 0]
  |  Branch (1469:28): [True: 0, False: 0]
  ------------------
 1470|      0|                requireInt16Arithmetic(loc, "built-in function", "(u)int16 types can only be in uniform block or buffer storage");
 1471|      0|            if (builtIn && fnCandidate->getType().contains8BitInt())
  ------------------
  |  Branch (1471:17): [True: 0, False: 0]
  |  Branch (1471:28): [True: 0, False: 0]
  ------------------
 1472|      0|                requireInt8Arithmetic(loc, "built-in function", "(u)int8 types can only be in uniform block or buffer storage");
 1473|      0|            if (builtIn && (fnCandidate->getBuiltInOp() == EOpTextureFetch || fnCandidate->getBuiltInOp() == EOpTextureQuerySize)) {
  ------------------
  |  Branch (1473:17): [True: 0, False: 0]
  |  Branch (1473:29): [True: 0, False: 0]
  |  Branch (1473:79): [True: 0, False: 0]
  ------------------
 1474|      0|                if ((*fnCandidate)[0].type->getSampler().isMultiSample() && version <= 140)
  ------------------
  |  Branch (1474:21): [True: 0, False: 0]
  |  Branch (1474:77): [True: 0, False: 0]
  ------------------
 1475|      0|                    requireExtensions(loc, 1, &E_GL_ARB_texture_multisample, fnCandidate->getName().c_str());
 1476|      0|            }
 1477|      0|            bool hasLongVectorArg = false;
 1478|      0|            if (arguments != nullptr) {
  ------------------
  |  Branch (1478:17): [True: 0, False: 0]
  ------------------
 1479|       |                // Make sure qualifications work for these arguments.
 1480|      0|                TIntermAggregate* aggregate = arguments->getAsAggregate();
 1481|      0|                for (int i = 0; i < fnCandidate->getParamCount(); ++i) {
  ------------------
  |  Branch (1481:33): [True: 0, False: 0]
  ------------------
 1482|       |                    // At this early point there is a slight ambiguity between whether an aggregate 'arguments'
 1483|       |                    // is the single argument itself or its children are the arguments.  Only one argument
 1484|       |                    // means take 'arguments' itself as the one argument.
 1485|      0|                    if ((*fnCandidate)[i].defaultValue) {
  ------------------
  |  Branch (1485:25): [True: 0, False: 0]
  ------------------
 1486|      0|                        if (!aggregate) {
  ------------------
  |  Branch (1486:29): [True: 0, False: 0]
  ------------------
 1487|       |                            // Only one argument was passed (rest are default arguments) so arguments isn't a TIntermAggregate.
 1488|       |                            // But the function takes at least one more argument, so a TIntermAggregate is needed.
 1489|      0|                            aggregate = new TIntermAggregate;
 1490|      0|                            aggregate->getSequence().push_back(arguments);
 1491|      0|                            arguments = aggregate;
 1492|      0|                        }
 1493|      0|                        if (i >= static_cast<int>(aggregate->getSequence().size())) {
  ------------------
  |  Branch (1493:29): [True: 0, False: 0]
  ------------------
 1494|       |                            // Append the default value if there are no more arguments left in the aggregate.
 1495|      0|                            TIntermConstantUnion *defaultValue = nullptr;
 1496|      0|                            if (const auto *constUnion = (*fnCandidate)[i].defaultValue->getAsConstantUnion()) {
  ------------------
  |  Branch (1496:45): [True: 0, False: 0]
  ------------------
 1497|      0|                                defaultValue = new TIntermConstantUnion(constUnion->getConstArray(), constUnion->getType());
 1498|      0|                            }
 1499|      0|                            assert(defaultValue && "unsupported default value construct");
 1500|      0|                            aggregate->getSequence().push_back(defaultValue);
 1501|      0|                        }
 1502|      0|                    }
 1503|      0|                    TIntermNode* arg = fnCandidate->getParamCount() == 1 ? arguments : (aggregate ? aggregate->getSequence()[i] : arguments);
  ------------------
  |  Branch (1503:40): [True: 0, False: 0]
  |  Branch (1503:89): [True: 0, False: 0]
  ------------------
 1504|      0|                    TQualifier& formalQualifier = (*fnCandidate)[i].type->getQualifier();
 1505|      0|                    if (formalQualifier.isParamOutput()) {
  ------------------
  |  Branch (1505:25): [True: 0, False: 0]
  ------------------
 1506|      0|                        if (lValueErrorCheck(arguments->getLoc(), "assign", arg->getAsTyped()))
  ------------------
  |  Branch (1506:29): [True: 0, False: 0]
  ------------------
 1507|      0|                            error(arguments->getLoc(), "Non-L-value cannot be passed for 'out' or 'inout' parameters.", "out", "");
 1508|      0|                    }
 1509|      0|                    if (formalQualifier.isSpirvLiteral()) {
  ------------------
  |  Branch (1509:25): [True: 0, False: 0]
  ------------------
 1510|      0|                        if (!arg->getAsTyped()->getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (1510:29): [True: 0, False: 0]
  ------------------
 1511|      0|                            error(arguments->getLoc(),
 1512|      0|                                  "Non front-end constant expressions cannot be passed for 'spirv_literal' parameters.",
 1513|      0|                                  "spirv_literal", "");
 1514|      0|                        }
 1515|      0|                    }
 1516|      0|                    const TType& argType = arg->getAsTyped()->getType();
 1517|      0|                    const TQualifier& argQualifier = argType.getQualifier();
 1518|      0|                    bool containsBindlessSampler = intermediate.getBindlessMode() && argType.containsSampler();
  ------------------
  |  Branch (1518:52): [True: 0, False: 0]
  |  Branch (1518:86): [True: 0, False: 0]
  ------------------
 1519|      0|                    if (argQualifier.isMemory() && !containsBindlessSampler && (argType.containsOpaque() || argType.isReference())) {
  ------------------
  |  Branch (1519:25): [True: 0, False: 0]
  |  Branch (1519:52): [True: 0, False: 0]
  |  Branch (1519:81): [True: 0, False: 0]
  |  Branch (1519:109): [True: 0, False: 0]
  ------------------
 1520|      0|                        const char* message = "argument cannot drop memory qualifier when passed to formal parameter";
 1521|      0|                        if (argQualifier.volatil && ! formalQualifier.volatil)
  ------------------
  |  Branch (1521:29): [True: 0, False: 0]
  |  Branch (1521:53): [True: 0, False: 0]
  ------------------
 1522|      0|                            error(arguments->getLoc(), message, "volatile", "");
 1523|      0|                        if (argQualifier.coherent && ! (formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1523:29): [True: 0, False: 0]
  |  Branch (1523:57): [True: 0, False: 0]
  |  Branch (1523:91): [True: 0, False: 0]
  ------------------
 1524|      0|                            error(arguments->getLoc(), message, "coherent", "");
 1525|      0|                        if (argQualifier.devicecoherent && ! (formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1525:29): [True: 0, False: 0]
  |  Branch (1525:63): [True: 0, False: 0]
  |  Branch (1525:97): [True: 0, False: 0]
  ------------------
 1526|      0|                            error(arguments->getLoc(), message, "devicecoherent", "");
 1527|      0|                        if (argQualifier.queuefamilycoherent && ! (formalQualifier.queuefamilycoherent || formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1527:29): [True: 0, False: 0]
  |  Branch (1527:68): [True: 0, False: 0]
  |  Branch (1527:107): [True: 0, False: 0]
  |  Branch (1527:141): [True: 0, False: 0]
  ------------------
 1528|      0|                            error(arguments->getLoc(), message, "queuefamilycoherent", "");
 1529|      0|                        if (argQualifier.workgroupcoherent && ! (formalQualifier.workgroupcoherent || formalQualifier.queuefamilycoherent || formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1529:29): [True: 0, False: 0]
  |  Branch (1529:66): [True: 0, False: 0]
  |  Branch (1529:103): [True: 0, False: 0]
  |  Branch (1529:142): [True: 0, False: 0]
  |  Branch (1529:176): [True: 0, False: 0]
  ------------------
 1530|      0|                            error(arguments->getLoc(), message, "workgroupcoherent", "");
 1531|      0|                        if (argQualifier.subgroupcoherent && ! (formalQualifier.subgroupcoherent || formalQualifier.workgroupcoherent || formalQualifier.queuefamilycoherent || formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1531:29): [True: 0, False: 0]
  |  Branch (1531:65): [True: 0, False: 0]
  |  Branch (1531:101): [True: 0, False: 0]
  |  Branch (1531:138): [True: 0, False: 0]
  |  Branch (1531:177): [True: 0, False: 0]
  |  Branch (1531:211): [True: 0, False: 0]
  ------------------
 1532|      0|                            error(arguments->getLoc(), message, "subgroupcoherent", "");
 1533|      0|                        if (argQualifier.readonly && ! formalQualifier.readonly)
  ------------------
  |  Branch (1533:29): [True: 0, False: 0]
  |  Branch (1533:54): [True: 0, False: 0]
  ------------------
 1534|      0|                            error(arguments->getLoc(), message, "readonly", "");
 1535|      0|                        if (argQualifier.writeonly && ! formalQualifier.writeonly)
  ------------------
  |  Branch (1535:29): [True: 0, False: 0]
  |  Branch (1535:55): [True: 0, False: 0]
  ------------------
 1536|      0|                            error(arguments->getLoc(), message, "writeonly", "");
 1537|      0|                        if (argQualifier.nontemporal && ! formalQualifier.nontemporal)
  ------------------
  |  Branch (1537:29): [True: 0, False: 0]
  |  Branch (1537:57): [True: 0, False: 0]
  ------------------
 1538|      0|                            error(arguments->getLoc(), message, "nontemporal", "");
 1539|       |                        // Don't check 'restrict', it is different than the rest:
 1540|       |                        // "...but only restrict can be taken away from a calling argument, by a formal parameter that
 1541|       |                        // lacks the restrict qualifier..."
 1542|      0|                    }
 1543|      0|                    if (!builtIn && argQualifier.getFormat() != formalQualifier.getFormat()) {
  ------------------
  |  Branch (1543:25): [True: 0, False: 0]
  |  Branch (1543:37): [True: 0, False: 0]
  ------------------
 1544|       |                        // we have mismatched formats, which should only be allowed if writeonly
 1545|       |                        // and at least one format is unknown
 1546|      0|                        if (!formalQualifier.isWriteOnly() || (formalQualifier.getFormat() != ElfNone &&
  ------------------
  |  Branch (1546:29): [True: 0, False: 0]
  |  Branch (1546:64): [True: 0, False: 0]
  ------------------
 1547|      0|                                                                  argQualifier.getFormat() != ElfNone))
  ------------------
  |  Branch (1547:67): [True: 0, False: 0]
  ------------------
 1548|      0|                            error(arguments->getLoc(), "image formats must match", "format", "");
 1549|      0|                    }
 1550|      0|                    if (builtIn && arg->getAsTyped()->getType().contains16BitFloat())
  ------------------
  |  Branch (1550:25): [True: 0, False: 0]
  |  Branch (1550:36): [True: 0, False: 0]
  ------------------
 1551|      0|                        requireFloat16Arithmetic(arguments->getLoc(), "built-in function", "float16 types can only be in uniform block or buffer storage");
 1552|      0|                    if (builtIn && arg->getAsTyped()->getType().contains16BitInt())
  ------------------
  |  Branch (1552:25): [True: 0, False: 0]
  |  Branch (1552:36): [True: 0, False: 0]
  ------------------
 1553|      0|                        requireInt16Arithmetic(arguments->getLoc(), "built-in function", "(u)int16 types can only be in uniform block or buffer storage");
 1554|      0|                    if (builtIn && arg->getAsTyped()->getType().contains8BitInt())
  ------------------
  |  Branch (1554:25): [True: 0, False: 0]
  |  Branch (1554:36): [True: 0, False: 0]
  ------------------
 1555|      0|                        requireInt8Arithmetic(arguments->getLoc(), "built-in function", "(u)int8 types can only be in uniform block or buffer storage");
 1556|       |
 1557|       |                    // Check that coopVecOuterProductAccumulateNV vector component types match
 1558|      0|                    if (builtIn && fnCandidate->getBuiltInOp() == EOpCooperativeVectorOuterProductAccumulateNV &&
  ------------------
  |  Branch (1558:25): [True: 0, False: 0]
  |  Branch (1558:36): [True: 0, False: 0]
  ------------------
 1559|      0|                        i == 1 && arg->getAsTyped()->getType().getBasicType() != aggregate->getSequence()[0]->getAsTyped()->getType().getBasicType())
  ------------------
  |  Branch (1559:25): [True: 0, False: 0]
  |  Branch (1559:35): [True: 0, False: 0]
  ------------------
 1560|      0|                        error(arguments->getLoc(), "cooperative vector basic types must match", fnCandidate->getName().c_str(), "");
 1561|       |
 1562|       |                    // Check that coopVecLoadNV and coopVecStoreNV buffer parameter is in buffer or shared storage
 1563|      0|                    if (builtIn && (fnCandidate->getBuiltInOp() == EOpCooperativeVectorLoadNV ||
  ------------------
  |  Branch (1563:25): [True: 0, False: 0]
  |  Branch (1563:37): [True: 0, False: 0]
  ------------------
 1564|      0|                                    fnCandidate->getBuiltInOp() == EOpCooperativeVectorStoreNV) &&
  ------------------
  |  Branch (1564:37): [True: 0, False: 0]
  ------------------
 1565|      0|                        i == 1) {
  ------------------
  |  Branch (1565:25): [True: 0, False: 0]
  ------------------
 1566|      0|                        TStorageQualifier storage = arg->getAsTyped()->getType().getQualifier().storage;
 1567|      0|                        if (storage != EvqBuffer && storage != EvqShared) {
  ------------------
  |  Branch (1567:29): [True: 0, False: 0]
  |  Branch (1567:53): [True: 0, False: 0]
  ------------------
 1568|      0|                            error(arguments->getLoc(), "buffer argument must be in buffer or shared storage",
 1569|      0|                                  fnCandidate->getName().c_str(), "");
 1570|      0|                        }
 1571|      0|                    }
 1572|       |
 1573|      0|                    if (argType.isLongVector()) {
  ------------------
  |  Branch (1573:25): [True: 0, False: 0]
  ------------------
 1574|      0|                        hasLongVectorArg = true;
 1575|      0|                    }
 1576|       |
 1577|       |                    // TODO 4.5 functionality:  A shader will fail to compile
 1578|       |                    // if the value passed to the memargument of an atomic memory function does not correspond to a buffer or
 1579|       |                    // shared variable. It is acceptable to pass an element of an array or a single component of a vector to the
 1580|       |                    // memargument of an atomic memory function, as long as the underlying array or vector is a buffer or
 1581|       |                    // shared variable.
 1582|      0|                }
 1583|       |
 1584|       |                // Convert 'in' arguments
 1585|      0|                addInputArgumentConversions(*fnCandidate, arguments);  // arguments may be modified if it's just a single argument node
 1586|      0|            }
 1587|       |
 1588|      0|            if (builtIn && fnCandidate->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1588:17): [True: 0, False: 0]
  |  Branch (1588:28): [True: 0, False: 0]
  ------------------
 1589|       |                // A function call mapped to a built-in operation.
 1590|      0|                result = handleBuiltInFunctionCall(loc, arguments, *fnCandidate);
 1591|      0|            } else if (fnCandidate->getBuiltInOp() == EOpSpirvInst) {
  ------------------
  |  Branch (1591:24): [True: 0, False: 0]
  ------------------
 1592|       |                // When SPIR-V instruction qualifier is specified, the function call is still mapped to a built-in operation.
 1593|      0|                result = handleBuiltInFunctionCall(loc, arguments, *fnCandidate);
 1594|      0|            } else {
 1595|       |                // This is a function call not mapped to built-in operator.
 1596|       |                // It could still be a built-in function, but only if PureOperatorBuiltins == false.
 1597|      0|                result = intermediate.setAggregateOperator(arguments, EOpFunctionCall, fnCandidate->getType(), loc);
 1598|      0|                TIntermAggregate* call = result->getAsAggregate();
 1599|      0|                call->setName(fnCandidate->getMangledName());
 1600|       |
 1601|       |                // this is how we know whether the given function is a built-in function or a user-defined function
 1602|       |                // if builtIn == false, it's a userDefined -> could be an overloaded built-in function also
 1603|       |                // if builtIn == true, it's definitely a built-in function with EOpNull
 1604|      0|                if (! builtIn) {
  ------------------
  |  Branch (1604:21): [True: 0, False: 0]
  ------------------
 1605|      0|                    call->setUserDefined();
 1606|      0|                    if (symbolTable.atGlobalLevel()) {
  ------------------
  |  Branch (1606:25): [True: 0, False: 0]
  ------------------
 1607|      0|                        requireProfile(loc, ~EEsProfile, "calling user function from global scope");
 1608|      0|                        intermediate.addToCallGraph(infoSink, "main(", fnCandidate->getMangledName());
 1609|      0|                    } else
 1610|      0|                        intermediate.addToCallGraph(infoSink, currentCaller, fnCandidate->getMangledName());
 1611|      0|                }
 1612|       |
 1613|      0|                if (builtIn)
  ------------------
  |  Branch (1613:21): [True: 0, False: 0]
  ------------------
 1614|      0|                    nonOpBuiltInCheck(loc, *fnCandidate, *call);
 1615|      0|                else
 1616|      0|                    userFunctionCallCheck(loc, *call);
 1617|      0|            }
 1618|       |
 1619|      0|            if (hasLongVectorArg && fnCandidate->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1619:17): [True: 0, False: 0]
  |  Branch (1619:37): [True: 0, False: 0]
  ------------------
 1620|      0|                TType longVectorResultType(EbtVoid);
 1621|      0|                handleLongVectorBuiltin(loc, fnCandidate, &longVectorResultType, arguments);
 1622|      0|                result->setType(longVectorResultType);
 1623|      0|            }
 1624|       |
 1625|       |            // Convert 'out' arguments.  If it was a constant folded built-in, it won't be an aggregate anymore.
 1626|       |            // Built-ins with a single argument aren't called with an aggregate, but they also don't have an output.
 1627|       |            // Also, build the qualifier list for user function calls, which are always called with an aggregate.
 1628|      0|            if (result->getAsAggregate()) {
  ------------------
  |  Branch (1628:17): [True: 0, False: 0]
  ------------------
 1629|      0|                TQualifierList& qualifierList = result->getAsAggregate()->getQualifierList();
 1630|      0|                for (int i = 0; i < fnCandidate->getParamCount(); ++i) {
  ------------------
  |  Branch (1630:33): [True: 0, False: 0]
  ------------------
 1631|      0|                    TStorageQualifier qual = (*fnCandidate)[i].type->getQualifier().storage;
 1632|      0|                    qualifierList.push_back(qual);
 1633|      0|                }
 1634|      0|                result = addOutputArgumentConversions(*fnCandidate, *result->getAsAggregate());
 1635|      0|            }
 1636|       |
 1637|      0|            handleCoopMat2FunctionCall(loc, fnCandidate, result, arguments);
 1638|       |
 1639|      0|            handleVector2CoopMatConversionCall(loc, fnCandidate, result, arguments);
 1640|       |
 1641|      0|            if (result->getAsTyped()->getType().isCoopVecOrLongVector() &&
  ------------------
  |  Branch (1641:17): [True: 0, False: 0]
  ------------------
 1642|      0|               !result->getAsTyped()->getType().isParameterized()) {
  ------------------
  |  Branch (1642:16): [True: 0, False: 0]
  ------------------
 1643|      0|                if (auto unaryNode = result->getAsUnaryNode())
  ------------------
  |  Branch (1643:26): [True: 0, False: 0]
  ------------------
 1644|      0|                    result->setType(unaryNode->getOperand()->getAsTyped()->getType());
 1645|      0|                else
 1646|      0|                    result->setType(result->getAsAggregate()->getSequence()[0]->getAsTyped()->getType());
 1647|      0|            }
 1648|       |
 1649|      0|            if (fnCandidate->getBuiltInOp() == EOpConstructSaturated) {
  ------------------
  |  Branch (1649:17): [True: 0, False: 0]
  ------------------
 1650|       |                // result type is taken from the first parameter
 1651|      0|                TIntermAggregate* aggregate = result->getAsAggregate();
 1652|      0|                if (aggregate != nullptr && aggregate->getSequence().size() == 2)
  ------------------
  |  Branch (1652:21): [True: 0, False: 0]
  |  Branch (1652:45): [True: 0, False: 0]
  ------------------
 1653|      0|                    result->setType(aggregate->getSequence()[0]->getAsTyped()->getType());
 1654|      0|                else if (aggregate == nullptr)
  ------------------
  |  Branch (1654:26): [True: 0, False: 0]
  ------------------
 1655|       |                    // a call with the wrong argument count folds away from an aggregate and
 1656|       |                    // never reaches builtInOpCheck; reject it here before SPIR-V generation
 1657|      0|                    error(loc, "requires exactly two parameters", "", "");
 1658|      0|            }
 1659|      0|        }
 1660|      0|    }
 1661|       |
 1662|       |    // generic error recovery
 1663|       |    // TODO: simplification: localize all the error recoveries that look like this, and taking type into account to reduce cascades
 1664|      3|    if (result == nullptr)
  ------------------
  |  Branch (1664:9): [True: 0, False: 3]
  ------------------
 1665|      0|        result = intermediate.addConstantUnion(0.0, EbtFloat, loc);
 1666|       |
 1667|      3|    return result;
 1668|      3|}
_ZN7glslang13TParseContext21handleConstructorCallERKNS_10TSourceLocERKNS_11TPublicTypeE:
 4424|      3|{
 4425|      3|    TType type(publicType);
 4426|      3|    type.getQualifier().precision = EpqNone;
 4427|       |
 4428|      3|    if (type.isArray()) {
  ------------------
  |  Branch (4428:9): [True: 0, False: 3]
  ------------------
 4429|      0|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed constructor");
 4430|      0|        profileRequires(loc, EEsProfile, 300, nullptr, "arrayed constructor");
 4431|      0|    }
 4432|       |
 4433|       |    // Reuse EOpConstructTextureSampler for bindless image constructor
 4434|       |    // uvec2 imgHandle;
 4435|       |    // imageLoad(image1D(imgHandle), 0);
 4436|      3|    if (type.isImage() && extensionTurnedOn(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (4436:9): [True: 0, False: 3]
  |  Branch (4436:27): [True: 0, False: 0]
  ------------------
 4437|      0|    {
 4438|      0|        intermediate.setBindlessImageMode(currentCaller, AstRefTypeFunc);
 4439|      0|    }
 4440|       |
 4441|      3|    TOperator op = intermediate.mapTypeToConstructorOp(type);
 4442|       |
 4443|      3|    if (op == EOpNull) {
  ------------------
  |  Branch (4443:9): [True: 0, False: 3]
  ------------------
 4444|      0|        if (intermediate.getEnhancedMsgs() && type.getBasicType() == EbtSampler)
  ------------------
  |  Branch (4444:13): [True: 0, False: 0]
  |  Branch (4444:47): [True: 0, False: 0]
  ------------------
 4445|      0|            error(loc, "function not supported in this version; use texture() instead", "texture*D*", "");
 4446|      0|        else
 4447|      0|            error(loc, "cannot construct this type", type.getBasicString(), "");
 4448|      0|        op = EOpConstructFloat;
 4449|      0|        TType errorType(EbtFloat);
 4450|      0|        type.shallowCopy(errorType);
 4451|      0|    }
 4452|       |
 4453|      3|    TString empty("");
 4454|       |
 4455|      3|    return new TFunction(&empty, type, op);
 4456|      3|}
_ZN7glslang13TParseContext24handlePrecisionQualifierERKNS_10TSourceLocERNS_10TQualifierENS_19TPrecisionQualifierE:
 4460|  2.89k|{
 4461|  2.89k|    if (obeyPrecisionQualifiers())
  ------------------
  |  Branch (4461:9): [True: 2.89k, False: 0]
  ------------------
 4462|  2.89k|        qualifier.precision = precision;
 4463|  2.89k|}
_ZN7glslang13TParseContext23checkPrecisionQualifierERKNS_10TSourceLocENS_19TPrecisionQualifierE:
 4468|  2.89k|{
 4469|  2.89k|    if (precisionManager.shouldWarnAboutDefaults()) {
  ------------------
  |  Branch (4469:9): [True: 0, False: 2.89k]
  ------------------
 4470|      0|        warn(loc, "all default precisions are highp; use precision statements to quiet warning, e.g.:\n"
 4471|      0|                  "         \"precision mediump int; precision highp float;\"", "", "");
 4472|      0|        precisionManager.defaultWarningGiven();
 4473|      0|    }
 4474|  2.89k|}
_ZN7glslang13TParseContext13variableCheckERPNS_12TIntermTypedE:
 4512|    702|{
 4513|    702|    TIntermSymbol* symbol = nodePtr->getAsSymbolNode();
 4514|    702|    if (! symbol)
  ------------------
  |  Branch (4514:9): [True: 702, False: 0]
  ------------------
 4515|    702|        return;
 4516|       |
 4517|      0|    if (symbol->getType().getBasicType() == EbtVoid) {
  ------------------
  |  Branch (4517:9): [True: 0, False: 0]
  ------------------
 4518|      0|        const char *extraInfoFormat = "";
 4519|      0|        if (spvVersion.vulkan != 0 && symbol->getName() == "gl_VertexID") {
  ------------------
  |  Branch (4519:13): [True: 0, False: 0]
  |  Branch (4519:39): [True: 0, False: 0]
  ------------------
 4520|      0|          extraInfoFormat = "(Did you mean gl_VertexIndex?)";
 4521|      0|        } else if (spvVersion.vulkan != 0 && symbol->getName() == "gl_InstanceID") {
  ------------------
  |  Branch (4521:20): [True: 0, False: 0]
  |  Branch (4521:46): [True: 0, False: 0]
  ------------------
 4522|      0|          extraInfoFormat = "(Did you mean gl_InstanceIndex?)";
 4523|      0|        }
 4524|      0|        error(symbol->getLoc(), "undeclared identifier", symbol->getName().c_str(), "%s", extraInfoFormat);
 4525|       |
 4526|       |        // Add to symbol table to prevent future error messages on the same name
 4527|      0|        if (symbol->getName().size() > 0) {
  ------------------
  |  Branch (4527:13): [True: 0, False: 0]
  ------------------
 4528|      0|            TVariable* fakeVariable = new TVariable(&symbol->getName(), TType(EbtFloat));
 4529|      0|            symbolTable.insert(*fakeVariable);
 4530|       |
 4531|       |            // substitute a symbol node for this new variable
 4532|      0|            nodePtr = intermediate.addSymbol(*fakeVariable, symbol->getLoc());
 4533|      0|        }
 4534|      0|    } else {
 4535|      0|        switch (symbol->getQualifier().storage) {
 4536|      0|        case EvqPointCoord:
  ------------------
  |  Branch (4536:9): [True: 0, False: 0]
  ------------------
 4537|      0|            profileRequires(symbol->getLoc(), ENoProfile, 120, nullptr, "gl_PointCoord");
 4538|      0|            break;
 4539|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (4539:9): [True: 0, False: 0]
  ------------------
 4540|      0|        }
 4541|      0|    }
 4542|      0|}
_ZN7glslang13TParseContext16rValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE:
 4671|    440|{
 4672|       |    // Let the base class check errors
 4673|    440|    TParseContextBase::rValueErrorCheck(loc, op, node);
 4674|       |
 4675|    440|    TIntermSymbol* symNode = node->getAsSymbolNode();
 4676|    440|    if (!(symNode && symNode->getQualifier().isWriteOnly())) // base class checks
  ------------------
  |  Branch (4676:11): [True: 0, False: 440]
  |  Branch (4676:22): [True: 0, False: 0]
  ------------------
 4677|    440|        if (symNode && symNode->getQualifier().isExplicitInterpolation())
  ------------------
  |  Branch (4677:13): [True: 0, False: 440]
  |  Branch (4677:24): [True: 0, False: 0]
  ------------------
 4678|      0|            error(loc, "can't read from explicitly-interpolated object: ", op, "%s", symNode->getName().c_str());
 4679|       |
 4680|       |    // local_size_{xyz} must be assigned or specialized before gl_WorkGroupSize can be assigned.
 4681|    440|    if(node->getQualifier().builtIn == EbvWorkGroupSize &&
  ------------------
  |  Branch (4681:8): [True: 0, False: 440]
  ------------------
 4682|      0|       !(intermediate.isLocalSizeSet() || intermediate.isLocalSizeSpecialized()))
  ------------------
  |  Branch (4682:10): [True: 0, False: 0]
  |  Branch (4682:43): [True: 0, False: 0]
  ------------------
 4683|      0|        error(loc, "can't read from gl_WorkGroupSize before a fixed workgroup size has been declared", op, "");
 4684|    440|}
_ZN7glslang13TParseContext11globalCheckERKNS_10TSourceLocEPKc:
 4731|  2.17k|{
 4732|  2.17k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (4732:9): [True: 0, False: 2.17k]
  ------------------
 4733|      0|        error(loc, "not allowed in nested scope", token, "");
 4734|  2.17k|}
_ZN7glslang13TParseContext18reservedErrorCheckERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4740|  10.1k|{
 4741|       |    // "Identifiers starting with "gl_" are reserved for use by OpenGL, and may not be
 4742|       |    // declared in a shader; this results in a compile-time error."
 4743|  10.1k|    if (! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (4743:9): [True: 0, False: 10.1k]
  ------------------
 4744|       |        // The extension GL_EXT_conservative_depth allows us to declare "gl_FragDepth".
 4745|      0|        if (identifier == "gl_FragDepth" && extensionTurnedOn(E_GL_EXT_conservative_depth))
  ------------------
  |  Branch (4745:13): [True: 0, False: 0]
  |  Branch (4745:45): [True: 0, False: 0]
  ------------------
 4746|      0|            return;
 4747|       |
 4748|      0|        if (builtInName(identifier) && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics))
  ------------------
  |  Branch (4748:13): [True: 0, False: 0]
  |  Branch (4748:40): [True: 0, False: 0]
  ------------------
 4749|       |            // The extension GL_EXT_spirv_intrinsics allows us to declare identifiers starting with "gl_".
 4750|      0|            error(loc, "identifiers starting with \"gl_\" are reserved", identifier.c_str(), "");
 4751|       |
 4752|       |        // "__" are not supposed to be an error.  ES 300 (and desktop) added the clarification:
 4753|       |        // "In addition, all identifiers containing two consecutive underscores (__) are
 4754|       |        // reserved; using such a name does not itself result in an error, but may result
 4755|       |        // in undefined behavior."
 4756|       |        // however, before that, ES tests required an error.
 4757|      0|        if (identifier.find("__") != TString::npos && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics)) {
  ------------------
  |  Branch (4757:13): [True: 0, False: 0]
  |  Branch (4757:55): [True: 0, False: 0]
  ------------------
 4758|       |            // The extension GL_EXT_spirv_intrinsics allows us to declare identifiers starting with "__".
 4759|      0|            if (isEsProfile() && version < 300)
  ------------------
  |  Branch (4759:17): [True: 0, False: 0]
  |  Branch (4759:34): [True: 0, False: 0]
  ------------------
 4760|      0|                error(loc, "identifiers containing consecutive underscores (\"__\") are reserved, and an error if version < 300", identifier.c_str(), "");
 4761|      0|            else
 4762|      0|                warn(loc, "identifiers containing consecutive underscores (\"__\") are reserved", identifier.c_str(), "");
 4763|      0|        }
 4764|      0|    }
 4765|  10.1k|}
_ZN7glslang13TParseContext21lineContinuationCheckERKNS_10TSourceLocEb:
 4809|  1.39k|{
 4810|  1.39k|    const char* message = "line continuation";
 4811|       |
 4812|  1.39k|    bool lineContinuationAllowed = (isEsProfile() && version >= 300) ||
  ------------------
  |  Branch (4812:37): [True: 1.39k, False: 0]
  |  Branch (4812:54): [True: 0, False: 1.39k]
  ------------------
 4813|  1.39k|                                   (!isEsProfile() && (version >= 420 || extensionTurnedOn(E_GL_ARB_shading_language_420pack)));
  ------------------
  |  Branch (4813:37): [True: 0, False: 1.39k]
  |  Branch (4813:56): [True: 0, False: 0]
  |  Branch (4813:74): [True: 0, False: 0]
  ------------------
 4814|       |
 4815|  1.39k|    if (endOfComment) {
  ------------------
  |  Branch (4815:9): [True: 1.36k, False: 29]
  ------------------
 4816|  1.36k|        if (lineContinuationAllowed)
  ------------------
  |  Branch (4816:13): [True: 0, False: 1.36k]
  ------------------
 4817|      0|            warn(loc, "used at end of comment; the following line is still part of the comment", message, "");
 4818|  1.36k|        else
 4819|  1.36k|            warn(loc, "used at end of comment, but this version does not provide line continuation", message, "");
 4820|       |
 4821|  1.36k|        return lineContinuationAllowed;
 4822|  1.36k|    }
 4823|       |
 4824|     29|    if (relaxedErrors()) {
  ------------------
  |  Branch (4824:9): [True: 2, False: 27]
  ------------------
 4825|      2|        if (! lineContinuationAllowed)
  ------------------
  |  Branch (4825:13): [True: 2, False: 0]
  ------------------
 4826|      2|            warn(loc, "not allowed in this version", message, "");
 4827|      2|        return true;
 4828|     27|    } else {
 4829|     27|        profileRequires(loc, EEsProfile, 300, nullptr, message);
 4830|     27|        profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, message);
 4831|     27|    }
 4832|       |
 4833|     27|    return lineContinuationAllowed;
 4834|     29|}
_ZN7glslang13TParseContext11builtInNameERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4837|  1.19k|{
 4838|  1.19k|    return identifier.compare(0, 3, "gl_") == 0;
 4839|  1.19k|}
_ZN7glslang13TParseContext16constructorErrorERKNS_10TSourceLocEP11TIntermNodeRNS_9TFunctionENS_9TOperatorERNS_5TTypeE:
 4861|      3|{
 4862|       |    // See if the constructor does not establish the main type, only requalifies
 4863|       |    // it, in which case the type comes from the argument instead of from the
 4864|       |    // constructor function.
 4865|      3|    switch (op) {
 4866|      0|    case EOpConstructNonuniform:
  ------------------
  |  Branch (4866:5): [True: 0, False: 3]
  ------------------
 4867|      0|        if (node != nullptr && node->getAsTyped() != nullptr) {
  ------------------
  |  Branch (4867:13): [True: 0, False: 0]
  |  Branch (4867:32): [True: 0, False: 0]
  ------------------
 4868|      0|            type.shallowCopy(node->getAsTyped()->getType());
 4869|      0|            type.getQualifier().makeTemporary();
 4870|      0|            type.getQualifier().nonUniform = true;
 4871|      0|        }
 4872|      0|        break;
 4873|      3|    default:
  ------------------
  |  Branch (4873:5): [True: 3, False: 0]
  ------------------
 4874|      3|        type.shallowCopy(function.getType());
 4875|      3|        break;
 4876|      3|    }
 4877|       |
 4878|      3|    TString constructorString;
 4879|      3|    if (intermediate.getEnhancedMsgs())
  ------------------
  |  Branch (4879:9): [True: 0, False: 3]
  ------------------
 4880|      0|        constructorString.append(type.getCompleteString(true, false, false, true)).append(" constructor");
 4881|      3|    else
 4882|      3|        constructorString.append("constructor");
 4883|       |
 4884|       |    // See if it's a matrix
 4885|      3|    bool constructingMatrix = false;
 4886|      3|    switch (op) {
 4887|      0|    case EOpConstructTextureSampler:
  ------------------
  |  Branch (4887:5): [True: 0, False: 3]
  ------------------
 4888|      0|        return constructorTextureSamplerError(loc, function);
 4889|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (4889:5): [True: 0, False: 3]
  ------------------
 4890|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (4890:5): [True: 0, False: 3]
  ------------------
 4891|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (4891:5): [True: 0, False: 3]
  ------------------
 4892|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (4892:5): [True: 0, False: 3]
  ------------------
 4893|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (4893:5): [True: 0, False: 3]
  ------------------
 4894|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (4894:5): [True: 0, False: 3]
  ------------------
 4895|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (4895:5): [True: 0, False: 3]
  ------------------
 4896|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (4896:5): [True: 0, False: 3]
  ------------------
 4897|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (4897:5): [True: 0, False: 3]
  ------------------
 4898|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (4898:5): [True: 0, False: 3]
  ------------------
 4899|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (4899:5): [True: 0, False: 3]
  ------------------
 4900|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (4900:5): [True: 0, False: 3]
  ------------------
 4901|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (4901:5): [True: 0, False: 3]
  ------------------
 4902|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (4902:5): [True: 0, False: 3]
  ------------------
 4903|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (4903:5): [True: 0, False: 3]
  ------------------
 4904|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (4904:5): [True: 0, False: 3]
  ------------------
 4905|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (4905:5): [True: 0, False: 3]
  ------------------
 4906|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (4906:5): [True: 0, False: 3]
  ------------------
 4907|      0|    case EOpConstructF16Mat2x2:
  ------------------
  |  Branch (4907:5): [True: 0, False: 3]
  ------------------
 4908|      0|    case EOpConstructF16Mat2x3:
  ------------------
  |  Branch (4908:5): [True: 0, False: 3]
  ------------------
 4909|      0|    case EOpConstructF16Mat2x4:
  ------------------
  |  Branch (4909:5): [True: 0, False: 3]
  ------------------
 4910|      0|    case EOpConstructF16Mat3x2:
  ------------------
  |  Branch (4910:5): [True: 0, False: 3]
  ------------------
 4911|      0|    case EOpConstructF16Mat3x3:
  ------------------
  |  Branch (4911:5): [True: 0, False: 3]
  ------------------
 4912|      0|    case EOpConstructF16Mat3x4:
  ------------------
  |  Branch (4912:5): [True: 0, False: 3]
  ------------------
 4913|      0|    case EOpConstructF16Mat4x2:
  ------------------
  |  Branch (4913:5): [True: 0, False: 3]
  ------------------
 4914|      0|    case EOpConstructF16Mat4x3:
  ------------------
  |  Branch (4914:5): [True: 0, False: 3]
  ------------------
 4915|      0|    case EOpConstructF16Mat4x4:
  ------------------
  |  Branch (4915:5): [True: 0, False: 3]
  ------------------
 4916|      0|        constructingMatrix = true;
 4917|      0|        break;
 4918|      3|    default:
  ------------------
  |  Branch (4918:5): [True: 3, False: 0]
  ------------------
 4919|      3|        break;
 4920|      3|    }
 4921|       |
 4922|       |    //
 4923|       |    // Walk the arguments for first-pass checks and collection of information.
 4924|       |    //
 4925|       |
 4926|      3|    int size = 0;
 4927|      3|    bool constType = true;
 4928|      3|    bool specConstType = false;   // value is only valid if constType is true
 4929|      3|    bool full = false;
 4930|      3|    bool overFull = false;
 4931|      3|    bool matrixInMatrix = false;
 4932|      3|    bool arrayArg = false;
 4933|      3|    bool floatArgument = false;
 4934|      3|    bool intArgument = false;
 4935|     12|    for (int arg = 0; arg < function.getParamCount(); ++arg) {
  ------------------
  |  Branch (4935:23): [True: 9, False: 3]
  ------------------
 4936|      9|        if (function[arg].type->isArray()) {
  ------------------
  |  Branch (4936:13): [True: 0, False: 9]
  ------------------
 4937|      0|            if (function[arg].type->isUnsizedArray()) {
  ------------------
  |  Branch (4937:17): [True: 0, False: 0]
  ------------------
 4938|       |                // Can't construct from an unsized array.
 4939|      0|                error(loc, "array argument must be sized", constructorString.c_str(), "");
 4940|      0|                return true;
 4941|      0|            }
 4942|      0|            arrayArg = true;
 4943|      0|        }
 4944|      9|        if (function[arg].type->getBasicType() == EbtString) {
  ------------------
  |  Branch (4944:13): [True: 0, False: 9]
  ------------------
 4945|      0|            error(loc, "cannot convert a string", constructorString.c_str(), "");
 4946|      0|            return true;
 4947|      0|        }
 4948|      9|        if (constructingMatrix && function[arg].type->isMatrix())
  ------------------
  |  Branch (4948:13): [True: 0, False: 9]
  |  Branch (4948:35): [True: 0, False: 0]
  ------------------
 4949|      0|            matrixInMatrix = true;
 4950|       |
 4951|       |        // 'full' will go to true when enough args have been seen.  If we loop
 4952|       |        // again, there is an extra argument.
 4953|      9|        if (full) {
  ------------------
  |  Branch (4953:13): [True: 0, False: 9]
  ------------------
 4954|       |            // For vectors and matrices, it's okay to have too many components
 4955|       |            // available, but not okay to have unused arguments.
 4956|      0|            overFull = true;
 4957|      0|        }
 4958|       |
 4959|      9|        size += function[arg].type->computeNumComponents();
 4960|      9|        if (op != EOpConstructStruct && ! type.isArray() && size >= type.computeNumComponents())
  ------------------
  |  Branch (4960:13): [True: 9, False: 0]
  |  Branch (4960:41): [True: 9, False: 0]
  |  Branch (4960:61): [True: 3, False: 6]
  ------------------
 4961|      3|            full = true;
 4962|       |
 4963|      9|        if (! function[arg].type->getQualifier().isConstant())
  ------------------
  |  Branch (4963:13): [True: 0, False: 9]
  ------------------
 4964|      0|            constType = false;
 4965|      9|        if (function[arg].type->getQualifier().isSpecConstant())
  ------------------
  |  Branch (4965:13): [True: 0, False: 9]
  ------------------
 4966|      0|            specConstType = true;
 4967|      9|        if (function[arg].type->isFloatingDomain())
  ------------------
  |  Branch (4967:13): [True: 0, False: 9]
  ------------------
 4968|      0|            floatArgument = true;
 4969|      9|        if (function[arg].type->isIntegerDomain())
  ------------------
  |  Branch (4969:13): [True: 9, False: 0]
  ------------------
 4970|      9|            intArgument = true;
 4971|      9|        if (type.isStruct()) {
  ------------------
  |  Branch (4971:13): [True: 0, False: 9]
  ------------------
 4972|      0|            if (function[arg].type->contains16BitFloat()) {
  ------------------
  |  Branch (4972:17): [True: 0, False: 0]
  ------------------
 4973|      0|                requireFloat16Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 16-bit type");
 4974|      0|            }
 4975|      0|            if (function[arg].type->contains16BitInt()) {
  ------------------
  |  Branch (4975:17): [True: 0, False: 0]
  ------------------
 4976|      0|                requireInt16Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 16-bit type");
 4977|      0|            }
 4978|      0|            if (function[arg].type->contains8BitInt()) {
  ------------------
  |  Branch (4978:17): [True: 0, False: 0]
  ------------------
 4979|      0|                requireInt8Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 8-bit type");
 4980|      0|            }
 4981|      0|        }
 4982|      9|    }
 4983|      3|    if (op == EOpConstructNonuniform)
  ------------------
  |  Branch (4983:9): [True: 0, False: 3]
  ------------------
 4984|      0|        constType = false;
 4985|       |
 4986|      3|    switch (op) {
 4987|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (4987:5): [True: 0, False: 3]
  ------------------
 4988|      0|    case EOpConstructF16Vec2:
  ------------------
  |  Branch (4988:5): [True: 0, False: 3]
  ------------------
 4989|      0|    case EOpConstructF16Vec3:
  ------------------
  |  Branch (4989:5): [True: 0, False: 3]
  ------------------
 4990|      0|    case EOpConstructF16Vec4:
  ------------------
  |  Branch (4990:5): [True: 0, False: 3]
  ------------------
 4991|      0|        if (type.isArray())
  ------------------
  |  Branch (4991:13): [True: 0, False: 0]
  ------------------
 4992|      0|            requireFloat16Arithmetic(loc, constructorString.c_str(), "16-bit arrays not supported");
 4993|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (4993:13): [True: 0, False: 0]
  |  Branch (4993:32): [True: 0, False: 0]
  ------------------
 4994|      0|            requireFloat16Arithmetic(loc, constructorString.c_str(), "16-bit vectors only take vector types");
 4995|      0|        break;
 4996|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (4996:5): [True: 0, False: 3]
  ------------------
 4997|      0|    case EOpConstructU16Vec2:
  ------------------
  |  Branch (4997:5): [True: 0, False: 3]
  ------------------
 4998|      0|    case EOpConstructU16Vec3:
  ------------------
  |  Branch (4998:5): [True: 0, False: 3]
  ------------------
 4999|      0|    case EOpConstructU16Vec4:
  ------------------
  |  Branch (4999:5): [True: 0, False: 3]
  ------------------
 5000|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (5000:5): [True: 0, False: 3]
  ------------------
 5001|      0|    case EOpConstructI16Vec2:
  ------------------
  |  Branch (5001:5): [True: 0, False: 3]
  ------------------
 5002|      0|    case EOpConstructI16Vec3:
  ------------------
  |  Branch (5002:5): [True: 0, False: 3]
  ------------------
 5003|      0|    case EOpConstructI16Vec4:
  ------------------
  |  Branch (5003:5): [True: 0, False: 3]
  ------------------
 5004|      0|        if (type.isArray())
  ------------------
  |  Branch (5004:13): [True: 0, False: 0]
  ------------------
 5005|      0|            requireInt16Arithmetic(loc, constructorString.c_str(), "16-bit arrays not supported");
 5006|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (5006:13): [True: 0, False: 0]
  |  Branch (5006:32): [True: 0, False: 0]
  ------------------
 5007|      0|            requireInt16Arithmetic(loc, constructorString.c_str(), "16-bit vectors only take vector types");
 5008|      0|        break;
 5009|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (5009:5): [True: 0, False: 3]
  ------------------
 5010|      0|    case EOpConstructU8Vec2:
  ------------------
  |  Branch (5010:5): [True: 0, False: 3]
  ------------------
 5011|      0|    case EOpConstructU8Vec3:
  ------------------
  |  Branch (5011:5): [True: 0, False: 3]
  ------------------
 5012|      0|    case EOpConstructU8Vec4:
  ------------------
  |  Branch (5012:5): [True: 0, False: 3]
  ------------------
 5013|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (5013:5): [True: 0, False: 3]
  ------------------
 5014|      0|    case EOpConstructI8Vec2:
  ------------------
  |  Branch (5014:5): [True: 0, False: 3]
  ------------------
 5015|      0|    case EOpConstructI8Vec3:
  ------------------
  |  Branch (5015:5): [True: 0, False: 3]
  ------------------
 5016|      0|    case EOpConstructI8Vec4:
  ------------------
  |  Branch (5016:5): [True: 0, False: 3]
  ------------------
 5017|      0|        if (type.isArray())
  ------------------
  |  Branch (5017:13): [True: 0, False: 0]
  ------------------
 5018|      0|            requireInt8Arithmetic(loc, constructorString.c_str(), "8-bit arrays not supported");
 5019|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (5019:13): [True: 0, False: 0]
  |  Branch (5019:32): [True: 0, False: 0]
  ------------------
 5020|      0|            requireInt8Arithmetic(loc, constructorString.c_str(), "8-bit vectors only take vector types");
 5021|      0|        break;
 5022|      0|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (5022:5): [True: 0, False: 3]
  ------------------
 5023|      0|    case EOpConstructFloatE2M1Vec2:
  ------------------
  |  Branch (5023:5): [True: 0, False: 3]
  ------------------
 5024|      0|    case EOpConstructFloatE2M1Vec3:
  ------------------
  |  Branch (5024:5): [True: 0, False: 3]
  ------------------
 5025|      0|    case EOpConstructFloatE2M1Vec4:
  ------------------
  |  Branch (5025:5): [True: 0, False: 3]
  ------------------
 5026|      0|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (5026:5): [True: 0, False: 3]
  ------------------
 5027|      0|    case EOpConstructFloatE3M2Vec2:
  ------------------
  |  Branch (5027:5): [True: 0, False: 3]
  ------------------
 5028|      0|    case EOpConstructFloatE3M2Vec3:
  ------------------
  |  Branch (5028:5): [True: 0, False: 3]
  ------------------
 5029|      0|    case EOpConstructFloatE3M2Vec4:
  ------------------
  |  Branch (5029:5): [True: 0, False: 3]
  ------------------
 5030|      0|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (5030:5): [True: 0, False: 3]
  ------------------
 5031|      0|    case EOpConstructFloatE2M3Vec2:
  ------------------
  |  Branch (5031:5): [True: 0, False: 3]
  ------------------
 5032|      0|    case EOpConstructFloatE2M3Vec3:
  ------------------
  |  Branch (5032:5): [True: 0, False: 3]
  ------------------
 5033|      0|    case EOpConstructFloatE2M3Vec4:
  ------------------
  |  Branch (5033:5): [True: 0, False: 3]
  ------------------
 5034|      0|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (5034:5): [True: 0, False: 3]
  ------------------
 5035|      0|    case EOpConstructFloatUE8M0Vec2:
  ------------------
  |  Branch (5035:5): [True: 0, False: 3]
  ------------------
 5036|      0|    case EOpConstructFloatUE8M0Vec3:
  ------------------
  |  Branch (5036:5): [True: 0, False: 3]
  ------------------
 5037|      0|    case EOpConstructFloatUE8M0Vec4:
  ------------------
  |  Branch (5037:5): [True: 0, False: 3]
  ------------------
 5038|      0|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (5038:5): [True: 0, False: 3]
  ------------------
 5039|      0|    case EOpConstructFloatMXINT8Vec2:
  ------------------
  |  Branch (5039:5): [True: 0, False: 3]
  ------------------
 5040|      0|    case EOpConstructFloatMXINT8Vec3:
  ------------------
  |  Branch (5040:5): [True: 0, False: 3]
  ------------------
 5041|      0|    case EOpConstructFloatMXINT8Vec4:
  ------------------
  |  Branch (5041:5): [True: 0, False: 3]
  ------------------
 5042|      0|        if (!constType || specConstType) {
  ------------------
  |  Branch (5042:13): [True: 0, False: 0]
  |  Branch (5042:27): [True: 0, False: 0]
  ------------------
 5043|      0|            for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (5043:29): [True: 0, False: 0]
  ------------------
 5044|      0|                TIntermNode* arg = function.getParamCount() == 1 ? node : node->getAsAggregate()->getSequence()[i];
  ------------------
  |  Branch (5044:36): [True: 0, False: 0]
  ------------------
 5045|      0|                if (arg->getAsTyped()->getBasicType() != type.getBasicType()) {
  ------------------
  |  Branch (5045:21): [True: 0, False: 0]
  ------------------
 5046|      0|                    error(loc, "constructor argument must be a non-spec constant", constructorString.c_str(), "");
 5047|      0|                    return true;
 5048|      0|                }
 5049|      0|            }
 5050|      0|        }
 5051|      0|        break;
 5052|      3|    default:
  ------------------
  |  Branch (5052:5): [True: 3, False: 0]
  ------------------
 5053|      3|        break;
 5054|      3|    }
 5055|       |
 5056|       |    // inherit constness from children
 5057|      3|    if (constType) {
  ------------------
  |  Branch (5057:9): [True: 3, False: 0]
  ------------------
 5058|      3|        bool makeSpecConst;
 5059|       |        // Finish pinning down spec-const semantics
 5060|      3|        if (specConstType) {
  ------------------
  |  Branch (5060:13): [True: 0, False: 3]
  ------------------
 5061|      0|            switch (op) {
 5062|      0|            case EOpConstructInt8:
  ------------------
  |  Branch (5062:13): [True: 0, False: 0]
  ------------------
 5063|      0|            case EOpConstructInt:
  ------------------
  |  Branch (5063:13): [True: 0, False: 0]
  ------------------
 5064|      0|            case EOpConstructUint:
  ------------------
  |  Branch (5064:13): [True: 0, False: 0]
  ------------------
 5065|      0|            case EOpConstructBool:
  ------------------
  |  Branch (5065:13): [True: 0, False: 0]
  ------------------
 5066|      0|            case EOpConstructBVec2:
  ------------------
  |  Branch (5066:13): [True: 0, False: 0]
  ------------------
 5067|      0|            case EOpConstructBVec3:
  ------------------
  |  Branch (5067:13): [True: 0, False: 0]
  ------------------
 5068|      0|            case EOpConstructBVec4:
  ------------------
  |  Branch (5068:13): [True: 0, False: 0]
  ------------------
 5069|      0|            case EOpConstructIVec2:
  ------------------
  |  Branch (5069:13): [True: 0, False: 0]
  ------------------
 5070|      0|            case EOpConstructIVec3:
  ------------------
  |  Branch (5070:13): [True: 0, False: 0]
  ------------------
 5071|      0|            case EOpConstructIVec4:
  ------------------
  |  Branch (5071:13): [True: 0, False: 0]
  ------------------
 5072|      0|            case EOpConstructUVec2:
  ------------------
  |  Branch (5072:13): [True: 0, False: 0]
  ------------------
 5073|      0|            case EOpConstructUVec3:
  ------------------
  |  Branch (5073:13): [True: 0, False: 0]
  ------------------
 5074|      0|            case EOpConstructUVec4:
  ------------------
  |  Branch (5074:13): [True: 0, False: 0]
  ------------------
 5075|      0|            case EOpConstructUint8:
  ------------------
  |  Branch (5075:13): [True: 0, False: 0]
  ------------------
 5076|      0|            case EOpConstructInt16:
  ------------------
  |  Branch (5076:13): [True: 0, False: 0]
  ------------------
 5077|      0|            case EOpConstructUint16:
  ------------------
  |  Branch (5077:13): [True: 0, False: 0]
  ------------------
 5078|      0|            case EOpConstructInt64:
  ------------------
  |  Branch (5078:13): [True: 0, False: 0]
  ------------------
 5079|      0|            case EOpConstructUint64:
  ------------------
  |  Branch (5079:13): [True: 0, False: 0]
  ------------------
 5080|      0|            case EOpConstructI8Vec2:
  ------------------
  |  Branch (5080:13): [True: 0, False: 0]
  ------------------
 5081|      0|            case EOpConstructI8Vec3:
  ------------------
  |  Branch (5081:13): [True: 0, False: 0]
  ------------------
 5082|      0|            case EOpConstructI8Vec4:
  ------------------
  |  Branch (5082:13): [True: 0, False: 0]
  ------------------
 5083|      0|            case EOpConstructU8Vec2:
  ------------------
  |  Branch (5083:13): [True: 0, False: 0]
  ------------------
 5084|      0|            case EOpConstructU8Vec3:
  ------------------
  |  Branch (5084:13): [True: 0, False: 0]
  ------------------
 5085|      0|            case EOpConstructU8Vec4:
  ------------------
  |  Branch (5085:13): [True: 0, False: 0]
  ------------------
 5086|      0|            case EOpConstructI16Vec2:
  ------------------
  |  Branch (5086:13): [True: 0, False: 0]
  ------------------
 5087|      0|            case EOpConstructI16Vec3:
  ------------------
  |  Branch (5087:13): [True: 0, False: 0]
  ------------------
 5088|      0|            case EOpConstructI16Vec4:
  ------------------
  |  Branch (5088:13): [True: 0, False: 0]
  ------------------
 5089|      0|            case EOpConstructU16Vec2:
  ------------------
  |  Branch (5089:13): [True: 0, False: 0]
  ------------------
 5090|      0|            case EOpConstructU16Vec3:
  ------------------
  |  Branch (5090:13): [True: 0, False: 0]
  ------------------
 5091|      0|            case EOpConstructU16Vec4:
  ------------------
  |  Branch (5091:13): [True: 0, False: 0]
  ------------------
 5092|      0|            case EOpConstructI64Vec2:
  ------------------
  |  Branch (5092:13): [True: 0, False: 0]
  ------------------
 5093|      0|            case EOpConstructI64Vec3:
  ------------------
  |  Branch (5093:13): [True: 0, False: 0]
  ------------------
 5094|      0|            case EOpConstructI64Vec4:
  ------------------
  |  Branch (5094:13): [True: 0, False: 0]
  ------------------
 5095|      0|            case EOpConstructU64Vec2:
  ------------------
  |  Branch (5095:13): [True: 0, False: 0]
  ------------------
 5096|      0|            case EOpConstructU64Vec3:
  ------------------
  |  Branch (5096:13): [True: 0, False: 0]
  ------------------
 5097|      0|            case EOpConstructU64Vec4:
  ------------------
  |  Branch (5097:13): [True: 0, False: 0]
  ------------------
 5098|       |                // This was the list of valid ones, if they aren't converting from float
 5099|       |                // and aren't making an array.
 5100|      0|                makeSpecConst = ! floatArgument && ! type.isArray();
  ------------------
  |  Branch (5100:33): [True: 0, False: 0]
  |  Branch (5100:52): [True: 0, False: 0]
  ------------------
 5101|      0|                break;
 5102|       |
 5103|      0|            case EOpConstructVec2:
  ------------------
  |  Branch (5103:13): [True: 0, False: 0]
  ------------------
 5104|      0|            case EOpConstructVec3:
  ------------------
  |  Branch (5104:13): [True: 0, False: 0]
  ------------------
 5105|      0|            case EOpConstructVec4:
  ------------------
  |  Branch (5105:13): [True: 0, False: 0]
  ------------------
 5106|       |                // This was the list of valid ones, if they aren't converting from int
 5107|       |                // and aren't making an array.
 5108|      0|                makeSpecConst = ! intArgument && !type.isArray();
  ------------------
  |  Branch (5108:33): [True: 0, False: 0]
  |  Branch (5108:50): [True: 0, False: 0]
  ------------------
 5109|      0|                break;
 5110|       |
 5111|      0|            case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (5111:13): [True: 0, False: 0]
  ------------------
 5112|      0|            case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (5112:13): [True: 0, False: 0]
  ------------------
 5113|      0|            case EOpConstructStruct:
  ------------------
  |  Branch (5113:13): [True: 0, False: 0]
  ------------------
 5114|      0|                {
 5115|      0|                    const char *specConstantCompositeExt[] = { E_GL_EXT_spec_constant_composites };
 5116|      0|                    if (checkExtensionsRequested(loc, 1, specConstantCompositeExt, "spec constant aggregate constructor")) {
  ------------------
  |  Branch (5116:25): [True: 0, False: 0]
  ------------------
 5117|      0|                        makeSpecConst = true;
 5118|      0|                    } else {
 5119|      0|                        makeSpecConst = false;
 5120|      0|                    }
 5121|      0|                }
 5122|      0|                break;
 5123|       |
 5124|      0|            default:
  ------------------
  |  Branch (5124:13): [True: 0, False: 0]
  ------------------
 5125|       |                // anything else wasn't white-listed in the spec as a conversion
 5126|      0|                makeSpecConst = false;
 5127|      0|                break;
 5128|      0|            }
 5129|      0|        } else
 5130|      3|            makeSpecConst = false;
 5131|       |
 5132|      3|        if (makeSpecConst)
  ------------------
  |  Branch (5132:13): [True: 0, False: 3]
  ------------------
 5133|      0|            type.getQualifier().makeSpecConstant();
 5134|      3|        else if (specConstType)
  ------------------
  |  Branch (5134:18): [True: 0, False: 3]
  ------------------
 5135|      0|            type.getQualifier().makeTemporary();
 5136|      3|        else
 5137|      3|            type.getQualifier().storage = EvqConst;
 5138|      3|    }
 5139|       |
 5140|      3|    if (type.isArray()) {
  ------------------
  |  Branch (5140:9): [True: 0, False: 3]
  ------------------
 5141|      0|        if (function.getParamCount() == 0) {
  ------------------
  |  Branch (5141:13): [True: 0, False: 0]
  ------------------
 5142|      0|            error(loc, "array constructor must have at least one argument", constructorString.c_str(), "");
 5143|      0|            return true;
 5144|      0|        }
 5145|       |
 5146|      0|        if (type.isUnsizedArray()) {
  ------------------
  |  Branch (5146:13): [True: 0, False: 0]
  ------------------
 5147|       |            // auto adapt the constructor type to the number of arguments
 5148|      0|            type.changeOuterArraySize(function.getParamCount());
 5149|      0|        } else if (type.getOuterArraySize() != function.getParamCount()) {
  ------------------
  |  Branch (5149:20): [True: 0, False: 0]
  ------------------
 5150|      0|            error(loc, "array constructor needs one argument per array element", constructorString.c_str(), "");
 5151|      0|            return true;
 5152|      0|        }
 5153|       |
 5154|      0|        if (type.isArrayOfArrays()) {
  ------------------
  |  Branch (5154:13): [True: 0, False: 0]
  ------------------
 5155|       |            // Types have to match, but we're still making the type.
 5156|       |            // Finish making the type, and the comparison is done later
 5157|       |            // when checking for conversion.
 5158|      0|            TArraySizes& arraySizes = *type.getArraySizes();
 5159|       |
 5160|       |            // At least the dimensionalities have to match.
 5161|      0|            if (! function[0].type->isArray() ||
  ------------------
  |  Branch (5161:17): [True: 0, False: 0]
  ------------------
 5162|      0|                    arraySizes.getNumDims() != function[0].type->getArraySizes()->getNumDims() + 1) {
  ------------------
  |  Branch (5162:21): [True: 0, False: 0]
  ------------------
 5163|      0|                error(loc, "array constructor argument not correct type to construct array element", constructorString.c_str(), "");
 5164|      0|                return true;
 5165|      0|            }
 5166|       |
 5167|      0|            if (arraySizes.isInnerUnsized()) {
  ------------------
  |  Branch (5167:17): [True: 0, False: 0]
  ------------------
 5168|       |                // "Arrays of arrays ..., and the size for any dimension is optional"
 5169|       |                // That means we need to adopt (from the first argument) the other array sizes into the type.
 5170|      0|                for (int d = 1; d < arraySizes.getNumDims(); ++d) {
  ------------------
  |  Branch (5170:33): [True: 0, False: 0]
  ------------------
 5171|      0|                    if (arraySizes.getDimSize(d) == UnsizedArraySize) {
  ------------------
  |  Branch (5171:25): [True: 0, False: 0]
  ------------------
 5172|      0|                        arraySizes.setDimSize(d, function[0].type->getArraySizes()->getDimSize(d - 1));
 5173|      0|                    }
 5174|      0|                }
 5175|      0|            }
 5176|      0|        }
 5177|      0|    }
 5178|       |
 5179|      3|    if (arrayArg && op != EOpConstructStruct && ! type.isArrayOfArrays()) {
  ------------------
  |  Branch (5179:9): [True: 0, False: 3]
  |  Branch (5179:21): [True: 0, False: 0]
  |  Branch (5179:49): [True: 0, False: 0]
  ------------------
 5180|      0|        error(loc, "constructing non-array constituent from array argument", constructorString.c_str(), "");
 5181|      0|        return true;
 5182|      0|    }
 5183|       |
 5184|      3|    if (matrixInMatrix && ! type.isArray()) {
  ------------------
  |  Branch (5184:9): [True: 0, False: 3]
  |  Branch (5184:27): [True: 0, False: 0]
  ------------------
 5185|      0|        profileRequires(loc, ENoProfile, 120, nullptr, "constructing matrix from matrix");
 5186|       |
 5187|       |        // "If a matrix argument is given to a matrix constructor,
 5188|       |        // it is a compile-time error to have any other arguments."
 5189|      0|        if (function.getParamCount() != 1)
  ------------------
  |  Branch (5189:13): [True: 0, False: 0]
  ------------------
 5190|      0|            error(loc, "matrix constructed from matrix can only have one argument", constructorString.c_str(), "");
 5191|      0|        return false;
 5192|      0|    }
 5193|       |
 5194|      3|    if (overFull) {
  ------------------
  |  Branch (5194:9): [True: 0, False: 3]
  ------------------
 5195|      0|        error(loc, "too many arguments", constructorString.c_str(), "");
 5196|      0|        return true;
 5197|      0|    }
 5198|       |
 5199|      3|    if (op == EOpConstructStruct && ! type.isArray() && (int)type.getStruct()->size() != function.getParamCount()) {
  ------------------
  |  Branch (5199:9): [True: 0, False: 3]
  |  Branch (5199:37): [True: 0, False: 0]
  |  Branch (5199:57): [True: 0, False: 0]
  ------------------
 5200|      0|        error(loc, "Number of constructor parameters does not match the number of structure fields", constructorString.c_str(), "");
 5201|      0|        return true;
 5202|      0|    }
 5203|       |
 5204|      3|    if (type.isLongVector() && !isValidLongVectorElseError(loc, type)) {
  ------------------
  |  Branch (5204:9): [True: 0, False: 3]
  |  Branch (5204:32): [True: 0, False: 0]
  ------------------
 5205|      0|        return true;
 5206|      0|    }
 5207|       |
 5208|      3|    if ((op != EOpConstructStruct && size != 1 && size < type.computeNumComponents()) ||
  ------------------
  |  Branch (5208:10): [True: 3, False: 0]
  |  Branch (5208:38): [True: 3, False: 0]
  |  Branch (5208:51): [True: 0, False: 3]
  ------------------
 5209|      3|        (op == EOpConstructStruct && size < type.computeNumComponents())) {
  ------------------
  |  Branch (5209:10): [True: 0, False: 3]
  |  Branch (5209:38): [True: 0, False: 0]
  ------------------
 5210|      0|        error(loc, "not enough data provided for construction", constructorString.c_str(), "");
 5211|      0|        return true;
 5212|      0|    }
 5213|       |
 5214|      3|    if (type.isCoopMat() && function.getParamCount() != 1) {
  ------------------
  |  Branch (5214:9): [True: 0, False: 3]
  |  Branch (5214:29): [True: 0, False: 0]
  ------------------
 5215|      0|        error(loc, "wrong number of arguments", constructorString.c_str(), "");
 5216|      0|        return true;
 5217|      0|    }
 5218|      3|    if (type.isCoopMat() &&
  ------------------
  |  Branch (5218:9): [True: 0, False: 3]
  ------------------
 5219|      0|        !(function[0].type->isScalar() || function[0].type->isCoopMat())) {
  ------------------
  |  Branch (5219:11): [True: 0, False: 0]
  |  Branch (5219:43): [True: 0, False: 0]
  ------------------
 5220|      0|        error(loc, "Cooperative matrix constructor argument must be scalar or cooperative matrix", constructorString.c_str(), "");
 5221|      0|        return true;
 5222|      0|    }
 5223|       |
 5224|      3|    TIntermTyped* typed = node->getAsTyped();
 5225|      3|    if (typed == nullptr) {
  ------------------
  |  Branch (5225:9): [True: 0, False: 3]
  ------------------
 5226|      0|        error(loc, "constructor argument does not have a type", constructorString.c_str(), "");
 5227|      0|        return true;
 5228|      0|    }
 5229|       |
 5230|      3|    if (type.isCoopMat() && typed->getType().isCoopMat()) {
  ------------------
  |  Branch (5230:9): [True: 0, False: 3]
  |  Branch (5230:29): [True: 0, False: 0]
  ------------------
 5231|      0|        static constexpr int CM_UseA = 0;   // == gl_MatrixUseA
 5232|      0|        static constexpr int CM_UseB = 1;   // == gl_MatrixUseB
 5233|      0|        static constexpr int CM_UseAcc = 2; // == gl_MatrixUseAccumulator
 5234|       |
 5235|      0|        int dstUse = type.getCoopMatKHRuse();
 5236|      0|        int srcUse = typed->getType().getCoopMatKHRuse();
 5237|       |
 5238|      0|        if (extensionTurnedOn(E_GL_EXT_cooperative_matrix_maintenance1)) {
  ------------------
  |  Branch (5238:13): [True: 0, False: 0]
  ------------------
 5239|      0|            bool allowedConversion = srcUse == dstUse ||
  ------------------
  |  Branch (5239:38): [True: 0, False: 0]
  ------------------
 5240|      0|                                    (srcUse == CM_UseAcc && (dstUse == CM_UseA || dstUse == CM_UseB)) ||
  ------------------
  |  Branch (5240:38): [True: 0, False: 0]
  |  Branch (5240:62): [True: 0, False: 0]
  |  Branch (5240:83): [True: 0, False: 0]
  ------------------
 5241|      0|                                    (dstUse == CM_UseAcc && (srcUse == CM_UseA || srcUse == CM_UseB));
  ------------------
  |  Branch (5241:38): [True: 0, False: 0]
  |  Branch (5241:62): [True: 0, False: 0]
  |  Branch (5241:83): [True: 0, False: 0]
  ------------------
 5242|      0|            if (!type.sameCoopMatShape(typed->getType()) || !allowedConversion) {
  ------------------
  |  Branch (5242:17): [True: 0, False: 0]
  |  Branch (5242:61): [True: 0, False: 0]
  ------------------
 5243|      0|                error(loc, "Cooperative matrix type parameters mismatch", constructorString.c_str(), "");
 5244|      0|                return true;
 5245|      0|            }
 5246|      0|        } else if (extensionTurnedOn(E_GL_NV_cooperative_matrix2)) {
  ------------------
  |  Branch (5246:20): [True: 0, False: 0]
  ------------------
 5247|      0|            bool allowedConversion = srcUse == dstUse ||
  ------------------
  |  Branch (5247:38): [True: 0, False: 0]
  ------------------
 5248|      0|                                    (srcUse == CM_UseAcc && (dstUse == CM_UseA || dstUse == CM_UseB));
  ------------------
  |  Branch (5248:38): [True: 0, False: 0]
  |  Branch (5248:62): [True: 0, False: 0]
  |  Branch (5248:83): [True: 0, False: 0]
  ------------------
 5249|      0|            if (!type.sameCoopMatShape(typed->getType()) || !allowedConversion) {
  ------------------
  |  Branch (5249:17): [True: 0, False: 0]
  |  Branch (5249:61): [True: 0, False: 0]
  ------------------
 5250|      0|                error(loc, "Cooperative matrix type parameters mismatch", constructorString.c_str(), "");
 5251|      0|                return true;
 5252|      0|            }
 5253|      0|        } else {
 5254|      0|            if (!type.sameCoopMatShapeAndUse(typed->getType())) {
  ------------------
  |  Branch (5254:17): [True: 0, False: 0]
  ------------------
 5255|      0|                error(loc, "Cooperative matrix type parameters mismatch", constructorString.c_str(), "");
 5256|      0|                return true;
 5257|      0|            }
 5258|      0|        }
 5259|      0|    }
 5260|       |
 5261|      3|    if (op != EOpConstructStruct && op != EOpConstructNonuniform && typed->getBasicType() == EbtSampler) {
  ------------------
  |  Branch (5261:9): [True: 3, False: 0]
  |  Branch (5261:37): [True: 3, False: 0]
  |  Branch (5261:69): [True: 0, False: 3]
  ------------------
 5262|      0|        if (op == EOpConstructUVec2 && extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (5262:13): [True: 0, False: 0]
  |  Branch (5262:40): [True: 0, False: 0]
  ------------------
 5263|      0|            intermediate.setBindlessTextureMode(currentCaller, AstRefTypeFunc);
 5264|      0|        }
 5265|      0|        else {
 5266|      0|            error(loc, "cannot convert a sampler", constructorString.c_str(), "");
 5267|      0|            return true;
 5268|      0|        }
 5269|      0|    }
 5270|      3|    if (op != EOpConstructStruct && typed->isAtomic()) {
  ------------------
  |  Branch (5270:9): [True: 3, False: 0]
  |  Branch (5270:37): [True: 0, False: 3]
  ------------------
 5271|      0|        error(loc, "cannot convert an atomic_uint", constructorString.c_str(), "");
 5272|      0|        return true;
 5273|      0|    }
 5274|      3|    if (typed->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (5274:9): [True: 0, False: 3]
  ------------------
 5275|      0|        error(loc, "cannot convert a void", constructorString.c_str(), "");
 5276|      0|        return true;
 5277|      0|    }
 5278|       |
 5279|      3|    return false;
 5280|      3|}
_ZN7glslang13TParseContext14voidErrorCheckERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEENS_10TBasicTypeE:
 5368|  1.47k|{
 5369|  1.47k|    if (basicType == EbtVoid) {
  ------------------
  |  Branch (5369:9): [True: 0, False: 1.47k]
  ------------------
 5370|      0|        error(loc, "illegal use of type 'void'", identifier.c_str(), "");
 5371|      0|        return true;
 5372|      0|    }
 5373|       |
 5374|  1.47k|    return false;
 5375|  1.47k|}
_ZN7glslang13TParseContext12samplerCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_12TIntermTypedE:
 5392|  1.19k|{
 5393|       |    // Check that the appropriate extension is enabled if external sampler is used.
 5394|       |    // There are two extensions. The correct one must be used based on GLSL version.
 5395|  1.19k|    if (type.getBasicType() == EbtSampler && type.getSampler().isExternal()) {
  ------------------
  |  Branch (5395:9): [True: 0, False: 1.19k]
  |  Branch (5395:46): [True: 0, False: 0]
  ------------------
 5396|      0|        if (version < 300) {
  ------------------
  |  Branch (5396:13): [True: 0, False: 0]
  ------------------
 5397|      0|            requireExtensions(loc, 1, &E_GL_OES_EGL_image_external, "samplerExternalOES");
 5398|      0|        } else {
 5399|      0|            requireExtensions(loc, 1, &E_GL_OES_EGL_image_external_essl3, "samplerExternalOES");
 5400|      0|        }
 5401|      0|    }
 5402|  1.19k|    if (type.getSampler().isYuv()) {
  ------------------
  |  Branch (5402:9): [True: 0, False: 1.19k]
  ------------------
 5403|      0|        requireExtensions(loc, 1, &E_GL_EXT_YUV_target, "__samplerExternal2DY2YEXT");
 5404|      0|    }
 5405|       |
 5406|  1.19k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (5406:9): [True: 86, False: 1.10k]
  ------------------
 5407|     86|        return;
 5408|       |
 5409|  1.10k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtSampler)) {
  ------------------
  |  Branch (5409:9): [True: 0, False: 1.10k]
  |  Branch (5409:45): [True: 0, False: 0]
  ------------------
 5410|       |        // For bindless texture, sampler can be declared as an struct member
 5411|      0|        if (extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (5411:13): [True: 0, False: 0]
  ------------------
 5412|      0|            if (type.getSampler().isImage())
  ------------------
  |  Branch (5412:17): [True: 0, False: 0]
  ------------------
 5413|      0|                intermediate.setBindlessImageMode(currentCaller, AstRefTypeVar);
 5414|      0|            else
 5415|      0|                intermediate.setBindlessTextureMode(currentCaller, AstRefTypeVar);
 5416|      0|        }
 5417|      0|        else {
 5418|      0|            error(loc, "non-uniform struct contains a sampler or image:", type.getBasicTypeString().c_str(), "%s", identifier.c_str());
 5419|      0|        }
 5420|      0|    }
 5421|  1.10k|    else if (type.getBasicType() == EbtSampler && type.getQualifier().storage != EvqUniform) {
  ------------------
  |  Branch (5421:14): [True: 0, False: 1.10k]
  |  Branch (5421:51): [True: 0, False: 0]
  ------------------
 5422|       |        // For bindless texture, sampler can be declared as an input/output/block member
 5423|      0|        if (extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (5423:13): [True: 0, False: 0]
  ------------------
 5424|      0|            if (type.getSampler().isImage())
  ------------------
  |  Branch (5424:17): [True: 0, False: 0]
  ------------------
 5425|      0|                intermediate.setBindlessImageMode(currentCaller, AstRefTypeVar);
 5426|      0|            else
 5427|      0|                intermediate.setBindlessTextureMode(currentCaller, AstRefTypeVar);
 5428|      0|        }
 5429|      0|        else {
 5430|       |            // non-uniform sampler
 5431|       |            // not yet:  okay if it has an initializer
 5432|       |            // if (! initializer)
 5433|      0|            if (type.getSampler().isAttachmentEXT() && type.getQualifier().storage != EvqTileImageEXT)
  ------------------
  |  Branch (5433:17): [True: 0, False: 0]
  |  Branch (5433:56): [True: 0, False: 0]
  ------------------
 5434|      0|                 error(loc, "can only be used in tileImageEXT variables or function parameters:", type.getBasicTypeString().c_str(), "%s", identifier.c_str());
 5435|      0|            else if (type.getQualifier().storage != EvqTileImageEXT)
  ------------------
  |  Branch (5435:22): [True: 0, False: 0]
  ------------------
 5436|      0|                 error(loc, "sampler/image types can only be used in uniform variables or function parameters:", type.getBasicTypeString().c_str(), "%s", identifier.c_str());
 5437|      0|        }
 5438|      0|    }
 5439|  1.10k|    else if (type.isTensorARM() && type.getQualifier().storage != EvqUniform) {
  ------------------
  |  Branch (5439:14): [True: 0, False: 1.10k]
  |  Branch (5439:36): [True: 0, False: 0]
  ------------------
 5440|      0|        error(loc, "tensorARM types can only be used in uniform variables or function parameters:", "tensorARM", "%s", identifier.c_str());
 5441|      0|    }
 5442|  1.10k|}
_ZN7glslang13TParseContext15atomicUintCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5445|  1.19k|{
 5446|  1.19k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (5446:9): [True: 86, False: 1.10k]
  ------------------
 5447|     86|        return;
 5448|       |
 5449|  1.10k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtAtomicUint))
  ------------------
  |  Branch (5449:9): [True: 0, False: 1.10k]
  |  Branch (5449:45): [True: 0, False: 0]
  ------------------
 5450|      0|        error(loc, "non-uniform struct contains an atomic_uint:", type.getBasicTypeString().c_str(), "%s", identifier.c_str());
 5451|  1.10k|    else if (type.getBasicType() == EbtAtomicUint && type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5451:14): [True: 0, False: 1.10k]
  |  Branch (5451:54): [True: 0, False: 0]
  ------------------
 5452|      0|        error(loc, "atomic_uints can only be used in uniform variables or function parameters:", type.getBasicTypeString().c_str(), "%s", identifier.c_str());
 5453|  1.10k|}
_ZN7glslang13TParseContext14accStructCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5456|  1.19k|{
 5457|  1.19k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (5457:9): [True: 86, False: 1.10k]
  ------------------
 5458|     86|        return;
 5459|       |
 5460|  1.10k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtAccStruct))
  ------------------
  |  Branch (5460:9): [True: 0, False: 1.10k]
  |  Branch (5460:45): [True: 0, False: 0]
  ------------------
 5461|      0|        error(loc, "non-uniform struct contains an accelerationStructureNV:", type.getBasicTypeString().c_str(), "%s", identifier.c_str());
 5462|  1.10k|    else if (type.getBasicType() == EbtAccStruct && type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5462:14): [True: 0, False: 1.10k]
  |  Branch (5462:53): [True: 0, False: 0]
  ------------------
 5463|      0|        error(loc, "accelerationStructureNV can only be used in uniform variables or function parameters:",
 5464|      0|            type.getBasicTypeString().c_str(), "%s", identifier.c_str());
 5465|       |
 5466|  1.10k|}
_ZN7glslang13TParseContext17hitObjectEXTCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5469|  1.19k|{
 5470|  1.19k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtHitObjectEXT)) {
  ------------------
  |  Branch (5470:9): [True: 73, False: 1.11k]
  |  Branch (5470:45): [True: 0, False: 73]
  ------------------
 5471|      0|        error(loc, "struct is not allowed to contain hitObjectEXT:", type.getTypeName().c_str(), "%s", identifier.c_str());
 5472|  1.19k|    } else if (type.getBasicType() == EbtHitObjectEXT) {
  ------------------
  |  Branch (5472:16): [True: 0, False: 1.19k]
  ------------------
 5473|      0|        TStorageQualifier qualifier = type.getQualifier().storage;
 5474|      0|        if (qualifier != EvqGlobal && qualifier != EvqTemporary) {
  ------------------
  |  Branch (5474:13): [True: 0, False: 0]
  |  Branch (5474:39): [True: 0, False: 0]
  ------------------
 5475|      0|            error(loc, "hitObjectEXT can only be declared in global or function scope with no storage qualifier:", "hitObjectEXT", "%s", identifier.c_str());
 5476|      0|        }
 5477|      0|    }
 5478|  1.19k|}
_ZN7glslang13TParseContext16hitObjectNVCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5480|  1.19k|{
 5481|  1.19k|    if (type.getBasicType() == EbtStruct && ( containsFieldWithBasicType(type, EbtHitObjectNV))) {
  ------------------
  |  Branch (5481:9): [True: 73, False: 1.11k]
  |  Branch (5481:45): [True: 0, False: 73]
  ------------------
 5482|      0|        error(loc, "struct is not allowed to contain hitObjectNV:", type.getTypeName().c_str(), "%s", identifier.c_str());
 5483|  1.19k|    } else if ((type.getBasicType() == EbtHitObjectNV)) {
  ------------------
  |  Branch (5483:16): [True: 0, False: 1.19k]
  ------------------
 5484|      0|        TStorageQualifier qualifier = type.getQualifier().storage;
 5485|      0|        if (qualifier != EvqGlobal && qualifier != EvqTemporary) {
  ------------------
  |  Branch (5485:13): [True: 0, False: 0]
  |  Branch (5485:39): [True: 0, False: 0]
  ------------------
 5486|      0|            error(loc, "hitObjectNV can only be declared in global or function scope with no storage qualifier:", "hitObjectNV", "%s", identifier.c_str());
 5487|      0|        }
 5488|      0|    }
 5489|  1.19k|}
_ZN7glslang13TParseContext22transparentOpaqueCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5492|  1.19k|{
 5493|  1.19k|    if (parsingBuiltins)
  ------------------
  |  Branch (5493:9): [True: 1.19k, False: 0]
  ------------------
 5494|  1.19k|        return;
 5495|       |
 5496|      0|    if (type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5496:9): [True: 0, False: 0]
  ------------------
 5497|      0|        return;
 5498|       |
 5499|      0|    if (type.containsNonOpaque()) {
  ------------------
  |  Branch (5499:9): [True: 0, False: 0]
  ------------------
 5500|       |        // Vulkan doesn't allow transparent uniforms outside of blocks
 5501|      0|        if (spvVersion.vulkan > 0 && !spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (5501:13): [True: 0, False: 0]
  |  Branch (5501:38): [True: 0, False: 0]
  ------------------
 5502|      0|            vulkanRemoved(loc, "non-opaque uniforms outside a block");
 5503|       |        // OpenGL wants locations on these (unless they are getting automapped)
 5504|      0|        if (spvVersion.openGl > 0 && !type.getQualifier().hasLocation() && !intermediate.getAutoMapLocations())
  ------------------
  |  Branch (5504:13): [True: 0, False: 0]
  |  Branch (5504:38): [True: 0, False: 0]
  |  Branch (5504:76): [True: 0, False: 0]
  ------------------
 5505|      0|            error(loc, "non-opaque uniform variables need a layout(location=L)", identifier.c_str(), "");
 5506|      0|    }
 5507|      0|}
_ZN7glslang13TParseContext20memberQualifierCheckERNS_11TPublicTypeE:
 5513|    221|{
 5514|    221|    globalQualifierFixCheck(publicType.loc, publicType.qualifier, true);
 5515|    221|    checkNoShaderLayouts(publicType.loc, publicType.shaderQualifiers);
 5516|    221|    if (publicType.qualifier.isNonUniform()) {
  ------------------
  |  Branch (5516:9): [True: 0, False: 221]
  ------------------
 5517|      0|        error(publicType.loc, "not allowed on block or structure members", "nonuniformEXT", "");
 5518|      0|        publicType.qualifier.nonUniform = false;
 5519|      0|    }
 5520|    221|    if (publicType.qualifier.isPatch()) {
  ------------------
  |  Branch (5520:9): [True: 0, False: 221]
  ------------------
 5521|      0|        error(publicType.loc, "not allowed on block or structure members",
 5522|      0|              "patch", "");
 5523|      0|    }
 5524|    221|}
_ZN7glslang13TParseContext23globalQualifierFixCheckERKNS_10TSourceLocERNS_10TQualifierEbPKNS_11TPublicTypeE:
 5530|  2.26k|{
 5531|  2.26k|    bool nonuniformOkay = false;
 5532|       |
 5533|       |    // move from parameter/unknown qualifiers to pipeline in/out qualifiers
 5534|  2.26k|    switch (qualifier.storage) {
 5535|    348|    case EvqIn:
  ------------------
  |  Branch (5535:5): [True: 348, False: 1.91k]
  ------------------
 5536|    348|        profileRequires(loc, ENoProfile, 130, nullptr, "in for stage inputs");
 5537|    348|        profileRequires(loc, EEsProfile, 300, nullptr, "in for stage inputs");
 5538|    348|        qualifier.storage = EvqVaryingIn;
 5539|    348|        nonuniformOkay = true;
 5540|    348|        break;
 5541|     42|    case EvqOut:
  ------------------
  |  Branch (5541:5): [True: 42, False: 2.21k]
  ------------------
 5542|     42|        profileRequires(loc, ENoProfile, 130, nullptr, "out for stage outputs");
 5543|     42|        profileRequires(loc, EEsProfile, 300, nullptr, "out for stage outputs");
 5544|     42|        qualifier.storage = EvqVaryingOut;
 5545|     42|        if (intermediate.isInvariantAll())
  ------------------
  |  Branch (5545:13): [True: 0, False: 42]
  ------------------
 5546|      0|            qualifier.invariant = true;
 5547|     42|        break;
 5548|      0|    case EvqInOut:
  ------------------
  |  Branch (5548:5): [True: 0, False: 2.26k]
  ------------------
 5549|      0|        qualifier.storage = EvqVaryingIn;
 5550|      0|        error(loc, "cannot use 'inout' at global scope", "", "");
 5551|      0|        break;
 5552|  1.29k|    case EvqGlobal:
  ------------------
  |  Branch (5552:5): [True: 1.29k, False: 967]
  ------------------
 5553|  1.29k|    case EvqTemporary:
  ------------------
  |  Branch (5553:5): [True: 5, False: 2.25k]
  ------------------
 5554|  1.29k|        nonuniformOkay = true;
 5555|  1.29k|        break;
 5556|     86|    case EvqUniform:
  ------------------
  |  Branch (5556:5): [True: 86, False: 2.17k]
  ------------------
 5557|       |        // According to GLSL spec: The std430 qualifier is supported only for shader storage blocks; a shader using
 5558|       |        // the std430 qualifier on a uniform block will fail to compile.
 5559|       |        // Only check the global declaration: layout(std430) uniform;
 5560|     86|        if (blockName == nullptr &&
  ------------------
  |  Branch (5560:13): [True: 81, False: 5]
  ------------------
 5561|     81|            qualifier.layoutPacking == ElpStd430)
  ------------------
  |  Branch (5561:13): [True: 0, False: 81]
  ------------------
 5562|      0|        {
 5563|      0|            requireExtensions(loc, 1, &E_GL_EXT_scalar_block_layout, "default std430 layout for uniform");
 5564|      0|        }
 5565|       |
 5566|     86|        if (publicType != nullptr && publicType->isImage() &&
  ------------------
  |  Branch (5566:13): [True: 86, False: 0]
  |  Branch (5566:38): [True: 0, False: 86]
  ------------------
 5567|      0|            (qualifier.layoutFormat > ElfExtSizeGuard && qualifier.layoutFormat < ElfCount))
  ------------------
  |  Branch (5567:14): [True: 0, False: 0]
  |  Branch (5567:58): [True: 0, False: 0]
  ------------------
 5568|      0|            qualifier.layoutFormat = mapLegacyLayoutFormat(qualifier.layoutFormat, publicType->sampler.getBasicType());
 5569|       |
 5570|     86|        break;
 5571|    486|    default:
  ------------------
  |  Branch (5571:5): [True: 486, False: 1.77k]
  ------------------
 5572|    486|        break;
 5573|  2.26k|    }
 5574|       |
 5575|  2.26k|    if (!nonuniformOkay && qualifier.isNonUniform())
  ------------------
  |  Branch (5575:9): [True: 614, False: 1.64k]
  |  Branch (5575:28): [True: 0, False: 614]
  ------------------
 5576|      0|        error(loc, "for non-parameter, can only apply to 'in' or no storage qualifier", "nonuniformEXT", "");
 5577|       |
 5578|  2.26k|    if (qualifier.isSpirvByReference())
  ------------------
  |  Branch (5578:9): [True: 0, False: 2.26k]
  ------------------
 5579|      0|        error(loc, "can only apply to parameter", "spirv_by_reference", "");
 5580|       |
 5581|  2.26k|    if (qualifier.isSpirvLiteral())
  ------------------
  |  Branch (5581:9): [True: 0, False: 2.26k]
  ------------------
 5582|      0|        error(loc, "can only apply to parameter", "spirv_literal", "");
 5583|       |
 5584|       |    // Storage qualifier isn't ready for memberQualifierCheck, we should skip invariantCheck for it.
 5585|  2.26k|    if (!isMemberCheck || structNestingLevel > 0)
  ------------------
  |  Branch (5585:9): [True: 2.03k, False: 221]
  |  Branch (5585:27): [True: 216, False: 5]
  ------------------
 5586|  2.25k|        invariantCheck(loc, qualifier);
 5587|       |
 5588|  2.26k|    if (qualifier.isFullQuads()) {
  ------------------
  |  Branch (5588:9): [True: 0, False: 2.26k]
  ------------------
 5589|      0|        if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (5589:13): [True: 0, False: 0]
  ------------------
 5590|      0|            error(loc, "can only apply to input layout", "full_quads ", "");
 5591|      0|        intermediate.setReqFullQuadsMode();
 5592|      0|    }
 5593|       |
 5594|  2.26k|    if (qualifier.isQuadDeriv()) {
  ------------------
  |  Branch (5594:9): [True: 0, False: 2.26k]
  ------------------
 5595|      0|        if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (5595:13): [True: 0, False: 0]
  ------------------
 5596|      0|            error(loc, "can only apply to input layout", "quad_derivatives", "");
 5597|      0|        intermediate.setQuadDerivMode();
 5598|      0|    }
 5599|  2.26k|}
_ZN7glslang13TParseContext24globalQualifierTypeCheckERKNS_10TSourceLocERKNS_10TQualifierERKNS_11TPublicTypeE:
 5605|  31.7k|{
 5606|  31.7k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (5606:9): [True: 0, False: 31.7k]
  ------------------
 5607|      0|        return;
 5608|       |
 5609|  31.7k|    if (!(publicType.userDef && publicType.userDef->isReference()) && !publicType.isTensorARM() && !parsingBuiltins) {
  ------------------
  |  Branch (5609:11): [True: 148, False: 31.6k]
  |  Branch (5609:33): [True: 0, False: 148]
  |  Branch (5609:71): [True: 31.7k, False: 0]
  |  Branch (5609:100): [True: 0, False: 31.7k]
  ------------------
 5610|      0|        if (qualifier.isMemoryQualifierImageAndSSBOOnly() && ! publicType.isImage() && publicType.qualifier.storage != EvqBuffer) {
  ------------------
  |  Branch (5610:13): [True: 0, False: 0]
  |  Branch (5610:62): [True: 0, False: 0]
  |  Branch (5610:88): [True: 0, False: 0]
  ------------------
 5611|      0|            error(loc, "memory qualifiers cannot be used on this type", "", "");
 5612|      0|        } else if (qualifier.isMemory() && (publicType.basicType != EbtSampler) && !publicType.qualifier.isUniformOrBuffer()) {
  ------------------
  |  Branch (5612:20): [True: 0, False: 0]
  |  Branch (5612:44): [True: 0, False: 0]
  |  Branch (5612:84): [True: 0, False: 0]
  ------------------
 5613|      0|            error(loc, "memory qualifiers cannot be used on this type", "", "");
 5614|      0|        }
 5615|      0|    }
 5616|       |
 5617|  31.7k|    if (qualifier.storage == EvqBuffer &&
  ------------------
  |  Branch (5617:9): [True: 0, False: 31.7k]
  ------------------
 5618|      0|        publicType.basicType != EbtBlock &&
  ------------------
  |  Branch (5618:9): [True: 0, False: 0]
  ------------------
 5619|      0|        !qualifier.hasBufferReference() &&
  ------------------
  |  Branch (5619:9): [True: 0, False: 0]
  ------------------
 5620|      0|        !qualifier.isBufferType())
  ------------------
  |  Branch (5620:9): [True: 0, False: 0]
  ------------------
 5621|      0|        error(loc, "buffers can be declared only as blocks", "buffer", "");
 5622|       |
 5623|  31.7k|    if (qualifier.storage != EvqVaryingIn && publicType.basicType == EbtDouble &&
  ------------------
  |  Branch (5623:9): [True: 31.4k, False: 347]
  |  Branch (5623:46): [True: 577, False: 30.8k]
  ------------------
 5624|    577|        extensionTurnedOn(E_GL_ARB_vertex_attrib_64bit) && language == EShLangVertex &&
  ------------------
  |  Branch (5624:9): [True: 0, False: 577]
  |  Branch (5624:60): [True: 0, False: 0]
  ------------------
 5625|      0|        version < 400) {
  ------------------
  |  Branch (5625:9): [True: 0, False: 0]
  ------------------
 5626|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 410, E_GL_ARB_gpu_shader_fp64, "vertex-shader `double` type");
 5627|      0|    }
 5628|  31.7k|    if (qualifier.storage != EvqVaryingIn && qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (5628:9): [True: 31.4k, False: 347]
  |  Branch (5628:46): [True: 31.3k, False: 34]
  ------------------
 5629|  31.3k|        return;
 5630|       |
 5631|    381|    if (publicType.shaderQualifiers.hasBlendEquation())
  ------------------
  |  Branch (5631:9): [True: 0, False: 381]
  ------------------
 5632|      0|        error(loc, "can only be applied to a standalone 'out'", "blend equation", "");
 5633|       |
 5634|       |    // now, knowing it is a shader in/out, do all the in/out semantic checks
 5635|       |
 5636|    381|    if (isTypeInt(publicType.basicType) || publicType.basicType == EbtDouble) {
  ------------------
  |  Branch (5636:9): [True: 370, False: 11]
  |  Branch (5636:44): [True: 0, False: 11]
  ------------------
 5637|    370|        profileRequires(loc, EEsProfile, 300, nullptr, "non-float shader input/output");
 5638|    370|        profileRequires(loc, ~EEsProfile, 130, nullptr, "non-float shader input/output");
 5639|    370|    }
 5640|       |
 5641|    381|    if (!qualifier.flat && !qualifier.isExplicitInterpolation() && !qualifier.isPervertexNV() && !qualifier.isPervertexEXT()) {
  ------------------
  |  Branch (5641:9): [True: 381, False: 0]
  |  Branch (5641:28): [True: 381, False: 0]
  |  Branch (5641:68): [True: 381, False: 0]
  |  Branch (5641:98): [True: 381, False: 0]
  ------------------
 5642|    381|        if (isTypeInt(publicType.basicType) ||
  ------------------
  |  Branch (5642:13): [True: 370, False: 11]
  ------------------
 5643|     11|            publicType.basicType == EbtDouble ||
  ------------------
  |  Branch (5643:13): [True: 0, False: 11]
  ------------------
 5644|     11|            (publicType.userDef && (   publicType.userDef->containsBasicType(EbtInt)
  ------------------
  |  Branch (5644:14): [True: 0, False: 11]
  |  Branch (5644:40): [True: 0, False: 0]
  ------------------
 5645|      0|                                    || publicType.userDef->containsBasicType(EbtUint)
  ------------------
  |  Branch (5645:40): [True: 0, False: 0]
  ------------------
 5646|      0|                                    || publicType.userDef->contains16BitInt()
  ------------------
  |  Branch (5646:40): [True: 0, False: 0]
  ------------------
 5647|      0|                                    || publicType.userDef->contains8BitInt()
  ------------------
  |  Branch (5647:40): [True: 0, False: 0]
  ------------------
 5648|      0|                                    || publicType.userDef->contains64BitInt()
  ------------------
  |  Branch (5648:40): [True: 0, False: 0]
  ------------------
 5649|    370|                                    || publicType.userDef->containsDouble()))) {
  ------------------
  |  Branch (5649:40): [True: 0, False: 0]
  ------------------
 5650|    370|            if (qualifier.storage == EvqVaryingIn && language == EShLangFragment)
  ------------------
  |  Branch (5650:17): [True: 344, False: 26]
  |  Branch (5650:54): [True: 0, False: 344]
  ------------------
 5651|      0|                error(loc, "must be qualified as flat", TType::getBasicString(publicType.basicType), "%s", GetStorageQualifierString(qualifier.storage));
 5652|    370|            else if (qualifier.storage == EvqVaryingOut && language == EShLangVertex && version == 300)
  ------------------
  |  Branch (5652:22): [True: 26, False: 344]
  |  Branch (5652:60): [True: 6, False: 20]
  |  Branch (5652:89): [True: 0, False: 6]
  ------------------
 5653|      0|                error(loc, "must be qualified as flat", TType::getBasicString(publicType.basicType), "%s", GetStorageQualifierString(qualifier.storage));
 5654|    370|        }
 5655|    381|    }
 5656|       |
 5657|    381|    if (qualifier.isPatch() && qualifier.isInterpolation())
  ------------------
  |  Branch (5657:9): [True: 4, False: 377]
  |  Branch (5657:32): [True: 0, False: 4]
  ------------------
 5658|      0|        error(loc, "cannot use interpolation qualifiers with patch", "patch", "");
 5659|       |
 5660|       |    // Only "patch in" is supported via GL_NV_gpu_shader5
 5661|    381|    if (! symbolTable.atBuiltInLevel() && qualifier.isPatch() &&
  ------------------
  |  Branch (5661:9): [True: 0, False: 381]
  |  Branch (5661:43): [True: 0, False: 0]
  ------------------
 5662|      0|        (language == EShLangGeometry) && qualifier.storage != EvqVaryingIn &&
  ------------------
  |  Branch (5662:9): [True: 0, False: 0]
  |  Branch (5662:42): [True: 0, False: 0]
  ------------------
 5663|      0|        extensionTurnedOn(E_GL_NV_gpu_shader5))
  ------------------
  |  Branch (5663:9): [True: 0, False: 0]
  ------------------
 5664|      0|            error(loc, "only 'patch in' is supported in this stage:", "patch", "geometry");
 5665|       |
 5666|    381|    if (qualifier.isTaskPayload() && publicType.basicType == EbtBlock)
  ------------------
  |  Branch (5666:9): [True: 0, False: 381]
  |  Branch (5666:38): [True: 0, False: 0]
  ------------------
 5667|      0|        error(loc, "taskPayloadSharedEXT variables should not be declared as interface blocks", "taskPayloadSharedEXT", "");
 5668|       |
 5669|    381|    if (qualifier.isTaskMemory() && publicType.basicType != EbtBlock)
  ------------------
  |  Branch (5669:9): [True: 0, False: 381]
  |  Branch (5669:37): [True: 0, False: 0]
  ------------------
 5670|      0|        error(loc, "taskNV variables can be declared only as blocks", "taskNV", "");
 5671|       |
 5672|    381|    if (qualifier.storage == EvqVaryingIn) {
  ------------------
  |  Branch (5672:9): [True: 347, False: 34]
  ------------------
 5673|    347|        switch (language) {
 5674|     31|        case EShLangVertex:
  ------------------
  |  Branch (5674:9): [True: 31, False: 316]
  ------------------
 5675|     31|            if (publicType.basicType == EbtStruct) {
  ------------------
  |  Branch (5675:17): [True: 0, False: 31]
  ------------------
 5676|      0|                error(loc, "cannot be a structure", GetStorageQualifierString(qualifier.storage), "");
 5677|      0|                return;
 5678|      0|            }
 5679|     31|            if (publicType.arraySizes) {
  ------------------
  |  Branch (5679:17): [True: 0, False: 31]
  ------------------
 5680|      0|                requireProfile(loc, ~EEsProfile, "vertex input arrays");
 5681|      0|                profileRequires(loc, ENoProfile, 150, nullptr, "vertex input arrays");
 5682|      0|            }
 5683|     31|            if (publicType.basicType == EbtDouble) {
  ------------------
  |  Branch (5683:17): [True: 0, False: 31]
  ------------------
 5684|      0|            	const char* const float64_attrib[] = {E_GL_NV_gpu_shader5, E_GL_ARB_vertex_attrib_64bit};
 5685|      0|                const int Num_float64_attrib = sizeof(float64_attrib) / sizeof(float64_attrib[0]);
 5686|      0|                profileRequires(loc, ~EEsProfile, 410, Num_float64_attrib, float64_attrib, "vertex-shader `double` type input");
 5687|      0|			}
 5688|     31|            if (qualifier.isAuxiliary() || qualifier.isInterpolation() || qualifier.isMemory() || qualifier.invariant)
  ------------------
  |  Branch (5688:17): [True: 0, False: 31]
  |  Branch (5688:44): [True: 0, False: 31]
  |  Branch (5688:75): [True: 0, False: 31]
  |  Branch (5688:99): [True: 0, False: 31]
  ------------------
 5689|      0|                error(loc, "vertex input cannot be further qualified", "", "");
 5690|     31|            break;
 5691|      0|        case EShLangFragment:
  ------------------
  |  Branch (5691:9): [True: 0, False: 347]
  ------------------
 5692|      0|            if (publicType.userDef) {
  ------------------
  |  Branch (5692:17): [True: 0, False: 0]
  ------------------
 5693|      0|                profileRequires(loc, EEsProfile, 300, nullptr, "fragment-shader struct input");
 5694|      0|                profileRequires(loc, ~EEsProfile, 150, nullptr, "fragment-shader struct input");
 5695|      0|                if (publicType.userDef->containsStructure())
  ------------------
  |  Branch (5695:21): [True: 0, False: 0]
  ------------------
 5696|      0|                    requireProfile(loc, ~EEsProfile, "fragment-shader struct input containing structure");
 5697|      0|                if (publicType.userDef->containsArray())
  ------------------
  |  Branch (5697:21): [True: 0, False: 0]
  ------------------
 5698|      0|                    requireProfile(loc, ~EEsProfile, "fragment-shader struct input containing an array");
 5699|      0|            }
 5700|      0|            break;
 5701|     30|       case EShLangCompute:
  ------------------
  |  Branch (5701:8): [True: 30, False: 317]
  ------------------
 5702|     30|            if (! symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (5702:17): [True: 0, False: 30]
  ------------------
 5703|      0|                error(loc, "global storage input qualifier cannot be used in a compute shader", "in", "");
 5704|     30|            break;
 5705|     27|       case EShLangTessControl:
  ------------------
  |  Branch (5705:8): [True: 27, False: 320]
  ------------------
 5706|     27|            if (qualifier.patch)
  ------------------
  |  Branch (5706:17): [True: 0, False: 27]
  ------------------
 5707|      0|                error(loc, "can only use on output in tessellation-control shader", "patch", "");
 5708|     27|            break;
 5709|    259|        default:
  ------------------
  |  Branch (5709:9): [True: 259, False: 88]
  ------------------
 5710|    259|            break;
 5711|    347|        }
 5712|    347|    } else {
 5713|       |        // qualifier.storage == EvqVaryingOut
 5714|     34|        switch (language) {
 5715|      8|        case EShLangVertex:
  ------------------
  |  Branch (5715:9): [True: 8, False: 26]
  ------------------
 5716|      8|            if (publicType.userDef) {
  ------------------
  |  Branch (5716:17): [True: 0, False: 8]
  ------------------
 5717|      0|                profileRequires(loc, EEsProfile, 300, nullptr, "vertex-shader struct output");
 5718|      0|                profileRequires(loc, ~EEsProfile, 150, nullptr, "vertex-shader struct output");
 5719|      0|                if (publicType.userDef->containsStructure())
  ------------------
  |  Branch (5719:21): [True: 0, False: 0]
  ------------------
 5720|      0|                    requireProfile(loc, ~EEsProfile, "vertex-shader struct output containing structure");
 5721|      0|                if (publicType.userDef->containsArray())
  ------------------
  |  Branch (5721:21): [True: 0, False: 0]
  ------------------
 5722|      0|                    requireProfile(loc, ~EEsProfile, "vertex-shader struct output containing an array");
 5723|      0|            }
 5724|       |
 5725|      8|            break;
 5726|      0|        case EShLangFragment:
  ------------------
  |  Branch (5726:9): [True: 0, False: 34]
  ------------------
 5727|      0|            profileRequires(loc, EEsProfile, 300, nullptr, "fragment shader output");
 5728|      0|            if (publicType.basicType == EbtStruct) {
  ------------------
  |  Branch (5728:17): [True: 0, False: 0]
  ------------------
 5729|      0|                error(loc, "cannot be a structure", GetStorageQualifierString(qualifier.storage), "");
 5730|      0|                return;
 5731|      0|            }
 5732|      0|            if (publicType.matrixRows > 0) {
  ------------------
  |  Branch (5732:17): [True: 0, False: 0]
  ------------------
 5733|      0|                error(loc, "cannot be a matrix", GetStorageQualifierString(qualifier.storage), "");
 5734|      0|                return;
 5735|      0|            }
 5736|      0|            if (qualifier.isAuxiliary())
  ------------------
  |  Branch (5736:17): [True: 0, False: 0]
  ------------------
 5737|      0|                error(loc, "can't use auxiliary qualifier on a fragment output", "centroid/sample/patch", "");
 5738|      0|            if (qualifier.isInterpolation())
  ------------------
  |  Branch (5738:17): [True: 0, False: 0]
  ------------------
 5739|      0|                error(loc, "can't use interpolation qualifier on a fragment output", "flat/smooth/noperspective", "");
 5740|      0|            if (publicType.basicType == EbtDouble || publicType.basicType == EbtInt64 || publicType.basicType == EbtUint64)
  ------------------
  |  Branch (5740:17): [True: 0, False: 0]
  |  Branch (5740:54): [True: 0, False: 0]
  |  Branch (5740:90): [True: 0, False: 0]
  ------------------
 5741|      0|                error(loc, "cannot contain a double, int64, or uint64", GetStorageQualifierString(qualifier.storage), "");
 5742|      0|        break;
 5743|       |
 5744|      0|        case EShLangCompute:
  ------------------
  |  Branch (5744:9): [True: 0, False: 34]
  ------------------
 5745|      0|            error(loc, "global storage output qualifier cannot be used in a compute shader", "out", "");
 5746|      0|            break;
 5747|      7|        case EShLangTessEvaluation:
  ------------------
  |  Branch (5747:9): [True: 7, False: 27]
  ------------------
 5748|      7|            if (qualifier.patch)
  ------------------
  |  Branch (5748:17): [True: 0, False: 7]
  ------------------
 5749|      0|                error(loc, "can only use on input in tessellation-evaluation shader", "patch", "");
 5750|      7|            break;
 5751|     19|        default:
  ------------------
  |  Branch (5751:9): [True: 19, False: 15]
  ------------------
 5752|     19|            break;
 5753|     34|        }
 5754|     34|    }
 5755|    381|}
_ZN7glslang13TParseContext15mergeQualifiersERKNS_10TSourceLocERNS_10TQualifierERKS4_b:
 5767|  7.61k|{
 5768|       |    // Multiple auxiliary qualifiers (mostly done later by 'individual qualifiers')
 5769|  7.61k|    if (src.isAuxiliary() && dst.isAuxiliary())
  ------------------
  |  Branch (5769:9): [True: 4, False: 7.61k]
  |  Branch (5769:30): [True: 0, False: 4]
  ------------------
 5770|      0|        error(loc, "can only have one auxiliary qualifier (centroid, patch, and sample)", "", "");
 5771|       |
 5772|       |    // Multiple interpolation qualifiers (mostly done later by 'individual qualifiers')
 5773|  7.61k|    if (src.isInterpolation() && dst.isInterpolation())
  ------------------
  |  Branch (5773:9): [True: 0, False: 7.61k]
  |  Branch (5773:34): [True: 0, False: 0]
  ------------------
 5774|      0|        error(loc, "can only have one interpolation qualifier (flat, smooth, noperspective, __explicitInterpAMD)", "", "");
 5775|       |
 5776|       |    // Ordering
 5777|  7.61k|    if (! force && ((!isEsProfile() && version < 420) ||
  ------------------
  |  Branch (5777:9): [True: 5.41k, False: 2.20k]
  |  Branch (5777:22): [True: 5.09k, False: 324]
  |  Branch (5777:40): [True: 0, False: 5.09k]
  ------------------
 5778|  5.41k|                    (isEsProfile() && version < 310))
  ------------------
  |  Branch (5778:22): [True: 324, False: 5.09k]
  |  Branch (5778:39): [True: 324, False: 0]
  ------------------
 5779|    324|                && ! extensionTurnedOn(E_GL_ARB_shading_language_420pack)) {
  ------------------
  |  Branch (5779:20): [True: 324, False: 0]
  ------------------
 5780|       |        // non-function parameters
 5781|    324|        if (src.isNoContraction() && (dst.invariant || dst.isInterpolation() || dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5781:13): [True: 0, False: 324]
  |  Branch (5781:39): [True: 0, False: 0]
  |  Branch (5781:56): [True: 0, False: 0]
  |  Branch (5781:81): [True: 0, False: 0]
  |  Branch (5781:102): [True: 0, False: 0]
  |  Branch (5781:133): [True: 0, False: 0]
  ------------------
 5782|      0|            error(loc, "precise qualifier must appear first", "", "");
 5783|    324|        if (src.invariant && (dst.isInterpolation() || dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5783:13): [True: 0, False: 324]
  |  Branch (5783:31): [True: 0, False: 0]
  |  Branch (5783:56): [True: 0, False: 0]
  |  Branch (5783:77): [True: 0, False: 0]
  |  Branch (5783:108): [True: 0, False: 0]
  ------------------
 5784|      0|            error(loc, "invariant qualifier must appear before interpolation, storage, and precision qualifiers ", "", "");
 5785|    324|        else if (src.isInterpolation() && (dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5785:18): [True: 0, False: 324]
  |  Branch (5785:44): [True: 0, False: 0]
  |  Branch (5785:65): [True: 0, False: 0]
  |  Branch (5785:96): [True: 0, False: 0]
  ------------------
 5786|      0|            error(loc, "interpolation qualifiers must appear before storage and precision qualifiers", "", "");
 5787|    324|        else if (src.isAuxiliary() && (dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5787:18): [True: 0, False: 324]
  |  Branch (5787:40): [True: 0, False: 0]
  |  Branch (5787:71): [True: 0, False: 0]
  ------------------
 5788|      0|            error(loc, "Auxiliary qualifiers (centroid, patch, and sample) must appear before storage and precision qualifiers", "", "");
 5789|    324|        else if (src.storage != EvqTemporary && (dst.precision != EpqNone))
  ------------------
  |  Branch (5789:18): [True: 324, False: 0]
  |  Branch (5789:49): [True: 0, False: 324]
  ------------------
 5790|      0|            error(loc, "precision qualifier must appear as last qualifier", "", "");
 5791|       |
 5792|       |        // function parameters
 5793|    324|        if (src.isNoContraction() && (dst.storage == EvqConst || dst.storage == EvqIn || dst.storage == EvqOut))
  ------------------
  |  Branch (5793:13): [True: 0, False: 324]
  |  Branch (5793:39): [True: 0, False: 0]
  |  Branch (5793:66): [True: 0, False: 0]
  |  Branch (5793:90): [True: 0, False: 0]
  ------------------
 5794|      0|            error(loc, "precise qualifier must appear first", "", "");
 5795|    324|        if (src.storage == EvqConst && (dst.storage == EvqIn || dst.storage == EvqOut))
  ------------------
  |  Branch (5795:13): [True: 0, False: 324]
  |  Branch (5795:41): [True: 0, False: 0]
  |  Branch (5795:65): [True: 0, False: 0]
  ------------------
 5796|      0|            error(loc, "in/out must appear before const", "", "");
 5797|    324|    }
 5798|       |
 5799|       |    // Storage qualification
 5800|  7.61k|    if (dst.storage == EvqTemporary || dst.storage == EvqGlobal)
  ------------------
  |  Branch (5800:9): [True: 4.67k, False: 2.94k]
  |  Branch (5800:40): [True: 2.20k, False: 741]
  ------------------
 5801|  6.87k|        dst.storage = src.storage;
 5802|    741|    else if ((dst.storage == EvqIn  && src.storage == EvqOut) ||
  ------------------
  |  Branch (5802:15): [True: 321, False: 420]
  |  Branch (5802:40): [True: 0, False: 321]
  ------------------
 5803|    741|             (dst.storage == EvqOut && src.storage == EvqIn))
  ------------------
  |  Branch (5803:15): [True: 36, False: 705]
  |  Branch (5803:40): [True: 0, False: 36]
  ------------------
 5804|      0|        dst.storage = EvqInOut;
 5805|    741|    else if ((dst.storage == EvqIn    && src.storage == EvqConst) ||
  ------------------
  |  Branch (5805:15): [True: 321, False: 420]
  |  Branch (5805:42): [True: 0, False: 321]
  ------------------
 5806|    741|             (dst.storage == EvqConst && src.storage == EvqIn))
  ------------------
  |  Branch (5806:15): [True: 379, False: 362]
  |  Branch (5806:42): [True: 0, False: 379]
  ------------------
 5807|      0|        dst.storage = EvqConstReadOnly;
 5808|    741|    else if (src.storage != EvqTemporary &&
  ------------------
  |  Branch (5808:14): [True: 661, False: 80]
  ------------------
 5809|    661|             src.storage != EvqGlobal)
  ------------------
  |  Branch (5809:14): [True: 0, False: 661]
  ------------------
 5810|      0|        error(loc, "too many storage qualifiers", GetStorageQualifierString(src.storage), "");
 5811|       |
 5812|       |    // Precision qualifiers
 5813|  7.61k|    if (! force && src.precision != EpqNone && dst.precision != EpqNone)
  ------------------
  |  Branch (5813:9): [True: 5.41k, False: 2.20k]
  |  Branch (5813:20): [True: 661, False: 4.75k]
  |  Branch (5813:48): [True: 0, False: 661]
  ------------------
 5814|      0|        error(loc, "only one precision qualifier allowed", GetPrecisionQualifierString(src.precision), "");
 5815|  7.61k|    if (dst.precision == EpqNone || (force && src.precision != EpqNone))
  ------------------
  |  Branch (5815:9): [True: 7.57k, False: 45]
  |  Branch (5815:38): [True: 0, False: 45]
  |  Branch (5815:47): [True: 0, False: 0]
  ------------------
 5816|  7.57k|        dst.precision = src.precision;
 5817|       |
 5818|  7.61k|    if (!force && ((src.coherent && (dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5818:9): [True: 5.41k, False: 2.20k]
  |  Branch (5818:21): [True: 1.98k, False: 3.43k]
  |  Branch (5818:38): [True: 0, False: 1.98k]
  |  Branch (5818:60): [True: 0, False: 1.98k]
  |  Branch (5818:87): [True: 0, False: 1.98k]
  |  Branch (5818:112): [True: 0, False: 1.98k]
  |  Branch (5818:136): [True: 0, False: 1.98k]
  ------------------
 5819|  5.41k|                   (src.devicecoherent && (dst.coherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5819:21): [True: 0, False: 5.41k]
  |  Branch (5819:44): [True: 0, False: 0]
  |  Branch (5819:60): [True: 0, False: 0]
  |  Branch (5819:87): [True: 0, False: 0]
  |  Branch (5819:112): [True: 0, False: 0]
  |  Branch (5819:136): [True: 0, False: 0]
  ------------------
 5820|  5.41k|                   (src.queuefamilycoherent && (dst.coherent || dst.devicecoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5820:21): [True: 0, False: 5.41k]
  |  Branch (5820:49): [True: 0, False: 0]
  |  Branch (5820:65): [True: 0, False: 0]
  |  Branch (5820:87): [True: 0, False: 0]
  |  Branch (5820:112): [True: 0, False: 0]
  |  Branch (5820:136): [True: 0, False: 0]
  ------------------
 5821|  5.41k|                   (src.workgroupcoherent && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5821:21): [True: 0, False: 5.41k]
  |  Branch (5821:47): [True: 0, False: 0]
  |  Branch (5821:63): [True: 0, False: 0]
  |  Branch (5821:85): [True: 0, False: 0]
  |  Branch (5821:112): [True: 0, False: 0]
  |  Branch (5821:136): [True: 0, False: 0]
  ------------------
 5822|  5.41k|                   (src.subgroupcoherent  && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5822:21): [True: 0, False: 5.41k]
  |  Branch (5822:47): [True: 0, False: 0]
  |  Branch (5822:63): [True: 0, False: 0]
  |  Branch (5822:85): [True: 0, False: 0]
  |  Branch (5822:112): [True: 0, False: 0]
  |  Branch (5822:137): [True: 0, False: 0]
  ------------------
 5823|  5.41k|                   (src.shadercallcoherent && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent)))) {
  ------------------
  |  Branch (5823:21): [True: 0, False: 5.41k]
  |  Branch (5823:48): [True: 0, False: 0]
  |  Branch (5823:64): [True: 0, False: 0]
  |  Branch (5823:86): [True: 0, False: 0]
  |  Branch (5823:113): [True: 0, False: 0]
  |  Branch (5823:138): [True: 0, False: 0]
  ------------------
 5824|      0|        error(loc, "only one coherent/devicecoherent/queuefamilycoherent/workgroupcoherent/subgroupcoherent/shadercallcoherent qualifier allowed",
 5825|      0|            GetPrecisionQualifierString(src.precision), "");
 5826|      0|    }
 5827|       |
 5828|       |    // Layout qualifiers
 5829|  7.61k|    mergeObjectLayoutQualifiers(dst, src, false);
 5830|       |
 5831|       |    // individual qualifiers
 5832|  7.61k|    bool repeated = false;
 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
 5834|  7.61k|    MERGE_SINGLETON(invariant);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 0, False: 7.61k]
  |  |  |  Branch (5833:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5835|  7.61k|    MERGE_SINGLETON(centroid);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 0, False: 7.61k]
  |  |  |  Branch (5833:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5836|  7.61k|    MERGE_SINGLETON(smooth);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 0, False: 7.61k]
  |  |  |  Branch (5833:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5837|  7.61k|    MERGE_SINGLETON(flat);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 0, False: 7.61k]
  |  |  |  Branch (5833:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5838|  7.61k|    MERGE_SINGLETON(specConstant);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 0, False: 7.61k]
  |  |  |  Branch (5833:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5839|  7.61k|    MERGE_SINGLETON(noContraction);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 0, False: 7.61k]
  |  |  |  Branch (5833:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5840|  7.61k|    MERGE_SINGLETON(nopersp);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 0, False: 7.61k]
  |  |  |  Branch (5833:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5841|  7.61k|    MERGE_SINGLETON(explicitInterp);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 0, False: 7.61k]
  |  |  |  Branch (5833:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5842|  7.61k|    MERGE_SINGLETON(perPrimitiveNV);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 2, False: 7.61k]
  |  |  |  Branch (5833:61): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 5843|  7.61k|    MERGE_SINGLETON(perViewNV);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 0, False: 7.61k]
  |  |  |  Branch (5833:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5844|  7.61k|    MERGE_SINGLETON(perTaskNV);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 0, False: 7.61k]
  |  |  |  Branch (5833:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5845|  7.61k|    MERGE_SINGLETON(patch);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 4, False: 7.61k]
  |  |  |  Branch (5833:61): [True: 0, False: 4]
  |  |  ------------------
  ------------------
 5846|  7.61k|    MERGE_SINGLETON(sample);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 0, False: 7.61k]
  |  |  |  Branch (5833:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5847|  7.61k|    MERGE_SINGLETON(coherent);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 2.13k, False: 5.47k]
  |  |  |  Branch (5833:61): [True: 0, False: 2.13k]
  |  |  ------------------
  ------------------
 5848|  7.61k|    MERGE_SINGLETON(devicecoherent);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 0, False: 7.61k]
  |  |  |  Branch (5833:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5849|  7.61k|    MERGE_SINGLETON(queuefamilycoherent);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 0, False: 7.61k]
  |  |  |  Branch (5833:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5850|  7.61k|    MERGE_SINGLETON(workgroupcoherent);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 0, False: 7.61k]
  |  |  |  Branch (5833:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5851|  7.61k|    MERGE_SINGLETON(subgroupcoherent);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 0, False: 7.61k]
  |  |  |  Branch (5833:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5852|  7.61k|    MERGE_SINGLETON(shadercallcoherent);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 0, False: 7.61k]
  |  |  |  Branch (5833:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5853|  7.61k|    MERGE_SINGLETON(nonprivate);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 0, False: 7.61k]
  |  |  |  Branch (5833:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5854|  7.61k|    MERGE_SINGLETON(volatil);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 4.01k, False: 3.60k]
  |  |  |  Branch (5833:61): [True: 0, False: 4.01k]
  |  |  ------------------
  ------------------
 5855|  7.61k|    MERGE_SINGLETON(nontemporal);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 110, False: 7.50k]
  |  |  |  Branch (5833:61): [True: 0, False: 110]
  |  |  ------------------
  ------------------
 5856|  7.61k|    MERGE_SINGLETON(restrict);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 0, False: 7.61k]
  |  |  |  Branch (5833:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5857|  7.61k|    MERGE_SINGLETON(readonly);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 937, False: 6.68k]
  |  |  |  Branch (5833:61): [True: 0, False: 937]
  |  |  ------------------
  ------------------
 5858|  7.61k|    MERGE_SINGLETON(writeonly);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 624, False: 6.99k]
  |  |  |  Branch (5833:61): [True: 0, False: 624]
  |  |  ------------------
  ------------------
 5859|  7.61k|    MERGE_SINGLETON(nonUniform);
  ------------------
  |  | 5833|  7.61k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5833:48): [True: 0, False: 7.61k]
  |  |  |  Branch (5833:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5860|       |
 5861|       |    // SPIR-V storage class qualifier (GL_EXT_spirv_intrinsics)
 5862|  7.61k|    dst.spirvStorageClass = src.spirvStorageClass;
 5863|       |
 5864|       |    // SPIR-V decorate qualifiers (GL_EXT_spirv_intrinsics)
 5865|  7.61k|    if (src.hasSpirvDecorate()) {
  ------------------
  |  Branch (5865:9): [True: 0, False: 7.61k]
  ------------------
 5866|      0|        if (dst.hasSpirvDecorate()) {
  ------------------
  |  Branch (5866:13): [True: 0, False: 0]
  ------------------
 5867|      0|            const TSpirvDecorate& srcSpirvDecorate = src.getSpirvDecorate();
 5868|      0|            TSpirvDecorate& dstSpirvDecorate = dst.getSpirvDecorate();
 5869|      0|            for (auto& decorate : srcSpirvDecorate.decorates) {
  ------------------
  |  Branch (5869:33): [True: 0, False: 0]
  ------------------
 5870|      0|                if (dstSpirvDecorate.decorates.find(decorate.first) != dstSpirvDecorate.decorates.end())
  ------------------
  |  Branch (5870:21): [True: 0, False: 0]
  ------------------
 5871|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate", "(decoration=%u)", decorate.first);
 5872|      0|                else
 5873|      0|                    dstSpirvDecorate.decorates.insert(decorate);
 5874|      0|            }
 5875|       |
 5876|      0|            for (auto& decorateId : srcSpirvDecorate.decorateIds) {
  ------------------
  |  Branch (5876:35): [True: 0, False: 0]
  ------------------
 5877|      0|                if (dstSpirvDecorate.decorateIds.find(decorateId.first) != dstSpirvDecorate.decorateIds.end())
  ------------------
  |  Branch (5877:21): [True: 0, False: 0]
  ------------------
 5878|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate_id", "(decoration=%u)", decorateId.first);
 5879|      0|                else
 5880|      0|                    dstSpirvDecorate.decorateIds.insert(decorateId);
 5881|      0|            }
 5882|       |
 5883|      0|            for (auto& decorateString : srcSpirvDecorate.decorateStrings) {
  ------------------
  |  Branch (5883:39): [True: 0, False: 0]
  ------------------
 5884|      0|                if (dstSpirvDecorate.decorates.find(decorateString.first) != dstSpirvDecorate.decorates.end())
  ------------------
  |  Branch (5884:21): [True: 0, False: 0]
  ------------------
 5885|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate_string", "(decoration=%u)", decorateString.first);
 5886|      0|                else
 5887|      0|                    dstSpirvDecorate.decorateStrings.insert(decorateString);
 5888|      0|            }
 5889|      0|        } else {
 5890|      0|            dst.spirvDecorate = src.spirvDecorate;
 5891|      0|        }
 5892|      0|    }
 5893|       |
 5894|  7.61k|    if (repeated)
  ------------------
  |  Branch (5894:9): [True: 0, False: 7.61k]
  ------------------
 5895|      0|        error(loc, "replicated qualifiers", "", "");
 5896|  7.61k|}
_ZN7glslang13TParseContext23computeSamplerTypeIndexERNS_8TSamplerE:
 5934|  7.55k|{
 5935|  7.55k|    int arrayIndex    = sampler.arrayed         ? 1 : 0;
  ------------------
  |  Branch (5935:25): [True: 1.63k, False: 5.92k]
  ------------------
 5936|  7.55k|    int shadowIndex   = sampler.shadow          ? 1 : 0;
  ------------------
  |  Branch (5936:25): [True: 699, False: 6.85k]
  ------------------
 5937|  7.55k|    int externalIndex = sampler.isExternal()    ? 1 : 0;
  ------------------
  |  Branch (5937:25): [True: 432, False: 7.12k]
  ------------------
 5938|  7.55k|    int imageIndex    = sampler.isImageClass()  ? 1 : 0;
  ------------------
  |  Branch (5938:25): [True: 1.56k, False: 5.99k]
  ------------------
 5939|  7.55k|    int msIndex       = sampler.isMultiSample() ? 1 : 0;
  ------------------
  |  Branch (5939:25): [True: 360, False: 7.19k]
  ------------------
 5940|       |
 5941|  7.55k|    int flattened = EsdNumDims * (EbtNumTypes * (2 * (2 * (2 * (2 * arrayIndex + msIndex) + imageIndex) + shadowIndex) +
 5942|  7.55k|                                                 externalIndex) + sampler.type) + sampler.dim;
 5943|  7.55k|    assert(flattened < maxSamplerIndex);
 5944|       |
 5945|  7.55k|    return flattened;
 5946|  7.55k|}
_ZN7glslang13TParseContext19getDefaultPrecisionERNS_11TPublicTypeE:
 5949|   100k|{
 5950|   100k|    if (publicType.basicType == EbtSampler)
  ------------------
  |  Branch (5950:9): [True: 6.90k, False: 93.7k]
  ------------------
 5951|  6.90k|        return defaultSamplerPrecision[computeSamplerTypeIndex(publicType.sampler)];
 5952|  93.7k|    else
 5953|  93.7k|        return defaultPrecision[publicType.basicType];
 5954|   100k|}
_ZN7glslang13TParseContext23precisionQualifierCheckERKNS_10TSourceLocENS_10TBasicTypeERNS_10TQualifierEb:
 5957|   100k|{
 5958|       |    // Built-in symbols are allowed some ambiguous precisions, to be pinned down
 5959|       |    // later by context.
 5960|   100k|    if (! obeyPrecisionQualifiers() || parsingBuiltins)
  ------------------
  |  Branch (5960:9): [True: 0, False: 100k]
  |  Branch (5960:40): [True: 100k, False: 0]
  ------------------
 5961|   100k|        return;
 5962|       |
 5963|      0|    if (baseType == EbtAtomicUint && qualifier.precision != EpqNone && qualifier.precision != EpqHigh)
  ------------------
  |  Branch (5963:9): [True: 0, False: 0]
  |  Branch (5963:38): [True: 0, False: 0]
  |  Branch (5963:72): [True: 0, False: 0]
  ------------------
 5964|      0|        error(loc, "atomic counters can only be highp", "atomic_uint", "");
 5965|       |
 5966|      0|    if (hasTypeParameter)
  ------------------
  |  Branch (5966:9): [True: 0, False: 0]
  ------------------
 5967|      0|        return;
 5968|       |
 5969|      0|    if (baseType == EbtFloat || baseType == EbtUint || baseType == EbtInt || baseType == EbtSampler || baseType == EbtAtomicUint) {
  ------------------
  |  Branch (5969:9): [True: 0, False: 0]
  |  Branch (5969:33): [True: 0, False: 0]
  |  Branch (5969:56): [True: 0, False: 0]
  |  Branch (5969:78): [True: 0, False: 0]
  |  Branch (5969:104): [True: 0, False: 0]
  ------------------
 5970|      0|        if (qualifier.precision == EpqNone) {
  ------------------
  |  Branch (5970:13): [True: 0, False: 0]
  ------------------
 5971|      0|            if (relaxedErrors())
  ------------------
  |  Branch (5971:17): [True: 0, False: 0]
  ------------------
 5972|      0|                warn(loc, "type requires declaration of default precision qualifier", TType::getBasicString(baseType), "substituting 'mediump'");
 5973|      0|            else
 5974|      0|                error(loc, "type requires declaration of default precision qualifier", TType::getBasicString(baseType), "");
 5975|      0|            qualifier.precision = EpqMedium;
 5976|      0|            defaultPrecision[baseType] = EpqMedium;
 5977|      0|        }
 5978|      0|    } else if (qualifier.precision != EpqNone)
  ------------------
  |  Branch (5978:16): [True: 0, False: 0]
  ------------------
 5979|      0|        error(loc, "type cannot have precision qualifier", TType::getBasicString(baseType), "");
 5980|      0|}
_ZN7glslang13TParseContext18parameterTypeCheckERKNS_10TSourceLocENS_17TStorageQualifierERKNS_5TTypeE:
 5983|  68.5k|{
 5984|       |    // getBindlessMode() is only set once a bindless construct has been parsed, so it is
 5985|       |    // still false for a function declared above the first one. Ask the extension instead.
 5986|  68.5k|    const bool bindlessHandle =
 5987|  68.5k|        type.getBasicType() == EbtSampler && intermediate.IsRequestedExtension(E_GL_ARB_bindless_texture);
  ------------------
  |  Branch (5987:9): [True: 6.90k, False: 61.6k]
  |  Branch (5987:46): [True: 0, False: 6.90k]
  ------------------
 5988|  68.5k|    if ((qualifier == EvqOut || qualifier == EvqInOut) && type.isOpaque() && !bindlessHandle)
  ------------------
  |  Branch (5988:10): [True: 1.56k, False: 67.0k]
  |  Branch (5988:33): [True: 108, False: 66.9k]
  |  Branch (5988:59): [True: 0, False: 1.67k]
  |  Branch (5988:78): [True: 0, False: 0]
  ------------------
 5989|      0|        error(loc, "samplers and atomic_uints cannot be output parameters", type.getBasicTypeString().c_str(), "");
 5990|  68.5k|    if (!parsingBuiltins && type.contains16BitFloat())
  ------------------
  |  Branch (5990:9): [True: 0, False: 68.5k]
  |  Branch (5990:29): [True: 0, False: 0]
  ------------------
 5991|      0|        requireFloat16Arithmetic(loc, type.getBasicTypeString().c_str(), "float16 types can only be in uniform block or buffer storage");
 5992|  68.5k|    if (!parsingBuiltins && type.contains16BitInt())
  ------------------
  |  Branch (5992:9): [True: 0, False: 68.5k]
  |  Branch (5992:29): [True: 0, False: 0]
  ------------------
 5993|      0|        requireInt16Arithmetic(loc, type.getBasicTypeString().c_str(), "(u)int16 types can only be in uniform block or buffer storage");
 5994|  68.5k|    if (!parsingBuiltins && type.contains8BitInt())
  ------------------
  |  Branch (5994:9): [True: 0, False: 68.5k]
  |  Branch (5994:29): [True: 0, False: 0]
  ------------------
 5995|      0|        requireInt8Arithmetic(loc, type.getBasicTypeString().c_str(), "(u)int8 types can only be in uniform block or buffer storage");
 5996|  68.5k|}
_ZN7glslang13TParseContext26containsFieldWithBasicTypeERKNS_5TTypeENS_10TBasicTypeE:
 5999|    584|{
 6000|    584|    if (type.getBasicType() == basicType)
  ------------------
  |  Branch (6000:9): [True: 0, False: 584]
  ------------------
 6001|      0|        return true;
 6002|       |
 6003|    584|    if (type.getBasicType() == EbtStruct) {
  ------------------
  |  Branch (6003:9): [True: 146, False: 438]
  ------------------
 6004|    146|        const TTypeList& structure = *type.getStruct();
 6005|    584|        for (unsigned int i = 0; i < structure.size(); ++i) {
  ------------------
  |  Branch (6005:34): [True: 438, False: 146]
  ------------------
 6006|    438|            if (containsFieldWithBasicType(*structure[i].type, basicType))
  ------------------
  |  Branch (6006:17): [True: 0, False: 438]
  ------------------
 6007|      0|                return true;
 6008|    438|        }
 6009|    146|    }
 6010|       |
 6011|    584|    return false;
 6012|    584|}
_ZN7glslang13TParseContext14arraySizeCheckERKNS_10TSourceLocEPNS_12TIntermTypedERNS_10TArraySizeEPKcb:
 6019|    196|{
 6020|    196|    bool isConst = false;
 6021|    196|    sizePair.node = nullptr;
 6022|       |
 6023|    196|    int size = 1;
 6024|       |
 6025|    196|    TIntermConstantUnion* constant = expr->getAsConstantUnion();
 6026|    196|    if (constant) {
  ------------------
  |  Branch (6026:9): [True: 196, False: 0]
  ------------------
 6027|       |        // handle true (non-specialization) constant
 6028|    196|        size = constant->getConstArray()[0].getIConst();
 6029|    196|        isConst = true;
 6030|    196|    } else {
 6031|       |        // see if it's a specialization constant instead
 6032|      0|        if (expr->getQualifier().isSpecConstant()) {
  ------------------
  |  Branch (6032:13): [True: 0, False: 0]
  ------------------
 6033|      0|            isConst = true;
 6034|      0|            sizePair.node = expr;
 6035|      0|            TIntermSymbol* symbol = expr->getAsSymbolNode();
 6036|      0|            if (symbol && symbol->getConstArray().size() > 0)
  ------------------
  |  Branch (6036:17): [True: 0, False: 0]
  |  Branch (6036:27): [True: 0, False: 0]
  ------------------
 6037|      0|                size = symbol->getConstArray()[0].getIConst();
 6038|      0|        } else if (expr->getAsUnaryNode() && expr->getAsUnaryNode()->getOp() == glslang::EOpArrayLength &&
  ------------------
  |  Branch (6038:20): [True: 0, False: 0]
  |  Branch (6038:46): [True: 0, False: 0]
  ------------------
 6039|      0|                   expr->getAsUnaryNode()->getOperand()->getType().isCoopMatNV()) {
  ------------------
  |  Branch (6039:20): [True: 0, False: 0]
  ------------------
 6040|      0|            isConst = true;
 6041|      0|            size = 1;
 6042|      0|            sizePair.node = expr->getAsUnaryNode();
 6043|      0|        }
 6044|      0|    }
 6045|       |
 6046|    196|    sizePair.size = size;
 6047|       |
 6048|    196|    if (isTypeParameter) {
  ------------------
  |  Branch (6048:9): [True: 12, False: 184]
  ------------------
 6049|     12|        if (extensionTurnedOn(E_GL_NV_cooperative_matrix2)) {
  ------------------
  |  Branch (6049:13): [True: 0, False: 12]
  ------------------
 6050|      0|            if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint && expr->getBasicType() != EbtBool)) {
  ------------------
  |  Branch (6050:17): [True: 0, False: 0]
  |  Branch (6050:31): [True: 0, False: 0]
  |  Branch (6050:65): [True: 0, False: 0]
  |  Branch (6050:100): [True: 0, False: 0]
  ------------------
 6051|      0|                error(loc, sizeType, "", "must be a constant integer or boolean expression");
 6052|      0|                return;
 6053|      0|            }
 6054|     12|        } else {
 6055|     12|            if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint)) {
  ------------------
  |  Branch (6055:17): [True: 0, False: 12]
  |  Branch (6055:31): [True: 0, False: 12]
  |  Branch (6055:65): [True: 0, False: 0]
  ------------------
 6056|      0|                error(loc, sizeType, "", "must be a constant integer expression");
 6057|      0|                return;
 6058|      0|            }
 6059|     12|        }
 6060|     12|        if (size < 0) {
  ------------------
  |  Branch (6060:13): [True: 0, False: 12]
  ------------------
 6061|      0|            error(loc, sizeType, "", "must be a non-negative integer");
 6062|      0|            return;
 6063|      0|        }
 6064|    184|    } else {
 6065|    184|        if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint)) {
  ------------------
  |  Branch (6065:13): [True: 0, False: 184]
  |  Branch (6065:27): [True: 0, False: 184]
  |  Branch (6065:61): [True: 0, False: 0]
  ------------------
 6066|      0|            error(loc, sizeType, "", "must be a constant integer expression");
 6067|      0|            return;
 6068|      0|        }
 6069|    184|        if (size <= 0) {
  ------------------
  |  Branch (6069:13): [True: 0, False: 184]
  ------------------
 6070|      0|            error(loc, sizeType, "", "must be a positive integer");
 6071|      0|            return;
 6072|      0|        }
 6073|    184|    }
 6074|    196|}
_ZN7glslang13TParseContext19arrayQualifierErrorERKNS_10TSourceLocERKNS_10TQualifierE:
 6082|     22|{
 6083|     22|    if (qualifier.storage == EvqConst) {
  ------------------
  |  Branch (6083:9): [True: 0, False: 22]
  ------------------
 6084|      0|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "const array");
 6085|      0|        profileRequires(loc, EEsProfile, 300, nullptr, "const array");
 6086|      0|    }
 6087|       |
 6088|     22|    if (qualifier.storage == EvqVaryingIn && language == EShLangVertex) {
  ------------------
  |  Branch (6088:9): [True: 4, False: 18]
  |  Branch (6088:46): [True: 0, False: 4]
  ------------------
 6089|      0|        requireProfile(loc, ~EEsProfile, "vertex input arrays");
 6090|      0|        profileRequires(loc, ENoProfile, 150, nullptr, "vertex input arrays");
 6091|      0|    }
 6092|       |
 6093|     22|    return false;
 6094|     22|}
_ZN7glslang13TParseContext10arrayErrorERKNS_10TSourceLocERKNS_5TTypeE:
 6103|     22|{
 6104|     22|    if (type.getQualifier().storage == EvqVaryingOut && language == EShLangVertex) {
  ------------------
  |  Branch (6104:9): [True: 18, False: 4]
  |  Branch (6104:57): [True: 4, False: 14]
  ------------------
 6105|      4|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (6105:13): [True: 0, False: 4]
  ------------------
 6106|      0|            requireProfile(loc, ~EEsProfile, "vertex-shader array-of-array output");
 6107|      4|        else if (type.isStruct())
  ------------------
  |  Branch (6107:18): [True: 0, False: 4]
  ------------------
 6108|      0|            requireProfile(loc, ~EEsProfile, "vertex-shader array-of-struct output");
 6109|      4|    }
 6110|     22|    if (type.getQualifier().storage == EvqVaryingIn && language == EShLangFragment) {
  ------------------
  |  Branch (6110:9): [True: 4, False: 18]
  |  Branch (6110:56): [True: 0, False: 4]
  ------------------
 6111|      0|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (6111:13): [True: 0, False: 0]
  ------------------
 6112|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-array input");
 6113|      0|        else if (type.isStruct())
  ------------------
  |  Branch (6113:18): [True: 0, False: 0]
  ------------------
 6114|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-struct input");
 6115|      0|    }
 6116|     22|    if (type.getQualifier().storage == EvqVaryingOut && language == EShLangFragment) {
  ------------------
  |  Branch (6116:9): [True: 18, False: 4]
  |  Branch (6116:57): [True: 0, False: 18]
  ------------------
 6117|      0|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (6117:13): [True: 0, False: 0]
  ------------------
 6118|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-array output");
 6119|      0|    }
 6120|       |
 6121|     22|    return false;
 6122|     22|}
_ZN7glslang13TParseContext22arraySizeRequiredCheckERKNS_10TSourceLocERKNS_11TArraySizesE:
 6128|  1.37k|{
 6129|  1.37k|    if (!parsingBuiltins && arraySizes.hasUnsized())
  ------------------
  |  Branch (6129:9): [True: 0, False: 1.37k]
  |  Branch (6129:29): [True: 0, False: 0]
  ------------------
 6130|      0|        error(loc, "array size required", "", "");
 6131|  1.37k|}
_ZN7glslang13TParseContext16structArrayCheckERKNS_10TSourceLocERKNS_5TTypeE:
 6134|     75|{
 6135|     75|    const TTypeList& structure = *type.getStruct();
 6136|    304|    for (int m = 0; m < (int)structure.size(); ++m) {
  ------------------
  |  Branch (6136:21): [True: 229, False: 75]
  ------------------
 6137|    229|        const TType& member = *structure[m].type;
 6138|    229|        if (member.isArray())
  ------------------
  |  Branch (6138:13): [True: 0, False: 229]
  ------------------
 6139|      0|            arraySizeRequiredCheck(structure[m].loc, *member.getArraySizes());
 6140|    229|    }
 6141|     75|}
_ZN7glslang13TParseContext15arraySizesCheckERKNS_10TSourceLocERKNS_10TQualifierEPNS_11TArraySizesEPKNS_12TIntermTypedEb:
 6145|     53|{
 6146|     53|    assert(arraySizes);
 6147|       |
 6148|       |    // always allow special built-in ins/outs sized to topologies
 6149|     53|    if (parsingBuiltins)
  ------------------
  |  Branch (6149:9): [True: 53, False: 0]
  ------------------
 6150|     53|        return;
 6151|       |
 6152|       |    // initializer must be a sized array, in which case
 6153|       |    // allow the initializer to set any unknown array sizes
 6154|      0|    if (initializer != nullptr) {
  ------------------
  |  Branch (6154:9): [True: 0, False: 0]
  ------------------
 6155|      0|        if (initializer->getType().isUnsizedArray())
  ------------------
  |  Branch (6155:13): [True: 0, False: 0]
  ------------------
 6156|      0|            error(loc, "array initializer must be sized", "[]", "");
 6157|      0|        return;
 6158|      0|    }
 6159|       |
 6160|       |    // No environment allows any non-outer-dimension to be implicitly sized
 6161|      0|    if (arraySizes->isInnerUnsized()) {
  ------------------
  |  Branch (6161:9): [True: 0, False: 0]
  ------------------
 6162|      0|        error(loc, "only outermost dimension of an array of arrays can be implicitly sized", "[]", "");
 6163|      0|        arraySizes->clearInnerUnsized();
 6164|      0|    }
 6165|       |
 6166|      0|    if (arraySizes->isInnerSpecialization() &&
  ------------------
  |  Branch (6166:9): [True: 0, False: 0]
  ------------------
 6167|      0|        (qualifier.storage != EvqTemporary && qualifier.storage != EvqGlobal && qualifier.storage != EvqShared && qualifier.storage != EvqConst))
  ------------------
  |  Branch (6167:10): [True: 0, False: 0]
  |  Branch (6167:47): [True: 0, False: 0]
  |  Branch (6167:81): [True: 0, False: 0]
  |  Branch (6167:115): [True: 0, False: 0]
  ------------------
 6168|      0|        error(loc, "only outermost dimension of an array of arrays can be a specialization constant", "[]", "");
 6169|       |
 6170|       |    // desktop always allows outer-dimension-unsized variable arrays,
 6171|      0|    if (!isEsProfile())
  ------------------
  |  Branch (6171:9): [True: 0, False: 0]
  ------------------
 6172|      0|        return;
 6173|       |
 6174|       |    // for ES, if size isn't coming from an initializer, it has to be explicitly declared now,
 6175|       |    // with very few exceptions
 6176|       |
 6177|       |    // implicitly-sized io exceptions:
 6178|      0|    switch (language) {
 6179|      0|    case EShLangGeometry:
  ------------------
  |  Branch (6179:5): [True: 0, False: 0]
  ------------------
 6180|      0|        if (qualifier.storage == EvqVaryingIn)
  ------------------
  |  Branch (6180:13): [True: 0, False: 0]
  ------------------
 6181|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (6181:18): [True: 0, False: 0]
  |  Branch (6181:35): [True: 0, False: 0]
  ------------------
 6182|      0|                extensionsTurnedOn(Num_AEP_geometry_shader, AEP_geometry_shader))
  ------------------
  |  Branch (6182:17): [True: 0, False: 0]
  ------------------
 6183|      0|                return;
 6184|      0|        break;
 6185|      0|    case EShLangTessControl:
  ------------------
  |  Branch (6185:5): [True: 0, False: 0]
  ------------------
 6186|      0|        if ( qualifier.storage == EvqVaryingIn ||
  ------------------
  |  Branch (6186:14): [True: 0, False: 0]
  ------------------
 6187|      0|            (qualifier.storage == EvqVaryingOut && ! qualifier.isPatch()))
  ------------------
  |  Branch (6187:14): [True: 0, False: 0]
  |  Branch (6187:52): [True: 0, False: 0]
  ------------------
 6188|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (6188:18): [True: 0, False: 0]
  |  Branch (6188:35): [True: 0, False: 0]
  ------------------
 6189|      0|                extensionsTurnedOn(Num_AEP_tessellation_shader, AEP_tessellation_shader))
  ------------------
  |  Branch (6189:17): [True: 0, False: 0]
  ------------------
 6190|      0|                return;
 6191|      0|        break;
 6192|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (6192:5): [True: 0, False: 0]
  ------------------
 6193|      0|        if ((qualifier.storage == EvqVaryingIn && ! qualifier.isPatch()) ||
  ------------------
  |  Branch (6193:14): [True: 0, False: 0]
  |  Branch (6193:51): [True: 0, False: 0]
  ------------------
 6194|      0|             qualifier.storage == EvqVaryingOut)
  ------------------
  |  Branch (6194:14): [True: 0, False: 0]
  ------------------
 6195|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (6195:18): [True: 0, False: 0]
  |  Branch (6195:35): [True: 0, False: 0]
  ------------------
 6196|      0|                extensionsTurnedOn(Num_AEP_tessellation_shader, AEP_tessellation_shader))
  ------------------
  |  Branch (6196:17): [True: 0, False: 0]
  ------------------
 6197|      0|                return;
 6198|      0|        break;
 6199|      0|    case EShLangMesh:
  ------------------
  |  Branch (6199:5): [True: 0, False: 0]
  ------------------
 6200|      0|        if (qualifier.storage == EvqVaryingOut)
  ------------------
  |  Branch (6200:13): [True: 0, False: 0]
  ------------------
 6201|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (6201:18): [True: 0, False: 0]
  |  Branch (6201:35): [True: 0, False: 0]
  ------------------
 6202|      0|                extensionsTurnedOn(Num_AEP_mesh_shader, AEP_mesh_shader))
  ------------------
  |  Branch (6202:17): [True: 0, False: 0]
  ------------------
 6203|      0|                return;
 6204|      0|        break;
 6205|      0|    default:
  ------------------
  |  Branch (6205:5): [True: 0, False: 0]
  ------------------
 6206|      0|        break;
 6207|      0|    }
 6208|       |
 6209|       |    // last member of ssbo block exception:
 6210|      0|    if (qualifier.storage == EvqBuffer && lastMember)
  ------------------
  |  Branch (6210:9): [True: 0, False: 0]
  |  Branch (6210:43): [True: 0, False: 0]
  ------------------
 6211|      0|        return;
 6212|       |
 6213|      0|    if (qualifier.storage == EvqUniform && lastMember && extensionTurnedOn(E_GL_EXT_uniform_buffer_unsized_array))
  ------------------
  |  Branch (6213:9): [True: 0, False: 0]
  |  Branch (6213:44): [True: 0, False: 0]
  |  Branch (6213:58): [True: 0, False: 0]
  ------------------
 6214|      0|        return;
 6215|       |
 6216|      0|    arraySizeRequiredCheck(loc, *arraySizes);
 6217|      0|}
_ZN7glslang13TParseContext24arrayOfArrayVersionCheckERKNS_10TSourceLocEPKNS_11TArraySizesE:
 6220|  2.87k|{
 6221|  2.87k|    if (sizes == nullptr || sizes->getNumDims() == 1)
  ------------------
  |  Branch (6221:9): [True: 1.42k, False: 1.44k]
  |  Branch (6221:29): [True: 1.44k, False: 6]
  ------------------
 6222|  2.86k|        return;
 6223|       |
 6224|      6|    const char* feature = "arrays of arrays";
 6225|       |
 6226|      6|    requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, feature);
 6227|      6|    profileRequires(loc, EEsProfile, 310, nullptr, feature);
 6228|      6|    profileRequires(loc, ECoreProfile | ECompatibilityProfile, 430, nullptr, feature);
 6229|      6|}
_ZN7glslang13TParseContext12declareArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeERPNS_7TSymbolE:
 6236|     22|{
 6237|     22|    if (symbol == nullptr) {
  ------------------
  |  Branch (6237:9): [True: 22, False: 0]
  ------------------
 6238|     22|        bool currentScope;
 6239|     22|        symbol = symbolTable.find(identifier, nullptr, &currentScope);
 6240|       |
 6241|     22|        if (symbol && builtInName(identifier) && ! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (6241:13): [True: 0, False: 22]
  |  Branch (6241:23): [True: 0, False: 0]
  |  Branch (6241:50): [True: 0, False: 0]
  ------------------
 6242|       |            // bad shader (errors already reported) trying to redeclare a built-in name as an array
 6243|      0|            symbol = nullptr;
 6244|      0|            return;
 6245|      0|        }
 6246|     22|        if (symbol == nullptr || ! currentScope) {
  ------------------
  |  Branch (6246:13): [True: 22, False: 0]
  |  Branch (6246:34): [True: 0, False: 0]
  ------------------
 6247|       |            //
 6248|       |            // Successfully process a new definition.
 6249|       |            // (Redeclarations have to take place at the same scope; otherwise they are hiding declarations)
 6250|       |            //
 6251|     22|            symbol = new TVariable(&identifier, type);
 6252|     22|            symbolTable.insert(*symbol);
 6253|     22|            if (symbolTable.atGlobalLevel())
  ------------------
  |  Branch (6253:17): [True: 22, False: 0]
  ------------------
 6254|     22|                trackLinkage(*symbol);
 6255|       |
 6256|     22|            if (! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (6256:17): [True: 0, False: 22]
  ------------------
 6257|      0|                if (isIoResizeArray(type)) {
  ------------------
  |  Branch (6257:21): [True: 0, False: 0]
  ------------------
 6258|      0|                    ioArraySymbolResizeList.push_back(symbol);
 6259|      0|                    checkIoArraysConsistency(loc, true);
 6260|      0|                } else
 6261|      0|                    fixIoArraySize(loc, symbol->getWritableType());
 6262|      0|            }
 6263|       |
 6264|     22|            return;
 6265|     22|        }
 6266|      0|        if (symbol->getAsAnonMember()) {
  ------------------
  |  Branch (6266:13): [True: 0, False: 0]
  ------------------
 6267|      0|            error(loc, "cannot redeclare a user-block member array", identifier.c_str(), "");
 6268|      0|            symbol = nullptr;
 6269|      0|            return;
 6270|      0|        }
 6271|      0|    }
 6272|       |
 6273|       |    //
 6274|       |    // Process a redeclaration.
 6275|       |    //
 6276|       |
 6277|      0|    if (symbol == nullptr) {
  ------------------
  |  Branch (6277:9): [True: 0, False: 0]
  ------------------
 6278|      0|        error(loc, "array variable name expected", identifier.c_str(), "");
 6279|      0|        return;
 6280|      0|    }
 6281|       |
 6282|       |    // redeclareBuiltinVariable() should have already done the copyUp()
 6283|      0|    TType& existingType = symbol->getWritableType();
 6284|       |
 6285|      0|    if (! existingType.isArray()) {
  ------------------
  |  Branch (6285:9): [True: 0, False: 0]
  ------------------
 6286|      0|        error(loc, "redeclaring non-array as array", identifier.c_str(), "");
 6287|      0|        return;
 6288|      0|    }
 6289|       |
 6290|      0|    if (! existingType.sameElementType(type)) {
  ------------------
  |  Branch (6290:9): [True: 0, False: 0]
  ------------------
 6291|      0|        error(loc, "redeclaration of array with a different element type", identifier.c_str(), "");
 6292|      0|        return;
 6293|      0|    }
 6294|       |
 6295|      0|    if (! existingType.sameInnerArrayness(type)) {
  ------------------
  |  Branch (6295:9): [True: 0, False: 0]
  ------------------
 6296|      0|        error(loc, "redeclaration of array with a different array dimensions or sizes", identifier.c_str(), "");
 6297|      0|        return;
 6298|      0|    }
 6299|       |
 6300|      0|    if (existingType.isSizedArray()) {
  ------------------
  |  Branch (6300:9): [True: 0, False: 0]
  ------------------
 6301|       |        // be more leniant for input arrays to geometry shaders and tessellation control outputs, where the redeclaration is the same size
 6302|      0|        if (! (isIoResizeArray(type) && existingType.getOuterArraySize() == type.getOuterArraySize()))
  ------------------
  |  Branch (6302:16): [True: 0, False: 0]
  |  Branch (6302:41): [True: 0, False: 0]
  ------------------
 6303|      0|            error(loc, "redeclaration of array with size", identifier.c_str(), "");
 6304|      0|        return;
 6305|      0|    }
 6306|       |
 6307|      0|    arrayLimitCheck(loc, identifier, type.getOuterArraySize());
 6308|       |
 6309|      0|    existingType.updateArraySizes(type);
 6310|       |
 6311|      0|    if (isIoResizeArray(type))
  ------------------
  |  Branch (6311:9): [True: 0, False: 0]
  ------------------
 6312|      0|        checkIoArraysConsistency(loc);
 6313|      0|}
_ZN7glslang13TParseContext25checkAndResizeMeshViewDimERKNS_10TSourceLocERNS_5TTypeEb:
 6387|  1.20k|{
 6388|       |    // see if member is a per-view attribute
 6389|  1.20k|    if (!type.getQualifier().isPerView())
  ------------------
  |  Branch (6389:9): [True: 1.20k, False: 5]
  ------------------
 6390|  1.20k|        return;
 6391|       |
 6392|      5|    if ((isBlockMember && type.isArray()) || (!isBlockMember && type.isArrayOfArrays())) {
  ------------------
  |  Branch (6392:10): [True: 5, False: 0]
  |  Branch (6392:27): [True: 5, False: 0]
  |  Branch (6392:47): [True: 0, False: 0]
  |  Branch (6392:65): [True: 0, False: 0]
  ------------------
 6393|       |        // since we don't have the maxMeshViewCountNV set during parsing builtins, we hardcode the value.
 6394|      5|        int maxViewCount = parsingBuiltins ? 4 : resources.maxMeshViewCountNV;
  ------------------
  |  Branch (6394:28): [True: 5, False: 0]
  ------------------
 6395|       |        // For block members, outermost array dimension is the view dimension.
 6396|       |        // For non-block members, outermost array dimension is the vertex/primitive dimension
 6397|       |        // and 2nd outermost is the view dimension.
 6398|      5|        int viewDim = isBlockMember ? 0 : 1;
  ------------------
  |  Branch (6398:23): [True: 5, False: 0]
  ------------------
 6399|      5|        int viewDimSize = type.getArraySizes()->getDimSize(viewDim);
 6400|       |
 6401|      5|        if (viewDimSize != UnsizedArraySize && viewDimSize != maxViewCount)
  ------------------
  |  Branch (6401:13): [True: 0, False: 5]
  |  Branch (6401:48): [True: 0, False: 0]
  ------------------
 6402|      0|            error(loc, "mesh view output array size must be gl_MaxMeshViewCountNV or implicitly sized", "[]", "");
 6403|      5|        else if (viewDimSize == UnsizedArraySize)
  ------------------
  |  Branch (6403:18): [True: 5, False: 0]
  ------------------
 6404|      5|            type.getArraySizes()->setDimSize(viewDim, maxViewCount);
 6405|      5|    }
 6406|      0|    else {
 6407|      0|        error(loc, "requires a view array dimension", "perviewNV", "");
 6408|      0|    }
 6409|      5|}
_ZN7glslang13TParseContext17nonInitConstCheckERKNS_10TSourceLocERNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeE:
 6429|    755|{
 6430|       |    //
 6431|       |    // Make the qualifier make sense, given that there is not an initializer.
 6432|       |    //
 6433|    755|    if (type.getQualifier().storage == EvqConst ||
  ------------------
  |  Branch (6433:9): [True: 0, False: 755]
  ------------------
 6434|    755|        type.getQualifier().storage == EvqConstReadOnly) {
  ------------------
  |  Branch (6434:9): [True: 0, False: 755]
  ------------------
 6435|      0|        type.getQualifier().makeTemporary();
 6436|      0|        error(loc, "variables with qualifier 'const' must be initialized", identifier.c_str(), "");
 6437|      0|    }
 6438|    755|}
_ZN7glslang13TParseContext24redeclareBuiltinVariableERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_10TQualifierERKNS_17TShaderQualifiersE:
 6452|  1.19k|{
 6453|  1.19k|    if (! builtInName(identifier) || symbolTable.atBuiltInLevel() || ! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (6453:9): [True: 0, False: 1.19k]
  |  Branch (6453:38): [True: 1.19k, False: 0]
  |  Branch (6453:70): [True: 0, False: 0]
  ------------------
 6454|  1.19k|        return nullptr;
 6455|       |
 6456|      0|    bool nonEsRedecls = (!isEsProfile() && (version >= 130 || identifier == "gl_TexCoord"));
  ------------------
  |  Branch (6456:26): [True: 0, False: 0]
  |  Branch (6456:45): [True: 0, False: 0]
  |  Branch (6456:63): [True: 0, False: 0]
  ------------------
 6457|      0|    bool    esRedecls = (isEsProfile() &&
  ------------------
  |  Branch (6457:26): [True: 0, False: 0]
  ------------------
 6458|      0|                         (version >= 320 || extensionsTurnedOn(Num_AEP_shader_io_blocks, AEP_shader_io_blocks) ||
  ------------------
  |  Branch (6458:27): [True: 0, False: 0]
  |  Branch (6458:45): [True: 0, False: 0]
  ------------------
 6459|      0|                          (identifier == "gl_FragDepth" && extensionTurnedOn(E_GL_EXT_conservative_depth)) ||
  ------------------
  |  Branch (6459:28): [True: 0, False: 0]
  |  Branch (6459:60): [True: 0, False: 0]
  ------------------
 6460|      0|                          ((identifier == "gl_ClipDistance" || identifier == "gl_CullDistance") &&
  ------------------
  |  Branch (6460:29): [True: 0, False: 0]
  |  Branch (6460:64): [True: 0, False: 0]
  ------------------
 6461|      0|                           extensionTurnedOn(E_GL_EXT_clip_cull_distance))));
  ------------------
  |  Branch (6461:28): [True: 0, False: 0]
  ------------------
 6462|      0|    if (! esRedecls && ! nonEsRedecls)
  ------------------
  |  Branch (6462:9): [True: 0, False: 0]
  |  Branch (6462:24): [True: 0, False: 0]
  ------------------
 6463|      0|        return nullptr;
 6464|       |
 6465|       |    // Special case when using GL_ARB_separate_shader_objects
 6466|      0|    bool ssoPre150 = false;  // means the only reason this variable is redeclared is due to this combination
 6467|      0|    if (!isEsProfile() && version <= 140 && extensionTurnedOn(E_GL_ARB_separate_shader_objects)) {
  ------------------
  |  Branch (6467:9): [True: 0, False: 0]
  |  Branch (6467:27): [True: 0, False: 0]
  |  Branch (6467:45): [True: 0, False: 0]
  ------------------
 6468|      0|        if (identifier == "gl_Position"     ||
  ------------------
  |  Branch (6468:13): [True: 0, False: 0]
  ------------------
 6469|      0|            identifier == "gl_PointSize"    ||
  ------------------
  |  Branch (6469:13): [True: 0, False: 0]
  ------------------
 6470|      0|            identifier == "gl_ClipVertex"   ||
  ------------------
  |  Branch (6470:13): [True: 0, False: 0]
  ------------------
 6471|      0|            identifier == "gl_FogFragCoord")
  ------------------
  |  Branch (6471:13): [True: 0, False: 0]
  ------------------
 6472|      0|            ssoPre150 = true;
 6473|      0|    }
 6474|       |
 6475|       |    // Potentially redeclaring a built-in variable...
 6476|       |
 6477|      0|    if (ssoPre150 ||
  ------------------
  |  Branch (6477:9): [True: 0, False: 0]
  ------------------
 6478|      0|        (identifier == "gl_FragDepth"           && ((nonEsRedecls && version >= 420) || esRedecls)) ||
  ------------------
  |  Branch (6478:10): [True: 0, False: 0]
  |  Branch (6478:54): [True: 0, False: 0]
  |  Branch (6478:70): [True: 0, False: 0]
  |  Branch (6478:89): [True: 0, False: 0]
  ------------------
 6479|      0|        (identifier == "gl_FragCoord"           && ((nonEsRedecls && version >= 140) || esRedecls)) ||
  ------------------
  |  Branch (6479:10): [True: 0, False: 0]
  |  Branch (6479:54): [True: 0, False: 0]
  |  Branch (6479:70): [True: 0, False: 0]
  |  Branch (6479:89): [True: 0, False: 0]
  ------------------
 6480|      0|         identifier == "gl_ClipDistance"                                                            ||
  ------------------
  |  Branch (6480:10): [True: 0, False: 0]
  ------------------
 6481|      0|         identifier == "gl_CullDistance"                                                            ||
  ------------------
  |  Branch (6481:10): [True: 0, False: 0]
  ------------------
 6482|      0|         identifier == "gl_ShadingRateEXT"                                                          ||
  ------------------
  |  Branch (6482:10): [True: 0, False: 0]
  ------------------
 6483|      0|         identifier == "gl_PrimitiveShadingRateEXT"                                                 ||
  ------------------
  |  Branch (6483:10): [True: 0, False: 0]
  ------------------
 6484|      0|         identifier == "gl_FrontColor"                                                              ||
  ------------------
  |  Branch (6484:10): [True: 0, False: 0]
  ------------------
 6485|      0|         identifier == "gl_BackColor"                                                               ||
  ------------------
  |  Branch (6485:10): [True: 0, False: 0]
  ------------------
 6486|      0|         identifier == "gl_FrontSecondaryColor"                                                     ||
  ------------------
  |  Branch (6486:10): [True: 0, False: 0]
  ------------------
 6487|      0|         identifier == "gl_BackSecondaryColor"                                                      ||
  ------------------
  |  Branch (6487:10): [True: 0, False: 0]
  ------------------
 6488|      0|         identifier == "gl_SecondaryColor"                                                          ||
  ------------------
  |  Branch (6488:10): [True: 0, False: 0]
  ------------------
 6489|      0|        (identifier == "gl_Color"               && language == EShLangFragment)                     ||
  ------------------
  |  Branch (6489:10): [True: 0, False: 0]
  |  Branch (6489:52): [True: 0, False: 0]
  ------------------
 6490|      0|        (identifier == "gl_FragStencilRefARB"   && (nonEsRedecls && version >= 140)
  ------------------
  |  Branch (6490:10): [True: 0, False: 0]
  |  Branch (6490:53): [True: 0, False: 0]
  |  Branch (6490:69): [True: 0, False: 0]
  ------------------
 6491|      0|                                                && language == EShLangFragment)                     ||
  ------------------
  |  Branch (6491:52): [True: 0, False: 0]
  ------------------
 6492|      0|         identifier == "gl_SampleMask"                                                              ||
  ------------------
  |  Branch (6492:10): [True: 0, False: 0]
  ------------------
 6493|      0|         identifier == "gl_EnableOpacityMicromapEXT"                                                ||
  ------------------
  |  Branch (6493:10): [True: 0, False: 0]
  ------------------
 6494|      0|         identifier == "gl_Layer"                                                                   ||
  ------------------
  |  Branch (6494:10): [True: 0, False: 0]
  ------------------
 6495|      0|         identifier == "gl_PrimitiveIndicesNV"                                                      ||
  ------------------
  |  Branch (6495:10): [True: 0, False: 0]
  ------------------
 6496|      0|         identifier == "gl_PrimitivePointIndicesEXT"                                                ||
  ------------------
  |  Branch (6496:10): [True: 0, False: 0]
  ------------------
 6497|      0|         identifier == "gl_PrimitiveLineIndicesEXT"                                                 ||
  ------------------
  |  Branch (6497:10): [True: 0, False: 0]
  ------------------
 6498|      0|         identifier == "gl_PrimitiveTriangleIndicesEXT"                                             ||
  ------------------
  |  Branch (6498:10): [True: 0, False: 0]
  ------------------
 6499|      0|         identifier == "gl_TexCoord") {
  ------------------
  |  Branch (6499:10): [True: 0, False: 0]
  ------------------
 6500|       |
 6501|       |        // Find the existing symbol, if any.
 6502|      0|        bool builtIn;
 6503|      0|        TSymbol* symbol = symbolTable.find(identifier, &builtIn);
 6504|       |
 6505|       |        // If the symbol was not found, this must be a version/profile/stage
 6506|       |        // that doesn't have it.
 6507|      0|        if (! symbol)
  ------------------
  |  Branch (6507:13): [True: 0, False: 0]
  ------------------
 6508|      0|            return nullptr;
 6509|       |
 6510|       |        // If it wasn't at a built-in level, then it's already been redeclared;
 6511|       |        // that is, this is a redeclaration of a redeclaration; reuse that initial
 6512|       |        // redeclaration.  Otherwise, make the new one.
 6513|      0|        if (builtIn) {
  ------------------
  |  Branch (6513:13): [True: 0, False: 0]
  ------------------
 6514|      0|            makeEditable(symbol);
 6515|      0|            symbolTable.amendSymbolIdLevel(*symbol);
 6516|      0|        }
 6517|       |
 6518|       |        // Now, modify the type of the copy, as per the type of the current redeclaration.
 6519|       |
 6520|      0|        TQualifier& symbolQualifier = symbol->getWritableType().getQualifier();
 6521|      0|        if (ssoPre150) {
  ------------------
  |  Branch (6521:13): [True: 0, False: 0]
  ------------------
 6522|      0|            if (intermediate.inIoAccessed(identifier))
  ------------------
  |  Branch (6522:17): [True: 0, False: 0]
  ------------------
 6523|      0|                error(loc, "cannot redeclare after use", identifier.c_str(), "");
 6524|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6524:17): [True: 0, False: 0]
  ------------------
 6525|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", "%s", symbol->getName().c_str());
 6526|      0|            if (qualifier.isMemory() || qualifier.isAuxiliary() || (language == EShLangVertex   && qualifier.storage != EvqVaryingOut) ||
  ------------------
  |  Branch (6526:17): [True: 0, False: 0]
  |  Branch (6526:41): [True: 0, False: 0]
  |  Branch (6526:69): [True: 0, False: 0]
  |  Branch (6526:100): [True: 0, False: 0]
  ------------------
 6527|      0|                                                                   (language == EShLangFragment && qualifier.storage != EvqVaryingIn))
  ------------------
  |  Branch (6527:69): [True: 0, False: 0]
  |  Branch (6527:100): [True: 0, False: 0]
  ------------------
 6528|      0|                error(loc, "cannot change storage, memory, or auxiliary qualification of", "redeclaration", "%s", symbol->getName().c_str());
 6529|      0|            if (! qualifier.smooth)
  ------------------
  |  Branch (6529:17): [True: 0, False: 0]
  ------------------
 6530|      0|                error(loc, "cannot change interpolation qualification of", "redeclaration", "%s", symbol->getName().c_str());
 6531|      0|        } else if (identifier == "gl_FrontColor"          ||
  ------------------
  |  Branch (6531:20): [True: 0, False: 0]
  ------------------
 6532|      0|                   identifier == "gl_BackColor"           ||
  ------------------
  |  Branch (6532:20): [True: 0, False: 0]
  ------------------
 6533|      0|                   identifier == "gl_FrontSecondaryColor" ||
  ------------------
  |  Branch (6533:20): [True: 0, False: 0]
  ------------------
 6534|      0|                   identifier == "gl_BackSecondaryColor"  ||
  ------------------
  |  Branch (6534:20): [True: 0, False: 0]
  ------------------
 6535|      0|                   identifier == "gl_SecondaryColor"      ||
  ------------------
  |  Branch (6535:20): [True: 0, False: 0]
  ------------------
 6536|      0|                   identifier == "gl_Color") {
  ------------------
  |  Branch (6536:20): [True: 0, False: 0]
  ------------------
 6537|      0|            symbolQualifier.flat = qualifier.flat;
 6538|      0|            symbolQualifier.smooth = qualifier.smooth;
 6539|      0|            symbolQualifier.nopersp = qualifier.nopersp;
 6540|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6540:17): [True: 0, False: 0]
  ------------------
 6541|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", "%s", symbol->getName().c_str());
 6542|      0|            if (qualifier.isMemory() || qualifier.isAuxiliary() || symbol->getType().getQualifier().storage != qualifier.storage)
  ------------------
  |  Branch (6542:17): [True: 0, False: 0]
  |  Branch (6542:41): [True: 0, False: 0]
  |  Branch (6542:68): [True: 0, False: 0]
  ------------------
 6543|      0|                error(loc, "cannot change storage, memory, or auxiliary qualification of", "redeclaration", "%s", symbol->getName().c_str());
 6544|      0|        } else if (identifier == "gl_TexCoord"     ||
  ------------------
  |  Branch (6544:20): [True: 0, False: 0]
  ------------------
 6545|      0|                   identifier == "gl_ClipDistance" ||
  ------------------
  |  Branch (6545:20): [True: 0, False: 0]
  ------------------
 6546|      0|                   identifier == "gl_CullDistance") {
  ------------------
  |  Branch (6546:20): [True: 0, False: 0]
  ------------------
 6547|      0|            if (qualifier.hasLayout() || qualifier.isMemory() || qualifier.isAuxiliary() ||
  ------------------
  |  Branch (6547:17): [True: 0, False: 0]
  |  Branch (6547:42): [True: 0, False: 0]
  |  Branch (6547:66): [True: 0, False: 0]
  ------------------
 6548|      0|                qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6548:17): [True: 0, False: 0]
  |  Branch (6548:65): [True: 0, False: 0]
  ------------------
 6549|      0|                symbolQualifier.storage != qualifier.storage)
  ------------------
  |  Branch (6549:17): [True: 0, False: 0]
  ------------------
 6550|      0|                error(loc, "cannot change qualification of", "redeclaration", "%s", symbol->getName().c_str());
 6551|      0|        } else if (identifier == "gl_FragCoord") {
  ------------------
  |  Branch (6551:20): [True: 0, False: 0]
  ------------------
 6552|      0|            if (!intermediate.getTexCoordRedeclared() && intermediate.inIoAccessed("gl_FragCoord"))
  ------------------
  |  Branch (6552:17): [True: 0, False: 0]
  |  Branch (6552:17): [True: 0, False: 0]
  |  Branch (6552:58): [True: 0, False: 0]
  ------------------
 6553|      0|                error(loc, "cannot redeclare after use", "gl_FragCoord", "");
 6554|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6554:17): [True: 0, False: 0]
  |  Branch (6554:65): [True: 0, False: 0]
  ------------------
 6555|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6555:17): [True: 0, False: 0]
  |  Branch (6555:41): [True: 0, False: 0]
  ------------------
 6556|      0|                error(loc, "can only change layout qualification of", "redeclaration", "%s", symbol->getName().c_str());
 6557|      0|            if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (6557:17): [True: 0, False: 0]
  ------------------
 6558|      0|                error(loc, "cannot change input storage qualification of", "redeclaration", "%s", symbol->getName().c_str());
 6559|      0|            if (! builtIn && (publicType.pixelCenterInteger != intermediate.getPixelCenterInteger() ||
  ------------------
  |  Branch (6559:17): [True: 0, False: 0]
  |  Branch (6559:31): [True: 0, False: 0]
  ------------------
 6560|      0|                              publicType.originUpperLeft != intermediate.getOriginUpperLeft()))
  ------------------
  |  Branch (6560:31): [True: 0, False: 0]
  ------------------
 6561|      0|                error(loc, "cannot redeclare with different qualification:", "redeclaration", "%s", symbol->getName().c_str());
 6562|       |
 6563|       |
 6564|      0|            intermediate.setTexCoordRedeclared();
 6565|      0|            if (publicType.pixelCenterInteger)
  ------------------
  |  Branch (6565:17): [True: 0, False: 0]
  ------------------
 6566|      0|                intermediate.setPixelCenterInteger();
 6567|      0|            if (publicType.originUpperLeft)
  ------------------
  |  Branch (6567:17): [True: 0, False: 0]
  ------------------
 6568|      0|                intermediate.setOriginUpperLeft();
 6569|      0|        } else if (identifier == "gl_FragDepth") {
  ------------------
  |  Branch (6569:20): [True: 0, False: 0]
  ------------------
 6570|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6570:17): [True: 0, False: 0]
  |  Branch (6570:65): [True: 0, False: 0]
  ------------------
 6571|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6571:17): [True: 0, False: 0]
  |  Branch (6571:41): [True: 0, False: 0]
  ------------------
 6572|      0|                error(loc, "can only change layout qualification of", "redeclaration", "%s", symbol->getName().c_str());
 6573|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6573:17): [True: 0, False: 0]
  ------------------
 6574|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", "%s", symbol->getName().c_str());
 6575|      0|            if (publicType.layoutDepth != EldNone) {
  ------------------
  |  Branch (6575:17): [True: 0, False: 0]
  ------------------
 6576|      0|                if (intermediate.inIoAccessed("gl_FragDepth"))
  ------------------
  |  Branch (6576:21): [True: 0, False: 0]
  ------------------
 6577|      0|                    error(loc, "cannot redeclare after use", "gl_FragDepth", "");
 6578|      0|                if (! intermediate.setDepth(publicType.layoutDepth))
  ------------------
  |  Branch (6578:21): [True: 0, False: 0]
  ------------------
 6579|      0|                    error(loc, "all redeclarations must use the same depth layout on", "redeclaration", "%s", symbol->getName().c_str());
 6580|      0|            }
 6581|      0|        } else if (identifier == "gl_FragStencilRefARB") {
  ------------------
  |  Branch (6581:20): [True: 0, False: 0]
  ------------------
 6582|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6582:17): [True: 0, False: 0]
  |  Branch (6582:65): [True: 0, False: 0]
  ------------------
 6583|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6583:17): [True: 0, False: 0]
  |  Branch (6583:41): [True: 0, False: 0]
  ------------------
 6584|      0|                error(loc, "can only change layout qualification of", "redeclaration", "%s", symbol->getName().c_str());
 6585|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6585:17): [True: 0, False: 0]
  ------------------
 6586|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", "%s", symbol->getName().c_str());
 6587|      0|            if (publicType.layoutStencil != ElsNone) {
  ------------------
  |  Branch (6587:17): [True: 0, False: 0]
  ------------------
 6588|      0|                if (intermediate.inIoAccessed("gl_FragStencilRefARB"))
  ------------------
  |  Branch (6588:21): [True: 0, False: 0]
  ------------------
 6589|      0|                    error(loc, "cannot redeclare after use", "gl_FragStencilRefARB", "");
 6590|      0|                if (!intermediate.setStencil(publicType.layoutStencil))
  ------------------
  |  Branch (6590:21): [True: 0, False: 0]
  ------------------
 6591|      0|                    error(loc, "all redeclarations must use the same stencil layout on", "redeclaration",
 6592|      0|                          "%s", symbol->getName().c_str());
 6593|      0|            }
 6594|      0|        }
 6595|      0|        else if (
 6596|      0|            identifier == "gl_PrimitiveIndicesNV") {
  ------------------
  |  Branch (6596:13): [True: 0, False: 0]
  ------------------
 6597|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6597:17): [True: 0, False: 0]
  ------------------
 6598|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", "%s", symbol->getName().c_str());
 6599|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6599:17): [True: 0, False: 0]
  ------------------
 6600|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", "%s", symbol->getName().c_str());
 6601|      0|        }
 6602|      0|        else if (identifier == "gl_SampleMask") {
  ------------------
  |  Branch (6602:18): [True: 0, False: 0]
  ------------------
 6603|      0|            if (!publicType.layoutOverrideCoverage) {
  ------------------
  |  Branch (6603:17): [True: 0, False: 0]
  ------------------
 6604|      0|                error(loc, "redeclaration only allowed for override_coverage layout", "redeclaration", "%s", symbol->getName().c_str());
 6605|      0|            }
 6606|      0|            intermediate.setLayoutOverrideCoverage();
 6607|      0|        }
 6608|      0|        else if (identifier == "gl_Layer") {
  ------------------
  |  Branch (6608:18): [True: 0, False: 0]
  ------------------
 6609|      0|            if (!qualifier.layoutViewportRelative && qualifier.layoutSecondaryViewportRelativeOffset == -2048)
  ------------------
  |  Branch (6609:17): [True: 0, False: 0]
  |  Branch (6609:54): [True: 0, False: 0]
  ------------------
 6610|      0|                error(loc, "redeclaration only allowed for viewport_relative or secondary_view_offset layout", "redeclaration", "%s", symbol->getName().c_str());
 6611|      0|            symbolQualifier.layoutViewportRelative = qualifier.layoutViewportRelative;
 6612|      0|            symbolQualifier.layoutSecondaryViewportRelativeOffset = qualifier.layoutSecondaryViewportRelativeOffset;
 6613|      0|        }
 6614|      0|        else if (identifier == "gl_EnableOpacityMicromapEXT") {
  ------------------
  |  Branch (6614:18): [True: 0, False: 0]
  ------------------
 6615|       |            // GL_EXT_opacity_micromap_ray_query_mode. This branch handles the full-redeclaration form
 6616|       |            //   const bool gl_EnableOpacityMicromapEXT = <true|false>;
 6617|       |            // which sets the built-in's value (emitted as OpConstantTrue/OpConstantFalse). The
 6618|       |            // specialization-constant form is the bare "layout(constant_id = N) gl_EnableOpacityMicromapEXT;"
 6619|       |            // (handled in addQualifierToExisting); per the extension it is not valid to restate the type
 6620|       |            // or specify a value together with constant_id.
 6621|      0|            requireExtensions(loc, 1, &E_GL_EXT_opacity_micromap_ray_query_mode, "gl_EnableOpacityMicromapEXT redeclaration");
 6622|      0|            if (qualifier.hasSpecConstantId())
  ------------------
  |  Branch (6622:17): [True: 0, False: 0]
  ------------------
 6623|      0|                error(loc, "cannot restate the type or specify a value with constant_id; use "
 6624|      0|                           "'layout(constant_id = N) gl_EnableOpacityMicromapEXT;'", "redeclaration",
 6625|      0|                      "%s", symbol->getName().c_str());
 6626|      0|            else if (qualifier.storage != EvqConst)
  ------------------
  |  Branch (6626:22): [True: 0, False: 0]
  ------------------
 6627|      0|                error(loc, "can only be redeclared as 'const bool gl_EnableOpacityMicromapEXT = <true|false>;' "
 6628|      0|                           "or 'layout(constant_id = N) gl_EnableOpacityMicromapEXT;'", "redeclaration",
 6629|      0|                      "%s", symbol->getName().c_str());
 6630|       |            // For the valid 'const bool = <true|false>;' form the value is captured from the initializer
 6631|       |            // after it is processed (see declareVariable); nothing else to do to the symbol's qualifier here.
 6632|      0|        }
 6633|       |
 6634|       |        // TODO: semantics quality: separate smooth from nothing declared, then use IsInterpolation for several tests above
 6635|       |
 6636|      0|        return symbol;
 6637|      0|    }
 6638|       |
 6639|      0|    return nullptr;
 6640|      0|}
_ZN7glslang13TParseContext20paramCheckFixStorageERKNS_10TSourceLocERKNS_17TStorageQualifierERNS_5TTypeE:
 6870|  68.5k|{
 6871|  68.5k|    switch (qualifier) {
 6872|      0|    case EvqConst:
  ------------------
  |  Branch (6872:5): [True: 0, False: 68.5k]
  ------------------
 6873|      0|    case EvqConstReadOnly:
  ------------------
  |  Branch (6873:5): [True: 0, False: 68.5k]
  ------------------
 6874|      0|        type.getQualifier().storage = EvqConstReadOnly;
 6875|      0|        break;
 6876|     11|    case EvqIn:
  ------------------
  |  Branch (6876:5): [True: 11, False: 68.5k]
  ------------------
 6877|  1.57k|    case EvqOut:
  ------------------
  |  Branch (6877:5): [True: 1.56k, False: 67.0k]
  ------------------
 6878|  1.68k|    case EvqInOut:
  ------------------
  |  Branch (6878:5): [True: 108, False: 68.4k]
  ------------------
 6879|  1.68k|    case EvqTileImageEXT:
  ------------------
  |  Branch (6879:5): [True: 0, False: 68.5k]
  ------------------
 6880|  1.68k|        type.getQualifier().storage = qualifier;
 6881|  1.68k|        break;
 6882|    942|    case EvqGlobal:
  ------------------
  |  Branch (6882:5): [True: 942, False: 67.6k]
  ------------------
 6883|  66.8k|    case EvqTemporary:
  ------------------
  |  Branch (6883:5): [True: 65.9k, False: 2.62k]
  ------------------
 6884|  66.8k|        type.getQualifier().storage = EvqIn;
 6885|  66.8k|        break;
 6886|      0|    default:
  ------------------
  |  Branch (6886:5): [True: 0, False: 68.5k]
  ------------------
 6887|      0|        type.getQualifier().storage = EvqIn;
 6888|      0|        error(loc, "storage qualifier not allowed on function parameter", GetStorageQualifierString(qualifier), "");
 6889|      0|        break;
 6890|  68.5k|    }
 6891|  68.5k|}
_ZN7glslang13TParseContext13paramCheckFixERKNS_10TSourceLocERKNS_10TQualifierERNS_5TTypeE:
 6894|  4.67k|{
 6895|  4.67k|    if (qualifier.isMemory()) {
  ------------------
  |  Branch (6895:9): [True: 2.15k, False: 2.51k]
  ------------------
 6896|  2.15k|        type.getQualifier().volatil   = qualifier.volatil;
 6897|  2.15k|        type.getQualifier().nontemporal   = qualifier.nontemporal;
 6898|  2.15k|        type.getQualifier().coherent  = qualifier.coherent;
 6899|  2.15k|        type.getQualifier().devicecoherent  = qualifier.devicecoherent ;
 6900|  2.15k|        type.getQualifier().queuefamilycoherent  = qualifier.queuefamilycoherent;
 6901|  2.15k|        type.getQualifier().workgroupcoherent  = qualifier.workgroupcoherent;
 6902|  2.15k|        type.getQualifier().subgroupcoherent  = qualifier.subgroupcoherent;
 6903|  2.15k|        type.getQualifier().shadercallcoherent = qualifier.shadercallcoherent;
 6904|  2.15k|        type.getQualifier().nonprivate = qualifier.nonprivate;
 6905|  2.15k|        type.getQualifier().readonly  = qualifier.readonly;
 6906|  2.15k|        type.getQualifier().writeonly = qualifier.writeonly;
 6907|  2.15k|        type.getQualifier().restrict  = qualifier.restrict;
 6908|  2.15k|    }
 6909|       |
 6910|  4.67k|    if (qualifier.isAuxiliary() ||
  ------------------
  |  Branch (6910:9): [True: 0, False: 4.67k]
  ------------------
 6911|  4.67k|        qualifier.isInterpolation())
  ------------------
  |  Branch (6911:9): [True: 0, False: 4.67k]
  ------------------
 6912|      0|        error(loc, "cannot use auxiliary or interpolation qualifiers on a function parameter", "", "");
 6913|  4.67k|    if (qualifier.hasLayout())
  ------------------
  |  Branch (6913:9): [True: 0, False: 4.67k]
  ------------------
 6914|      0|        error(loc, "cannot use layout qualifiers on a function parameter", "", "");
 6915|  4.67k|    if (qualifier.invariant)
  ------------------
  |  Branch (6915:9): [True: 0, False: 4.67k]
  ------------------
 6916|      0|        error(loc, "cannot use invariant qualifier on a function parameter", "", "");
 6917|  4.67k|    if (qualifier.isNoContraction()) {
  ------------------
  |  Branch (6917:9): [True: 0, False: 4.67k]
  ------------------
 6918|      0|        if (qualifier.isParamOutput())
  ------------------
  |  Branch (6918:13): [True: 0, False: 0]
  ------------------
 6919|      0|            type.getQualifier().setNoContraction();
 6920|      0|        else
 6921|      0|            warn(loc, "qualifier has no effect on non-output parameters", "precise", "");
 6922|      0|    }
 6923|  4.67k|    if (qualifier.isNonUniform())
  ------------------
  |  Branch (6923:9): [True: 0, False: 4.67k]
  ------------------
 6924|      0|        type.getQualifier().nonUniform = qualifier.nonUniform;
 6925|  4.67k|    if (qualifier.isSpirvByReference())
  ------------------
  |  Branch (6925:9): [True: 0, False: 4.67k]
  ------------------
 6926|      0|        type.getQualifier().setSpirvByReference();
 6927|  4.67k|    if (qualifier.isSpirvLiteral()) {
  ------------------
  |  Branch (6927:9): [True: 0, False: 4.67k]
  ------------------
 6928|      0|        if (type.getBasicType() == EbtFloat || type.getBasicType() == EbtInt || type.getBasicType() == EbtUint ||
  ------------------
  |  Branch (6928:13): [True: 0, False: 0]
  |  Branch (6928:48): [True: 0, False: 0]
  |  Branch (6928:81): [True: 0, False: 0]
  ------------------
 6929|      0|            type.getBasicType() == EbtBool)
  ------------------
  |  Branch (6929:13): [True: 0, False: 0]
  ------------------
 6930|      0|            type.getQualifier().setSpirvLiteral();
 6931|      0|        else
 6932|      0|            error(loc, "cannot use spirv_literal qualifier", type.getBasicTypeString().c_str(), "");
 6933|      0|    }
 6934|       |
 6935|  4.67k|    paramCheckFixStorage(loc, qualifier.storage, type);
 6936|  4.67k|}
_ZN7glslang13TParseContext16nestedBlockCheckERKNS_10TSourceLocEb:
 6939|      9|{
 6940|      9|    if (allowedInnerStruct) {
  ------------------
  |  Branch (6940:9): [True: 0, False: 9]
  ------------------
 6941|      0|        if ((structNestingLevel <= 0 && blockNestingLevel <= 0) ||
  ------------------
  |  Branch (6941:14): [True: 0, False: 0]
  |  Branch (6941:41): [True: 0, False: 0]
  ------------------
 6942|      0|            (structNestingLevel > 0 && blockNestingLevel > 0) ||
  ------------------
  |  Branch (6942:14): [True: 0, False: 0]
  |  Branch (6942:40): [True: 0, False: 0]
  ------------------
 6943|      0|            blockNestingLevel > 1)
  ------------------
  |  Branch (6943:13): [True: 0, False: 0]
  ------------------
 6944|      0|            error(loc, "cannot nest a block definition inside a structure or block", "", "");
 6945|      9|    } else if (structNestingLevel > 0 || blockNestingLevel > 0)
  ------------------
  |  Branch (6945:16): [True: 0, False: 9]
  |  Branch (6945:42): [True: 0, False: 9]
  ------------------
 6946|      0|        error(loc, "cannot nest a block definition inside a structure or block", "", "");
 6947|      9|    ++blockNestingLevel;
 6948|      9|}
_ZN7glslang13TParseContext17nestedStructCheckERKNS_10TSourceLocE:
 6951|     75|{
 6952|     75|    if (structNestingLevel > 0 || blockNestingLevel > 0)
  ------------------
  |  Branch (6952:9): [True: 0, False: 75]
  |  Branch (6952:35): [True: 0, False: 75]
  ------------------
 6953|      0|        error(loc, "cannot nest a structure definition inside a structure or block", "", "");
 6954|     75|    ++structNestingLevel;
 6955|     75|}
_ZN7glslang13TParseContext16arrayObjectCheckERKNS_10TSourceLocERKNS_5TTypeEPKc:
 6958|  30.9k|{
 6959|       |    // Some versions don't allow comparing arrays or structures containing arrays
 6960|  30.9k|    if (type.containsArray()) {
  ------------------
  |  Branch (6960:9): [True: 0, False: 30.9k]
  ------------------
 6961|      0|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, op);
 6962|      0|        profileRequires(loc, EEsProfile, 300, nullptr, op);
 6963|      0|    }
 6964|  30.9k|}
_ZN7glslang13TParseContext15structTypeCheckERKNS_10TSourceLocERNS_11TPublicTypeE:
 7018|     75|{
 7019|     75|    const TTypeList& typeList = *publicType.userDef->getStruct();
 7020|       |
 7021|       |    // fix and check for member storage qualifiers and types that don't belong within a structure
 7022|    304|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (7022:35): [True: 229, False: 75]
  ------------------
 7023|    229|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
 7024|    229|        const TSourceLoc& memberLoc = typeList[member].loc;
 7025|    229|        if (memberQualifier.isAuxiliary() ||
  ------------------
  |  Branch (7025:13): [True: 0, False: 229]
  ------------------
 7026|    229|            memberQualifier.isInterpolation() ||
  ------------------
  |  Branch (7026:13): [True: 0, False: 229]
  ------------------
 7027|    229|            (memberQualifier.storage != EvqTemporary && memberQualifier.storage != EvqGlobal &&
  ------------------
  |  Branch (7027:14): [True: 229, False: 0]
  |  Branch (7027:57): [True: 0, False: 229]
  ------------------
 7028|      0|             !memberQualifier.layoutDescriptorHeap && !memberQualifier.isBufferType()))
  ------------------
  |  Branch (7028:14): [True: 0, False: 0]
  |  Branch (7028:55): [True: 0, False: 0]
  ------------------
 7029|      0|            error(memberLoc, "cannot use storage or interpolation qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 7030|    229|        if (memberQualifier.isMemory())
  ------------------
  |  Branch (7030:13): [True: 0, False: 229]
  ------------------
 7031|      0|            error(memberLoc, "cannot use memory qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 7032|    229|        if (memberQualifier.hasLayout() && !memberQualifier.isBufferType()) {
  ------------------
  |  Branch (7032:13): [True: 0, False: 229]
  |  Branch (7032:44): [True: 0, False: 0]
  ------------------
 7033|      0|            error(memberLoc, "cannot use layout qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 7034|      0|            memberQualifier.clearLayout();
 7035|      0|        }
 7036|    229|        if (memberQualifier.invariant)
  ------------------
  |  Branch (7036:13): [True: 0, False: 229]
  ------------------
 7037|      0|            error(memberLoc, "cannot use invariant qualifier on structure members", typeList[member].type->getFieldName().c_str(), "");
 7038|    229|    }
 7039|     75|}
_ZN7glslang13TParseContext6finishEv:
 7189|    231|{
 7190|    231|    TParseContextBase::finish();
 7191|       |
 7192|    231|    if (parsingBuiltins)
  ------------------
  |  Branch (7192:9): [True: 195, False: 36]
  ------------------
 7193|    195|        return;
 7194|       |
 7195|       |    // Forward builtin alias to AST for later use
 7196|     36|    intermediate.setBuiltinAliasLookup(symbolTable.collectBuiltinAlias());
 7197|       |
 7198|       |    // Check on array indexes for ES 2.0 (version 100) limitations.
 7199|     36|    for (size_t i = 0; i < needsIndexLimitationChecking.size(); ++i)
  ------------------
  |  Branch (7199:24): [True: 0, False: 36]
  ------------------
 7200|      0|        constantIndexExpressionCheck(needsIndexLimitationChecking[i]);
 7201|       |
 7202|       |    // Check for stages that are enabled by extension.
 7203|       |    // Can't do this at the beginning, it is chicken and egg to add a stage by
 7204|       |    // extension.
 7205|       |    // Stage-specific features were correctly tested for already, this is just
 7206|       |    // about the stage itself.
 7207|     36|    switch (language) {
 7208|      0|    case EShLangGeometry:
  ------------------
  |  Branch (7208:5): [True: 0, False: 36]
  ------------------
 7209|      0|        if (isEsProfile() && version == 310)
  ------------------
  |  Branch (7209:13): [True: 0, False: 0]
  |  Branch (7209:30): [True: 0, False: 0]
  ------------------
 7210|      0|            requireExtensions(getCurrentLoc(), Num_AEP_geometry_shader, AEP_geometry_shader, "geometry shaders");
 7211|      0|        break;
 7212|      0|    case EShLangTessControl:
  ------------------
  |  Branch (7212:5): [True: 0, False: 36]
  ------------------
 7213|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (7213:5): [True: 0, False: 36]
  ------------------
 7214|      0|        if (isEsProfile() && version == 310)
  ------------------
  |  Branch (7214:13): [True: 0, False: 0]
  |  Branch (7214:30): [True: 0, False: 0]
  ------------------
 7215|      0|            requireExtensions(getCurrentLoc(), Num_AEP_tessellation_shader, AEP_tessellation_shader, "tessellation shaders");
 7216|      0|        else if (!isEsProfile() && version < 400)
  ------------------
  |  Branch (7216:18): [True: 0, False: 0]
  |  Branch (7216:36): [True: 0, False: 0]
  ------------------
 7217|      0|            requireExtensions(getCurrentLoc(), 1, &E_GL_ARB_tessellation_shader, "tessellation shaders");
 7218|      0|        break;
 7219|      0|    case EShLangCompute:
  ------------------
  |  Branch (7219:5): [True: 0, False: 36]
  ------------------
 7220|      0|        if (!isEsProfile() && version < 430)
  ------------------
  |  Branch (7220:13): [True: 0, False: 0]
  |  Branch (7220:31): [True: 0, False: 0]
  ------------------
 7221|      0|            requireExtensions(getCurrentLoc(), 1, &E_GL_ARB_compute_shader, "compute shaders");
 7222|      0|        break;
 7223|      0|    case EShLangTask:
  ------------------
  |  Branch (7223:5): [True: 0, False: 36]
  ------------------
 7224|      0|        requireExtensions(getCurrentLoc(), Num_AEP_mesh_shader, AEP_mesh_shader, "task shaders");
 7225|      0|        break;
 7226|      0|    case EShLangMesh:
  ------------------
  |  Branch (7226:5): [True: 0, False: 36]
  ------------------
 7227|      0|        requireExtensions(getCurrentLoc(), Num_AEP_mesh_shader, AEP_mesh_shader, "mesh shaders");
 7228|      0|        break;
 7229|     36|    default:
  ------------------
  |  Branch (7229:5): [True: 36, False: 0]
  ------------------
 7230|     36|        break;
 7231|     36|    }
 7232|       |
 7233|     36|    if (intermediate.IsRequestedExtension(E_GL_KHR_compute_shader_derivatives) &&
  ------------------
  |  Branch (7233:9): [True: 0, False: 36]
  ------------------
 7234|      0|        !khrDerivativeLayoutQualifierSpecified) {
  ------------------
  |  Branch (7234:9): [True: 0, False: 0]
  ------------------
 7235|      0|        error(getCurrentLoc(), "requires one of derivative_group_quadsKHR or derivative_group_linearKHR layout qualifiers",
 7236|      0|              E_GL_KHR_compute_shader_derivatives, "");
 7237|      0|    }
 7238|       |
 7239|     36|    if (intermediate.getLayoutDerivativeModeNone() == LayoutDerivativeGroupQuads) {
  ------------------
  |  Branch (7239:9): [True: 0, False: 36]
  ------------------
 7240|      0|        if ((intermediate.getLocalSizeSpecId(0) == TQualifier::layoutNotSet && (intermediate.getLocalSize(0) & 1)) ||
  ------------------
  |  Branch (7240:14): [True: 0, False: 0]
  |  Branch (7240:80): [True: 0, False: 0]
  ------------------
 7241|      0|            (intermediate.getLocalSizeSpecId(1) == TQualifier::layoutNotSet && (intermediate.getLocalSize(1) & 1)))
  ------------------
  |  Branch (7241:14): [True: 0, False: 0]
  |  Branch (7241:80): [True: 0, False: 0]
  ------------------
 7242|      0|            error(getCurrentLoc(), "requires local_size_x and local_size_y to be multiple of two", "derivative_group_quads", "");
 7243|     36|    } else if (intermediate.getLayoutDerivativeModeNone() == LayoutDerivativeGroupLinear) {
  ------------------
  |  Branch (7243:16): [True: 0, False: 36]
  ------------------
 7244|      0|        if (intermediate.getLocalSizeSpecId(0) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (7244:13): [True: 0, False: 0]
  ------------------
 7245|      0|            intermediate.getLocalSizeSpecId(1) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (7245:13): [True: 0, False: 0]
  ------------------
 7246|      0|            intermediate.getLocalSizeSpecId(2) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (7246:13): [True: 0, False: 0]
  ------------------
 7247|      0|            (intermediate.getLocalSize(0) *
  ------------------
  |  Branch (7247:13): [True: 0, False: 0]
  ------------------
 7248|      0|             intermediate.getLocalSize(1) *
 7249|      0|             intermediate.getLocalSize(2)) % 4 != 0)
 7250|      0|            error(getCurrentLoc(), "requires total group size to be multiple of four", "derivative_group_linear", "");
 7251|      0|    }
 7252|       |
 7253|       |    // Set default outputs for GL_NV_geometry_shader_passthrough
 7254|     36|    if (language == EShLangGeometry && extensionTurnedOn(E_SPV_NV_geometry_shader_passthrough)) {
  ------------------
  |  Branch (7254:9): [True: 0, False: 36]
  |  Branch (7254:40): [True: 0, False: 0]
  ------------------
 7255|      0|        if (intermediate.getOutputPrimitive() == ElgNone) {
  ------------------
  |  Branch (7255:13): [True: 0, False: 0]
  ------------------
 7256|      0|            switch (intermediate.getInputPrimitive()) {
 7257|      0|            case ElgPoints:      intermediate.setOutputPrimitive(ElgPoints);    break;
  ------------------
  |  Branch (7257:13): [True: 0, False: 0]
  ------------------
 7258|      0|            case ElgLines:       intermediate.setOutputPrimitive(ElgLineStrip); break;
  ------------------
  |  Branch (7258:13): [True: 0, False: 0]
  ------------------
 7259|      0|            case ElgTriangles:   intermediate.setOutputPrimitive(ElgTriangleStrip); break;
  ------------------
  |  Branch (7259:13): [True: 0, False: 0]
  ------------------
 7260|      0|            default: break;
  ------------------
  |  Branch (7260:13): [True: 0, False: 0]
  ------------------
 7261|      0|            }
 7262|      0|        }
 7263|      0|        if (intermediate.getVertices() == TQualifier::layoutNotSet) {
  ------------------
  |  Branch (7263:13): [True: 0, False: 0]
  ------------------
 7264|      0|            switch (intermediate.getInputPrimitive()) {
 7265|      0|            case ElgPoints:      intermediate.setVertices(1); break;
  ------------------
  |  Branch (7265:13): [True: 0, False: 0]
  ------------------
 7266|      0|            case ElgLines:       intermediate.setVertices(2); break;
  ------------------
  |  Branch (7266:13): [True: 0, False: 0]
  ------------------
 7267|      0|            case ElgTriangles:   intermediate.setVertices(3); break;
  ------------------
  |  Branch (7267:13): [True: 0, False: 0]
  ------------------
 7268|      0|            default: break;
  ------------------
  |  Branch (7268:13): [True: 0, False: 0]
  ------------------
 7269|      0|            }
 7270|      0|        }
 7271|      0|    }
 7272|     36|}
_ZN7glslang13TParseContext27mergeObjectLayoutQualifiersERNS_10TQualifierERKS1_b:
 8163|  7.63k|{
 8164|  7.63k|    if (src.hasMatrix())
  ------------------
  |  Branch (8164:9): [True: 0, False: 7.63k]
  ------------------
 8165|      0|        dst.layoutMatrix = src.layoutMatrix;
 8166|  7.63k|    if (src.hasPacking())
  ------------------
  |  Branch (8166:9): [True: 0, False: 7.63k]
  ------------------
 8167|      0|        dst.layoutPacking = src.layoutPacking;
 8168|       |
 8169|  7.63k|    if (src.hasStream())
  ------------------
  |  Branch (8169:9): [True: 1, False: 7.63k]
  ------------------
 8170|      1|        dst.layoutStream = src.layoutStream;
 8171|  7.63k|    if (src.hasFormat())
  ------------------
  |  Branch (8171:9): [True: 0, False: 7.63k]
  ------------------
 8172|      0|        dst.layoutFormat = src.layoutFormat;
 8173|  7.63k|    if (src.hasXfbBuffer())
  ------------------
  |  Branch (8173:9): [True: 4, False: 7.63k]
  ------------------
 8174|      4|        dst.layoutXfbBuffer = src.layoutXfbBuffer;
 8175|  7.63k|    if (src.hasBufferReferenceAlign())
  ------------------
  |  Branch (8175:9): [True: 0, False: 7.63k]
  ------------------
 8176|      0|        dst.layoutBufferReferenceAlign = src.layoutBufferReferenceAlign;
 8177|       |
 8178|  7.63k|    if (src.hasAlign())
  ------------------
  |  Branch (8178:9): [True: 0, False: 7.63k]
  ------------------
 8179|      0|        dst.layoutAlign = src.layoutAlign;
 8180|       |
 8181|  7.63k|    if (! inheritOnly) {
  ------------------
  |  Branch (8181:9): [True: 7.61k, False: 18]
  ------------------
 8182|  7.61k|        if (src.hasLocation())
  ------------------
  |  Branch (8182:13): [True: 0, False: 7.61k]
  ------------------
 8183|      0|            dst.layoutLocation = src.layoutLocation;
 8184|  7.61k|        if (src.hasOffset())
  ------------------
  |  Branch (8184:13): [True: 0, False: 7.61k]
  ------------------
 8185|      0|            dst.layoutOffset = src.layoutOffset;
 8186|  7.61k|        if (src.hasSet())
  ------------------
  |  Branch (8186:13): [True: 0, False: 7.61k]
  ------------------
 8187|      0|            dst.layoutSet = src.layoutSet;
 8188|  7.61k|        if (src.hasBinding())
  ------------------
  |  Branch (8188:13): [True: 0, False: 7.61k]
  ------------------
 8189|      0|            dst.layoutBinding = src.layoutBinding;
 8190|       |
 8191|  7.61k|        if (src.hasSpecConstantId())
  ------------------
  |  Branch (8191:13): [True: 0, False: 7.61k]
  ------------------
 8192|      0|            dst.layoutSpecConstantId = src.layoutSpecConstantId;
 8193|       |
 8194|  7.61k|        if (src.hasComponent())
  ------------------
  |  Branch (8194:13): [True: 0, False: 7.61k]
  ------------------
 8195|      0|            dst.layoutComponent = src.layoutComponent;
 8196|  7.61k|        if (src.hasIndex())
  ------------------
  |  Branch (8196:13): [True: 0, False: 7.61k]
  ------------------
 8197|      0|            dst.layoutIndex = src.layoutIndex;
 8198|  7.61k|        if (src.hasXfbStride())
  ------------------
  |  Branch (8198:13): [True: 0, False: 7.61k]
  ------------------
 8199|      0|            dst.layoutXfbStride = src.layoutXfbStride;
 8200|  7.61k|        if (src.hasXfbOffset())
  ------------------
  |  Branch (8200:13): [True: 0, False: 7.61k]
  ------------------
 8201|      0|            dst.layoutXfbOffset = src.layoutXfbOffset;
 8202|  7.61k|        if (src.hasAttachment())
  ------------------
  |  Branch (8202:13): [True: 0, False: 7.61k]
  ------------------
 8203|      0|            dst.layoutAttachment = src.layoutAttachment;
 8204|  7.61k|        if (src.layoutDescriptorHeap)
  ------------------
  |  Branch (8204:13): [True: 0, False: 7.61k]
  ------------------
 8205|      0|            dst.layoutDescriptorHeap = true;
 8206|  7.61k|        if (src.descriptorHeapDescriptorNode)
  ------------------
  |  Branch (8206:13): [True: 0, False: 7.61k]
  ------------------
 8207|      0|            dst.descriptorHeapDescriptorNode = true;
 8208|  7.61k|        if (src.layoutDescriptorStride != TQualifier::layoutDescriptorStrideEnd)
  ------------------
  |  Branch (8208:13): [True: 0, False: 7.61k]
  ------------------
 8209|      0|            dst.layoutDescriptorStride = src.layoutDescriptorStride;
 8210|  7.61k|        if (src.layoutDescriptorSize != TQualifier::layoutDescriptorSizeEnd)
  ------------------
  |  Branch (8210:13): [True: 0, False: 7.61k]
  ------------------
 8211|      0|            dst.layoutDescriptorSize = src.layoutDescriptorSize;
 8212|  7.61k|        if (src.layoutHeapOffset != 0)
  ------------------
  |  Branch (8212:13): [True: 0, False: 7.61k]
  ------------------
 8213|      0|            dst.layoutHeapOffset = src.layoutHeapOffset;
 8214|  7.61k|        if (src.layoutHeapOffsetNode != nullptr)
  ------------------
  |  Branch (8214:13): [True: 0, False: 7.61k]
  ------------------
 8215|      0|            dst.layoutHeapOffsetNode = src.layoutHeapOffsetNode;
 8216|  7.61k|        if (src.layoutPushConstant)
  ------------------
  |  Branch (8216:13): [True: 0, False: 7.61k]
  ------------------
 8217|      0|            dst.layoutPushConstant = true;
 8218|       |
 8219|  7.61k|        if (src.layoutBufferReference)
  ------------------
  |  Branch (8219:13): [True: 0, False: 7.61k]
  ------------------
 8220|      0|            dst.layoutBufferReference = true;
 8221|  7.61k|        if (src.layoutDescriptorBufferType)
  ------------------
  |  Branch (8221:13): [True: 0, False: 7.61k]
  ------------------
 8222|      0|            dst.layoutDescriptorBufferType = true;
 8223|       |
 8224|  7.61k|        if (src.layoutPassthrough)
  ------------------
  |  Branch (8224:13): [True: 0, False: 7.61k]
  ------------------
 8225|      0|            dst.layoutPassthrough = true;
 8226|  7.61k|        if (src.layoutViewportRelative)
  ------------------
  |  Branch (8226:13): [True: 0, False: 7.61k]
  ------------------
 8227|      0|            dst.layoutViewportRelative = true;
 8228|  7.61k|        if (src.layoutSecondaryViewportRelativeOffset != -2048)
  ------------------
  |  Branch (8228:13): [True: 0, False: 7.61k]
  ------------------
 8229|      0|            dst.layoutSecondaryViewportRelativeOffset = src.layoutSecondaryViewportRelativeOffset;
 8230|  7.61k|        if (src.layoutShaderRecord)
  ------------------
  |  Branch (8230:13): [True: 0, False: 7.61k]
  ------------------
 8231|      0|            dst.layoutShaderRecord = true;
 8232|  7.61k|        if (src.layoutFullQuads)
  ------------------
  |  Branch (8232:13): [True: 0, False: 7.61k]
  ------------------
 8233|      0|            dst.layoutFullQuads = true;
 8234|  7.61k|        if (src.layoutQuadDeriv)
  ------------------
  |  Branch (8234:13): [True: 0, False: 7.61k]
  ------------------
 8235|      0|            dst.layoutQuadDeriv = true;
 8236|  7.61k|        if (src.layoutBindlessSampler)
  ------------------
  |  Branch (8236:13): [True: 0, False: 7.61k]
  ------------------
 8237|      0|            dst.layoutBindlessSampler = true;
 8238|  7.61k|        if (src.layoutBindlessImage)
  ------------------
  |  Branch (8238:13): [True: 0, False: 7.61k]
  ------------------
 8239|      0|            dst.layoutBindlessImage = true;
 8240|  7.61k|        if (src.pervertexNV)
  ------------------
  |  Branch (8240:13): [True: 0, False: 7.61k]
  ------------------
 8241|      0|            dst.pervertexNV = true;
 8242|  7.61k|        if (src.pervertexEXT)
  ------------------
  |  Branch (8242:13): [True: 0, False: 7.61k]
  ------------------
 8243|      0|            dst.pervertexEXT = true;
 8244|  7.61k|        if (src.layoutHitObjectShaderRecordNV)
  ------------------
  |  Branch (8244:13): [True: 0, False: 7.61k]
  ------------------
 8245|      0|            dst.layoutHitObjectShaderRecordNV = true;
 8246|  7.61k|        dst.layoutTileAttachmentQCOM |= src.layoutTileAttachmentQCOM;
 8247|  7.61k|        if (src.layoutHitObjectShaderRecordEXT)
  ------------------
  |  Branch (8247:13): [True: 0, False: 7.61k]
  ------------------
 8248|      0|            dst.layoutHitObjectShaderRecordEXT = true;
 8249|  7.61k|        if (src.hasBank())
  ------------------
  |  Branch (8249:13): [True: 0, False: 7.61k]
  ------------------
 8250|      0|            dst.layoutBank = src.layoutBank;
 8251|  7.61k|        if (src.hasMemberOffset())
  ------------------
  |  Branch (8251:13): [True: 0, False: 7.61k]
  ------------------
 8252|      0|            dst.layoutMemberOffset = src.layoutMemberOffset;
 8253|  7.61k|    }
 8254|  7.63k|}
_ZN7glslang13TParseContext17layoutObjectCheckERKNS_10TSourceLocERKNS_7TSymbolE:
 8258|  1.20k|{
 8259|  1.20k|    const TType& type = symbol.getType();
 8260|  1.20k|    const TQualifier& qualifier = type.getQualifier();
 8261|       |
 8262|       |    // first, cross check WRT to just the type
 8263|  1.20k|    layoutTypeCheck(loc, type);
 8264|       |
 8265|       |    // now, any remaining error checking based on the object itself
 8266|       |
 8267|  1.20k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (8267:9): [True: 0, False: 1.20k]
  ------------------
 8268|      0|        switch (qualifier.storage) {
 8269|      0|        case EvqUniform:
  ------------------
  |  Branch (8269:9): [True: 0, False: 0]
  ------------------
 8270|      0|        case EvqBuffer:
  ------------------
  |  Branch (8270:9): [True: 0, False: 0]
  ------------------
 8271|      0|            if (symbol.getAsVariable() == nullptr)
  ------------------
  |  Branch (8271:17): [True: 0, False: 0]
  ------------------
 8272|      0|                error(loc, "can only be used on variable declaration", "location", "");
 8273|      0|            break;
 8274|      0|        default:
  ------------------
  |  Branch (8274:9): [True: 0, False: 0]
  ------------------
 8275|      0|            break;
 8276|      0|        }
 8277|      0|    }
 8278|       |
 8279|       |    // user-variable location check, which are required for SPIR-V in/out:
 8280|       |    //  - variables have it directly,
 8281|       |    //  - blocks have it on each member (already enforced), so check first one
 8282|  1.20k|    if (spvVersion.spv > 0 && !parsingBuiltins && qualifier.builtIn == EbvNone &&
  ------------------
  |  Branch (8282:9): [True: 0, False: 1.20k]
  |  Branch (8282:31): [True: 0, False: 0]
  |  Branch (8282:51): [True: 0, False: 0]
  ------------------
 8283|      0|        !qualifier.hasLocation() && !intermediate.getAutoMapLocations()) {
  ------------------
  |  Branch (8283:9): [True: 0, False: 0]
  |  Branch (8283:37): [True: 0, False: 0]
  ------------------
 8284|       |
 8285|      0|        switch (qualifier.storage) {
 8286|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (8286:9): [True: 0, False: 0]
  ------------------
 8287|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (8287:9): [True: 0, False: 0]
  ------------------
 8288|      0|            if (!type.getQualifier().isTaskMemory() && !type.getQualifier().hasSpirvDecorate() &&
  ------------------
  |  Branch (8288:17): [True: 0, False: 0]
  |  Branch (8288:56): [True: 0, False: 0]
  ------------------
 8289|      0|                (type.getBasicType() != EbtBlock ||
  ------------------
  |  Branch (8289:18): [True: 0, False: 0]
  ------------------
 8290|      0|                 (type.getStruct()->size() > 0 &&
  ------------------
  |  Branch (8290:19): [True: 0, False: 0]
  ------------------
 8291|      0|                  !(*type.getStruct())[0].type->getQualifier().hasLocation() &&
  ------------------
  |  Branch (8291:19): [True: 0, False: 0]
  ------------------
 8292|      0|                   (*type.getStruct())[0].type->getQualifier().builtIn == EbvNone)))
  ------------------
  |  Branch (8292:20): [True: 0, False: 0]
  ------------------
 8293|      0|                error(loc, "SPIR-V requires location for user input/output", "location", "");
 8294|      0|            break;
 8295|      0|        default:
  ------------------
  |  Branch (8295:9): [True: 0, False: 0]
  ------------------
 8296|      0|            break;
 8297|      0|        }
 8298|      0|    }
 8299|       |
 8300|       |    // Check packing and matrix
 8301|  1.20k|    if (qualifier.hasUniformLayout()) {
  ------------------
  |  Branch (8301:9): [True: 0, False: 1.20k]
  ------------------
 8302|      0|        switch (qualifier.storage) {
 8303|      0|        case EvqUniform:
  ------------------
  |  Branch (8303:9): [True: 0, False: 0]
  ------------------
 8304|      0|        case EvqBuffer:
  ------------------
  |  Branch (8304:9): [True: 0, False: 0]
  ------------------
 8305|      0|            if (type.getBasicType() != EbtBlock) {
  ------------------
  |  Branch (8305:17): [True: 0, False: 0]
  ------------------
 8306|      0|                if (qualifier.hasMatrix())
  ------------------
  |  Branch (8306:21): [True: 0, False: 0]
  ------------------
 8307|      0|                    error(loc, "cannot specify matrix layout on a variable declaration", "layout", "");
 8308|      0|                if (qualifier.hasPacking())
  ------------------
  |  Branch (8308:21): [True: 0, False: 0]
  ------------------
 8309|      0|                    error(loc, "cannot specify packing on a variable declaration", "layout", "");
 8310|       |                // "The offset qualifier can only be used on block members of blocks..."
 8311|      0|                if (qualifier.hasOffset() && !type.isAtomic())
  ------------------
  |  Branch (8311:21): [True: 0, False: 0]
  |  Branch (8311:46): [True: 0, False: 0]
  ------------------
 8312|      0|                    error(loc, "cannot specify on a variable declaration", "offset", "");
 8313|       |                // "The align qualifier can only be used on blocks or block members..."
 8314|      0|                if (qualifier.hasAlign())
  ------------------
  |  Branch (8314:21): [True: 0, False: 0]
  ------------------
 8315|      0|                    error(loc, "cannot specify on a variable declaration", "align", "");
 8316|      0|                if (qualifier.isPushConstant())
  ------------------
  |  Branch (8316:21): [True: 0, False: 0]
  ------------------
 8317|      0|                    error(loc, "can only specify on a uniform block", "push_constant", "");
 8318|      0|                if (qualifier.isShaderRecord())
  ------------------
  |  Branch (8318:21): [True: 0, False: 0]
  ------------------
 8319|      0|                    error(loc, "can only specify on a buffer block", "shaderRecordNV", "");
 8320|      0|                if (qualifier.hasLocation() && type.isAtomic())
  ------------------
  |  Branch (8320:21): [True: 0, False: 0]
  |  Branch (8320:48): [True: 0, False: 0]
  ------------------
 8321|      0|                    error(loc, "cannot specify on atomic counter", "location", "");
 8322|      0|            }
 8323|      0|            break;
 8324|      0|        default:
  ------------------
  |  Branch (8324:9): [True: 0, False: 0]
  ------------------
 8325|       |            // these were already filtered by layoutTypeCheck() (or its callees)
 8326|      0|            break;
 8327|      0|        }
 8328|      0|    }
 8329|       |
 8330|       |    // Check that an in/out variable or block doesn't contain a boolean member
 8331|       |    // Don't enforce if redeclaring a builtin, which are allowed to contain bool
 8332|  1.20k|    if (!parsingBuiltins && type.containsBasicType(EbtBool) && !builtInName(symbol.getName())) {
  ------------------
  |  Branch (8332:9): [True: 0, False: 1.20k]
  |  Branch (8332:29): [True: 0, False: 0]
  |  Branch (8332:64): [True: 0, False: 0]
  ------------------
 8333|      0|        switch(qualifier.storage) {
 8334|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (8334:9): [True: 0, False: 0]
  ------------------
 8335|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (8335:9): [True: 0, False: 0]
  ------------------
 8336|      0|        {
 8337|      0|            const char *reason = type.getBasicType() == EbtBool ? "cannot be bool" : "cannot contain bool";
  ------------------
  |  Branch (8337:34): [True: 0, False: 0]
  ------------------
 8338|      0|            error(loc, reason, GetStorageQualifierString(qualifier.storage), "");
 8339|      0|            break;
 8340|      0|        }
 8341|      0|        default:
  ------------------
  |  Branch (8341:9): [True: 0, False: 0]
  ------------------
 8342|      0|            break;
 8343|      0|        }
 8344|      0|    }
 8345|  1.20k|}
_ZN7glslang13TParseContext30layoutMemberLocationArrayCheckERKNS_10TSourceLocEbPNS_11TArraySizesE:
 8356|      9|{
 8357|      9|    if (memberWithLocation && arraySizes != nullptr) {
  ------------------
  |  Branch (8357:9): [True: 0, False: 9]
  |  Branch (8357:31): [True: 0, False: 0]
  ------------------
 8358|      0|        if (arraySizes->getNumDims() > (currentBlockQualifier.isArrayedIo(language) ? 1 : 0))
  ------------------
  |  Branch (8358:13): [True: 0, False: 0]
  |  Branch (8358:41): [True: 0, False: 0]
  ------------------
 8359|      0|            error(loc, "cannot use in a block array where new locations are needed for each block element",
 8360|      0|                       "location", "");
 8361|      0|    }
 8362|      9|}
_ZN7glslang13TParseContext15layoutTypeCheckERKNS_10TSourceLocERKNS_5TTypeE:
 8366|  1.25k|{
 8367|  1.25k|    const TQualifier& qualifier = type.getQualifier();
 8368|       |
 8369|       |    // first, intra-layout qualifier-only error checking
 8370|  1.25k|    layoutQualifierCheck(loc, qualifier);
 8371|       |
 8372|       |    // now, error checking combining type and qualifier
 8373|       |
 8374|  1.25k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (8374:9): [True: 0, False: 1.25k]
  ------------------
 8375|      0|        if (qualifier.hasLocation()) {
  ------------------
  |  Branch (8375:13): [True: 0, False: 0]
  ------------------
 8376|      0|            if (qualifier.storage == EvqVaryingOut && language == EShLangFragment) {
  ------------------
  |  Branch (8376:17): [True: 0, False: 0]
  |  Branch (8376:55): [True: 0, False: 0]
  ------------------
 8377|      0|                if (qualifier.layoutLocation >= (unsigned int)resources.maxDrawBuffers)
  ------------------
  |  Branch (8377:21): [True: 0, False: 0]
  ------------------
 8378|      0|                    error(loc, "too large for fragment output", "location", "");
 8379|      0|            }
 8380|      0|        }
 8381|      0|        if (qualifier.hasComponent()) {
  ------------------
  |  Branch (8381:13): [True: 0, False: 0]
  ------------------
 8382|       |            // "It is a compile-time error if this sequence of components gets larger than 3."
 8383|      0|            if (qualifier.layoutComponent + type.getVectorSize() * (type.getBasicType() == EbtDouble ? 2 : 1) > 4)
  ------------------
  |  Branch (8383:17): [True: 0, False: 0]
  |  Branch (8383:69): [True: 0, False: 0]
  ------------------
 8384|      0|                error(loc, "type overflows the available 4 components", "component", "");
 8385|       |
 8386|       |            // "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."
 8387|      0|            if (type.isMatrix() || type.getBasicType() == EbtBlock || type.getBasicType() == EbtStruct)
  ------------------
  |  Branch (8387:17): [True: 0, False: 0]
  |  Branch (8387:36): [True: 0, False: 0]
  |  Branch (8387:71): [True: 0, False: 0]
  ------------------
 8388|      0|                error(loc, "cannot apply to a matrix, structure, or block", "component", "");
 8389|       |
 8390|       |            // " It is a compile-time error to use component 1 or 3 as the beginning of a double or dvec2."
 8391|      0|            if (type.getBasicType() == EbtDouble)
  ------------------
  |  Branch (8391:17): [True: 0, False: 0]
  ------------------
 8392|      0|                if (qualifier.layoutComponent & 1)
  ------------------
  |  Branch (8392:21): [True: 0, False: 0]
  ------------------
 8393|      0|                    error(loc, "doubles cannot start on an odd-numbered component", "component", "");
 8394|      0|        }
 8395|       |
 8396|      0|        switch (qualifier.storage) {
 8397|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (8397:9): [True: 0, False: 0]
  ------------------
 8398|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (8398:9): [True: 0, False: 0]
  ------------------
 8399|      0|            if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (8399:17): [True: 0, False: 0]
  ------------------
 8400|      0|                profileRequires(loc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, "location qualifier on in/out block");
 8401|      0|            if (type.getQualifier().isTaskMemory())
  ------------------
  |  Branch (8401:17): [True: 0, False: 0]
  ------------------
 8402|      0|                error(loc, "cannot apply to taskNV in/out blocks", "location", "");
 8403|      0|            break;
 8404|      0|        case EvqUniform:
  ------------------
  |  Branch (8404:9): [True: 0, False: 0]
  ------------------
 8405|      0|        case EvqBuffer:
  ------------------
  |  Branch (8405:9): [True: 0, False: 0]
  ------------------
 8406|      0|            if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (8406:17): [True: 0, False: 0]
  ------------------
 8407|      0|                error(loc, "cannot apply to uniform or buffer block", "location", "");
 8408|      0|            else if (type.getBasicType() == EbtSampler && type.getSampler().isAttachmentEXT())
  ------------------
  |  Branch (8408:22): [True: 0, False: 0]
  |  Branch (8408:59): [True: 0, False: 0]
  ------------------
 8409|      0|                error(loc, "only applies to", "location", "%s with storage tileImageEXT", type.getBasicTypeString().c_str());
 8410|      0|            break;
 8411|      0|        case EvqtaskPayloadSharedEXT:
  ------------------
  |  Branch (8411:9): [True: 0, False: 0]
  ------------------
 8412|      0|            error(loc, "cannot apply to taskPayloadSharedEXT", "location", "");
 8413|      0|            break;
 8414|      0|        case EvqPayload:
  ------------------
  |  Branch (8414:9): [True: 0, False: 0]
  ------------------
 8415|      0|        case EvqPayloadIn:
  ------------------
  |  Branch (8415:9): [True: 0, False: 0]
  ------------------
 8416|      0|        case EvqHitAttr:
  ------------------
  |  Branch (8416:9): [True: 0, False: 0]
  ------------------
 8417|      0|        case EvqCallableData:
  ------------------
  |  Branch (8417:9): [True: 0, False: 0]
  ------------------
 8418|      0|        case EvqCallableDataIn:
  ------------------
  |  Branch (8418:9): [True: 0, False: 0]
  ------------------
 8419|      0|        case EvqHitObjectAttrNV:
  ------------------
  |  Branch (8419:9): [True: 0, False: 0]
  ------------------
 8420|      0|        case EvqHitObjectAttrEXT:
  ------------------
  |  Branch (8420:9): [True: 0, False: 0]
  ------------------
 8421|      0|        case EvqSpirvStorageClass:
  ------------------
  |  Branch (8421:9): [True: 0, False: 0]
  ------------------
 8422|      0|            break;
 8423|      0|        case EvqTileImageEXT:
  ------------------
  |  Branch (8423:9): [True: 0, False: 0]
  ------------------
 8424|      0|            break;
 8425|      0|        default:
  ------------------
  |  Branch (8425:9): [True: 0, False: 0]
  ------------------
 8426|      0|            error(loc, "can only apply to uniform, buffer, in, or out storage qualifiers", "location", "");
 8427|      0|            break;
 8428|      0|        }
 8429|       |
 8430|      0|        bool typeCollision;
 8431|      0|        int repeated = intermediate.addUsedLocation(qualifier, type, typeCollision);
 8432|      0|        if (repeated >= 0 && ! typeCollision)
  ------------------
  |  Branch (8432:13): [True: 0, False: 0]
  |  Branch (8432:30): [True: 0, False: 0]
  ------------------
 8433|      0|            error(loc, "overlapping use of location", "location", "%d", repeated);
 8434|       |        // When location aliasing, the aliases sharing the location must have the same underlying numerical type and bit width(
 8435|       |        // floating - point or integer, 32 - bit versus 64 - bit,etc.)
 8436|      0|        if (typeCollision && (qualifier.isPipeInput() || qualifier.isPipeOutput() || qualifier.storage == EvqTileImageEXT))
  ------------------
  |  Branch (8436:13): [True: 0, False: 0]
  |  Branch (8436:31): [True: 0, False: 0]
  |  Branch (8436:58): [True: 0, False: 0]
  |  Branch (8436:86): [True: 0, False: 0]
  ------------------
 8437|      0|            error(loc, "the aliases sharing the location", "location", "%d must be the same basic type and interpolation qualification", repeated);
 8438|      0|    }
 8439|       |
 8440|  1.25k|    if (qualifier.hasXfbOffset() && qualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (8440:9): [True: 0, False: 1.25k]
  |  Branch (8440:37): [True: 0, False: 0]
  ------------------
 8441|      0|        if (type.isUnsizedArray()) {
  ------------------
  |  Branch (8441:13): [True: 0, False: 0]
  ------------------
 8442|      0|            error(loc, "unsized array", "xfb_offset", "in buffer %d", qualifier.layoutXfbBuffer);
 8443|      0|        } else {
 8444|      0|            int repeated = intermediate.addXfbBufferOffset(type);
 8445|      0|            if (repeated >= 0)
  ------------------
  |  Branch (8445:17): [True: 0, False: 0]
  ------------------
 8446|      0|                error(loc, "overlapping offsets at", "xfb_offset", "offset %d in buffer %d", repeated, qualifier.layoutXfbBuffer);
 8447|      0|        }
 8448|       |
 8449|       |        // "The offset must be a multiple of the size of the first component of the first
 8450|       |        // qualified variable or block member, or a compile-time error results. Further, if applied to an aggregate
 8451|       |        // containing a double or 64-bit integer, the offset must also be a multiple of 8..."
 8452|      0|        if ((type.containsBasicType(EbtDouble) || type.containsBasicType(EbtInt64) || type.containsBasicType(EbtUint64)) &&
  ------------------
  |  Branch (8452:14): [True: 0, False: 0]
  |  Branch (8452:51): [True: 0, False: 0]
  |  Branch (8452:87): [True: 0, False: 0]
  ------------------
 8453|      0|            ! IsMultipleOfPow2(qualifier.layoutXfbOffset, 8))
  ------------------
  |  Branch (8453:13): [True: 0, False: 0]
  ------------------
 8454|      0|            error(loc, "type contains double or 64-bit integer; xfb_offset must be a multiple of 8", "xfb_offset", "");
 8455|      0|        else if ((type.containsBasicType(EbtBool) || type.containsBasicType(EbtFloat) ||
  ------------------
  |  Branch (8455:19): [True: 0, False: 0]
  |  Branch (8455:54): [True: 0, False: 0]
  ------------------
 8456|      0|                  type.containsBasicType(EbtInt) || type.containsBasicType(EbtUint)) &&
  ------------------
  |  Branch (8456:19): [True: 0, False: 0]
  |  Branch (8456:53): [True: 0, False: 0]
  ------------------
 8457|      0|                 ! IsMultipleOfPow2(qualifier.layoutXfbOffset, 4))
  ------------------
  |  Branch (8457:18): [True: 0, False: 0]
  ------------------
 8458|      0|            error(loc, "must be a multiple of size of first component", "xfb_offset", "");
 8459|       |        // ..., if applied to an aggregate containing a half float or 16-bit integer, the offset must also be a multiple of 2..."
 8460|      0|        else if ((type.contains16BitFloat() || type.containsBasicType(EbtInt16) || type.containsBasicType(EbtUint16)) &&
  ------------------
  |  Branch (8460:19): [True: 0, False: 0]
  |  Branch (8460:48): [True: 0, False: 0]
  |  Branch (8460:84): [True: 0, False: 0]
  ------------------
 8461|      0|                 !IsMultipleOfPow2(qualifier.layoutXfbOffset, 2))
  ------------------
  |  Branch (8461:18): [True: 0, False: 0]
  ------------------
 8462|      0|            error(loc, "type contains half float or 16-bit integer; xfb_offset must be a multiple of 2", "xfb_offset", "");
 8463|      0|    }
 8464|  1.25k|    if (qualifier.hasXfbStride() && qualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (8464:9): [True: 0, False: 1.25k]
  |  Branch (8464:37): [True: 0, False: 0]
  ------------------
 8465|      0|        if (! intermediate.setXfbBufferStride(qualifier.layoutXfbBuffer, qualifier.layoutXfbStride))
  ------------------
  |  Branch (8465:13): [True: 0, False: 0]
  ------------------
 8466|      0|            error(loc, "all stride settings must match for xfb buffer", "xfb_stride", "%d", qualifier.layoutXfbBuffer);
 8467|      0|    }
 8468|       |
 8469|  1.25k|    if (qualifier.hasBinding()) {
  ------------------
  |  Branch (8469:9): [True: 0, False: 1.25k]
  ------------------
 8470|       |        // Binding checking, from the spec:
 8471|       |        //
 8472|       |        // "If the binding point for any uniform or shader storage block instance is less than zero, or greater than or
 8473|       |        // equal to the implementation-dependent maximum number of uniform buffer bindings, a compile-time
 8474|       |        // error will occur. When the binding identifier is used with a uniform or shader storage block instanced as
 8475|       |        // an array of size N, all elements of the array from binding through binding + N - 1 must be within this
 8476|       |        // range."
 8477|       |        //
 8478|      0|        if (!type.isOpaque() && type.getBasicType() != EbtBlock && type.getBasicType() != EbtSpirvType)
  ------------------
  |  Branch (8478:13): [True: 0, False: 0]
  |  Branch (8478:33): [True: 0, False: 0]
  |  Branch (8478:68): [True: 0, False: 0]
  ------------------
 8479|      0|            error(loc, "requires block, or sampler/image, or atomic-counter type", "binding", "");
 8480|      0|        if (type.getBasicType() == EbtSampler) {
  ------------------
  |  Branch (8480:13): [True: 0, False: 0]
  ------------------
 8481|      0|            int lastBinding = qualifier.layoutBinding;
 8482|      0|            if (type.isArray()) {
  ------------------
  |  Branch (8482:17): [True: 0, False: 0]
  ------------------
 8483|      0|                if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (8483:21): [True: 0, False: 0]
  ------------------
 8484|      0|                    if (type.isSizedArray())
  ------------------
  |  Branch (8484:25): [True: 0, False: 0]
  ------------------
 8485|      0|                        lastBinding += (type.getCumulativeArraySize() - 1);
 8486|      0|                    else {
 8487|      0|                        warn(loc, "assuming binding count of one for compile-time checking of binding numbers for unsized array", "[]", "");
 8488|      0|                    }
 8489|      0|                }
 8490|      0|            }
 8491|      0|            if (spvVersion.vulkan == 0 && lastBinding >= resources.maxCombinedTextureImageUnits)
  ------------------
  |  Branch (8491:17): [True: 0, False: 0]
  |  Branch (8491:43): [True: 0, False: 0]
  ------------------
 8492|      0|                error(loc, "sampler binding not less than gl_MaxCombinedTextureImageUnits", "binding", type.isArray() ? "(using array)" : "");
  ------------------
  |  Branch (8492:104): [True: 0, False: 0]
  ------------------
 8493|      0|        }
 8494|      0|        if (type.isAtomic() && !spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (8494:13): [True: 0, False: 0]
  |  Branch (8494:32): [True: 0, False: 0]
  ------------------
 8495|      0|            if (qualifier.layoutBinding >= resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (8495:17): [True: 0, False: 0]
  ------------------
 8496|      0|                error(loc, "atomic_uint binding is too large; see gl_MaxAtomicCounterBindings", "binding", "");
 8497|      0|                return;
 8498|      0|            }
 8499|      0|        }
 8500|  1.25k|    } else if (!intermediate.getAutoMapBindings()) {
  ------------------
  |  Branch (8500:16): [True: 1.25k, False: 0]
  ------------------
 8501|       |        // some types require bindings
 8502|       |
 8503|       |        // atomic_uint
 8504|  1.25k|        if (type.isAtomic())
  ------------------
  |  Branch (8504:13): [True: 0, False: 1.25k]
  ------------------
 8505|      0|            error(loc, "layout(binding=X) is required", "atomic_uint", "");
 8506|       |
 8507|       |        // SPIR-V
 8508|  1.25k|        if (spvVersion.spv > 0) {
  ------------------
  |  Branch (8508:13): [True: 0, False: 1.25k]
  ------------------
 8509|      0|            if (qualifier.isUniformOrBuffer() && !intermediate.IsRequestedExtension(E_GL_EXT_descriptor_heap)) {
  ------------------
  |  Branch (8509:17): [True: 0, False: 0]
  |  Branch (8509:50): [True: 0, False: 0]
  ------------------
 8510|      0|                if (type.getBasicType() == EbtBlock && !qualifier.isPushConstant() &&
  ------------------
  |  Branch (8510:21): [True: 0, False: 0]
  |  Branch (8510:56): [True: 0, False: 0]
  ------------------
 8511|      0|                       !qualifier.isShaderRecord() &&
  ------------------
  |  Branch (8511:24): [True: 0, False: 0]
  ------------------
 8512|      0|                       !qualifier.hasAttachment() &&
  ------------------
  |  Branch (8512:24): [True: 0, False: 0]
  ------------------
 8513|      0|                       !qualifier.hasBufferReference())
  ------------------
  |  Branch (8513:24): [True: 0, False: 0]
  ------------------
 8514|      0|                    error(loc, "uniform/buffer blocks require layout(binding=X)", "binding", "");
 8515|      0|                else if (spvVersion.vulkan > 0 && type.getBasicType() == EbtSampler && !type.getSampler().isAttachmentEXT())
  ------------------
  |  Branch (8515:26): [True: 0, False: 0]
  |  Branch (8515:51): [True: 0, False: 0]
  |  Branch (8515:88): [True: 0, False: 0]
  ------------------
 8516|      0|                    error(loc, "sampler/texture/image requires layout(binding=X)", "binding", "");
 8517|      0|            }
 8518|      0|        }
 8519|  1.25k|    }
 8520|       |
 8521|       |    // some things can't have arrays of arrays
 8522|  1.25k|    if (type.isArrayOfArrays()) {
  ------------------
  |  Branch (8522:9): [True: 3, False: 1.24k]
  ------------------
 8523|      3|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (8523:13): [True: 3, False: 0]
  ------------------
 8524|      3|            if (type.isOpaque() || (type.getQualifier().isUniformOrBuffer() && type.getBasicType() == EbtBlock))
  ------------------
  |  Branch (8524:17): [True: 0, False: 3]
  |  Branch (8524:37): [True: 0, False: 3]
  |  Branch (8524:80): [True: 0, False: 0]
  ------------------
 8525|      0|                warn(loc, "Generating SPIR-V array-of-arrays, but Vulkan only supports single array level for this resource", "[][]", "");
 8526|      3|        }
 8527|      3|    }
 8528|       |
 8529|       |    // "The offset qualifier can only be used on block members of blocks..."
 8530|  1.25k|    if (qualifier.hasOffset()) {
  ------------------
  |  Branch (8530:9): [True: 0, False: 1.25k]
  ------------------
 8531|      0|        if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (8531:13): [True: 0, False: 0]
  ------------------
 8532|      0|            error(loc, "only applies to block members, not blocks", "offset", "");
 8533|      0|    }
 8534|       |
 8535|       |    // Image format
 8536|  1.25k|    if (qualifier.hasFormat()) {
  ------------------
  |  Branch (8536:9): [True: 0, False: 1.25k]
  ------------------
 8537|      0|        if (! type.isImage() && !intermediate.getBindlessImageMode())
  ------------------
  |  Branch (8537:13): [True: 0, False: 0]
  |  Branch (8537:33): [True: 0, False: 0]
  ------------------
 8538|      0|            error(loc, "only apply to images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8539|      0|        else {
 8540|      0|            if (type.getSampler().type == EbtFloat && qualifier.getFormat() > ElfFloatGuard)
  ------------------
  |  Branch (8540:17): [True: 0, False: 0]
  |  Branch (8540:55): [True: 0, False: 0]
  ------------------
 8541|      0|                error(loc, "does not apply to floating point images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8542|      0|            if (type.getSampler().type == EbtInt && (qualifier.getFormat() < ElfFloatGuard || qualifier.getFormat() > ElfIntGuard))
  ------------------
  |  Branch (8542:17): [True: 0, False: 0]
  |  Branch (8542:54): [True: 0, False: 0]
  |  Branch (8542:95): [True: 0, False: 0]
  ------------------
 8543|      0|                error(loc, "does not apply to signed integer images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8544|      0|            if (type.getSampler().type == EbtUint && qualifier.getFormat() < ElfIntGuard)
  ------------------
  |  Branch (8544:17): [True: 0, False: 0]
  |  Branch (8544:54): [True: 0, False: 0]
  ------------------
 8545|      0|                error(loc, "does not apply to unsigned integer images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8546|       |
 8547|      0|            if (isEsProfile()) {
  ------------------
  |  Branch (8547:17): [True: 0, False: 0]
  ------------------
 8548|       |                // "Except for image variables qualified with the format qualifiers r32f, r32i, and r32ui, image variables must
 8549|       |                // specify either memory qualifier readonly or the memory qualifier writeonly."
 8550|      0|                if (! (qualifier.getFormat() == ElfR32f || qualifier.getFormat() == ElfR32i || qualifier.getFormat() == ElfR32ui)) {
  ------------------
  |  Branch (8550:24): [True: 0, False: 0]
  |  Branch (8550:60): [True: 0, False: 0]
  |  Branch (8550:96): [True: 0, False: 0]
  ------------------
 8551|      0|                    if (! qualifier.isReadOnly() && ! qualifier.isWriteOnly())
  ------------------
  |  Branch (8551:25): [True: 0, False: 0]
  |  Branch (8551:53): [True: 0, False: 0]
  ------------------
 8552|      0|                        error(loc, "format requires readonly or writeonly memory qualifier", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8553|      0|                }
 8554|      0|            }
 8555|      0|        }
 8556|  1.25k|    } else if (type.isImage() && ! qualifier.isWriteOnly() && !intermediate.getBindlessImageMode()) {
  ------------------
  |  Branch (8556:16): [True: 0, False: 1.25k]
  |  Branch (8556:34): [True: 0, False: 0]
  |  Branch (8556:63): [True: 0, False: 0]
  ------------------
 8557|      0|        const char *explanation = "image variables not declared 'writeonly' and without a format layout qualifier";
 8558|      0|        requireProfile(loc, ECoreProfile | ECompatibilityProfile, explanation);
 8559|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shader_image_load_formatted, explanation);
 8560|      0|    }
 8561|       |
 8562|  1.25k|    if (qualifier.isPushConstant()) {
  ------------------
  |  Branch (8562:9): [True: 0, False: 1.25k]
  ------------------
 8563|      0|        if (type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8563:13): [True: 0, False: 0]
  ------------------
 8564|      0|            error(loc, "can only be used with a block", "push_constant", "");
 8565|      0|        if (type.isArray())
  ------------------
  |  Branch (8565:13): [True: 0, False: 0]
  ------------------
 8566|      0|            error(loc, "Push constants blocks can't be an array", "push_constant", "");
 8567|      0|    }
 8568|       |
 8569|  1.25k|    if (type.getBasicType() == EbtReference) {
  ------------------
  |  Branch (8569:9): [True: 0, False: 1.25k]
  ------------------
 8570|      0|        if (qualifier.isPipeInput())
  ------------------
  |  Branch (8570:13): [True: 0, False: 0]
  ------------------
 8571|      0|            error(loc, "cannot contain any structs with buffer_reference.", "in",
 8572|      0|                  "If you want to interface shader stages with a buffer_reference cast to a uint64 or uvec2 instead.");
 8573|      0|        if (qualifier.isPipeOutput())
  ------------------
  |  Branch (8573:13): [True: 0, False: 0]
  ------------------
 8574|      0|            error(loc, "cannot contain any structs with buffer_reference.", "out",
 8575|      0|                  "If you want to interface shader stages with a buffer_reference cast to a uint64 or uvec2 instead.");
 8576|      0|    }
 8577|       |
 8578|  1.25k|    if (qualifier.hasBufferReference() && type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8578:9): [True: 0, False: 1.25k]
  |  Branch (8578:43): [True: 0, False: 0]
  ------------------
 8579|      0|        error(loc, "can only be used with a block", "buffer_reference", "");
 8580|       |
 8581|  1.25k|    if (qualifier.isShaderRecord() && type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8581:9): [True: 0, False: 1.25k]
  |  Branch (8581:39): [True: 0, False: 0]
  ------------------
 8582|      0|        error(loc, "can only be used with a block", "shaderRecordNV", "");
 8583|       |
 8584|       |    // input attachment
 8585|  1.25k|    if (type.isSubpass()) {
  ------------------
  |  Branch (8585:9): [True: 0, False: 1.25k]
  ------------------
 8586|      0|        if (extensionTurnedOn(E_GL_EXT_shader_tile_image))
  ------------------
  |  Branch (8586:13): [True: 0, False: 0]
  ------------------
 8587|      0|            error(loc, "cannot be used with GL_EXT_shader_tile_image enabled", type.getSampler().getString().c_str(),
 8588|      0|                  "");
 8589|      0|        if (!qualifier.hasAttachment() && (type.isArray() || !extensionTurnedOn(E_GL_EXT_optional_input_attachment_index)))
  ------------------
  |  Branch (8589:13): [True: 0, False: 0]
  |  Branch (8589:44): [True: 0, False: 0]
  |  Branch (8589:62): [True: 0, False: 0]
  ------------------
 8590|      0|            error(loc, "requires an input_attachment_index layout qualifier", "subpass", "");
 8591|  1.25k|    } else {
 8592|  1.25k|        if (qualifier.hasAttachment())
  ------------------
  |  Branch (8592:13): [True: 0, False: 1.25k]
  ------------------
 8593|      0|            error(loc, "can only be used with a subpass", "input_attachment_index", "");
 8594|  1.25k|    }
 8595|       |
 8596|       |    // specialization-constant id
 8597|  1.25k|    if (qualifier.hasSpecConstantId()) {
  ------------------
  |  Branch (8597:9): [True: 0, False: 1.25k]
  ------------------
 8598|      0|        if (type.getQualifier().storage != EvqConst)
  ------------------
  |  Branch (8598:13): [True: 0, False: 0]
  ------------------
 8599|      0|            error(loc, "can only be applied to 'const'-qualified scalar", "constant_id", "");
 8600|      0|        if (! type.isScalar())
  ------------------
  |  Branch (8600:13): [True: 0, False: 0]
  ------------------
 8601|      0|            error(loc, "can only be applied to a scalar", "constant_id", "");
 8602|      0|        switch (type.getBasicType())
 8603|      0|        {
 8604|      0|        case EbtInt8:
  ------------------
  |  Branch (8604:9): [True: 0, False: 0]
  ------------------
 8605|      0|        case EbtUint8:
  ------------------
  |  Branch (8605:9): [True: 0, False: 0]
  ------------------
 8606|      0|        case EbtInt16:
  ------------------
  |  Branch (8606:9): [True: 0, False: 0]
  ------------------
 8607|      0|        case EbtUint16:
  ------------------
  |  Branch (8607:9): [True: 0, False: 0]
  ------------------
 8608|      0|        case EbtInt:
  ------------------
  |  Branch (8608:9): [True: 0, False: 0]
  ------------------
 8609|      0|        case EbtUint:
  ------------------
  |  Branch (8609:9): [True: 0, False: 0]
  ------------------
 8610|      0|        case EbtInt64:
  ------------------
  |  Branch (8610:9): [True: 0, False: 0]
  ------------------
 8611|      0|        case EbtUint64:
  ------------------
  |  Branch (8611:9): [True: 0, False: 0]
  ------------------
 8612|      0|        case EbtBool:
  ------------------
  |  Branch (8612:9): [True: 0, False: 0]
  ------------------
 8613|      0|        case EbtFloat:
  ------------------
  |  Branch (8613:9): [True: 0, False: 0]
  ------------------
 8614|      0|        case EbtDouble:
  ------------------
  |  Branch (8614:9): [True: 0, False: 0]
  ------------------
 8615|      0|        case EbtFloat16:
  ------------------
  |  Branch (8615:9): [True: 0, False: 0]
  ------------------
 8616|      0|        case EbtBFloat16:
  ------------------
  |  Branch (8616:9): [True: 0, False: 0]
  ------------------
 8617|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (8617:9): [True: 0, False: 0]
  ------------------
 8618|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (8618:9): [True: 0, False: 0]
  ------------------
 8619|      0|        case EbtFloatE2M1:
  ------------------
  |  Branch (8619:9): [True: 0, False: 0]
  ------------------
 8620|      0|        case EbtFloatE3M2:
  ------------------
  |  Branch (8620:9): [True: 0, False: 0]
  ------------------
 8621|      0|        case EbtFloatE2M3:
  ------------------
  |  Branch (8621:9): [True: 0, False: 0]
  ------------------
 8622|      0|        case EbtFloatUE8M0:
  ------------------
  |  Branch (8622:9): [True: 0, False: 0]
  ------------------
 8623|      0|        case EbtFloatMXINT8:
  ------------------
  |  Branch (8623:9): [True: 0, False: 0]
  ------------------
 8624|      0|            break;
 8625|      0|        default:
  ------------------
  |  Branch (8625:9): [True: 0, False: 0]
  ------------------
 8626|      0|            error(loc, "cannot be applied to this type", "constant_id", "");
 8627|      0|            break;
 8628|      0|        }
 8629|      0|    }
 8630|  1.25k|}
_ZN7glslang13TParseContext20layoutQualifierCheckERKNS_10TSourceLocERKNS_10TQualifierE:
 8649|  1.25k|{
 8650|  1.25k|    if (qualifier.storage == EvqShared && qualifier.hasLayout()) {
  ------------------
  |  Branch (8650:9): [True: 0, False: 1.25k]
  |  Branch (8650:43): [True: 0, False: 0]
  ------------------
 8651|      0|        if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_4) {
  ------------------
  |  Branch (8651:13): [True: 0, False: 0]
  |  Branch (8651:35): [True: 0, False: 0]
  ------------------
 8652|      0|            error(loc, "shared block requires at least SPIR-V 1.4", "shared block", "");
 8653|      0|        }
 8654|      0|        profileRequires(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shared_memory_block, "shared block");
 8655|      0|    }
 8656|       |
 8657|       |    // "It is a compile-time error to use *component* without also specifying the location qualifier (order does not matter)."
 8658|  1.25k|    if (qualifier.hasComponent() && ! qualifier.hasLocation())
  ------------------
  |  Branch (8658:9): [True: 0, False: 1.25k]
  |  Branch (8658:37): [True: 0, False: 0]
  ------------------
 8659|      0|        error(loc, "must specify 'location' to use 'component'", "component", "");
 8660|       |
 8661|  1.25k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (8661:9): [True: 0, False: 1.25k]
  ------------------
 8662|       |
 8663|       |        // "As with input layout qualifiers, all shaders except compute shaders
 8664|       |        // allow *location* layout qualifiers on output variable declarations,
 8665|       |        // output block declarations, and output block member declarations."
 8666|       |
 8667|      0|        switch (qualifier.storage) {
 8668|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (8668:9): [True: 0, False: 0]
  ------------------
 8669|      0|        {
 8670|      0|            const char* feature = "location qualifier on input";
 8671|      0|            if (isEsProfile() && version < 310)
  ------------------
  |  Branch (8671:17): [True: 0, False: 0]
  |  Branch (8671:34): [True: 0, False: 0]
  ------------------
 8672|      0|                requireStage(loc, EShLangVertex, feature);
 8673|      0|            else
 8674|      0|                requireStage(loc, (EShLanguageMask)~EShLangComputeMask, feature);
 8675|      0|            if (language == EShLangVertex) {
  ------------------
  |  Branch (8675:17): [True: 0, False: 0]
  ------------------
 8676|      0|                const char* exts[2] = { E_GL_ARB_separate_shader_objects, E_GL_ARB_explicit_attrib_location };
 8677|      0|                profileRequires(loc, ~EEsProfile, 330, 2, exts, feature);
 8678|      0|                profileRequires(loc, EEsProfile, 300, nullptr, feature);
 8679|      0|            } else {
 8680|      0|                profileRequires(loc, ~EEsProfile, 410, E_GL_ARB_separate_shader_objects, feature);
 8681|      0|                profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8682|      0|            }
 8683|      0|            break;
 8684|      0|        }
 8685|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (8685:9): [True: 0, False: 0]
  ------------------
 8686|      0|        {
 8687|      0|            const char* feature = "location qualifier on output";
 8688|      0|            if (isEsProfile() && version < 310)
  ------------------
  |  Branch (8688:17): [True: 0, False: 0]
  |  Branch (8688:34): [True: 0, False: 0]
  ------------------
 8689|      0|                requireStage(loc, EShLangFragment, feature);
 8690|      0|            else
 8691|      0|                requireStage(loc, (EShLanguageMask)~EShLangComputeMask, feature);
 8692|      0|            if (language == EShLangFragment) {
  ------------------
  |  Branch (8692:17): [True: 0, False: 0]
  ------------------
 8693|      0|                const char* exts[2] = { E_GL_ARB_separate_shader_objects, E_GL_ARB_explicit_attrib_location };
 8694|      0|                profileRequires(loc, ~EEsProfile, 330, 2, exts, feature);
 8695|      0|                profileRequires(loc, EEsProfile, 300, nullptr, feature);
 8696|      0|            } else {
 8697|      0|                profileRequires(loc, ~EEsProfile, 410, E_GL_ARB_separate_shader_objects, feature);
 8698|      0|                profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8699|      0|            }
 8700|      0|            break;
 8701|      0|        }
 8702|      0|        case EvqUniform:
  ------------------
  |  Branch (8702:9): [True: 0, False: 0]
  ------------------
 8703|      0|        case EvqBuffer:
  ------------------
  |  Branch (8703:9): [True: 0, False: 0]
  ------------------
 8704|      0|        {
 8705|      0|            const char* feature = "location qualifier on uniform or buffer";
 8706|      0|            requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile | ENoProfile, feature);
 8707|      0|            profileRequires(loc, ~EEsProfile, 330, E_GL_ARB_explicit_attrib_location, feature);
 8708|      0|            profileRequires(loc, ~EEsProfile, 430, E_GL_ARB_explicit_uniform_location, feature);
 8709|      0|            profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8710|      0|            break;
 8711|      0|        }
 8712|      0|        default:
  ------------------
  |  Branch (8712:9): [True: 0, False: 0]
  ------------------
 8713|      0|            break;
 8714|      0|        }
 8715|      0|        if (qualifier.hasIndex()) {
  ------------------
  |  Branch (8715:13): [True: 0, False: 0]
  ------------------
 8716|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (8716:17): [True: 0, False: 0]
  ------------------
 8717|      0|                error(loc, "can only be used on an output", "index", "");
 8718|      0|            if (! qualifier.hasLocation())
  ------------------
  |  Branch (8718:17): [True: 0, False: 0]
  ------------------
 8719|      0|                error(loc, "can only be used with an explicit location", "index", "");
 8720|      0|        }
 8721|      0|    }
 8722|       |
 8723|  1.25k|    if (qualifier.hasBinding()) {
  ------------------
  |  Branch (8723:9): [True: 0, False: 1.25k]
  ------------------
 8724|      0|        if (! qualifier.isUniformOrBuffer() && !qualifier.isTaskMemory() && !qualifier.isTileAttachmentQCOM())
  ------------------
  |  Branch (8724:13): [True: 0, False: 0]
  |  Branch (8724:48): [True: 0, False: 0]
  |  Branch (8724:77): [True: 0, False: 0]
  ------------------
 8725|      0|            error(loc, "requires uniform or buffer or tile image storage qualifier", "binding", "");
 8726|      0|    }
 8727|  1.25k|    if (qualifier.hasStream()) {
  ------------------
  |  Branch (8727:9): [True: 14, False: 1.23k]
  ------------------
 8728|     14|        if (!qualifier.isPipeOutput())
  ------------------
  |  Branch (8728:13): [True: 0, False: 14]
  ------------------
 8729|      0|            error(loc, "can only be used on an output", "stream", "");
 8730|     14|    }
 8731|  1.25k|    if (qualifier.hasXfb()) {
  ------------------
  |  Branch (8731:9): [True: 53, False: 1.19k]
  ------------------
 8732|     53|        if (!qualifier.isPipeOutput())
  ------------------
  |  Branch (8732:13): [True: 0, False: 53]
  ------------------
 8733|      0|            error(loc, "can only be used on an output", "xfb layout qualifier", "");
 8734|     53|    }
 8735|  1.25k|    if (qualifier.hasUniformLayout()) {
  ------------------
  |  Branch (8735:9): [True: 0, False: 1.25k]
  ------------------
 8736|      0|        if (!storageCanHaveLayoutInBlock(qualifier.storage) && !qualifier.isTaskMemory()) {
  ------------------
  |  Branch (8736:13): [True: 0, False: 0]
  |  Branch (8736:64): [True: 0, False: 0]
  ------------------
 8737|      0|            if (qualifier.hasMatrix() || qualifier.hasPacking())
  ------------------
  |  Branch (8737:17): [True: 0, False: 0]
  |  Branch (8737:42): [True: 0, False: 0]
  ------------------
 8738|      0|                error(loc, "matrix or packing qualifiers can only be used on a uniform or buffer", "layout", "");
 8739|      0|            if (qualifier.hasOffset() || qualifier.hasAlign())
  ------------------
  |  Branch (8739:17): [True: 0, False: 0]
  |  Branch (8739:42): [True: 0, False: 0]
  ------------------
 8740|      0|                error(loc, "offset/align can only be used on a uniform or buffer", "layout", "");
 8741|      0|        }
 8742|      0|    }
 8743|  1.25k|    if (qualifier.isPushConstant()) {
  ------------------
  |  Branch (8743:9): [True: 0, False: 1.25k]
  ------------------
 8744|      0|        if (qualifier.storage != EvqUniform)
  ------------------
  |  Branch (8744:13): [True: 0, False: 0]
  ------------------
 8745|      0|            error(loc, "can only be used with a uniform", "push_constant", "");
 8746|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8746:13): [True: 0, False: 0]
  ------------------
 8747|      0|            error(loc, "cannot be used with push_constant", "set", "");
 8748|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (8748:13): [True: 0, False: 0]
  ------------------
 8749|      0|            error(loc, "cannot be used with push_constant", "binding", "");
 8750|      0|    }
 8751|  1.25k|    if (qualifier.hasBufferReference()) {
  ------------------
  |  Branch (8751:9): [True: 0, False: 1.25k]
  ------------------
 8752|      0|        if (qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8752:13): [True: 0, False: 0]
  ------------------
 8753|      0|            error(loc, "can only be used with buffer", "buffer_reference", "");
 8754|      0|    }
 8755|  1.25k|    if (qualifier.isBufferType()) {
  ------------------
  |  Branch (8755:9): [True: 0, False: 1.25k]
  ------------------
 8756|      0|        if (qualifier.storage != EvqUniform && qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8756:13): [True: 0, False: 0]
  |  Branch (8756:48): [True: 0, False: 0]
  ------------------
 8757|      0|            error(loc, "can only be used with uniform or buffer", "buffer_type", "");
 8758|      0|    }
 8759|  1.25k|    if (qualifier.isShaderRecord()) {
  ------------------
  |  Branch (8759:9): [True: 0, False: 1.25k]
  ------------------
 8760|      0|        if (qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8760:13): [True: 0, False: 0]
  ------------------
 8761|      0|            error(loc, "can only be used with a buffer", "shaderRecordNV", "");
 8762|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (8762:13): [True: 0, False: 0]
  ------------------
 8763|      0|            error(loc, "cannot be used with shaderRecordNV", "binding", "");
 8764|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8764:13): [True: 0, False: 0]
  ------------------
 8765|      0|            error(loc, "cannot be used with shaderRecordNV", "set", "");
 8766|       |
 8767|      0|    }
 8768|       |
 8769|  1.25k|    if (qualifier.storage == EvqTileImageEXT) {
  ------------------
  |  Branch (8769:9): [True: 0, False: 1.25k]
  ------------------
 8770|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8770:13): [True: 0, False: 0]
  ------------------
 8771|      0|            error(loc, "cannot be used with tileImageEXT", "set", "");
 8772|      0|        if (!qualifier.hasLocation())
  ------------------
  |  Branch (8772:13): [True: 0, False: 0]
  ------------------
 8773|      0|            error(loc, "can only be used with an explicit location", "tileImageEXT", "");
 8774|      0|    }
 8775|       |
 8776|  1.25k|    if (qualifier.storage == EvqHitAttr && qualifier.hasLayout()) {
  ------------------
  |  Branch (8776:9): [True: 0, False: 1.25k]
  |  Branch (8776:44): [True: 0, False: 0]
  ------------------
 8777|      0|        error(loc, "cannot apply layout qualifiers to hitAttributeNV variable", "hitAttributeNV", "");
 8778|      0|    }
 8779|  1.25k|    if (qualifier.hasBank()) {
  ------------------
  |  Branch (8779:9): [True: 0, False: 1.25k]
  ------------------
 8780|      0|        if (!qualifier.isPushConstant())
  ------------------
  |  Branch (8780:13): [True: 0, False: 0]
  ------------------
 8781|      0|            error(loc, "can only be used with push_constant", "bank", "");
 8782|      0|    }
 8783|  1.25k|    if (qualifier.hasMemberOffset()) {
  ------------------
  |  Branch (8783:9): [True: 0, False: 1.25k]
  ------------------
 8784|      0|        if (!qualifier.isPushConstant())
  ------------------
  |  Branch (8784:13): [True: 0, False: 0]
  ------------------
 8785|      0|            error(loc, "can only be used with push_constant", "member_offset", "");
 8786|      0|    }
 8787|       |
 8788|  1.25k|    if (qualifier.layoutDescriptorStride != TQualifier::layoutDescriptorStrideEnd &&
  ------------------
  |  Branch (8788:9): [True: 0, False: 1.25k]
  ------------------
 8789|      0|        !qualifier.layoutDescriptorHeap)
  ------------------
  |  Branch (8789:9): [True: 0, False: 0]
  ------------------
 8790|      0|        error(loc, "must specify 'descriptor_heap' to use 'descriptor_stride'", "descriptor_stride", "");
 8791|  1.25k|    if ((qualifier.layoutHeapOffset != 0 || qualifier.layoutHeapOffsetNode != nullptr) && !qualifier.layoutDescriptorHeap &&
  ------------------
  |  Branch (8791:10): [True: 0, False: 1.25k]
  |  Branch (8791:45): [True: 0, False: 1.25k]
  |  Branch (8791:91): [True: 0, False: 0]
  ------------------
 8792|      0|        qualifier.storage != EvqSamplerHeap && qualifier.storage != EvqResourceHeap)
  ------------------
  |  Branch (8792:9): [True: 0, False: 0]
  |  Branch (8792:48): [True: 0, False: 0]
  ------------------
 8793|      0|        error(loc, "must specify 'descriptor_heap' to use 'heap_offset'", "heap_offset", "");
 8794|  1.25k|}
_ZN7glslang13TParseContext20checkNoShaderLayoutsERKNS_10TSourceLocERKNS_17TShaderQualifiersE:
 8798|  6.88k|{
 8799|  6.88k|    const char* message = "can only apply to a standalone qualifier";
 8800|       |
 8801|  6.88k|    if (shaderQualifiers.geometry != ElgNone)
  ------------------
  |  Branch (8801:9): [True: 0, False: 6.88k]
  ------------------
 8802|      0|        error(loc, message, TQualifier::getGeometryString(shaderQualifiers.geometry), "");
 8803|  6.88k|    if (shaderQualifiers.spacing != EvsNone)
  ------------------
  |  Branch (8803:9): [True: 0, False: 6.88k]
  ------------------
 8804|      0|        error(loc, message, TQualifier::getVertexSpacingString(shaderQualifiers.spacing), "");
 8805|  6.88k|    if (shaderQualifiers.order != EvoNone)
  ------------------
  |  Branch (8805:9): [True: 0, False: 6.88k]
  ------------------
 8806|      0|        error(loc, message, TQualifier::getVertexOrderString(shaderQualifiers.order), "");
 8807|  6.88k|    if (shaderQualifiers.pointMode)
  ------------------
  |  Branch (8807:9): [True: 0, False: 6.88k]
  ------------------
 8808|      0|        error(loc, message, "point_mode", "");
 8809|  6.88k|    if (shaderQualifiers.invocations != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8809:9): [True: 0, False: 6.88k]
  ------------------
 8810|      0|        error(loc, message, "invocations", "");
 8811|  27.5k|    for (int i = 0; i < 3; ++i) {
  ------------------
  |  Branch (8811:21): [True: 20.6k, False: 6.88k]
  ------------------
 8812|  20.6k|        if (shaderQualifiers.localSize[i] > 1)
  ------------------
  |  Branch (8812:13): [True: 0, False: 20.6k]
  ------------------
 8813|      0|            error(loc, message, "local_size", "");
 8814|  20.6k|        if (shaderQualifiers.localSizeSpecId[i] != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8814:13): [True: 0, False: 20.6k]
  ------------------
 8815|      0|            error(loc, message, "local_size id", "");
 8816|  20.6k|    }
 8817|  6.88k|    if (shaderQualifiers.vertices != TQualifier::layoutNotSet) {
  ------------------
  |  Branch (8817:9): [True: 0, False: 6.88k]
  ------------------
 8818|      0|        if (language == EShLangGeometry || language == EShLangMesh)
  ------------------
  |  Branch (8818:13): [True: 0, False: 0]
  |  Branch (8818:44): [True: 0, False: 0]
  ------------------
 8819|      0|            error(loc, message, "max_vertices", "");
 8820|      0|        else if (language == EShLangTessControl)
  ------------------
  |  Branch (8820:18): [True: 0, False: 0]
  ------------------
 8821|      0|            error(loc, message, "vertices", "");
 8822|      0|        else
 8823|      0|            assert(0);
 8824|      0|    }
 8825|  6.88k|    if (shaderQualifiers.earlyFragmentTests)
  ------------------
  |  Branch (8825:9): [True: 0, False: 6.88k]
  ------------------
 8826|      0|        error(loc, message, "early_fragment_tests", "");
 8827|  6.88k|    if (shaderQualifiers.postDepthCoverage)
  ------------------
  |  Branch (8827:9): [True: 0, False: 6.88k]
  ------------------
 8828|      0|        error(loc, message, "post_depth_coverage", "");
 8829|  6.88k|    if (shaderQualifiers.nonCoherentColorAttachmentReadEXT)
  ------------------
  |  Branch (8829:9): [True: 0, False: 6.88k]
  ------------------
 8830|      0|        error(loc, message, "non_coherent_color_attachment_readEXT", "");
 8831|  6.88k|    if (shaderQualifiers.nonCoherentDepthAttachmentReadEXT)
  ------------------
  |  Branch (8831:9): [True: 0, False: 6.88k]
  ------------------
 8832|      0|        error(loc, message, "non_coherent_depth_attachment_readEXT", "");
 8833|  6.88k|    if (shaderQualifiers.nonCoherentStencilAttachmentReadEXT)
  ------------------
  |  Branch (8833:9): [True: 0, False: 6.88k]
  ------------------
 8834|      0|        error(loc, message, "non_coherent_stencil_attachment_readEXT", "");
 8835|  6.88k|    if (shaderQualifiers.primitives != TQualifier::layoutNotSet) {
  ------------------
  |  Branch (8835:9): [True: 0, False: 6.88k]
  ------------------
 8836|      0|        if (language == EShLangMesh)
  ------------------
  |  Branch (8836:13): [True: 0, False: 0]
  ------------------
 8837|      0|            error(loc, message, "max_primitives", "");
 8838|      0|        else
 8839|      0|            assert(0);
 8840|      0|    }
 8841|  6.88k|    if (shaderQualifiers.hasBlendEquation())
  ------------------
  |  Branch (8841:9): [True: 0, False: 6.88k]
  ------------------
 8842|      0|        error(loc, message, "blend equation", "");
 8843|  6.88k|    if (shaderQualifiers.numViews != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8843:9): [True: 0, False: 6.88k]
  ------------------
 8844|      0|        error(loc, message, "num_views", "");
 8845|  6.88k|    if (shaderQualifiers.interlockOrdering != EioNone)
  ------------------
  |  Branch (8845:9): [True: 0, False: 6.88k]
  ------------------
 8846|      0|        error(loc, message, TQualifier::getInterlockOrderingString(shaderQualifiers.interlockOrdering), "");
 8847|  6.88k|    if (shaderQualifiers.layoutPrimitiveCulling)
  ------------------
  |  Branch (8847:9): [True: 0, False: 6.88k]
  ------------------
 8848|      0|        error(loc, "can only be applied as standalone", "primitive_culling", "");
 8849|       |
 8850|  6.88k|    if (shaderQualifiers.layoutNonCoherentTileAttachmentReadQCOM)
  ------------------
  |  Branch (8850:9): [True: 0, False: 6.88k]
  ------------------
 8851|      0|        error(loc, message, "non_coherent_attachment_readQCOM", "");
 8852|  6.88k|    if (shaderQualifiers.layoutTileShadingRateQCOM[0] >= 1)
  ------------------
  |  Branch (8852:9): [True: 0, False: 6.88k]
  ------------------
 8853|      0|        error(loc, message, "shading_rate_xQCOM", "");
 8854|  6.88k|    if (shaderQualifiers.layoutTileShadingRateQCOM[1] >= 1)
  ------------------
  |  Branch (8854:9): [True: 0, False: 6.88k]
  ------------------
 8855|      0|        error(loc, message, "shading_rate_yQCOM", "");
 8856|  6.88k|    if (shaderQualifiers.layoutTileShadingRateQCOM[2] >= 1)
  ------------------
  |  Branch (8856:9): [True: 0, False: 6.88k]
  ------------------
 8857|      0|        error(loc, message, "shading_rate_zQCOM", "");
 8858|  6.88k|}
_ZN7glslang13TParseContext9fixOffsetERKNS_10TSourceLocERNS_7TSymbolE:
 8862|  1.19k|{
 8863|  1.19k|    const TQualifier& qualifier = symbol.getType().getQualifier();
 8864|  1.19k|    if (symbol.getType().isAtomic()) {
  ------------------
  |  Branch (8864:9): [True: 0, False: 1.19k]
  ------------------
 8865|      0|        if (qualifier.hasBinding() && (int)qualifier.layoutBinding < resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (8865:13): [True: 0, False: 0]
  |  Branch (8865:39): [True: 0, False: 0]
  ------------------
 8866|       |
 8867|       |            // Set the offset
 8868|      0|            int offset;
 8869|      0|            if (qualifier.hasOffset())
  ------------------
  |  Branch (8869:17): [True: 0, False: 0]
  ------------------
 8870|      0|                offset = qualifier.layoutOffset;
 8871|      0|            else
 8872|      0|                offset = atomicUintOffsets[qualifier.layoutBinding];
 8873|       |
 8874|      0|            if (offset % 4 != 0)
  ------------------
  |  Branch (8874:17): [True: 0, False: 0]
  ------------------
 8875|      0|                error(loc, "atomic counters offset should align based on 4:", "offset", "%d", offset);
 8876|       |
 8877|      0|            symbol.getWritableType().getQualifier().layoutOffset = offset;
 8878|       |
 8879|       |            // Check for overlap
 8880|      0|            int numOffsets = 4;
 8881|      0|            if (symbol.getType().isArray()) {
  ------------------
  |  Branch (8881:17): [True: 0, False: 0]
  ------------------
 8882|      0|                if (symbol.getType().isSizedArray() && !symbol.getType().getArraySizes()->isInnerUnsized())
  ------------------
  |  Branch (8882:21): [True: 0, False: 0]
  |  Branch (8882:56): [True: 0, False: 0]
  ------------------
 8883|      0|                    numOffsets *= symbol.getType().getCumulativeArraySize();
 8884|      0|                else {
 8885|       |                    // "It is a compile-time error to declare an unsized array of atomic_uint."
 8886|      0|                    error(loc, "array must be explicitly sized", "atomic_uint", "");
 8887|      0|                }
 8888|      0|            }
 8889|      0|            int repeated = intermediate.addUsedOffsets(qualifier.layoutBinding, offset, numOffsets);
 8890|      0|            if (repeated >= 0)
  ------------------
  |  Branch (8890:17): [True: 0, False: 0]
  ------------------
 8891|      0|                error(loc, "atomic counters sharing the same offset:", "offset", "%d", repeated);
 8892|       |
 8893|       |            // Bump the default offset
 8894|      0|            atomicUintOffsets[qualifier.layoutBinding] = offset + numOffsets;
 8895|      0|        }
 8896|      0|    }
 8897|  1.19k|}
_ZN7glslang13TParseContext19declareTypeDefaultsERKNS_10TSourceLocERKNS_11TPublicTypeE:
 9385|     76|{
 9386|     76|    if (publicType.basicType == EbtAtomicUint && publicType.qualifier.hasBinding()) {
  ------------------
  |  Branch (9386:9): [True: 0, False: 76]
  |  Branch (9386:50): [True: 0, False: 0]
  ------------------
 9387|      0|        if (publicType.qualifier.layoutBinding >= resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (9387:13): [True: 0, False: 0]
  ------------------
 9388|      0|            error(loc, "atomic_uint binding is too large", "binding", "");
 9389|      0|            return;
 9390|      0|        }
 9391|      0|        if (publicType.qualifier.hasOffset())
  ------------------
  |  Branch (9391:13): [True: 0, False: 0]
  ------------------
 9392|      0|            atomicUintOffsets[publicType.qualifier.layoutBinding] = publicType.qualifier.layoutOffset;
 9393|      0|        return;
 9394|      0|    }
 9395|       |
 9396|     76|    if (publicType.arraySizes) {
  ------------------
  |  Branch (9396:9): [True: 0, False: 76]
  ------------------
 9397|      0|        error(loc, "expect an array name", "", "");
 9398|      0|    }
 9399|       |
 9400|     76|    if (publicType.qualifier.hasLayout() && !publicType.qualifier.hasBufferReference())
  ------------------
  |  Branch (9400:9): [True: 0, False: 76]
  |  Branch (9400:45): [True: 0, False: 0]
  ------------------
 9401|      0|        warn(loc, "useless application of layout qualifier", "layout", "");
 9402|     76|}
_ZN7glslang13TParseContext19typeParametersCheckERKNS_10TSourceLocERKNS_11TPublicTypeE:
 9405|   100k|{
 9406|   100k|    if (parsingBuiltins)
  ------------------
  |  Branch (9406:9): [True: 100k, False: 0]
  ------------------
 9407|   100k|        return;
 9408|      0|    if (publicType.isCoopmatKHR()) {
  ------------------
  |  Branch (9408:9): [True: 0, False: 0]
  ------------------
 9409|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9409:13): [True: 0, False: 0]
  ------------------
 9410|      0|            error(loc, "coopmat missing type parameters", "", "");
 9411|      0|            return;
 9412|      0|        }
 9413|      0|        switch (publicType.typeParameters->basicType) {
 9414|      0|        case EbtFloat:
  ------------------
  |  Branch (9414:9): [True: 0, False: 0]
  ------------------
 9415|      0|        case EbtFloat16:
  ------------------
  |  Branch (9415:9): [True: 0, False: 0]
  ------------------
 9416|      0|        case EbtBFloat16:
  ------------------
  |  Branch (9416:9): [True: 0, False: 0]
  ------------------
 9417|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (9417:9): [True: 0, False: 0]
  ------------------
 9418|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (9418:9): [True: 0, False: 0]
  ------------------
 9419|      0|        case EbtInt:
  ------------------
  |  Branch (9419:9): [True: 0, False: 0]
  ------------------
 9420|      0|        case EbtInt8:
  ------------------
  |  Branch (9420:9): [True: 0, False: 0]
  ------------------
 9421|      0|        case EbtInt16:
  ------------------
  |  Branch (9421:9): [True: 0, False: 0]
  ------------------
 9422|      0|        case EbtUint:
  ------------------
  |  Branch (9422:9): [True: 0, False: 0]
  ------------------
 9423|      0|        case EbtUint8:
  ------------------
  |  Branch (9423:9): [True: 0, False: 0]
  ------------------
 9424|      0|        case EbtUint16:
  ------------------
  |  Branch (9424:9): [True: 0, False: 0]
  ------------------
 9425|      0|        case EbtSpirvType:
  ------------------
  |  Branch (9425:9): [True: 0, False: 0]
  ------------------
 9426|      0|            break;
 9427|      0|        default:
  ------------------
  |  Branch (9427:9): [True: 0, False: 0]
  ------------------
 9428|      0|            error(loc, "coopmat invalid basic type", TType::getBasicString(publicType.typeParameters->basicType), "");
 9429|      0|            break;
 9430|      0|        }
 9431|      0|        if (publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9431:13): [True: 0, False: 0]
  ------------------
 9432|      0|            error(loc, "coopmat incorrect number of type parameters", "", "");
 9433|      0|            return;
 9434|      0|        }
 9435|      0|        int use = publicType.typeParameters->arraySizes->getDimSize(3);
 9436|      0|        if (use < 0 || use > 2) {
  ------------------
  |  Branch (9436:13): [True: 0, False: 0]
  |  Branch (9436:24): [True: 0, False: 0]
  ------------------
 9437|      0|            error(loc, "coopmat invalid matrix Use", "", "");
 9438|      0|            return;
 9439|      0|        }
 9440|      0|    }
 9441|      0|    if (publicType.isTensorLayoutNV()) {
  ------------------
  |  Branch (9441:9): [True: 0, False: 0]
  ------------------
 9442|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9442:13): [True: 0, False: 0]
  ------------------
 9443|      0|            error(loc, "tensorLayout missing type parameters", "", "");
 9444|      0|            return;
 9445|      0|        }
 9446|      0|        if (publicType.typeParameters->arraySizes->getNumDims() > 2) {
  ------------------
  |  Branch (9446:13): [True: 0, False: 0]
  ------------------
 9447|      0|            error(loc, "tensorLayout incorrect number of type parameters", "", "");
 9448|      0|            return;
 9449|      0|        }
 9450|      0|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() < 2) {
  ------------------
  |  Branch (9450:13): [True: 0, False: 0]
  |  Branch (9450:42): [True: 0, False: 0]
  ------------------
 9451|      0|            while (publicType.typeParameters->arraySizes->getNumDims() < 2) {
  ------------------
  |  Branch (9451:20): [True: 0, False: 0]
  ------------------
 9452|      0|                publicType.typeParameters->arraySizes->addInnerSize(0);
 9453|      0|            }
 9454|      0|        }
 9455|      0|    }
 9456|      0|    if (publicType.isTensorViewNV()) {
  ------------------
  |  Branch (9456:9): [True: 0, False: 0]
  ------------------
 9457|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9457:13): [True: 0, False: 0]
  ------------------
 9458|      0|            error(loc, "tensorView missing type parameters", "", "");
 9459|      0|            return;
 9460|      0|        }
 9461|      0|        if (publicType.typeParameters->arraySizes->getNumDims() < 1 ||
  ------------------
  |  Branch (9461:13): [True: 0, False: 0]
  ------------------
 9462|      0|            publicType.typeParameters->arraySizes->getNumDims() > 7) {
  ------------------
  |  Branch (9462:13): [True: 0, False: 0]
  ------------------
 9463|      0|            error(loc, "tensorView incorrect number of type parameters", "", "");
 9464|      0|            return;
 9465|      0|        }
 9466|      0|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() < 7) {
  ------------------
  |  Branch (9466:13): [True: 0, False: 0]
  |  Branch (9466:42): [True: 0, False: 0]
  ------------------
 9467|      0|            uint32_t numDims = publicType.typeParameters->arraySizes->getNumDims();
 9468|      0|            while (numDims < 7) {
  ------------------
  |  Branch (9468:20): [True: 0, False: 0]
  ------------------
 9469|      0|                uint32_t dim = (numDims == 1) ? 0 : (numDims - 2);
  ------------------
  |  Branch (9469:32): [True: 0, False: 0]
  ------------------
 9470|      0|                publicType.typeParameters->arraySizes->addInnerSize(dim);
 9471|      0|                numDims++;
 9472|      0|            }
 9473|      0|        }
 9474|      0|    }
 9475|      0|    if (publicType.isTensorARM()) {
  ------------------
  |  Branch (9475:9): [True: 0, False: 0]
  ------------------
 9476|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9476:13): [True: 0, False: 0]
  ------------------
 9477|      0|            error(loc, "tensor type is missing type parameters", "", "");
 9478|      0|            return;
 9479|      0|        }
 9480|      0|        if (publicType.typeParameters->arraySizes == nullptr) {
  ------------------
  |  Branch (9480:13): [True: 0, False: 0]
  ------------------
 9481|      0|            error(loc, "tensor type is missing rank information", "", "");
 9482|      0|            return;
 9483|      0|        }
 9484|      0|        if (publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9484:13): [True: 0, False: 0]
  ------------------
 9485|      0|            error(loc, "tensor type requires exactly 1 rank specifier", "", "");
 9486|      0|            return;
 9487|      0|        }
 9488|      0|        if (publicType.typeParameters->arraySizes->getDimSize(0) < 1) {
  ------------------
  |  Branch (9488:13): [True: 0, False: 0]
  ------------------
 9489|      0|            error(loc, "tensor rank must be greater than or equal to 1", "", "");
 9490|      0|            return;
 9491|      0|        }
 9492|      0|    }
 9493|      0|    if (publicType.isLongVector() && !isValidLongVectorElseError(loc, publicType)) {
  ------------------
  |  Branch (9493:9): [True: 0, False: 0]
  |  Branch (9493:38): [True: 0, False: 0]
  ------------------
 9494|      0|        return;
 9495|      0|    }
 9496|      0|}
_ZN7glslang13TParseContext15declareVariableERKNS_10TSourceLocERNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_11TPublicTypeEPNS_11TArraySizesEPNS_12TIntermTypedE:
 9869|  1.19k|{
 9870|       |    // Make a fresh type that combines the characteristics from the individual
 9871|       |    // identifier syntax and the declaration-type syntax.
 9872|  1.19k|    TType type(publicType);
 9873|  1.19k|    type.transferArraySizes(arraySizes);
 9874|  1.19k|    type.copyArrayInnerSizes(publicType.arraySizes);
 9875|  1.19k|    arrayOfArrayVersionCheck(loc, type.getArraySizes());
 9876|       |
 9877|  1.19k|    if (initializer) {
  ------------------
  |  Branch (9877:9): [True: 437, False: 755]
  ------------------
 9878|    437|        if (type.getBasicType() == EbtRayQuery) {
  ------------------
  |  Branch (9878:13): [True: 0, False: 437]
  ------------------
 9879|      0|            error(loc, "ray queries can only be initialized by using the rayQueryInitializeEXT intrinsic:", "=", "%s", identifier.c_str());
 9880|    437|        } else if ((type.getBasicType() == EbtHitObjectNV) || (type.getBasicType() == EbtHitObjectEXT)) {
  ------------------
  |  Branch (9880:20): [True: 0, False: 437]
  |  Branch (9880:63): [True: 0, False: 437]
  ------------------
 9881|      0|            error(loc, "hit objects cannot be initialized using initializers", "=", "%s", identifier.c_str());
 9882|      0|        }
 9883|       |
 9884|    437|    }
 9885|       |
 9886|  1.19k|    if (type.isCoopMatKHR()) {
  ------------------
  |  Branch (9886:9): [True: 0, False: 1.19k]
  ------------------
 9887|      0|        intermediate.setUseVulkanMemoryModel();
 9888|      0|        intermediate.setUseStorageBuffer();
 9889|       |
 9890|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes ||
  ------------------
  |  Branch (9890:13): [True: 0, False: 0]
  |  Branch (9890:43): [True: 0, False: 0]
  ------------------
 9891|      0|            publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9891:13): [True: 0, False: 0]
  ------------------
 9892|      0|            error(loc, "unexpected number type parameters", identifier.c_str(), "");
 9893|      0|        }
 9894|      0|        if (publicType.typeParameters) {
  ------------------
  |  Branch (9894:13): [True: 0, False: 0]
  ------------------
 9895|      0|            if (!isTypeFloat(publicType.typeParameters->basicType) &&
  ------------------
  |  Branch (9895:17): [True: 0, False: 0]
  ------------------
 9896|      0|                !isTypeInt(publicType.typeParameters->basicType) && publicType.typeParameters->basicType != EbtSpirvType) {
  ------------------
  |  Branch (9896:17): [True: 0, False: 0]
  |  Branch (9896:69): [True: 0, False: 0]
  ------------------
 9897|      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(), "");
 9898|      0|            }
 9899|      0|        }
 9900|      0|    }
 9901|  1.19k|    else if (type.isCoopMatNV()) {
  ------------------
  |  Branch (9901:14): [True: 0, False: 1.19k]
  ------------------
 9902|      0|        intermediate.setUseVulkanMemoryModel();
 9903|      0|        intermediate.setUseStorageBuffer();
 9904|       |
 9905|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9905:13): [True: 0, False: 0]
  |  Branch (9905:43): [True: 0, False: 0]
  |  Branch (9905:85): [True: 0, False: 0]
  ------------------
 9906|      0|            error(loc, "expected four type parameters", identifier.c_str(), "");
 9907|      0|        } else {
 9908|      0|            if (isTypeFloat(publicType.basicType) &&
  ------------------
  |  Branch (9908:17): [True: 0, False: 0]
  ------------------
 9909|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 16 &&
  ------------------
  |  Branch (9909:17): [True: 0, False: 0]
  ------------------
 9910|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 32 &&
  ------------------
  |  Branch (9910:17): [True: 0, False: 0]
  ------------------
 9911|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 64) {
  ------------------
  |  Branch (9911:17): [True: 0, False: 0]
  ------------------
 9912|      0|                error(loc, "expected 16, 32, or 64 bits for first type parameter", identifier.c_str(), "");
 9913|      0|            }
 9914|      0|            if (isTypeInt(publicType.basicType) &&
  ------------------
  |  Branch (9914:17): [True: 0, False: 0]
  ------------------
 9915|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 8 &&
  ------------------
  |  Branch (9915:17): [True: 0, False: 0]
  ------------------
 9916|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 16 &&
  ------------------
  |  Branch (9916:17): [True: 0, False: 0]
  ------------------
 9917|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 32) {
  ------------------
  |  Branch (9917:17): [True: 0, False: 0]
  ------------------
 9918|      0|                error(loc, "expected 8, 16, or 32 bits for first type parameter", identifier.c_str(), "");
 9919|      0|            }
 9920|      0|        }
 9921|  1.19k|    } else if (type.isTensorLayoutNV()) {
  ------------------
  |  Branch (9921:16): [True: 0, False: 1.19k]
  ------------------
 9922|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() > 2) {
  ------------------
  |  Branch (9922:13): [True: 0, False: 0]
  |  Branch (9922:43): [True: 0, False: 0]
  ------------------
 9923|      0|            error(loc, "expected 1-2 type parameters", identifier.c_str(), "");
 9924|      0|        }
 9925|  1.19k|    } else if (type.isTensorViewNV()) {
  ------------------
  |  Branch (9925:16): [True: 0, False: 1.19k]
  ------------------
 9926|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() > 7) {
  ------------------
  |  Branch (9926:13): [True: 0, False: 0]
  |  Branch (9926:43): [True: 0, False: 0]
  ------------------
 9927|      0|            error(loc, "expected 1-7 type parameters", identifier.c_str(), "");
 9928|      0|        }
 9929|  1.19k|    } else if (type.isCoopVecNV()) {
  ------------------
  |  Branch (9929:16): [True: 0, False: 1.19k]
  ------------------
 9930|      0|        intermediate.setUseVulkanMemoryModel();
 9931|      0|        intermediate.setUseStorageBuffer();
 9932|       |
 9933|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9933:13): [True: 0, False: 0]
  |  Branch (9933:43): [True: 0, False: 0]
  |  Branch (9933:85): [True: 0, False: 0]
  ------------------
 9934|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9935|      0|        } else if (publicType.typeParameters->arraySizes->getDimNode(0) == nullptr && publicType.typeParameters->arraySizes->getDimSize(0) <= 0) {
  ------------------
  |  Branch (9935:20): [True: 0, False: 0]
  |  Branch (9935:87): [True: 0, False: 0]
  ------------------
 9936|      0|            error(loc, "expected positive number of components", identifier.c_str(), "");
 9937|      0|        }
 9938|  1.19k|    } else if (type.isLongVector()) {
  ------------------
  |  Branch (9938:16): [True: 0, False: 1.19k]
  ------------------
 9939|      0|        intermediate.setUseStorageBuffer();
 9940|       |
 9941|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9941:13): [True: 0, False: 0]
  |  Branch (9941:43): [True: 0, False: 0]
  |  Branch (9941:85): [True: 0, False: 0]
  ------------------
 9942|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9943|      0|        } else if (publicType.typeParameters->arraySizes->getDimNode(0) == nullptr && publicType.typeParameters->arraySizes->getDimSize(0) <= 0) {
  ------------------
  |  Branch (9943:20): [True: 0, False: 0]
  |  Branch (9943:87): [True: 0, False: 0]
  ------------------
 9944|      0|            error(loc, "expected positive number of components", identifier.c_str(), "");
 9945|      0|        }
 9946|  1.19k|    } else if (type.isTensorARM()) {
  ------------------
  |  Branch (9946:16): [True: 0, False: 1.19k]
  ------------------
 9947|      0|        intermediate.setUseStorageBuffer();
 9948|       |
 9949|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9949:13): [True: 0, False: 0]
  |  Branch (9949:43): [True: 0, False: 0]
  ------------------
 9950|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9951|      0|        }
 9952|      0|        if (publicType.typeParameters) {
  ------------------
  |  Branch (9952:13): [True: 0, False: 0]
  ------------------
 9953|      0|            if (publicType.typeParameters->basicType != EbtBool &&
  ------------------
  |  Branch (9953:17): [True: 0, False: 0]
  ------------------
 9954|      0|                publicType.typeParameters->basicType != EbtInt8 &&
  ------------------
  |  Branch (9954:17): [True: 0, False: 0]
  ------------------
 9955|      0|                publicType.typeParameters->basicType != EbtInt16 &&
  ------------------
  |  Branch (9955:17): [True: 0, False: 0]
  ------------------
 9956|      0|                publicType.typeParameters->basicType != EbtInt &&
  ------------------
  |  Branch (9956:17): [True: 0, False: 0]
  ------------------
 9957|      0|                publicType.typeParameters->basicType != EbtInt64 &&
  ------------------
  |  Branch (9957:17): [True: 0, False: 0]
  ------------------
 9958|      0|                publicType.typeParameters->basicType != EbtUint8 &&
  ------------------
  |  Branch (9958:17): [True: 0, False: 0]
  ------------------
 9959|      0|                publicType.typeParameters->basicType != EbtUint16 &&
  ------------------
  |  Branch (9959:17): [True: 0, False: 0]
  ------------------
 9960|      0|                publicType.typeParameters->basicType != EbtUint &&
  ------------------
  |  Branch (9960:17): [True: 0, False: 0]
  ------------------
 9961|      0|                publicType.typeParameters->basicType != EbtUint64 &&
  ------------------
  |  Branch (9961:17): [True: 0, False: 0]
  ------------------
 9962|      0|                publicType.typeParameters->basicType != EbtFloat16 &&
  ------------------
  |  Branch (9962:17): [True: 0, False: 0]
  ------------------
 9963|      0|                publicType.typeParameters->basicType != EbtFloat &&
  ------------------
  |  Branch (9963:17): [True: 0, False: 0]
  ------------------
 9964|      0|                publicType.typeParameters->basicType != EbtDouble &&
  ------------------
  |  Branch (9964:17): [True: 0, False: 0]
  ------------------
 9965|      0|                publicType.typeParameters->basicType != EbtBFloat16 &&
  ------------------
  |  Branch (9965:17): [True: 0, False: 0]
  ------------------
 9966|      0|                publicType.typeParameters->basicType != EbtFloatE5M2 &&
  ------------------
  |  Branch (9966:17): [True: 0, False: 0]
  ------------------
 9967|      0|                publicType.typeParameters->basicType != EbtFloatE4M3) {
  ------------------
  |  Branch (9967:17): [True: 0, False: 0]
  ------------------
 9968|      0|                error(loc, "expected bool, integer or floating point type parameter", identifier.c_str(), "");
 9969|      0|            }
 9970|       |
 9971|      0|            if (publicType.typeParameters->basicType == EbtBFloat16) {
  ------------------
  |  Branch (9971:17): [True: 0, False: 0]
  ------------------
 9972|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_bfloat16, "tensor with bfloat16_t type");
 9973|      0|            }
 9974|       |
 9975|      0|            if (publicType.typeParameters->basicType == EbtFloatE5M2) {
  ------------------
  |  Branch (9975:17): [True: 0, False: 0]
  ------------------
 9976|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_float_e5m2, "tensor with floate5m2_t type");
 9977|      0|            }
 9978|       |
 9979|      0|            if (publicType.typeParameters->basicType == EbtFloatE4M3) {
  ------------------
  |  Branch (9979:17): [True: 0, False: 0]
  ------------------
 9980|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_float_e4m3, "tensor with floate4m3_t type");
 9981|      0|            }
 9982|      0|        }
 9983|  1.19k|    } else {
 9984|  1.19k|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() != 0) {
  ------------------
  |  Branch (9984:13): [True: 0, False: 1.19k]
  |  Branch (9984:42): [True: 0, False: 0]
  ------------------
 9985|      0|            error(loc, "unexpected type parameters", identifier.c_str(), "");
 9986|      0|        }
 9987|  1.19k|    }
 9988|       |
 9989|  1.19k|    if (voidErrorCheck(loc, identifier, type.getBasicType()))
  ------------------
  |  Branch (9989:9): [True: 0, False: 1.19k]
  ------------------
 9990|      0|        return nullptr;
 9991|       |
 9992|  1.19k|    if (initializer)
  ------------------
  |  Branch (9992:9): [True: 437, False: 755]
  ------------------
 9993|    437|        rValueErrorCheck(loc, "initializer", initializer);
 9994|    755|    else
 9995|    755|        nonInitConstCheck(loc, identifier, type);
 9996|       |
 9997|  1.19k|    samplerCheck(loc, type, identifier, initializer);
 9998|  1.19k|    transparentOpaqueCheck(loc, type, identifier);
 9999|  1.19k|    atomicUintCheck(loc, type, identifier);
10000|  1.19k|    accStructCheck(loc, type, identifier);
10001|  1.19k|    hitObjectNVCheck(loc, type, identifier);
10002|  1.19k|    hitObjectEXTCheck(loc, type, identifier);
10003|  1.19k|    checkAndResizeMeshViewDim(loc, type, /*isBlockMember*/ false);
10004|  1.19k|    if (type.getQualifier().storage == EvqConst && type.containsReference()) {
  ------------------
  |  Branch (10004:9): [True: 437, False: 755]
  |  Branch (10004:52): [True: 0, False: 437]
  ------------------
10005|      0|        error(loc, "variables with reference type can't have qualifier 'const'", "qualifier", "");
10006|      0|    }
10007|       |
10008|  1.19k|    if (type.getQualifier().storage != EvqUniform && type.getQualifier().storage != EvqBuffer) {
  ------------------
  |  Branch (10008:9): [True: 1.10k, False: 86]
  |  Branch (10008:54): [True: 1.10k, False: 0]
  ------------------
10009|  1.10k|        if (type.contains16BitFloat())
  ------------------
  |  Branch (10009:13): [True: 0, False: 1.10k]
  ------------------
10010|      0|            requireFloat16Arithmetic(loc, "qualifier", "float16 types can only be in uniform block or buffer storage");
10011|  1.10k|        if (type.contains16BitInt())
  ------------------
  |  Branch (10011:13): [True: 0, False: 1.10k]
  ------------------
10012|      0|            requireInt16Arithmetic(loc, "qualifier", "(u)int16 types can only be in uniform block or buffer storage");
10013|  1.10k|        if (type.contains8BitInt())
  ------------------
  |  Branch (10013:13): [True: 0, False: 1.10k]
  ------------------
10014|      0|            requireInt8Arithmetic(loc, "qualifier", "(u)int8 types can only be in uniform block or buffer storage");
10015|  1.10k|    }
10016|  1.19k|    if (type.getBasicType() == EbtBFloat16 &&
  ------------------
  |  Branch (10016:9): [True: 0, False: 1.19k]
  ------------------
10017|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (10017:10): [True: 0, False: 0]
  |  Branch (10017:57): [True: 0, False: 0]
  ------------------
10018|      0|        error(loc, "qualifier", "bfloat16 types not allowed as input/output", "");
10019|       |
10020|  1.19k|    if ((type.getBasicType() == EbtFloatE5M2 || type.getBasicType() == EbtFloatE4M3) &&
  ------------------
  |  Branch (10020:10): [True: 0, False: 1.19k]
  |  Branch (10020:49): [True: 0, False: 1.19k]
  ------------------
10021|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (10021:10): [True: 0, False: 0]
  |  Branch (10021:57): [True: 0, False: 0]
  ------------------
10022|      0|        error(loc, "qualifier", "fp8 types not allowed as input/output", "");
10023|       |
10024|  1.19k|    if (type.containsOcpMicroscalingFloat() &&
  ------------------
  |  Branch (10024:9): [True: 0, False: 1.19k]
  ------------------
10025|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (10025:10): [True: 0, False: 0]
  |  Branch (10025:57): [True: 0, False: 0]
  ------------------
10026|      0|        error(loc, "qualifier", "microscaling types not allowed as input/output", "");
10027|       |
10028|  1.19k|    if (type.containsOcpMicroscalingNonByteFloat() &&
  ------------------
  |  Branch (10028:9): [True: 0, False: 1.19k]
  ------------------
10029|      0|        (type.getQualifier().storage == EvqUniform || type.getQualifier().storage == EvqBuffer || type.getQualifier().storage == EvqShared))
  ------------------
  |  Branch (10029:10): [True: 0, False: 0]
  |  Branch (10029:55): [True: 0, False: 0]
  |  Branch (10029:99): [True: 0, False: 0]
  ------------------
10030|      0|        error(loc, "qualifier", "sub-byte sized types not allowed in storage class", "");
10031|       |
10032|  1.19k|    if (type.getQualifier().storage == EvqtaskPayloadSharedEXT)
  ------------------
  |  Branch (10032:9): [True: 0, False: 1.19k]
  ------------------
10033|      0|        intermediate.addTaskPayloadEXTCount();
10034|  1.19k|    if (type.getQualifier().storage == EvqShared && type.containsCoopMat())
  ------------------
  |  Branch (10034:9): [True: 0, False: 1.19k]
  |  Branch (10034:53): [True: 0, False: 0]
  ------------------
10035|      0|        error(loc, "qualifier", "Cooperative matrix types must not be used in shared memory", "");
10036|       |
10037|  1.19k|    if (profile == EEsProfile) {
  ------------------
  |  Branch (10037:9): [True: 684, False: 508]
  ------------------
10038|    684|        if (type.getQualifier().isPipeInput() && type.getBasicType() == EbtStruct) {
  ------------------
  |  Branch (10038:13): [True: 0, False: 684]
  |  Branch (10038:50): [True: 0, False: 0]
  ------------------
10039|      0|            if (type.getQualifier().isArrayedIo(language)) {
  ------------------
  |  Branch (10039:17): [True: 0, False: 0]
  ------------------
10040|      0|                TType perVertexType(type, 0);
10041|      0|                if (perVertexType.containsArray() && perVertexType.containsBuiltIn() == false) {
  ------------------
  |  Branch (10041:21): [True: 0, False: 0]
  |  Branch (10041:54): [True: 0, False: 0]
  ------------------
10042|      0|                    error(loc, "A per vertex structure containing an array is not allowed as input in ES", type.getTypeName().c_str(), "");
10043|      0|                }
10044|      0|            }
10045|      0|            else if (type.containsArray() && type.containsBuiltIn() == false) {
  ------------------
  |  Branch (10045:22): [True: 0, False: 0]
  |  Branch (10045:46): [True: 0, False: 0]
  ------------------
10046|      0|                error(loc, "A structure containing an array is not allowed as input in ES", type.getTypeName().c_str(), "");
10047|      0|            }
10048|      0|            if (type.containsStructure())
  ------------------
  |  Branch (10048:17): [True: 0, False: 0]
  ------------------
10049|      0|                error(loc, "A structure containing an struct is not allowed as input in ES", type.getTypeName().c_str(), "");
10050|      0|        }
10051|    684|    }
10052|       |
10053|  1.19k|    if (identifier != "gl_FragCoord" && (publicType.shaderQualifiers.originUpperLeft || publicType.shaderQualifiers.pixelCenterInteger))
  ------------------
  |  Branch (10053:9): [True: 1.15k, False: 36]
  |  Branch (10053:42): [True: 0, False: 1.15k]
  |  Branch (10053:89): [True: 0, False: 1.15k]
  ------------------
10054|      0|        error(loc, "can only apply origin_upper_left and pixel_center_origin to gl_FragCoord", "layout qualifier", "");
10055|  1.19k|    if (identifier != "gl_FragDepth" && publicType.shaderQualifiers.getDepth() != EldNone)
  ------------------
  |  Branch (10055:9): [True: 1.19k, False: 0]
  |  Branch (10055:41): [True: 0, False: 1.19k]
  ------------------
10056|      0|        error(loc, "can only apply depth layout to gl_FragDepth", "layout qualifier", "");
10057|  1.19k|    if (identifier != "gl_FragStencilRefARB" && publicType.shaderQualifiers.getStencil() != ElsNone)
  ------------------
  |  Branch (10057:9): [True: 1.19k, False: 0]
  |  Branch (10057:49): [True: 0, False: 1.19k]
  ------------------
10058|      0|        error(loc, "can only apply depth layout to gl_FragStencilRefARB", "layout qualifier", "");
10059|       |
10060|       |    // Check for redeclaration of built-ins and/or attempting to declare a reserved name
10061|  1.19k|    TSymbol* symbol = redeclareBuiltinVariable(loc, identifier, type.getQualifier(), publicType.shaderQualifiers);
10062|  1.19k|    if (symbol == nullptr)
  ------------------
  |  Branch (10062:9): [True: 1.19k, False: 0]
  ------------------
10063|  1.19k|        reservedErrorCheck(loc, identifier);
10064|       |
10065|  1.19k|    if (symbol == nullptr && spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (10065:9): [True: 1.19k, False: 0]
  |  Branch (10065:30): [True: 508, False: 684]
  |  Branch (10065:55): [True: 0, False: 508]
  ------------------
10066|      0|        bool remapped = vkRelaxedRemapUniformVariable(loc, identifier, publicType, arraySizes, initializer, type);
10067|       |
10068|      0|        if (remapped) {
  ------------------
  |  Branch (10068:13): [True: 0, False: 0]
  ------------------
10069|      0|            return nullptr;
10070|      0|        }
10071|      0|    }
10072|       |
10073|  1.19k|    inheritGlobalDefaults(type.getQualifier());
10074|       |
10075|       |    // Declare the variable
10076|  1.19k|    if (type.isArray()) {
  ------------------
  |  Branch (10076:9): [True: 22, False: 1.17k]
  ------------------
10077|       |        // Check that implicit sizing is only where allowed.
10078|     22|        arraySizesCheck(loc, type.getQualifier(), type.getArraySizes(), initializer, false);
10079|       |
10080|     22|        if (! arrayQualifierError(loc, type.getQualifier()) && ! arrayError(loc, type))
  ------------------
  |  Branch (10080:13): [True: 22, False: 0]
  |  Branch (10080:64): [True: 22, False: 0]
  ------------------
10081|     22|            declareArray(loc, identifier, type, symbol);
10082|       |
10083|     22|        if (initializer) {
  ------------------
  |  Branch (10083:13): [True: 0, False: 22]
  ------------------
10084|      0|            profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "initializer");
10085|      0|            profileRequires(loc, EEsProfile, 300, nullptr, "initializer");
10086|      0|        }
10087|  1.17k|    } else {
10088|       |        // non-array case
10089|  1.17k|        if (symbol == nullptr)
  ------------------
  |  Branch (10089:13): [True: 1.17k, False: 0]
  ------------------
10090|  1.17k|            symbol = declareNonArray(loc, identifier, type);
10091|      0|        else if (type != symbol->getType())
  ------------------
  |  Branch (10091:18): [True: 0, False: 0]
  ------------------
10092|      0|            error(loc, "cannot change the type of", "redeclaration", "%s", symbol->getName().c_str());
10093|  1.17k|    }
10094|       |
10095|  1.19k|    if (symbol == nullptr)
  ------------------
  |  Branch (10095:9): [True: 0, False: 1.19k]
  ------------------
10096|      0|        return nullptr;
10097|       |
10098|       |    // Deal with initializer
10099|  1.19k|    TIntermNode* initNode = nullptr;
10100|  1.19k|    if (symbol != nullptr && initializer) {
  ------------------
  |  Branch (10100:9): [True: 1.19k, False: 0]
  |  Branch (10100:30): [True: 437, False: 755]
  ------------------
10101|    437|        TVariable* variable = symbol->getAsVariable();
10102|    437|        if (! variable) {
  ------------------
  |  Branch (10102:13): [True: 0, False: 437]
  ------------------
10103|      0|            error(loc, "initializer requires a variable, not a member", identifier.c_str(), "");
10104|      0|            return nullptr;
10105|      0|        }
10106|    437|        initNode = executeInitializer(loc, initializer, variable);
10107|       |
10108|       |        // GL_EXT_opacity_micromap_ray_query_mode: capture the value of a
10109|       |        // 'const bool gl_EnableOpacityMicromapEXT = <true|false>;' redeclaration so the back end can emit
10110|       |        // the OpacityMicromapIdKHR execution mode operand as OpConstantTrue/OpConstantFalse. The
10111|       |        // specialization-constant form goes through addQualifierToExisting instead.
10112|    437|        if (identifier == "gl_EnableOpacityMicromapEXT" && !variable->getType().getQualifier().hasSpecConstantId()) {
  ------------------
  |  Branch (10112:13): [True: 0, False: 437]
  |  Branch (10112:60): [True: 0, False: 0]
  ------------------
10113|      0|            const TConstUnionArray& constArray = variable->getConstArray();
10114|      0|            if (constArray.size() > 0)
  ------------------
  |  Branch (10114:17): [True: 0, False: 0]
  ------------------
10115|      0|                intermediate.setEnableOpacityMicromapDefault(constArray[0].getBConst());
10116|      0|        }
10117|    437|    }
10118|       |
10119|       |    // EXT_descriptor_heap
10120|  1.19k|    if (!untypedHeapCheck(symbol, type, loc, identifier.c_str())) {
  ------------------
  |  Branch (10120:9): [True: 0, False: 1.19k]
  ------------------
10121|      0|        return nullptr;
10122|      0|    }
10123|       |
10124|       |    // look for errors in layout qualifier use
10125|  1.19k|    layoutObjectCheck(loc, *symbol);
10126|       |
10127|       |    // fix up
10128|  1.19k|    fixOffset(loc, *symbol);
10129|       |
10130|       |    // TODO: The decl AST is turned on based on debug info right now. We should expose it as an explicit option.
10131|  1.19k|    if (intermediate.getDebugInfo()) {
  ------------------
  |  Branch (10131:9): [True: 0, False: 1.19k]
  ------------------
10132|      0|        TVariable* variable = symbol->getAsVariable();
10133|      0|        if (variable) {
  ------------------
  |  Branch (10133:13): [True: 0, False: 0]
  ------------------
10134|      0|            auto decl = new TIntermVariableDecl(intermediate.addSymbol(*variable, loc), initNode);
10135|      0|            decl->setLoc(loc);
10136|      0|            return decl;
10137|      0|        }
10138|      0|        else {
10139|       |            // We ignore builtins redeclarations
10140|      0|            return nullptr;
10141|      0|        }
10142|      0|    }
10143|  1.19k|    else {
10144|  1.19k|        return initNode;
10145|  1.19k|    }
10146|  1.19k|}
_ZNK7glslang13TParseContext21inheritGlobalDefaultsERNS_10TQualifierE:
10150|  1.19k|{
10151|  1.19k|    if (dst.storage == EvqVaryingOut) {
  ------------------
  |  Branch (10151:9): [True: 34, False: 1.15k]
  ------------------
10152|     34|        if (! dst.hasStream() && language == EShLangGeometry)
  ------------------
  |  Branch (10152:13): [True: 34, False: 0]
  |  Branch (10152:34): [True: 9, False: 25]
  ------------------
10153|      9|            dst.layoutStream = globalOutputDefaults.layoutStream;
10154|     34|        if (! dst.hasXfbBuffer())
  ------------------
  |  Branch (10154:13): [True: 34, False: 0]
  ------------------
10155|     34|            dst.layoutXfbBuffer = globalOutputDefaults.layoutXfbBuffer;
10156|     34|    }
10157|  1.19k|}
_ZN7glslang13TParseContext15declareNonArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeE:
10181|  1.17k|{
10182|       |    // make a new variable
10183|  1.17k|    TVariable* variable = new TVariable(&identifier, type);
10184|       |
10185|  1.17k|    ioArrayCheck(loc, type, identifier);
10186|       |
10187|       |    // add variable to symbol table
10188|  1.17k|    if (symbolTable.insert(*variable)) {
  ------------------
  |  Branch (10188:9): [True: 1.17k, False: 0]
  ------------------
10189|  1.17k|        if (symbolTable.atGlobalLevel())
  ------------------
  |  Branch (10189:13): [True: 1.17k, False: 0]
  ------------------
10190|  1.17k|            trackLinkage(*variable);
10191|  1.17k|        return variable;
10192|  1.17k|    }
10193|       |
10194|      0|    error(loc, "redefinition", variable->getName().c_str(), "");
10195|      0|    return nullptr;
10196|  1.17k|}
_ZN7glslang13TParseContext18executeInitializerERKNS_10TSourceLocEPNS_12TIntermTypedEPNS_9TVariableE:
10205|    437|{
10206|       |    // A null initializer is an aggregate that hasn't had an op assigned yet
10207|       |    // (still EOpNull, no relation to nullInit), and has no children.
10208|    437|    bool nullInit = initializer->getAsAggregate() && initializer->getAsAggregate()->getOp() == EOpNull &&
  ------------------
  |  Branch (10208:21): [True: 0, False: 437]
  |  Branch (10208:54): [True: 0, False: 0]
  ------------------
10209|      0|        initializer->getAsAggregate()->getSequence().size() == 0;
  ------------------
  |  Branch (10209:9): [True: 0, False: 0]
  ------------------
10210|       |
10211|       |    //
10212|       |    // Identifier must be of type constant, a global, or a temporary, and
10213|       |    // starting at version 120, desktop allows uniforms to have initializers.
10214|       |    //
10215|    437|    TStorageQualifier qualifier = variable->getType().getQualifier().storage;
10216|    437|    if (! (qualifier == EvqTemporary || qualifier == EvqGlobal || qualifier == EvqConst ||
  ------------------
  |  Branch (10216:12): [True: 0, False: 437]
  |  Branch (10216:41): [True: 0, False: 437]
  |  Branch (10216:67): [True: 437, False: 0]
  ------------------
10217|      0|           (qualifier == EvqUniform && !isEsProfile() && version >= 120))) {
  ------------------
  |  Branch (10217:13): [True: 0, False: 0]
  |  Branch (10217:40): [True: 0, False: 0]
  |  Branch (10217:58): [True: 0, False: 0]
  ------------------
10218|      0|        if (qualifier == EvqShared) {
  ------------------
  |  Branch (10218:13): [True: 0, False: 0]
  ------------------
10219|       |            // GL_EXT_null_initializer allows this for shared, if it's a null initializer
10220|      0|            if (nullInit) {
  ------------------
  |  Branch (10220:17): [True: 0, False: 0]
  ------------------
10221|      0|                const char* feature = "initialization with shared qualifier";
10222|      0|                profileRequires(loc, EEsProfile, 0, E_GL_EXT_null_initializer, feature);
10223|      0|                profileRequires(loc, ~EEsProfile, 0, E_GL_EXT_null_initializer, feature);
10224|      0|            } else {
10225|      0|                error(loc, "initializer can only be a null initializer ('{}')", "shared", "");
10226|      0|            }
10227|      0|        } else {
10228|      0|            error(loc, " cannot initialize this type of qualifier ",
10229|      0|                  variable->getType().getStorageQualifierString(), "");
10230|      0|            return nullptr;
10231|      0|        }
10232|      0|    }
10233|       |
10234|    437|    if (nullInit) {
  ------------------
  |  Branch (10234:9): [True: 0, False: 437]
  ------------------
10235|       |        // only some types can be null initialized
10236|      0|        if (variable->getType().containsUnsizedArray()) {
  ------------------
  |  Branch (10236:13): [True: 0, False: 0]
  ------------------
10237|      0|            error(loc, "null initializers can't size unsized arrays", "{}", "");
10238|      0|            return nullptr;
10239|      0|        }
10240|      0|        if (variable->getType().containsOpaque()) {
  ------------------
  |  Branch (10240:13): [True: 0, False: 0]
  ------------------
10241|      0|            error(loc, "null initializers can't be used on opaque values", "{}", "");
10242|      0|            return nullptr;
10243|      0|        }
10244|      0|        variable->getWritableType().getQualifier().setNullInit();
10245|      0|        return nullptr;
10246|      0|    }
10247|       |
10248|    437|    arrayObjectCheck(loc, variable->getType(), "array initializer");
10249|       |
10250|       |    //
10251|       |    // If the initializer was from braces { ... }, we convert the whole subtree to a
10252|       |    // constructor-style subtree, allowing the rest of the code to operate
10253|       |    // identically for both kinds of initializers.
10254|       |    //
10255|       |    // Type can't be deduced from the initializer list, so a skeletal type to
10256|       |    // follow has to be passed in.  Constness and specialization-constness
10257|       |    // should be deduced bottom up, not dictated by the skeletal type.
10258|       |    //
10259|    437|    TType skeletalType;
10260|    437|    skeletalType.shallowCopy(variable->getType());
10261|    437|    skeletalType.getQualifier().makeTemporary();
10262|    437|    initializer = convertInitializerList(loc, skeletalType, initializer);
10263|    437|    if (! initializer) {
  ------------------
  |  Branch (10263:9): [True: 0, False: 437]
  ------------------
10264|       |        // error recovery; don't leave const without constant values
10265|      0|        if (qualifier == EvqConst)
  ------------------
  |  Branch (10265:13): [True: 0, False: 0]
  ------------------
10266|      0|            variable->getWritableType().getQualifier().makeTemporary();
10267|      0|        return nullptr;
10268|      0|    }
10269|       |
10270|       |    // Fix outer arrayness if variable is unsized, getting size from the initializer
10271|    437|    if (initializer->getType().isSizedArray() && variable->getType().isUnsizedArray())
  ------------------
  |  Branch (10271:9): [True: 0, False: 437]
  |  Branch (10271:50): [True: 0, False: 0]
  ------------------
10272|      0|        variable->getWritableType().changeOuterArraySize(initializer->getType().getOuterArraySize());
10273|       |
10274|       |    // Inner arrayness can also get set by an initializer
10275|    437|    if (initializer->getType().isArrayOfArrays() && variable->getType().isArrayOfArrays() &&
  ------------------
  |  Branch (10275:9): [True: 0, False: 437]
  |  Branch (10275:53): [True: 0, False: 0]
  ------------------
10276|      0|        initializer->getType().getArraySizes()->getNumDims() ==
  ------------------
  |  Branch (10276:9): [True: 0, False: 0]
  ------------------
10277|      0|           variable->getType().getArraySizes()->getNumDims()) {
10278|       |        // adopt unsized sizes from the initializer's sizes
10279|      0|        for (int d = 1; d < variable->getType().getArraySizes()->getNumDims(); ++d) {
  ------------------
  |  Branch (10279:25): [True: 0, False: 0]
  ------------------
10280|      0|            if (variable->getType().getArraySizes()->getDimSize(d) == UnsizedArraySize) {
  ------------------
  |  Branch (10280:17): [True: 0, False: 0]
  ------------------
10281|      0|                variable->getWritableType().getArraySizes()->setDimSize(d,
10282|      0|                    initializer->getType().getArraySizes()->getDimSize(d));
10283|      0|            }
10284|      0|        }
10285|      0|    }
10286|       |
10287|       |    // Uniforms require a compile-time constant initializer
10288|    437|    if (qualifier == EvqUniform && ! initializer->getType().getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (10288:9): [True: 0, False: 437]
  |  Branch (10288:36): [True: 0, False: 0]
  ------------------
10289|      0|        error(loc, "uniform initializers must be constant", "=", "'%s'",
10290|      0|              variable->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10291|      0|        variable->getWritableType().getQualifier().makeTemporary();
10292|      0|        return nullptr;
10293|      0|    }
10294|       |    // Global consts require a constant initializer (specialization constant is okay)
10295|    437|    if (qualifier == EvqConst && symbolTable.atGlobalLevel() && ! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (10295:9): [True: 437, False: 0]
  |  Branch (10295:34): [True: 437, False: 0]
  |  Branch (10295:65): [True: 0, False: 437]
  ------------------
10296|      0|        error(loc, "global const initializers must be constant", "=", "'%s'",
10297|      0|              variable->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10298|      0|        variable->getWritableType().getQualifier().makeTemporary();
10299|      0|        return nullptr;
10300|      0|    }
10301|       |
10302|       |    // Const variables require a constant initializer, depending on version
10303|    437|    if (qualifier == EvqConst) {
  ------------------
  |  Branch (10303:9): [True: 437, False: 0]
  ------------------
10304|    437|        if (! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (10304:13): [True: 0, False: 437]
  ------------------
10305|      0|            const char* initFeature = "non-constant initializer";
10306|      0|            requireProfile(loc, ~EEsProfile, initFeature);
10307|      0|            profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
10308|      0|            variable->getWritableType().getQualifier().storage = EvqConstReadOnly;
10309|      0|            qualifier = EvqConstReadOnly;
10310|      0|        }
10311|    437|    } else {
10312|       |        // Non-const global variables in ES need a const initializer.
10313|       |        //
10314|       |        // "In declarations of global variables with no storage qualifier or with a const
10315|       |        // qualifier any initializer must be a constant expression."
10316|      0|        if (symbolTable.atGlobalLevel() && ! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (10316:13): [True: 0, False: 0]
  |  Branch (10316:44): [True: 0, False: 0]
  ------------------
10317|      0|            const char* initFeature =
10318|      0|                "non-constant global initializer (needs GL_EXT_shader_non_constant_global_initializers)";
10319|      0|            if (isEsProfile()) {
  ------------------
  |  Branch (10319:17): [True: 0, False: 0]
  ------------------
10320|      0|                if (relaxedErrors() && ! extensionTurnedOn(E_GL_EXT_shader_non_constant_global_initializers))
  ------------------
  |  Branch (10320:21): [True: 0, False: 0]
  |  Branch (10320:40): [True: 0, False: 0]
  ------------------
10321|      0|                    warn(loc, "not allowed in this version", initFeature, "");
10322|      0|                else
10323|      0|                    profileRequires(loc, EEsProfile, 0, E_GL_EXT_shader_non_constant_global_initializers, initFeature);
10324|      0|            }
10325|      0|        }
10326|      0|    }
10327|       |
10328|    437|    if (qualifier == EvqConst || qualifier == EvqUniform) {
  ------------------
  |  Branch (10328:9): [True: 437, False: 0]
  |  Branch (10328:34): [True: 0, False: 0]
  ------------------
10329|       |        // Compile-time tagging of the variable with its constant value...
10330|       |
10331|    437|        initializer = intermediate.addConversion(EOpAssign, variable->getType(), initializer);
10332|    437|        if (! initializer || ! initializer->getType().getQualifier().isConstant() ||
  ------------------
  |  Branch (10332:13): [True: 0, False: 437]
  |  Branch (10332:30): [True: 0, False: 437]
  ------------------
10333|    437|            variable->getType() != initializer->getType()) {
  ------------------
  |  Branch (10333:13): [True: 0, False: 437]
  ------------------
10334|      0|            error(loc, "non-matching or non-convertible constant type for const initializer",
10335|      0|                  variable->getType().getStorageQualifierString(), "");
10336|      0|            variable->getWritableType().getQualifier().makeTemporary();
10337|      0|            return nullptr;
10338|      0|        }
10339|       |
10340|       |        // We either have a folded constant in getAsConstantUnion, or we have to use
10341|       |        // the initializer's subtree in the AST to represent the computation of a
10342|       |        // specialization constant.
10343|    437|        assert(initializer->getAsConstantUnion() || initializer->getType().getQualifier().isSpecConstant());
10344|    437|        if (initializer->getAsConstantUnion())
  ------------------
  |  Branch (10344:13): [True: 437, False: 0]
  ------------------
10345|    437|            variable->setConstArray(initializer->getAsConstantUnion()->getConstArray());
10346|      0|        else {
10347|       |            // It's a specialization constant.
10348|       |            // Computed from other spec constants, so it becomes an OpSpecConstantOp, which cannot carry SpecId.
10349|      0|            if (variable->getType().getQualifier().hasSpecConstantId())
  ------------------
  |  Branch (10349:17): [True: 0, False: 0]
  ------------------
10350|      0|                error(loc, "cannot be applied to a constant computed from other specialization constants",
10351|      0|                      "constant_id", "");
10352|      0|            variable->getWritableType().getQualifier().makeSpecConstant();
10353|       |
10354|       |            // Keep the subtree that computes the specialization constant with the variable.
10355|       |            // Later, a symbol node will adopt the subtree from the variable.
10356|      0|            variable->setConstSubtree(initializer);
10357|      0|        }
10358|    437|    } else {
10359|       |        // normal assigning of a value to a variable...
10360|      0|        specializationCheck(loc, initializer->getType(), "initializer");
10361|      0|        TIntermSymbol* intermSymbol = intermediate.addSymbol(*variable, loc);
10362|      0|        TIntermTyped* initNode = intermediate.addAssign(EOpAssign, intermSymbol, initializer, loc);
10363|      0|        if (! initNode)
  ------------------
  |  Branch (10363:13): [True: 0, False: 0]
  ------------------
10364|      0|            assignError(loc, "=", intermSymbol->getCompleteString(intermediate.getEnhancedMsgs()), initializer->getCompleteString(intermediate.getEnhancedMsgs()));
10365|       |
10366|      0|        return initNode;
10367|      0|    }
10368|       |
10369|    437|    return nullptr;
10370|    437|}
_ZN7glslang13TParseContext22convertInitializerListERKNS_10TSourceLocERKNS_5TTypeEPNS_12TIntermTypedE:
10383|    437|{
10384|       |    // Will operate recursively.  Once a subtree is found that is constructor style,
10385|       |    // everything below it is already good: Only the "top part" of the initializer
10386|       |    // can be an initializer list, where "top part" can extend for several (or all) levels.
10387|       |
10388|       |    // see if we have bottomed out in the tree within the initializer-list part
10389|    437|    TIntermAggregate* initList = initializer->getAsAggregate();
10390|    437|    if (! initList || initList->getOp() != EOpNull)
  ------------------
  |  Branch (10390:9): [True: 437, False: 0]
  |  Branch (10390:23): [True: 0, False: 0]
  ------------------
10391|    437|        return initializer;
10392|       |
10393|       |    // Of the initializer-list set of nodes, need to process bottom up,
10394|       |    // so recurse deep, then process on the way up.
10395|       |
10396|       |    // Go down the tree here...
10397|      0|    if (type.isArray()) {
  ------------------
  |  Branch (10397:9): [True: 0, False: 0]
  ------------------
10398|       |        // The type's array might be unsized, which could be okay, so base sizes on the size of the aggregate.
10399|       |        // Later on, initializer execution code will deal with array size logic.
10400|      0|        TType arrayType;
10401|      0|        arrayType.shallowCopy(type);                     // sharing struct stuff is fine
10402|      0|        arrayType.copyArraySizes(*type.getArraySizes());  // but get a fresh copy of the array information, to edit below
10403|       |
10404|       |        // a nested empty initializer list ({}) has no elements to size the array or
10405|       |        // derive its element type from, so reject it before the getSequence()[0] read below
10406|      0|        if (initList->getSequence().empty()) {
  ------------------
  |  Branch (10406:13): [True: 0, False: 0]
  ------------------
10407|      0|            error(loc, "array initializer must be non-empty", "initializer list", "");
10408|      0|            return nullptr;
10409|      0|        }
10410|       |
10411|       |        // edit array sizes to fill in unsized dimensions
10412|      0|        arrayType.changeOuterArraySize((int)initList->getSequence().size());
10413|      0|        TIntermTyped* firstInit = initList->getSequence()[0]->getAsTyped();
10414|      0|        if (arrayType.isArrayOfArrays() && firstInit->getType().isArray() &&
  ------------------
  |  Branch (10414:13): [True: 0, False: 0]
  |  Branch (10414:44): [True: 0, False: 0]
  ------------------
10415|      0|            arrayType.getArraySizes()->getNumDims() == firstInit->getType().getArraySizes()->getNumDims() + 1) {
  ------------------
  |  Branch (10415:13): [True: 0, False: 0]
  ------------------
10416|      0|            for (int d = 1; d < arrayType.getArraySizes()->getNumDims(); ++d) {
  ------------------
  |  Branch (10416:29): [True: 0, False: 0]
  ------------------
10417|      0|                if (arrayType.getArraySizes()->getDimSize(d) == UnsizedArraySize)
  ------------------
  |  Branch (10417:21): [True: 0, False: 0]
  ------------------
10418|      0|                    arrayType.getArraySizes()->setDimSize(d, firstInit->getType().getArraySizes()->getDimSize(d - 1));
10419|      0|            }
10420|      0|        }
10421|       |
10422|      0|        TType elementType(arrayType, 0); // dereferenced type
10423|      0|        for (size_t i = 0; i < initList->getSequence().size(); ++i) {
  ------------------
  |  Branch (10423:28): [True: 0, False: 0]
  ------------------
10424|      0|            initList->getSequence()[i] = convertInitializerList(loc, elementType, initList->getSequence()[i]->getAsTyped());
10425|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (10425:17): [True: 0, False: 0]
  ------------------
10426|      0|                return nullptr;
10427|      0|        }
10428|       |
10429|      0|        return addConstructor(loc, initList, arrayType);
10430|      0|    } else if (type.isStruct()) {
  ------------------
  |  Branch (10430:16): [True: 0, False: 0]
  ------------------
10431|      0|        if (type.getStruct()->size() != initList->getSequence().size()) {
  ------------------
  |  Branch (10431:13): [True: 0, False: 0]
  ------------------
10432|      0|            error(loc, "wrong number of structure members", "initializer list", "");
10433|      0|            return nullptr;
10434|      0|        }
10435|      0|        for (size_t i = 0; i < type.getStruct()->size(); ++i) {
  ------------------
  |  Branch (10435:28): [True: 0, False: 0]
  ------------------
10436|      0|            initList->getSequence()[i] = convertInitializerList(loc, *(*type.getStruct())[i].type, initList->getSequence()[i]->getAsTyped());
10437|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (10437:17): [True: 0, False: 0]
  ------------------
10438|      0|                return nullptr;
10439|      0|        }
10440|      0|    } else if (type.isMatrix()) {
  ------------------
  |  Branch (10440:16): [True: 0, False: 0]
  ------------------
10441|      0|        if (type.getMatrixCols() != (int)initList->getSequence().size()) {
  ------------------
  |  Branch (10441:13): [True: 0, False: 0]
  ------------------
10442|      0|            error(loc, "wrong number of matrix columns:", "initializer list", "%s", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10443|      0|            return nullptr;
10444|      0|        }
10445|      0|        TType vectorType(type, 0); // dereferenced type
10446|      0|        for (int i = 0; i < type.getMatrixCols(); ++i) {
  ------------------
  |  Branch (10446:25): [True: 0, False: 0]
  ------------------
10447|      0|            initList->getSequence()[i] = convertInitializerList(loc, vectorType, initList->getSequence()[i]->getAsTyped());
10448|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (10448:17): [True: 0, False: 0]
  ------------------
10449|      0|                return nullptr;
10450|      0|        }
10451|      0|    } else if (type.isVector()) {
  ------------------
  |  Branch (10451:16): [True: 0, False: 0]
  ------------------
10452|      0|        if (type.getVectorSize() != (int)initList->getSequence().size()) {
  ------------------
  |  Branch (10452:13): [True: 0, False: 0]
  ------------------
10453|      0|            error(loc, "wrong vector size (or rows in a matrix column):", "initializer list", "%s", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10454|      0|            return nullptr;
10455|      0|        }
10456|      0|        TBasicType destType = type.getBasicType();
10457|      0|        for (int i = 0; i < type.getVectorSize(); ++i) {
  ------------------
  |  Branch (10457:25): [True: 0, False: 0]
  ------------------
10458|      0|            TBasicType initType = initList->getSequence()[i]->getAsTyped()->getBasicType();
10459|      0|            if (destType != initType && !intermediate.canImplicitlyPromote(initType, destType)) {
  ------------------
  |  Branch (10459:17): [True: 0, False: 0]
  |  Branch (10459:41): [True: 0, False: 0]
  ------------------
10460|      0|                error(loc, "type mismatch in initializer list", "initializer list", "%s", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10461|      0|                return nullptr;
10462|      0|            }
10463|       |
10464|      0|        }
10465|      0|    } else {
10466|      0|        error(loc, "unexpected initializer-list type:", "initializer list", "%s", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10467|      0|        return nullptr;
10468|      0|    }
10469|       |
10470|       |    // Now that the subtree is processed, process this node as if the
10471|       |    // initializer list is a set of arguments to a constructor.
10472|      0|    TIntermNode* emulatedConstructorArguments;
10473|      0|    if (initList->getSequence().size() == 1)
  ------------------
  |  Branch (10473:9): [True: 0, False: 0]
  ------------------
10474|      0|        emulatedConstructorArguments = initList->getSequence()[0];
10475|      0|    else
10476|      0|        emulatedConstructorArguments = initList;
10477|      0|    return addConstructor(loc, emulatedConstructorArguments, type);
10478|      0|}
_ZN7glslang13TParseContext14addConstructorERKNS_10TSourceLocEP11TIntermNodeRKNS_5TTypeE:
10490|      3|{
10491|      3|    if (node == nullptr || node->getAsTyped() == nullptr)
  ------------------
  |  Branch (10491:9): [True: 0, False: 3]
  |  Branch (10491:28): [True: 0, False: 3]
  ------------------
10492|      0|        return nullptr;
10493|      3|    rValueErrorCheck(loc, "constructor", node->getAsTyped());
10494|       |
10495|      3|    TIntermAggregate* aggrNode = node->getAsAggregate();
10496|      3|    TOperator op = intermediate.mapTypeToConstructorOp(type);
10497|       |
10498|       |    // Combined texture-sampler constructors are completely semantic checked
10499|       |    // in constructorTextureSamplerError()
10500|      3|    if (op == EOpConstructTextureSampler) {
  ------------------
  |  Branch (10500:9): [True: 0, False: 3]
  ------------------
10501|      0|        if (aggrNode != nullptr) {
  ------------------
  |  Branch (10501:13): [True: 0, False: 0]
  ------------------
10502|      0|            if (aggrNode->getSequence()[1]->getAsTyped()->getType().getSampler().shadow) {
  ------------------
  |  Branch (10502:17): [True: 0, False: 0]
  ------------------
10503|       |                // Transfer depth into the texture (SPIR-V image) type, as a hint
10504|       |                // for tools to know this texture/image is a depth image.
10505|      0|                aggrNode->getSequence()[0]->getAsTyped()->getWritableType().getSampler().shadow = true;
10506|      0|            }
10507|      0|            return intermediate.setAggregateOperator(aggrNode, op, type, loc);
10508|      0|        }
10509|      0|    }
10510|       |
10511|      3|    TTypeList::const_iterator memberTypes;
10512|      3|    if (op == EOpConstructStruct)
  ------------------
  |  Branch (10512:9): [True: 0, False: 3]
  ------------------
10513|      0|        memberTypes = type.getStruct()->begin();
10514|       |
10515|      3|    TType elementType;
10516|      3|    if (type.isArray()) {
  ------------------
  |  Branch (10516:9): [True: 0, False: 3]
  ------------------
10517|      0|        TType dereferenced(type, 0);
10518|      0|        elementType.shallowCopy(dereferenced);
10519|      0|    } else
10520|      3|        elementType.shallowCopy(type);
10521|       |
10522|      3|    bool singleArg;
10523|      3|    if (aggrNode) {
  ------------------
  |  Branch (10523:9): [True: 3, False: 0]
  ------------------
10524|      3|        if (aggrNode->getOp() != EOpNull)
  ------------------
  |  Branch (10524:13): [True: 0, False: 3]
  ------------------
10525|      0|            singleArg = true;
10526|      3|        else
10527|      3|            singleArg = false;
10528|      3|    } else
10529|      0|        singleArg = true;
10530|       |
10531|      3|    TIntermTyped *newNode;
10532|      3|    if (singleArg) {
  ------------------
  |  Branch (10532:9): [True: 0, False: 3]
  ------------------
10533|       |        // If structure constructor or array constructor is being called
10534|       |        // for only one parameter inside the structure, we need to call constructAggregate function once.
10535|      0|        if (type.isArray())
  ------------------
  |  Branch (10535:13): [True: 0, False: 0]
  ------------------
10536|      0|            newNode = constructAggregate(node, elementType, 1, node->getLoc());
10537|      0|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (10537:18): [True: 0, False: 0]
  ------------------
10538|      0|            newNode = constructAggregate(node, *(*memberTypes).type, 1, node->getLoc());
10539|      0|        else
10540|      0|            newNode = constructBuiltIn(type, op, node->getAsTyped(), node->getLoc(), false);
10541|       |
10542|      0|        if (newNode && (type.isArray() || op == EOpConstructStruct))
  ------------------
  |  Branch (10542:13): [True: 0, False: 0]
  |  Branch (10542:25): [True: 0, False: 0]
  |  Branch (10542:43): [True: 0, False: 0]
  ------------------
10543|      0|            newNode = intermediate.setAggregateOperator(newNode, EOpConstructStruct, type, loc);
10544|       |
10545|      0|        return newNode;
10546|      0|    }
10547|       |
10548|       |    //
10549|       |    // Handle list of arguments.
10550|       |    //
10551|      3|    TIntermSequence &sequenceVector = aggrNode->getSequence();    // Stores the information about the parameter to the constructor
10552|       |    // if the structure constructor contains more than one parameter, then construct
10553|       |    // each parameter
10554|       |
10555|      3|    int paramCount = 0;  // keeps track of the constructor parameter number being checked
10556|       |
10557|       |    // We don't know "top down" whether type is a specialization constant,
10558|       |    // but a const becomes a specialization constant if any of its children are.
10559|      3|    bool hasSpecConst = false;
10560|      3|    bool isConstConstructor = true;
10561|       |
10562|       |    // for each parameter to the constructor call, check to see if the right type is passed or convert them
10563|       |    // to the right type if possible (and allowed).
10564|       |    // for structure constructors, just check if the right type is passed, no conversion is allowed.
10565|      3|    for (TIntermSequence::iterator p = sequenceVector.begin();
10566|     12|                                   p != sequenceVector.end(); p++, paramCount++) {
  ------------------
  |  Branch (10566:36): [True: 9, False: 3]
  ------------------
10567|      9|        if (type.isArray())
  ------------------
  |  Branch (10567:13): [True: 0, False: 9]
  ------------------
10568|      0|            newNode = constructAggregate(*p, elementType, paramCount+1, node->getLoc());
10569|      9|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (10569:18): [True: 0, False: 9]
  ------------------
10570|      0|            newNode = constructAggregate(*p, *(memberTypes[paramCount]).type, paramCount+1, node->getLoc());
10571|      9|        else
10572|      9|            newNode = constructBuiltIn(type, op, (*p)->getAsTyped(), node->getLoc(), true);
10573|       |
10574|      9|        if (newNode) {
  ------------------
  |  Branch (10574:13): [True: 9, False: 0]
  ------------------
10575|      9|            *p = newNode;
10576|      9|            if (!newNode->getType().getQualifier().isConstant())
  ------------------
  |  Branch (10576:17): [True: 0, False: 9]
  ------------------
10577|      0|                isConstConstructor = false;
10578|      9|            if (newNode->getType().getQualifier().isSpecConstant())
  ------------------
  |  Branch (10578:17): [True: 0, False: 9]
  ------------------
10579|      0|                hasSpecConst = true;
10580|      9|        } else
10581|      0|            return nullptr;
10582|      9|    }
10583|       |
10584|      3|    TIntermTyped* ret_node = intermediate.setAggregateOperator(aggrNode, op, type, loc);
10585|       |
10586|      3|    const char *specConstantCompositeExt[] = { E_GL_EXT_spec_constant_composites };
10587|      3|    if (checkExtensionsRequested(loc, 1, specConstantCompositeExt, "spec constant aggregate constructor")) {
  ------------------
  |  Branch (10587:9): [True: 0, False: 3]
  ------------------
10588|      0|        if (isConstConstructor && hasSpecConst) {
  ------------------
  |  Branch (10588:13): [True: 0, False: 0]
  |  Branch (10588:35): [True: 0, False: 0]
  ------------------
10589|      0|            ret_node->getWritableType().getQualifier().makeSpecConstant();
10590|      0|        }
10591|      0|    }
10592|       |
10593|      3|    TIntermAggregate *agg_node = ret_node->getAsAggregate();
10594|      3|    if (agg_node && (agg_node->isVector() || agg_node->isArray() || agg_node->isMatrix()))
  ------------------
  |  Branch (10594:9): [True: 0, False: 3]
  |  Branch (10594:22): [True: 0, False: 0]
  |  Branch (10594:46): [True: 0, False: 0]
  |  Branch (10594:69): [True: 0, False: 0]
  ------------------
10595|      0|        agg_node->updatePrecision();
10596|       |
10597|      3|    return ret_node;
10598|      3|}
_ZN7glslang13TParseContext16constructBuiltInERKNS_5TTypeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocEb:
10609|      9|{
10610|       |    // If we are changing a matrix in both domain of basic type and to a non matrix,
10611|       |    // do the shape change first (by default, below, basic type is changed before shape).
10612|       |    // This avoids requesting a matrix of a new type that is going to be discarded anyway.
10613|       |    // TODO: This could be generalized to more type combinations, but that would require
10614|       |    // more extensive testing and full algorithm rework. For now, the need to do two changes makes
10615|       |    // the recursive call work, and avoids the most egregious case of creating integer matrices.
10616|      9|    if (node->getType().isMatrix() && (type.isScalar() || type.isVector()) &&
  ------------------
  |  Branch (10616:9): [True: 0, False: 9]
  |  Branch (10616:40): [True: 0, False: 0]
  |  Branch (10616:59): [True: 0, False: 0]
  ------------------
10617|      0|            type.isFloatingDomain() != node->getType().isFloatingDomain()) {
  ------------------
  |  Branch (10617:13): [True: 0, False: 0]
  ------------------
10618|      0|        TType transitionType(node->getBasicType(), glslang::EvqTemporary, type.getVectorSize(), 0, 0, node->isVector());
10619|      0|        TOperator transitionOp = intermediate.mapTypeToConstructorOp(transitionType);
10620|      0|        node = constructBuiltIn(transitionType, transitionOp, node, loc, false);
10621|      0|    }
10622|       |
10623|      9|    TIntermTyped* newNode;
10624|      9|    TOperator basicOp;
10625|       |
10626|       |    //
10627|       |    // First, convert types as needed.
10628|       |    //
10629|      9|    switch (op) {
10630|      0|    case EOpConstructVec2:
  ------------------
  |  Branch (10630:5): [True: 0, False: 9]
  ------------------
10631|      0|    case EOpConstructVec3:
  ------------------
  |  Branch (10631:5): [True: 0, False: 9]
  ------------------
10632|      0|    case EOpConstructVec4:
  ------------------
  |  Branch (10632:5): [True: 0, False: 9]
  ------------------
10633|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (10633:5): [True: 0, False: 9]
  ------------------
10634|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (10634:5): [True: 0, False: 9]
  ------------------
10635|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (10635:5): [True: 0, False: 9]
  ------------------
10636|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (10636:5): [True: 0, False: 9]
  ------------------
10637|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (10637:5): [True: 0, False: 9]
  ------------------
10638|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (10638:5): [True: 0, False: 9]
  ------------------
10639|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (10639:5): [True: 0, False: 9]
  ------------------
10640|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (10640:5): [True: 0, False: 9]
  ------------------
10641|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (10641:5): [True: 0, False: 9]
  ------------------
10642|      0|    case EOpConstructFloat:
  ------------------
  |  Branch (10642:5): [True: 0, False: 9]
  ------------------
10643|      0|        basicOp = EOpConstructFloat;
10644|      0|        break;
10645|       |
10646|      0|    case EOpConstructIVec2:
  ------------------
  |  Branch (10646:5): [True: 0, False: 9]
  ------------------
10647|      0|    case EOpConstructIVec3:
  ------------------
  |  Branch (10647:5): [True: 0, False: 9]
  ------------------
10648|      0|    case EOpConstructIVec4:
  ------------------
  |  Branch (10648:5): [True: 0, False: 9]
  ------------------
10649|      0|    case EOpConstructInt:
  ------------------
  |  Branch (10649:5): [True: 0, False: 9]
  ------------------
10650|      0|        basicOp = EOpConstructInt;
10651|      0|        break;
10652|       |
10653|      0|    case EOpConstructUVec2:
  ------------------
  |  Branch (10653:5): [True: 0, False: 9]
  ------------------
10654|      0|        if (node->getType().getBasicType() == EbtReference) {
  ------------------
  |  Branch (10654:13): [True: 0, False: 0]
  ------------------
10655|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference_uvec2, "reference conversion to uvec2");
10656|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvPtrToUvec2, true, node,
10657|      0|                type);
10658|      0|            return newNode;
10659|      0|        } else if (node->getType().getBasicType() == EbtSampler) {
  ------------------
  |  Branch (10659:20): [True: 0, False: 0]
  ------------------
10660|      0|            requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "sampler conversion to uvec2");
10661|       |            // createConversion has no sampler-to-uint op and returns null, so unpack the
10662|       |            // handle directly, mirroring the uvec2-to-handle direction below.
10663|      0|            TIntermTyped* newNode =
10664|      0|                intermediate.addBuiltInFunctionCall(node->getLoc(), EOpUnpackUint2x32, true, node, type);
10665|      0|            return newNode;
10666|      0|        }
10667|      0|        [[fallthrough]];
10668|      9|    case EOpConstructUVec3:
  ------------------
  |  Branch (10668:5): [True: 9, False: 0]
  ------------------
10669|      9|    case EOpConstructUVec4:
  ------------------
  |  Branch (10669:5): [True: 0, False: 9]
  ------------------
10670|      9|    case EOpConstructUint:
  ------------------
  |  Branch (10670:5): [True: 0, False: 9]
  ------------------
10671|      9|        basicOp = EOpConstructUint;
10672|      9|        break;
10673|       |
10674|      0|    case EOpConstructBVec2:
  ------------------
  |  Branch (10674:5): [True: 0, False: 9]
  ------------------
10675|      0|    case EOpConstructBVec3:
  ------------------
  |  Branch (10675:5): [True: 0, False: 9]
  ------------------
10676|      0|    case EOpConstructBVec4:
  ------------------
  |  Branch (10676:5): [True: 0, False: 9]
  ------------------
10677|      0|    case EOpConstructBool:
  ------------------
  |  Branch (10677:5): [True: 0, False: 9]
  ------------------
10678|      0|        basicOp = EOpConstructBool;
10679|      0|        break;
10680|      0|    case EOpConstructTextureSampler:
  ------------------
  |  Branch (10680:5): [True: 0, False: 9]
  ------------------
10681|      0|        if ((node->getType().getBasicType() == EbtUint || node->getType().getBasicType() == EbtInt) &&
  ------------------
  |  Branch (10681:14): [True: 0, False: 0]
  |  Branch (10681:59): [True: 0, False: 0]
  ------------------
10682|      0|            node->getType().getVectorSize() == 2) {
  ------------------
  |  Branch (10682:13): [True: 0, False: 0]
  ------------------
10683|      0|            requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "ivec2/uvec2 convert to texture handle");
10684|       |            // No matter ivec2 or uvec2, Set EOpPackUint2x32 just to generate an opBitcast op code
10685|      0|            TIntermTyped* newNode =
10686|      0|                intermediate.addBuiltInFunctionCall(node->getLoc(), EOpPackUint2x32, true, node, type);
10687|      0|            return newNode;
10688|      0|        }
10689|      0|        [[fallthrough]];
10690|      0|    case EOpConstructDVec2:
  ------------------
  |  Branch (10690:5): [True: 0, False: 9]
  ------------------
10691|      0|    case EOpConstructDVec3:
  ------------------
  |  Branch (10691:5): [True: 0, False: 9]
  ------------------
10692|      0|    case EOpConstructDVec4:
  ------------------
  |  Branch (10692:5): [True: 0, False: 9]
  ------------------
10693|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (10693:5): [True: 0, False: 9]
  ------------------
10694|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (10694:5): [True: 0, False: 9]
  ------------------
10695|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (10695:5): [True: 0, False: 9]
  ------------------
10696|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (10696:5): [True: 0, False: 9]
  ------------------
10697|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (10697:5): [True: 0, False: 9]
  ------------------
10698|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (10698:5): [True: 0, False: 9]
  ------------------
10699|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (10699:5): [True: 0, False: 9]
  ------------------
10700|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (10700:5): [True: 0, False: 9]
  ------------------
10701|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (10701:5): [True: 0, False: 9]
  ------------------
10702|      0|    case EOpConstructDouble:
  ------------------
  |  Branch (10702:5): [True: 0, False: 9]
  ------------------
10703|      0|        basicOp = EOpConstructDouble;
10704|      0|        break;
10705|       |
10706|      0|    case EOpConstructF16Vec2:
  ------------------
  |  Branch (10706:5): [True: 0, False: 9]
  ------------------
10707|      0|    case EOpConstructF16Vec3:
  ------------------
  |  Branch (10707:5): [True: 0, False: 9]
  ------------------
10708|      0|    case EOpConstructF16Vec4:
  ------------------
  |  Branch (10708:5): [True: 0, False: 9]
  ------------------
10709|      0|    case EOpConstructF16Mat2x2:
  ------------------
  |  Branch (10709:5): [True: 0, False: 9]
  ------------------
10710|      0|    case EOpConstructF16Mat2x3:
  ------------------
  |  Branch (10710:5): [True: 0, False: 9]
  ------------------
10711|      0|    case EOpConstructF16Mat2x4:
  ------------------
  |  Branch (10711:5): [True: 0, False: 9]
  ------------------
10712|      0|    case EOpConstructF16Mat3x2:
  ------------------
  |  Branch (10712:5): [True: 0, False: 9]
  ------------------
10713|      0|    case EOpConstructF16Mat3x3:
  ------------------
  |  Branch (10713:5): [True: 0, False: 9]
  ------------------
10714|      0|    case EOpConstructF16Mat3x4:
  ------------------
  |  Branch (10714:5): [True: 0, False: 9]
  ------------------
10715|      0|    case EOpConstructF16Mat4x2:
  ------------------
  |  Branch (10715:5): [True: 0, False: 9]
  ------------------
10716|      0|    case EOpConstructF16Mat4x3:
  ------------------
  |  Branch (10716:5): [True: 0, False: 9]
  ------------------
10717|      0|    case EOpConstructF16Mat4x4:
  ------------------
  |  Branch (10717:5): [True: 0, False: 9]
  ------------------
10718|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (10718:5): [True: 0, False: 9]
  ------------------
10719|      0|        basicOp = EOpConstructFloat16;
10720|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10721|       |        // so construct a 32-bit type and convert
10722|       |        // and do not generate any conversion if it is an identity conversion, i.e. float16_t(<float16_t> var)
10723|      0|        if (!intermediate.getArithemeticFloat16Enabled() && (node->getBasicType() != EbtFloat16)) {
  ------------------
  |  Branch (10723:13): [True: 0, False: 0]
  |  Branch (10723:61): [True: 0, False: 0]
  ------------------
10724|      0|            TType tempType(EbtFloat, EvqTemporary, type.getVectorSize());
10725|      0|            newNode = node;
10726|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10726:17): [True: 0, False: 0]
  ------------------
10727|      0|                TOperator aggregateOp;
10728|      0|                if (op == EOpConstructFloat16)
  ------------------
  |  Branch (10728:21): [True: 0, False: 0]
  ------------------
10729|      0|                    aggregateOp = EOpConstructFloat;
10730|      0|                else
10731|      0|                    aggregateOp = (TOperator)(EOpConstructVec2 + op - EOpConstructF16Vec2);
10732|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10733|      0|            }
10734|      0|            newNode = intermediate.addConversion(EbtFloat16, newNode);
10735|      0|            return newNode;
10736|      0|        }
10737|      0|        break;
10738|       |
10739|      0|    case EOpConstructBF16Vec2:
  ------------------
  |  Branch (10739:5): [True: 0, False: 9]
  ------------------
10740|      0|    case EOpConstructBF16Vec3:
  ------------------
  |  Branch (10740:5): [True: 0, False: 9]
  ------------------
10741|      0|    case EOpConstructBF16Vec4:
  ------------------
  |  Branch (10741:5): [True: 0, False: 9]
  ------------------
10742|      0|    case EOpConstructBFloat16:
  ------------------
  |  Branch (10742:5): [True: 0, False: 9]
  ------------------
10743|      0|        basicOp = EOpConstructBFloat16;
10744|      0|        break;
10745|       |
10746|      0|    case EOpConstructFloatE5M2Vec2:
  ------------------
  |  Branch (10746:5): [True: 0, False: 9]
  ------------------
10747|      0|    case EOpConstructFloatE5M2Vec3:
  ------------------
  |  Branch (10747:5): [True: 0, False: 9]
  ------------------
10748|      0|    case EOpConstructFloatE5M2Vec4:
  ------------------
  |  Branch (10748:5): [True: 0, False: 9]
  ------------------
10749|      0|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (10749:5): [True: 0, False: 9]
  ------------------
10750|      0|        basicOp = EOpConstructFloatE5M2;
10751|      0|        break;
10752|       |
10753|      0|    case EOpConstructFloatE4M3Vec2:
  ------------------
  |  Branch (10753:5): [True: 0, False: 9]
  ------------------
10754|      0|    case EOpConstructFloatE4M3Vec3:
  ------------------
  |  Branch (10754:5): [True: 0, False: 9]
  ------------------
10755|      0|    case EOpConstructFloatE4M3Vec4:
  ------------------
  |  Branch (10755:5): [True: 0, False: 9]
  ------------------
10756|      0|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (10756:5): [True: 0, False: 9]
  ------------------
10757|      0|        basicOp = EOpConstructFloatE4M3;
10758|      0|        break;
10759|       |
10760|      0|    case EOpConstructFloatE2M1Vec2:
  ------------------
  |  Branch (10760:5): [True: 0, False: 9]
  ------------------
10761|      0|    case EOpConstructFloatE2M1Vec3:
  ------------------
  |  Branch (10761:5): [True: 0, False: 9]
  ------------------
10762|      0|    case EOpConstructFloatE2M1Vec4:
  ------------------
  |  Branch (10762:5): [True: 0, False: 9]
  ------------------
10763|      0|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (10763:5): [True: 0, False: 9]
  ------------------
10764|      0|        basicOp = EOpConstructFloatE2M1;
10765|      0|        break;
10766|       |
10767|      0|    case EOpConstructFloatE3M2Vec2:
  ------------------
  |  Branch (10767:5): [True: 0, False: 9]
  ------------------
10768|      0|    case EOpConstructFloatE3M2Vec3:
  ------------------
  |  Branch (10768:5): [True: 0, False: 9]
  ------------------
10769|      0|    case EOpConstructFloatE3M2Vec4:
  ------------------
  |  Branch (10769:5): [True: 0, False: 9]
  ------------------
10770|      0|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (10770:5): [True: 0, False: 9]
  ------------------
10771|      0|        basicOp = EOpConstructFloatE3M2;
10772|      0|        break;
10773|       |
10774|      0|    case EOpConstructFloatE2M3Vec2:
  ------------------
  |  Branch (10774:5): [True: 0, False: 9]
  ------------------
10775|      0|    case EOpConstructFloatE2M3Vec3:
  ------------------
  |  Branch (10775:5): [True: 0, False: 9]
  ------------------
10776|      0|    case EOpConstructFloatE2M3Vec4:
  ------------------
  |  Branch (10776:5): [True: 0, False: 9]
  ------------------
10777|      0|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (10777:5): [True: 0, False: 9]
  ------------------
10778|      0|        basicOp = EOpConstructFloatE2M3;
10779|      0|        break;
10780|       |
10781|      0|    case EOpConstructFloatUE8M0Vec2:
  ------------------
  |  Branch (10781:5): [True: 0, False: 9]
  ------------------
10782|      0|    case EOpConstructFloatUE8M0Vec3:
  ------------------
  |  Branch (10782:5): [True: 0, False: 9]
  ------------------
10783|      0|    case EOpConstructFloatUE8M0Vec4:
  ------------------
  |  Branch (10783:5): [True: 0, False: 9]
  ------------------
10784|      0|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (10784:5): [True: 0, False: 9]
  ------------------
10785|      0|        basicOp = EOpConstructFloatUE8M0;
10786|      0|        break;
10787|       |
10788|      0|    case EOpConstructFloatMXINT8Vec2:
  ------------------
  |  Branch (10788:5): [True: 0, False: 9]
  ------------------
10789|      0|    case EOpConstructFloatMXINT8Vec3:
  ------------------
  |  Branch (10789:5): [True: 0, False: 9]
  ------------------
10790|      0|    case EOpConstructFloatMXINT8Vec4:
  ------------------
  |  Branch (10790:5): [True: 0, False: 9]
  ------------------
10791|      0|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (10791:5): [True: 0, False: 9]
  ------------------
10792|      0|        basicOp = EOpConstructFloatMXINT8;
10793|      0|        break;
10794|       |
10795|      0|    case EOpConstructI8Vec2:
  ------------------
  |  Branch (10795:5): [True: 0, False: 9]
  ------------------
10796|      0|    case EOpConstructI8Vec3:
  ------------------
  |  Branch (10796:5): [True: 0, False: 9]
  ------------------
10797|      0|    case EOpConstructI8Vec4:
  ------------------
  |  Branch (10797:5): [True: 0, False: 9]
  ------------------
10798|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (10798:5): [True: 0, False: 9]
  ------------------
10799|      0|        basicOp = EOpConstructInt8;
10800|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10801|       |        // so construct a 32-bit type and convert
10802|       |        // and do not generate any conversion if it is an identity conversion, i.e. int8_t(<int8_t> var)
10803|      0|        if (!intermediate.getArithemeticInt8Enabled() && (node->getBasicType() != EbtInt8)) {
  ------------------
  |  Branch (10803:13): [True: 0, False: 0]
  |  Branch (10803:58): [True: 0, False: 0]
  ------------------
10804|      0|            TType tempType(EbtInt, EvqTemporary, type.getVectorSize());
10805|      0|            newNode = node;
10806|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10806:17): [True: 0, False: 0]
  ------------------
10807|      0|                TOperator aggregateOp;
10808|      0|                if (op == EOpConstructInt8)
  ------------------
  |  Branch (10808:21): [True: 0, False: 0]
  ------------------
10809|      0|                    aggregateOp = EOpConstructInt;
10810|      0|                else
10811|      0|                    aggregateOp = (TOperator)(EOpConstructIVec2 + op - EOpConstructI8Vec2);
10812|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10813|      0|            }
10814|      0|            newNode = intermediate.addConversion(EbtInt8, newNode);
10815|      0|            return newNode;
10816|      0|        }
10817|      0|        break;
10818|       |
10819|      0|    case EOpConstructU8Vec2:
  ------------------
  |  Branch (10819:5): [True: 0, False: 9]
  ------------------
10820|      0|    case EOpConstructU8Vec3:
  ------------------
  |  Branch (10820:5): [True: 0, False: 9]
  ------------------
10821|      0|    case EOpConstructU8Vec4:
  ------------------
  |  Branch (10821:5): [True: 0, False: 9]
  ------------------
10822|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (10822:5): [True: 0, False: 9]
  ------------------
10823|      0|        basicOp = EOpConstructUint8;
10824|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10825|       |        // so construct a 32-bit type and convert
10826|       |        // and do not generate any conversion if it is an identity conversion, i.e. uint8_t(<uint8_t> var)
10827|      0|        if (!intermediate.getArithemeticInt8Enabled() && (node->getBasicType() != EbtUint8)) {
  ------------------
  |  Branch (10827:13): [True: 0, False: 0]
  |  Branch (10827:58): [True: 0, False: 0]
  ------------------
10828|      0|            TType tempType(EbtUint, EvqTemporary, type.getVectorSize());
10829|      0|            newNode = node;
10830|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10830:17): [True: 0, False: 0]
  ------------------
10831|      0|                TOperator aggregateOp;
10832|      0|                if (op == EOpConstructUint8)
  ------------------
  |  Branch (10832:21): [True: 0, False: 0]
  ------------------
10833|      0|                    aggregateOp = EOpConstructUint;
10834|      0|                else
10835|      0|                    aggregateOp = (TOperator)(EOpConstructUVec2 + op - EOpConstructU8Vec2);
10836|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10837|      0|            }
10838|      0|            newNode = intermediate.addConversion(EbtUint8, newNode);
10839|      0|            return newNode;
10840|      0|        }
10841|      0|        break;
10842|       |
10843|      0|    case EOpConstructI16Vec2:
  ------------------
  |  Branch (10843:5): [True: 0, False: 9]
  ------------------
10844|      0|    case EOpConstructI16Vec3:
  ------------------
  |  Branch (10844:5): [True: 0, False: 9]
  ------------------
10845|      0|    case EOpConstructI16Vec4:
  ------------------
  |  Branch (10845:5): [True: 0, False: 9]
  ------------------
10846|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (10846:5): [True: 0, False: 9]
  ------------------
10847|      0|        basicOp = EOpConstructInt16;
10848|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10849|       |        // so construct a 32-bit type and convert
10850|       |        // and do not generate any conversion if it is an identity conversion, i.e. int16_t(<int16_t> var)
10851|      0|        if (!intermediate.getArithemeticInt16Enabled() && (node->getBasicType() != EbtInt16)) {
  ------------------
  |  Branch (10851:13): [True: 0, False: 0]
  |  Branch (10851:59): [True: 0, False: 0]
  ------------------
10852|      0|            TType tempType(EbtInt, EvqTemporary, type.getVectorSize());
10853|      0|            newNode = node;
10854|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10854:17): [True: 0, False: 0]
  ------------------
10855|      0|                TOperator aggregateOp;
10856|      0|                if (op == EOpConstructInt16)
  ------------------
  |  Branch (10856:21): [True: 0, False: 0]
  ------------------
10857|      0|                    aggregateOp = EOpConstructInt;
10858|      0|                else
10859|      0|                    aggregateOp = (TOperator)(EOpConstructIVec2 + op - EOpConstructI16Vec2);
10860|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10861|      0|            }
10862|      0|            newNode = intermediate.addConversion(EbtInt16, newNode);
10863|      0|            return newNode;
10864|      0|        }
10865|      0|        break;
10866|       |
10867|      0|    case EOpConstructU16Vec2:
  ------------------
  |  Branch (10867:5): [True: 0, False: 9]
  ------------------
10868|      0|    case EOpConstructU16Vec3:
  ------------------
  |  Branch (10868:5): [True: 0, False: 9]
  ------------------
10869|      0|    case EOpConstructU16Vec4:
  ------------------
  |  Branch (10869:5): [True: 0, False: 9]
  ------------------
10870|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (10870:5): [True: 0, False: 9]
  ------------------
10871|      0|        basicOp = EOpConstructUint16;
10872|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10873|       |        // so construct a 32-bit type and convert
10874|       |        // and do not generate any conversion if it is an identity conversion, i.e. uint16_t(<uint16_t> var)
10875|      0|        if (!intermediate.getArithemeticInt16Enabled() && (node->getBasicType() != EbtUint16)) {
  ------------------
  |  Branch (10875:13): [True: 0, False: 0]
  |  Branch (10875:59): [True: 0, False: 0]
  ------------------
10876|      0|            TType tempType(EbtUint, EvqTemporary, type.getVectorSize());
10877|      0|            newNode = node;
10878|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10878:17): [True: 0, False: 0]
  ------------------
10879|      0|                TOperator aggregateOp;
10880|      0|                if (op == EOpConstructUint16)
  ------------------
  |  Branch (10880:21): [True: 0, False: 0]
  ------------------
10881|      0|                    aggregateOp = EOpConstructUint;
10882|      0|                else
10883|      0|                    aggregateOp = (TOperator)(EOpConstructUVec2 + op - EOpConstructU16Vec2);
10884|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10885|      0|            }
10886|      0|            newNode = intermediate.addConversion(EbtUint16, newNode);
10887|      0|            return newNode;
10888|      0|        }
10889|      0|        break;
10890|       |
10891|      0|    case EOpConstructI64Vec2:
  ------------------
  |  Branch (10891:5): [True: 0, False: 9]
  ------------------
10892|      0|    case EOpConstructI64Vec3:
  ------------------
  |  Branch (10892:5): [True: 0, False: 9]
  ------------------
10893|      0|    case EOpConstructI64Vec4:
  ------------------
  |  Branch (10893:5): [True: 0, False: 9]
  ------------------
10894|      0|    case EOpConstructInt64:
  ------------------
  |  Branch (10894:5): [True: 0, False: 9]
  ------------------
10895|      0|        basicOp = EOpConstructInt64;
10896|      0|        break;
10897|       |
10898|      0|    case EOpConstructUint64:
  ------------------
  |  Branch (10898:5): [True: 0, False: 9]
  ------------------
10899|      0|        if (type.isScalar() && node->getType().isReference()) {
  ------------------
  |  Branch (10899:13): [True: 0, False: 0]
  |  Branch (10899:32): [True: 0, False: 0]
  ------------------
10900|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvPtrToUint64, true, node, type);
10901|      0|            return newNode;
10902|      0|        }
10903|      0|        [[fallthrough]];
10904|      0|    case EOpConstructU64Vec2:
  ------------------
  |  Branch (10904:5): [True: 0, False: 9]
  ------------------
10905|      0|    case EOpConstructU64Vec3:
  ------------------
  |  Branch (10905:5): [True: 0, False: 9]
  ------------------
10906|      0|    case EOpConstructU64Vec4:
  ------------------
  |  Branch (10906:5): [True: 0, False: 9]
  ------------------
10907|      0|        basicOp = EOpConstructUint64;
10908|      0|        break;
10909|       |
10910|      0|    case EOpConstructNonuniform:
  ------------------
  |  Branch (10910:5): [True: 0, False: 9]
  ------------------
10911|       |        // Make a nonuniform copy of node
10912|      0|        newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpCopyObject, true, node, type);
10913|      0|        return newNode;
10914|       |
10915|      0|    case EOpConstructReference:
  ------------------
  |  Branch (10915:5): [True: 0, False: 9]
  ------------------
10916|       |        // construct reference from reference
10917|      0|        if (node->getType().isReference()) {
  ------------------
  |  Branch (10917:13): [True: 0, False: 0]
  ------------------
10918|      0|            newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConstructReference, true, node, type);
10919|      0|            return newNode;
10920|       |        // construct reference from uint64
10921|      0|        } else if (node->getType().isScalar() && node->getType().getBasicType() == EbtUint64) {
  ------------------
  |  Branch (10921:20): [True: 0, False: 0]
  |  Branch (10921:50): [True: 0, False: 0]
  ------------------
10922|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUint64ToPtr, true, node,
10923|      0|                type);
10924|      0|            return newNode;
10925|       |        // construct reference from uvec2
10926|      0|        } else if (node->getType().isVector() && node->getType().getBasicType() == EbtUint &&
  ------------------
  |  Branch (10926:20): [True: 0, False: 0]
  |  Branch (10926:50): [True: 0, False: 0]
  ------------------
10927|      0|                   node->getVectorSize() == 2) {
  ------------------
  |  Branch (10927:20): [True: 0, False: 0]
  ------------------
10928|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference_uvec2, "uvec2 conversion to reference");
10929|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUvec2ToPtr, true, node,
10930|      0|                type);
10931|      0|            return newNode;
10932|      0|        } else {
10933|      0|            return nullptr;
10934|      0|        }
10935|       |
10936|      0|    case EOpConstructCooperativeVectorNV:
  ------------------
  |  Branch (10936:5): [True: 0, False: 9]
  ------------------
10937|      0|        if (!node->getType().isCoopVecNV()) {
  ------------------
  |  Branch (10937:13): [True: 0, False: 0]
  ------------------
10938|      0|            if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10938:17): [True: 0, False: 0]
  ------------------
10939|      0|                node = intermediate.addConversion(type.getBasicType(), node);
10940|      0|                if (node == nullptr)
  ------------------
  |  Branch (10940:21): [True: 0, False: 0]
  ------------------
10941|      0|                    return nullptr;
10942|      0|            }
10943|      0|        }
10944|      0|        if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10944:13): [True: 0, False: 0]
  ------------------
10945|      0|            intermediate.buildConvertOp(type.getBasicType(), node->getType().getBasicType(), op);
10946|      0|            node = intermediate.addUnaryNode(op, node, node->getLoc(), type);
10947|      0|            return node;
10948|      0|        }
10949|      0|        if (subset) {
  ------------------
  |  Branch (10949:13): [True: 0, False: 0]
  ------------------
10950|      0|            return node;
10951|      0|        }
10952|       |
10953|      0|        node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10954|       |
10955|      0|        return node;
10956|       |
10957|      0|    case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (10957:5): [True: 0, False: 9]
  ------------------
10958|      0|    case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (10958:5): [True: 0, False: 9]
  ------------------
10959|      0|        if (node->getType() == type) {
  ------------------
  |  Branch (10959:13): [True: 0, False: 0]
  ------------------
10960|      0|            return node;
10961|      0|        }
10962|      0|        if (!node->getType().isCoopMat()) {
  ------------------
  |  Branch (10962:13): [True: 0, False: 0]
  ------------------
10963|      0|            if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10963:17): [True: 0, False: 0]
  ------------------
10964|      0|                node = intermediate.addConversion(type.getBasicType(), node);
10965|      0|                if (node == nullptr)
  ------------------
  |  Branch (10965:21): [True: 0, False: 0]
  ------------------
10966|      0|                    return nullptr;
10967|      0|            }
10968|      0|            node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10969|      0|        } else if (type.sameCoopMatShape(node->getType()) && !type.sameCoopMatUse(node->getType()) &&
  ------------------
  |  Branch (10969:20): [True: 0, False: 0]
  |  Branch (10969:62): [True: 0, False: 0]
  ------------------
10970|      0|                   type.getBasicType() == node->getType().getBasicType()) {
  ------------------
  |  Branch (10970:20): [True: 0, False: 0]
  ------------------
10971|      0|            node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10972|      0|        } else {
10973|      0|            TOperator op = EOpConvNumeric;
10974|       |
10975|      0|            node = intermediate.addUnaryNode(op, node, node->getLoc(), type);
10976|       |            // If it's a (non-specialization) constant, it must be folded.
10977|      0|            if (node->getAsUnaryNode()->getOperand()->getAsConstantUnion())
  ------------------
  |  Branch (10977:17): [True: 0, False: 0]
  ------------------
10978|      0|                return node->getAsUnaryNode()->getOperand()->getAsConstantUnion()->fold(op, node->getType());
10979|      0|        }
10980|       |
10981|      0|        return node;
10982|       |
10983|      0|    case EOpConstructAccStruct:
  ------------------
  |  Branch (10983:5): [True: 0, False: 9]
  ------------------
10984|      0|        if ((node->getType().isScalar() && node->getType().getBasicType() == EbtUint64)) {
  ------------------
  |  Branch (10984:14): [True: 0, False: 0]
  |  Branch (10984:44): [True: 0, False: 0]
  ------------------
10985|       |            // construct acceleration structure from uint64
10986|      0|            requireExtensions(loc, Num_ray_tracing_EXTs, ray_tracing_EXTs, "uint64_t conversion to acclerationStructureEXT");
10987|      0|            return intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUint64ToAccStruct, true, node,
10988|      0|                type);
10989|      0|        } else if (node->getType().isVector() && node->getType().getBasicType() == EbtUint && node->getVectorSize() == 2) {
  ------------------
  |  Branch (10989:20): [True: 0, False: 0]
  |  Branch (10989:50): [True: 0, False: 0]
  |  Branch (10989:95): [True: 0, False: 0]
  ------------------
10990|       |            // construct acceleration structure from uint64
10991|      0|            requireExtensions(loc, Num_ray_tracing_EXTs, ray_tracing_EXTs, "uvec2 conversion to accelerationStructureEXT");
10992|      0|            return intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUvec2ToAccStruct, true, node,
10993|      0|                type);
10994|      0|        } else
10995|      0|            return nullptr;
10996|       |
10997|      0|    default:
  ------------------
  |  Branch (10997:5): [True: 0, False: 9]
  ------------------
10998|      0|        error(loc, "unsupported construction", "", "");
10999|       |
11000|      0|        return nullptr;
11001|      9|    }
11002|      9|    newNode = intermediate.addUnaryMath(basicOp, node, node->getLoc());
11003|      9|    if (newNode == nullptr) {
  ------------------
  |  Branch (11003:9): [True: 0, False: 9]
  ------------------
11004|      0|        error(loc, "can't convert", "constructor", "");
11005|      0|        return nullptr;
11006|      0|    }
11007|       |
11008|       |    //
11009|       |    // Now, if there still isn't an operation to do the construction, and we need one, add one.
11010|       |    //
11011|       |
11012|       |    // Otherwise, skip out early.
11013|      9|    if (subset || (newNode != node && newNode->getType() == type))
  ------------------
  |  Branch (11013:9): [True: 9, False: 0]
  |  Branch (11013:20): [True: 0, False: 0]
  |  Branch (11013:39): [True: 0, False: 0]
  ------------------
11014|      9|        return newNode;
11015|       |
11016|       |    // setAggregateOperator will insert a new node for the constructor, as needed.
11017|      0|    return intermediate.setAggregateOperator(newNode, op, type, loc);
11018|      9|}
_ZN7glslang13TParseContext12makeVariadicEPNS_9TFunctionERKNS_10TSourceLocE:
11020|     60|void TParseContext::makeVariadic(TFunction *F, const TSourceLoc &loc) {
11021|     60|    if (parsingBuiltins) {
  ------------------
  |  Branch (11021:9): [True: 60, False: 0]
  ------------------
11022|     60|        F->setVariadic();
11023|     60|    } else {
11024|      0|        error(loc, "variadic argument specifier is only available for builtins", "...", "");
11025|      0|    }
11026|     60|}
_ZN7glslang13TParseContext19getParamWithDefaultERKNS_11TPublicTypeEPNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_12TIntermTypedERKNS_10TSourceLocE:
11030|     60|{
11031|     60|    if (!parsingBuiltins) {
  ------------------
  |  Branch (11031:9): [True: 0, False: 60]
  ------------------
11032|      0|        error(loc, "default argument values are only available for builtins", "=", "");
11033|      0|        initializer = nullptr;
11034|      0|    }
11035|     60|    if (ty.arraySizes) {
  ------------------
  |  Branch (11035:9): [True: 0, False: 60]
  ------------------
11036|      0|        error(loc, "array arguments cannot be default-initialized", identifier->c_str(), "");
11037|      0|        initializer = nullptr;
11038|      0|    }
11039|     60|    if (ty.basicType == EbtVoid) {
  ------------------
  |  Branch (11039:9): [True: 0, False: 60]
  ------------------
11040|      0|        error(loc, "illegal use of type 'void'", identifier->c_str(), "");
11041|      0|        initializer = nullptr;
11042|      0|    }
11043|     60|    reservedErrorCheck(loc, *identifier);
11044|     60|    TParameter param = {identifier, new TType(ty), initializer};
11045|     60|    return param;
11046|     60|}
_ZN7glslang13TParseContext23inheritMemoryQualifiersERKNS_10TQualifierERS1_:
11069|     49|{
11070|     49|    if (from.isReadOnly())
  ------------------
  |  Branch (11070:9): [True: 0, False: 49]
  ------------------
11071|      0|        to.readonly = from.readonly;
11072|     49|    if (from.isWriteOnly())
  ------------------
  |  Branch (11072:9): [True: 0, False: 49]
  ------------------
11073|      0|        to.writeonly = from.writeonly;
11074|     49|    if (from.coherent)
  ------------------
  |  Branch (11074:9): [True: 0, False: 49]
  ------------------
11075|      0|        to.coherent = from.coherent;
11076|     49|    if (from.volatil)
  ------------------
  |  Branch (11076:9): [True: 0, False: 49]
  ------------------
11077|      0|        to.volatil = from.volatil;
11078|     49|    if (from.nontemporal)
  ------------------
  |  Branch (11078:9): [True: 0, False: 49]
  ------------------
11079|      0|        to.nontemporal = from.nontemporal;
11080|     49|    if (from.restrict)
  ------------------
  |  Branch (11080:9): [True: 0, False: 49]
  ------------------
11081|      0|        to.restrict = from.restrict;
11082|     49|}
_ZN7glslang13TParseContext16untypedHeapCheckEPNS_7TSymbolERKNS_5TTypeERKNS_10TSourceLocEPKc:
11157|  1.20k|{
11158|       |    // EXT_descriptor_heap
11159|  1.20k|    bool isHeapStruct =
11160|  1.20k|        (type.getQualifier().storage == EvqSamplerHeap || type.getQualifier().storage == EvqResourceHeap);
  ------------------
  |  Branch (11160:10): [True: 0, False: 1.20k]
  |  Branch (11160:59): [True: 0, False: 1.20k]
  ------------------
11161|       |
11162|  1.20k|    if (intermediate.IsRequestedExtension(E_GL_EXT_descriptor_heap) && spvVersion.vulkan > 0 &&
  ------------------
  |  Branch (11162:9): [True: 0, False: 1.20k]
  |  Branch (11162:72): [True: 0, False: 0]
  ------------------
11163|      0|        !type.getQualifier().hasSet() && !type.getQualifier().hasBinding()) {
  ------------------
  |  Branch (11163:9): [True: 0, False: 0]
  |  Branch (11163:42): [True: 0, False: 0]
  ------------------
11164|      0|        if (type.getQualifier().layoutDescriptorHeap || isHeapStruct) {
  ------------------
  |  Branch (11164:13): [True: 0, False: 0]
  |  Branch (11164:57): [True: 0, False: 0]
  ------------------
11165|      0|            if ((intermediate.isEsProfile() && intermediate.getVersion() < 310) ||
  ------------------
  |  Branch (11165:18): [True: 0, False: 0]
  |  Branch (11165:48): [True: 0, False: 0]
  ------------------
11166|      0|                (!intermediate.isEsProfile() && intermediate.getVersion() < 420)) {
  ------------------
  |  Branch (11166:18): [True: 0, False: 0]
  |  Branch (11166:49): [True: 0, False: 0]
  ------------------
11167|      0|                TString warnMsg = "layout(descriptor_heap) is turned on beyond version/profile limits.";
11168|      0|                infoSink.info.message(EPrefixWarning, warnMsg.c_str());
11169|      0|            }
11170|      0|            if (IsAnonymous(symbol->getName()) &&
  ------------------
  |  Branch (11170:17): [True: 0, False: 0]
  ------------------
11171|      0|                (type.getQualifier().isUniformOrBuffer() || type.getBasicType() == EbtBlock)) {
  ------------------
  |  Branch (11171:18): [True: 0, False: 0]
  |  Branch (11171:61): [True: 0, False: 0]
  ------------------
11172|      0|                error(loc, "layout(descriptor_heap) decorated block should be explicitly "
11173|      0|                    "declared with a run-time sized array type.", name, "");
11174|      0|                return false;
11175|      0|            }
11176|      0|            if (type.getBasicType() == EbtSampler && type.getSampler().isCombined()) {
  ------------------
  |  Branch (11176:17): [True: 0, False: 0]
  |  Branch (11176:54): [True: 0, False: 0]
  ------------------
11177|      0|                error(loc, "layout(descriptor_heap) cannot be used with combined image samplers.",
11178|      0|                      name, "");
11179|      0|                return false;
11180|      0|            }
11181|      0|            if (!type.containsHeapArray() && !isHeapStruct) {
  ------------------
  |  Branch (11181:17): [True: 0, False: 0]
  |  Branch (11181:46): [True: 0, False: 0]
  ------------------
11182|      0|                error(loc, "layout(descriptor_heap) decorated variable could only be declared as an array.",
11183|      0|                      name, "");
11184|      0|                return false;
11185|      0|            }
11186|       |
11187|      0|            if (isHeapStruct && type.isArray()) {
  ------------------
  |  Branch (11187:17): [True: 0, False: 0]
  |  Branch (11187:33): [True: 0, False: 0]
  ------------------
11188|      0|                error(loc, "resourceheap / samplerheap block cannot itself be an array.", name, "");
11189|      0|                return false;
11190|      0|            }
11191|       |
11192|      0|            descHeapBuiltinRemap(&symbol->getWritableType(), true);
11193|      0|        }
11194|      0|    }
11195|  1.20k|    return true;
11196|  1.20k|}
_ZN7glslang13TParseContext12declareBlockERKNS_10TSourceLocERNS_7TVectorINS_8TTypeLocEEEPKNSt3__112basic_stringIcNS8_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_11TArraySizesE:
11208|      9|{
11209|      9|    if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (11209:9): [True: 9, False: 0]
  |  Branch (11209:34): [True: 0, False: 9]
  ------------------
11210|      0|        blockStorageRemap(loc, blockName, currentBlockQualifier);
11211|      9|    blockStageIoCheck(loc, currentBlockQualifier);
11212|      9|    blockQualifierCheck(loc, currentBlockQualifier, instanceName != nullptr);
11213|      9|    if (arraySizes != nullptr) {
  ------------------
  |  Branch (11213:9): [True: 6, False: 3]
  ------------------
11214|      6|        arraySizesCheck(loc, currentBlockQualifier, arraySizes, nullptr, false);
11215|      6|        arrayOfArrayVersionCheck(loc, arraySizes);
11216|      6|        if (arraySizes->getNumDims() > 1)
  ------------------
  |  Branch (11216:13): [True: 0, False: 6]
  ------------------
11217|      0|            requireProfile(loc, ~EEsProfile, "array-of-array of block");
11218|      6|    }
11219|       |
11220|       |    // Inherit and check member storage qualifiers WRT to the block-level qualifier.
11221|     58|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11221:35): [True: 49, False: 9]
  ------------------
11222|     49|        TType& memberType = *typeList[member].type;
11223|     49|        TQualifier& memberQualifier = memberType.getQualifier();
11224|     49|        const TSourceLoc& memberLoc = typeList[member].loc;
11225|     49|        const bool heapBufferTypeMember =
11226|     49|            isResourceHeapBufferTypeMember(currentBlockQualifier, memberQualifier);
11227|     49|        const bool heapBlockMember =
11228|     49|            currentBlockQualifier.storage == EvqResourceHeap || currentBlockQualifier.storage == EvqSamplerHeap;
  ------------------
  |  Branch (11228:13): [True: 0, False: 49]
  |  Branch (11228:65): [True: 0, False: 49]
  ------------------
11229|     49|        if (memberQualifier.layoutDescriptorHeap && !heapBlockMember)
  ------------------
  |  Branch (11229:13): [True: 0, False: 49]
  |  Branch (11229:53): [True: 0, False: 0]
  ------------------
11230|      0|            error(memberLoc, "can only be used on resourceheap or samplerheap block members", "descriptor heap member", "");
11231|     49|        if (memberQualifier.storage != EvqTemporary && memberQualifier.storage != EvqGlobal &&
  ------------------
  |  Branch (11231:13): [True: 44, False: 5]
  |  Branch (11231:56): [True: 0, False: 44]
  ------------------
11232|      0|            memberQualifier.storage != currentBlockQualifier.storage && !heapBufferTypeMember)
  ------------------
  |  Branch (11232:13): [True: 0, False: 0]
  |  Branch (11232:73): [True: 0, False: 0]
  ------------------
11233|      0|            error(memberLoc, "member storage qualifier cannot contradict block storage qualifier", memberType.getFieldName().c_str(), "");
11234|     49|        if (!heapBufferTypeMember)
  ------------------
  |  Branch (11234:13): [True: 49, False: 0]
  ------------------
11235|     49|            memberQualifier.storage = currentBlockQualifier.storage;
11236|     49|        globalQualifierFixCheck(memberLoc, memberQualifier);
11237|     49|        inheritMemoryQualifiers(currentBlockQualifier, memberQualifier);
11238|     49|        if (currentBlockQualifier.perPrimitiveNV)
  ------------------
  |  Branch (11238:13): [True: 11, False: 38]
  ------------------
11239|     11|            memberQualifier.perPrimitiveNV = currentBlockQualifier.perPrimitiveNV;
11240|     49|        if (currentBlockQualifier.perViewNV)
  ------------------
  |  Branch (11240:13): [True: 0, False: 49]
  ------------------
11241|      0|            memberQualifier.perViewNV = currentBlockQualifier.perViewNV;
11242|     49|        if (currentBlockQualifier.perTaskNV)
  ------------------
  |  Branch (11242:13): [True: 0, False: 49]
  ------------------
11243|      0|            memberQualifier.perTaskNV = currentBlockQualifier.perTaskNV;
11244|     49|        if (currentBlockQualifier.storage == EvqtaskPayloadSharedEXT)
  ------------------
  |  Branch (11244:13): [True: 0, False: 49]
  ------------------
11245|      0|            memberQualifier.storage = EvqtaskPayloadSharedEXT;
11246|     49|        if (memberQualifier.storage == EvqSpirvStorageClass)
  ------------------
  |  Branch (11246:13): [True: 0, False: 49]
  ------------------
11247|      0|            error(memberLoc, "member cannot have a spirv_storage_class qualifier", memberType.getFieldName().c_str(), "");
11248|     49|        if (memberQualifier.hasSpirvDecorate() && !memberQualifier.getSpirvDecorate().decorateIds.empty())
  ------------------
  |  Branch (11248:13): [True: 0, False: 49]
  |  Branch (11248:51): [True: 0, False: 0]
  ------------------
11249|      0|            error(memberLoc, "member cannot have a spirv_decorate_id qualifier", memberType.getFieldName().c_str(), "");
11250|     49|        if ((currentBlockQualifier.storage == EvqUniform || currentBlockQualifier.storage == EvqBuffer) && (memberQualifier.isInterpolation() || memberQualifier.isAuxiliary()))
  ------------------
  |  Branch (11250:14): [True: 0, False: 49]
  |  Branch (11250:61): [True: 0, False: 49]
  |  Branch (11250:109): [True: 0, False: 0]
  |  Branch (11250:146): [True: 0, False: 0]
  ------------------
11251|      0|            error(memberLoc, "member of uniform or buffer block cannot have an auxiliary or interpolation qualifier", memberType.getFieldName().c_str(), "");
11252|     49|        if (memberType.isArray())
  ------------------
  |  Branch (11252:13): [True: 25, False: 24]
  ------------------
11253|     25|            arraySizesCheck(memberLoc, currentBlockQualifier, memberType.getArraySizes(), nullptr, member == typeList.size() - 1);
11254|     49|        if (memberQualifier.hasOffset()) {
  ------------------
  |  Branch (11254:13): [True: 0, False: 49]
  ------------------
11255|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (11255:17): [True: 0, False: 0]
  ------------------
11256|      0|                profileRequires(memberLoc, ~EEsProfile, 440, E_GL_ARB_enhanced_layouts, "\"offset\" on block member");
11257|      0|                profileRequires(memberLoc, EEsProfile, 300, E_GL_ARB_enhanced_layouts, "\"offset\" on block member");
11258|      0|            }
11259|      0|        }
11260|       |
11261|     49|        if (memberQualifier.layoutDescriptorSize != TQualifier::layoutDescriptorSizeEnd && !heapBlockMember)
  ------------------
  |  Branch (11261:13): [True: 0, False: 49]
  |  Branch (11261:92): [True: 0, False: 0]
  ------------------
11262|      0|            error(memberLoc, "can only be used on resourceheap or samplerheap block members", "descriptor_size", "");
11263|       |
11264|       |        // For bindless texture, sampler can be declared as uniform/storage block member,
11265|     49|        if (memberType.containsOpaque() && !extensionTurnedOn(E_GL_EXT_structured_descriptor_heap)) {
  ------------------
  |  Branch (11265:13): [True: 0, False: 49]
  |  Branch (11265:44): [True: 0, False: 0]
  ------------------
11266|      0|            if (memberType.containsSampler() && extensionTurnedOn(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (11266:17): [True: 0, False: 0]
  |  Branch (11266:49): [True: 0, False: 0]
  ------------------
11267|      0|                updateBindlessQualifier(memberType);
11268|      0|            else
11269|      0|                error(memberLoc, "member of block cannot be or contain a sampler, image, or atomic_uint type", typeList[member].type->getFieldName().c_str(), "");
11270|      0|        }
11271|       |
11272|     49|        if (memberType.containsCoopMat())
  ------------------
  |  Branch (11272:13): [True: 0, False: 49]
  ------------------
11273|      0|            error(memberLoc, "member of block cannot be or contain a cooperative matrix type", typeList[member].type->getFieldName().c_str(), "");
11274|       |
11275|     49|        if (memberType.containsCoopVec())
  ------------------
  |  Branch (11275:13): [True: 0, False: 49]
  ------------------
11276|      0|            error(memberLoc, "member of block cannot be or contain a cooperative vector type", typeList[member].type->getFieldName().c_str(), "");
11277|       |
11278|     49|        if (memberType.containsOcpMicroscalingNonByteFloat())
  ------------------
  |  Branch (11278:13): [True: 0, False: 49]
  ------------------
11279|      0|            error(memberLoc, "member of block cannot be or contain a sub-byte type", typeList[member].type->getFieldName().c_str(), "");
11280|     49|    }
11281|       |
11282|       |    // This might be a redeclaration of a built-in block.  If so, redeclareBuiltinBlock() will
11283|       |    // do all the rest.
11284|      9|    if (! symbolTable.atBuiltInLevel() && builtInName(*blockName)) {
  ------------------
  |  Branch (11284:9): [True: 0, False: 9]
  |  Branch (11284:43): [True: 0, False: 0]
  ------------------
11285|      0|        redeclareBuiltinBlock(loc, typeList, *blockName, instanceName, arraySizes);
11286|      0|        return nullptr;
11287|      0|    }
11288|       |
11289|       |    // Not a redeclaration of a built-in; check that all names are user names.
11290|      9|    reservedErrorCheck(loc, *blockName);
11291|      9|    if (instanceName)
  ------------------
  |  Branch (11291:9): [True: 6, False: 3]
  ------------------
11292|      6|        reservedErrorCheck(loc, *instanceName);
11293|     58|    for (unsigned int member = 0; member < typeList.size(); ++member)
  ------------------
  |  Branch (11293:35): [True: 49, False: 9]
  ------------------
11294|     49|        reservedErrorCheck(typeList[member].loc, typeList[member].type->getFieldName());
11295|       |
11296|       |    // Make default block qualification, and adjust the member qualifications
11297|       |
11298|      9|    TQualifier defaultQualification;
11299|      9|    switch (currentBlockQualifier.storage) {
11300|      0|    case EvqUniform:    defaultQualification = globalUniformDefaults;    break;
  ------------------
  |  Branch (11300:5): [True: 0, False: 9]
  ------------------
11301|      0|    case EvqBuffer:     defaultQualification = globalBufferDefaults;     break;
  ------------------
  |  Branch (11301:5): [True: 0, False: 9]
  ------------------
11302|      1|    case EvqVaryingIn:  defaultQualification = globalInputDefaults;      break;
  ------------------
  |  Branch (11302:5): [True: 1, False: 8]
  ------------------
11303|      8|    case EvqVaryingOut: defaultQualification = globalOutputDefaults;     break;
  ------------------
  |  Branch (11303:5): [True: 8, False: 1]
  ------------------
11304|      0|    case EvqShared:     defaultQualification = globalSharedDefaults;     break;
  ------------------
  |  Branch (11304:5): [True: 0, False: 9]
  ------------------
11305|      0|    default:            defaultQualification.clear();                    break;
  ------------------
  |  Branch (11305:5): [True: 0, False: 9]
  ------------------
11306|      9|    }
11307|       |
11308|       |    // Special case for "push_constant uniform", which has a default of std430,
11309|       |    // contrary to normal uniform defaults, and can't have a default tracked for it.
11310|      9|    if ((currentBlockQualifier.isPushConstant() && !currentBlockQualifier.hasPacking()) ||
  ------------------
  |  Branch (11310:10): [True: 0, False: 9]
  |  Branch (11310:52): [True: 0, False: 0]
  ------------------
11311|      9|        (currentBlockQualifier.isShaderRecord() && !currentBlockQualifier.hasPacking()))
  ------------------
  |  Branch (11311:10): [True: 0, False: 9]
  |  Branch (11311:52): [True: 0, False: 0]
  ------------------
11312|      0|        currentBlockQualifier.layoutPacking = ElpStd430;
11313|       |
11314|       |    // Special case for "taskNV in/out", which has a default of std430,
11315|      9|    if (currentBlockQualifier.isTaskMemory() && !currentBlockQualifier.hasPacking())
  ------------------
  |  Branch (11315:9): [True: 0, False: 9]
  |  Branch (11315:49): [True: 0, False: 0]
  ------------------
11316|      0|        currentBlockQualifier.layoutPacking = ElpStd430;
11317|       |
11318|       |    // fix and check for member layout qualifiers
11319|       |
11320|      9|    mergeObjectLayoutQualifiers(defaultQualification, currentBlockQualifier, true);
11321|       |
11322|       |    // "The align qualifier can only be used on blocks or block members, and only for blocks declared with std140 or std430 layouts."
11323|      9|    if (currentBlockQualifier.hasAlign()) {
  ------------------
  |  Branch (11323:9): [True: 0, False: 9]
  ------------------
11324|      0|        if (defaultQualification.layoutPacking != ElpStd140 &&
  ------------------
  |  Branch (11324:13): [True: 0, False: 0]
  ------------------
11325|      0|            defaultQualification.layoutPacking != ElpStd430 &&
  ------------------
  |  Branch (11325:13): [True: 0, False: 0]
  ------------------
11326|      0|            defaultQualification.layoutPacking != ElpScalar) {
  ------------------
  |  Branch (11326:13): [True: 0, False: 0]
  ------------------
11327|      0|            error(loc, "can only be used with std140, std430, or scalar layout packing", "align", "");
11328|      0|            defaultQualification.layoutAlign = -1;
11329|      0|        }
11330|      0|    }
11331|       |
11332|      9|    bool memberWithLocation = false;
11333|      9|    bool memberWithoutLocation = false;
11334|      9|    bool memberWithPerViewQualifier = false;
11335|     58|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11335:35): [True: 49, False: 9]
  ------------------
11336|     49|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
11337|     49|        const TSourceLoc& memberLoc = typeList[member].loc;
11338|     49|        const bool heapBufferTypeMember =
11339|     49|            isResourceHeapBufferTypeMember(currentBlockQualifier, memberQualifier);
11340|     49|        if (memberQualifier.hasStream()) {
  ------------------
  |  Branch (11340:13): [True: 0, False: 49]
  ------------------
11341|      0|            if (defaultQualification.layoutStream != memberQualifier.layoutStream)
  ------------------
  |  Branch (11341:17): [True: 0, False: 0]
  ------------------
11342|      0|                error(memberLoc, "member cannot contradict block", "stream", "");
11343|      0|        }
11344|       |
11345|       |        // "This includes a block's inheritance of the
11346|       |        // current global default buffer, a block member's inheritance of the block's
11347|       |        // buffer, and the requirement that any *xfb_buffer* declared on a block
11348|       |        // member must match the buffer inherited from the block."
11349|     49|        if (memberQualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (11349:13): [True: 0, False: 49]
  ------------------
11350|      0|            if (defaultQualification.layoutXfbBuffer != memberQualifier.layoutXfbBuffer)
  ------------------
  |  Branch (11350:17): [True: 0, False: 0]
  ------------------
11351|      0|                error(memberLoc, "member cannot contradict block (or what block inherited from global)", "xfb_buffer", "");
11352|      0|        }
11353|       |
11354|     49|        if (memberQualifier.hasPacking() && !heapBufferTypeMember)
  ------------------
  |  Branch (11354:13): [True: 0, False: 49]
  |  Branch (11354:45): [True: 0, False: 0]
  ------------------
11355|      0|            error(memberLoc, "member of block cannot have a packing layout qualifier", typeList[member].type->getFieldName().c_str(), "");
11356|     49|        if (memberQualifier.hasLocation()) {
  ------------------
  |  Branch (11356:13): [True: 0, False: 49]
  ------------------
11357|      0|            const char* feature = "location on block member";
11358|      0|            switch (currentBlockQualifier.storage) {
11359|      0|            case EvqVaryingIn:
  ------------------
  |  Branch (11359:13): [True: 0, False: 0]
  ------------------
11360|      0|            case EvqVaryingOut:
  ------------------
  |  Branch (11360:13): [True: 0, False: 0]
  ------------------
11361|      0|                requireProfile(memberLoc, ECoreProfile | ECompatibilityProfile | EEsProfile, feature);
11362|      0|                profileRequires(memberLoc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, feature);
11363|      0|                profileRequires(memberLoc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, feature);
11364|      0|                memberWithLocation = true;
11365|      0|                break;
11366|      0|            default:
  ------------------
  |  Branch (11366:13): [True: 0, False: 0]
  ------------------
11367|      0|                error(memberLoc, "can only use in an in/out block", feature, "");
11368|      0|                break;
11369|      0|            }
11370|      0|        } else
11371|     49|            memberWithoutLocation = true;
11372|       |
11373|       |        // "The offset qualifier can only be used on block members of blocks declared with std140 or std430 layouts."
11374|       |        // "The align qualifier can only be used on blocks or block members, and only for blocks declared with std140 or std430 layouts."
11375|     49|        if (memberQualifier.hasAlign() || memberQualifier.hasOffset()) {
  ------------------
  |  Branch (11375:13): [True: 0, False: 49]
  |  Branch (11375:43): [True: 0, False: 49]
  ------------------
11376|      0|            if (defaultQualification.layoutPacking != ElpStd140 &&
  ------------------
  |  Branch (11376:17): [True: 0, False: 0]
  ------------------
11377|      0|                defaultQualification.layoutPacking != ElpStd430 &&
  ------------------
  |  Branch (11377:17): [True: 0, False: 0]
  ------------------
11378|      0|                defaultQualification.layoutPacking != ElpScalar)
  ------------------
  |  Branch (11378:17): [True: 0, False: 0]
  ------------------
11379|      0|                error(memberLoc, "can only be used with std140, std430, or scalar layout packing", "offset/align", "");
11380|      0|        }
11381|       |
11382|     49|        if (memberQualifier.isPerView()) {
  ------------------
  |  Branch (11382:13): [True: 5, False: 44]
  ------------------
11383|      5|            memberWithPerViewQualifier = true;
11384|      5|        }
11385|       |
11386|     49|        TQualifier newMemberQualification = defaultQualification;
11387|     49|        mergeQualifiers(memberLoc, newMemberQualification, memberQualifier, false);
11388|     49|        memberQualifier = newMemberQualification;
11389|     49|    }
11390|       |
11391|      9|    layoutMemberLocationArrayCheck(loc, memberWithLocation, arraySizes);
11392|       |
11393|       |    // Ensure that the block has an XfbBuffer assigned. This is needed
11394|       |    // because if the block has a XfbOffset assigned, then it is
11395|       |    // assumed that it has implicitly assigned the current global
11396|       |    // XfbBuffer, and because it's members need to be assigned a
11397|       |    // XfbOffset if they lack it.
11398|      9|    if (currentBlockQualifier.storage == EvqVaryingOut && globalOutputDefaults.hasXfbBuffer()) {
  ------------------
  |  Branch (11398:9): [True: 8, False: 1]
  |  Branch (11398:59): [True: 4, False: 4]
  ------------------
11399|      4|       if (!currentBlockQualifier.hasXfbBuffer() && currentBlockQualifier.hasXfbOffset())
  ------------------
  |  Branch (11399:12): [True: 4, False: 0]
  |  Branch (11399:53): [True: 0, False: 4]
  ------------------
11400|      0|          currentBlockQualifier.layoutXfbBuffer = globalOutputDefaults.layoutXfbBuffer;
11401|      4|    }
11402|       |
11403|       |    // Process the members
11404|      9|    fixBlockLocations(loc, currentBlockQualifier, typeList, memberWithLocation, memberWithoutLocation);
11405|      9|    fixXfbOffsets(currentBlockQualifier, typeList);
11406|      9|    fixBlockUniformOffsets(currentBlockQualifier, typeList);
11407|      9|    fixBlockUniformLayoutMatrix(currentBlockQualifier, &typeList, nullptr);
11408|      9|    fixBlockUniformLayoutPacking(currentBlockQualifier, &typeList, nullptr);
11409|     58|    for (unsigned int member = 0; member < typeList.size(); ++member)
  ------------------
  |  Branch (11409:35): [True: 49, False: 9]
  ------------------
11410|     49|        layoutTypeCheck(typeList[member].loc, *typeList[member].type);
11411|       |
11412|      9|    if (memberWithPerViewQualifier) {
  ------------------
  |  Branch (11412:9): [True: 2, False: 7]
  ------------------
11413|     15|        for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11413:39): [True: 13, False: 2]
  ------------------
11414|     13|            checkAndResizeMeshViewDim(typeList[member].loc, *typeList[member].type, /*isBlockMember*/ true);
11415|     13|        }
11416|      2|    }
11417|       |
11418|       |    // reverse merge, so that currentBlockQualifier now has all layout information
11419|       |    // (can't use defaultQualification directly, it's missing other non-layout-default-class qualifiers)
11420|      9|    mergeObjectLayoutQualifiers(currentBlockQualifier, defaultQualification, true);
11421|       |
11422|       |    //
11423|       |    // Build and add the interface block as a new type named 'blockName'
11424|       |    //
11425|       |
11426|      9|    TType blockType(&typeList, *blockName, currentBlockQualifier);
11427|      9|    if (arraySizes != nullptr)
  ------------------
  |  Branch (11427:9): [True: 6, False: 3]
  ------------------
11428|      6|        blockType.transferArraySizes(arraySizes);
11429|       |
11430|      9|    if (arraySizes == nullptr)
  ------------------
  |  Branch (11430:9): [True: 3, False: 6]
  ------------------
11431|      3|        ioArrayCheck(loc, blockType, instanceName ? *instanceName : *blockName);
  ------------------
  |  Branch (11431:38): [True: 0, False: 3]
  ------------------
11432|      9|    if (currentBlockQualifier.hasBufferReference()) {
  ------------------
  |  Branch (11432:9): [True: 0, False: 9]
  ------------------
11433|       |
11434|      0|        if (currentBlockQualifier.storage != EvqBuffer)
  ------------------
  |  Branch (11434:13): [True: 0, False: 0]
  ------------------
11435|      0|            error(loc, "can only be used with buffer", "buffer_reference", "");
11436|       |
11437|       |        // Create the block reference type. If it was forward-declared, detect that
11438|       |        // as a referent struct type with no members. Replace the referent type with
11439|       |        // blockType.
11440|      0|        TType blockNameType(EbtReference, blockType, *blockName);
11441|      0|        TVariable* blockNameVar = new TVariable(blockName, blockNameType, true);
11442|      0|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (11442:13): [True: 0, False: 0]
  ------------------
11443|      0|            TSymbol* existingName = symbolTable.find(*blockName);
11444|      0|            if (existingName->getType().isReference() &&
  ------------------
  |  Branch (11444:17): [True: 0, False: 0]
  ------------------
11445|      0|                existingName->getType().getReferentType()->getStruct() &&
  ------------------
  |  Branch (11445:17): [True: 0, False: 0]
  ------------------
11446|      0|                existingName->getType().getReferentType()->getStruct()->size() == 0 &&
  ------------------
  |  Branch (11446:17): [True: 0, False: 0]
  ------------------
11447|      0|                existingName->getType().getQualifier().storage == blockType.getQualifier().storage) {
  ------------------
  |  Branch (11447:17): [True: 0, False: 0]
  ------------------
11448|      0|                existingName->getType().getReferentType()->deepCopy(blockType);
11449|      0|            } else {
11450|      0|                error(loc, "block name cannot be redefined", blockName->c_str(), "");
11451|      0|            }
11452|      0|        }
11453|      0|        if (!instanceName) {
  ------------------
  |  Branch (11453:13): [True: 0, False: 0]
  ------------------
11454|      0|            return nullptr;
11455|      0|        }
11456|      9|    } else if (currentBlockQualifier.isBufferType()) {
  ------------------
  |  Branch (11456:16): [True: 0, False: 9]
  ------------------
11457|       |        // buffer_type creates an opaque type named by the block, not a global block instance.
11458|      0|        TVariable* blockNameVar = new TVariable(blockName, blockType, true);
11459|      0|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (11459:13): [True: 0, False: 0]
  ------------------
11460|      0|            error(loc, "block name cannot be redefined", blockName->c_str(), "");
11461|      0|            return nullptr;
11462|      0|        }
11463|      0|        if (!instanceName)
  ------------------
  |  Branch (11463:13): [True: 0, False: 0]
  ------------------
11464|      0|            return nullptr;
11465|      9|    } else {
11466|       |        //
11467|       |        // Don't make a user-defined type out of block name; that will cause an error
11468|       |        // if the same block name gets reused in a different interface.
11469|       |        //
11470|       |        // "Block names have no other use within a shader
11471|       |        // beyond interface matching; it is a compile-time error to use a block name at global scope for anything
11472|       |        // other than as a block name (e.g., use of a block name for a global variable name or function name is
11473|       |        // currently reserved)."
11474|       |        //
11475|       |        // Use the symbol table to prevent normal reuse of the block's name, as a variable entry,
11476|       |        // whose type is EbtBlock, but without all the structure; that will come from the type
11477|       |        // the instances point to.
11478|       |        //
11479|      9|        TType blockNameType(EbtBlock, blockType.getQualifier().storage);
11480|      9|        TVariable* blockNameVar = new TVariable(blockName, blockNameType);
11481|      9|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (11481:13): [True: 1, False: 8]
  ------------------
11482|      1|            TSymbol* existingName = symbolTable.find(*blockName);
11483|      1|            if (existingName->getType().getBasicType() == EbtBlock) {
  ------------------
  |  Branch (11483:17): [True: 1, False: 0]
  ------------------
11484|      1|                if (existingName->getType().getQualifier().storage == blockType.getQualifier().storage) {
  ------------------
  |  Branch (11484:21): [True: 0, False: 1]
  ------------------
11485|      0|                    error(loc, "Cannot reuse block name within the same interface:", blockName->c_str(), "%s", blockType.getStorageQualifierString());
11486|      0|                    return nullptr;
11487|      0|                }
11488|      1|            } else {
11489|      0|                error(loc, "block name cannot redefine a non-block name", blockName->c_str(), "");
11490|      0|                return nullptr;
11491|      0|            }
11492|      1|        }
11493|      9|    }
11494|       |
11495|       |    // Add the variable, as anonymous or named instanceName.
11496|       |    // Make an anonymous variable if no name was provided.
11497|      9|    if (! instanceName)
  ------------------
  |  Branch (11497:9): [True: 3, False: 6]
  ------------------
11498|      3|        instanceName = NewPoolTString("");
11499|       |
11500|      9|    TVariable& variable = *new TVariable(instanceName, blockType);
11501|      9|    if (! symbolTable.insert(variable)) {
  ------------------
  |  Branch (11501:9): [True: 0, False: 9]
  ------------------
11502|      0|        if (*instanceName == "")
  ------------------
  |  Branch (11502:13): [True: 0, False: 0]
  ------------------
11503|      0|            error(loc, "nameless block contains a member that already has a name at global scope", blockName->c_str(), "");
11504|      0|        else
11505|      0|            error(loc, "block instance name redefinition", variable.getName().c_str(), "");
11506|       |
11507|      0|        return nullptr;
11508|      0|    }
11509|       |
11510|       |    // EXT_descriptor_heap
11511|      9|    if (!untypedHeapCheck(&variable, blockType, loc, blockName->c_str())) {
  ------------------
  |  Branch (11511:9): [True: 0, False: 9]
  ------------------
11512|      0|        return nullptr;
11513|      0|    }
11514|       |
11515|       |    // Check for general layout qualifier errors
11516|      9|    layoutObjectCheck(loc, variable);
11517|       |
11518|       |    // fix up
11519|      9|    if (isIoResizeArray(blockType)) {
  ------------------
  |  Branch (11519:9): [True: 6, False: 3]
  ------------------
11520|      6|        ioArraySymbolResizeList.push_back(&variable);
11521|      6|        checkIoArraysConsistency(loc, true);
11522|      6|    } else
11523|      3|        fixIoArraySize(loc, variable.getWritableType());
11524|       |
11525|       |    // Save it in the AST for linker use.
11526|      9|    trackLinkage(variable);
11527|       |
11528|      9|    TIntermAggregate* declNode = nullptr;
11529|      9|    if (intermediate.getDebugInfo()) {
  ------------------
  |  Branch (11529:9): [True: 0, False: 9]
  ------------------
11530|      0|        auto blockDeclNode = new TIntermVariableDecl(intermediate.addSymbol(variable, loc), nullptr);
11531|      0|        blockDeclNode->setLoc(loc);
11532|       |
11533|       |        // We have to wrap the declaration with a sequence to fit the same processing logic with variables.
11534|      0|        declNode = new TIntermAggregate(EOpSequence);
11535|      0|        declNode->getSequence().push_back(blockDeclNode);
11536|      0|    }
11537|      9|    return declNode;
11538|      9|}
_ZN7glslang13TParseContext17blockStageIoCheckERKNS_10TSourceLocERKNS_10TQualifierE:
11554|      9|{
11555|      9|    const char *extsrt[2] = { E_GL_NV_ray_tracing, E_GL_EXT_ray_tracing };
11556|      9|    switch (qualifier.storage) {
11557|      0|    case EvqUniform:
  ------------------
  |  Branch (11557:5): [True: 0, False: 9]
  ------------------
11558|      0|        profileRequires(loc, EEsProfile, 300, nullptr, "uniform block");
11559|      0|        profileRequires(loc, ENoProfile, 140, E_GL_ARB_uniform_buffer_object, "uniform block");
11560|      0|        if (currentBlockQualifier.layoutPacking == ElpStd430 && ! currentBlockQualifier.isPushConstant())
  ------------------
  |  Branch (11560:13): [True: 0, False: 0]
  |  Branch (11560:65): [True: 0, False: 0]
  ------------------
11561|      0|            requireExtensions(loc, 1, &E_GL_EXT_scalar_block_layout, "std430 requires the buffer storage qualifier");
11562|      0|        break;
11563|      0|    case EvqBuffer:
  ------------------
  |  Branch (11563:5): [True: 0, False: 9]
  ------------------
11564|      0|        requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, "buffer block");
11565|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 430, E_GL_ARB_shader_storage_buffer_object, "buffer block");
11566|      0|        profileRequires(loc, EEsProfile, 310, nullptr, "buffer block");
11567|      0|        break;
11568|      1|    case EvqVaryingIn:
  ------------------
  |  Branch (11568:5): [True: 1, False: 8]
  ------------------
11569|      1|        profileRequires(loc, ~EEsProfile, 150, E_GL_ARB_separate_shader_objects, "input block");
11570|       |        // It is a compile-time error to have an input block in a vertex shader or an output block in a fragment shader
11571|       |        // "Compute shaders do not permit user-defined input variables..."
11572|      1|        requireStage(loc, (EShLanguageMask)(EShLangTessControlMask|EShLangTessEvaluationMask|EShLangGeometryMask|
11573|      1|            EShLangFragmentMask|EShLangMeshMask), "input block");
11574|      1|        if (language == EShLangFragment) {
  ------------------
  |  Branch (11574:13): [True: 0, False: 1]
  ------------------
11575|      0|            profileRequires(loc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, "fragment input block");
11576|      1|        } else if (language == EShLangMesh && ! qualifier.isTaskMemory()) {
  ------------------
  |  Branch (11576:20): [True: 0, False: 1]
  |  Branch (11576:47): [True: 0, False: 0]
  ------------------
11577|      0|            error(loc, "input blocks cannot be used in a mesh shader", "out", "");
11578|      0|        }
11579|      1|        break;
11580|      8|    case EvqVaryingOut:
  ------------------
  |  Branch (11580:5): [True: 8, False: 1]
  ------------------
11581|      8|        profileRequires(loc, ~EEsProfile, 150, E_GL_ARB_separate_shader_objects, "output block");
11582|      8|        requireStage(loc, (EShLanguageMask)(EShLangVertexMask|EShLangTessControlMask|EShLangTessEvaluationMask|
11583|      8|            EShLangGeometryMask|EShLangMeshMask|EShLangTaskMask), "output block");
11584|       |        // ES 310 can have a block before shader_io is turned on, so skip this test for built-ins
11585|      8|        if (language == EShLangVertex && ! parsingBuiltins) {
  ------------------
  |  Branch (11585:13): [True: 1, False: 7]
  |  Branch (11585:42): [True: 0, False: 1]
  ------------------
11586|      0|            profileRequires(loc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, "vertex output block");
11587|      8|        } else if (language == EShLangMesh && qualifier.isTaskMemory()) {
  ------------------
  |  Branch (11587:20): [True: 4, False: 4]
  |  Branch (11587:47): [True: 0, False: 4]
  ------------------
11588|      0|            error(loc, "can only use on input blocks in mesh shader", "taskNV", "");
11589|      8|        } else if (language == EShLangTask && ! qualifier.isTaskMemory()) {
  ------------------
  |  Branch (11589:20): [True: 0, False: 8]
  |  Branch (11589:47): [True: 0, False: 0]
  ------------------
11590|      0|            error(loc, "output blocks cannot be used in a task shader", "out", "");
11591|      0|        }
11592|      8|        break;
11593|      0|    case EvqShared:
  ------------------
  |  Branch (11593:5): [True: 0, False: 9]
  ------------------
11594|      0|        if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_4) {
  ------------------
  |  Branch (11594:13): [True: 0, False: 0]
  |  Branch (11594:35): [True: 0, False: 0]
  ------------------
11595|      0|            error(loc, "shared block requires at least SPIR-V 1.4", "shared block", "");
11596|      0|        }
11597|      0|        profileRequires(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shared_memory_block, "shared block");
11598|      0|        break;
11599|      0|    case EvqPayload:
  ------------------
  |  Branch (11599:5): [True: 0, False: 9]
  ------------------
11600|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "rayPayloadNV block");
11601|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangAnyHitMask | EShLangClosestHitMask | EShLangMissMask),
11602|      0|            "rayPayloadNV block");
11603|      0|        break;
11604|      0|    case EvqPayloadIn:
  ------------------
  |  Branch (11604:5): [True: 0, False: 9]
  ------------------
11605|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "rayPayloadInNV block");
11606|      0|        requireStage(loc, (EShLanguageMask)(EShLangAnyHitMask | EShLangClosestHitMask | EShLangMissMask),
11607|      0|            "rayPayloadInNV block");
11608|      0|        break;
11609|      0|    case EvqHitAttr:
  ------------------
  |  Branch (11609:5): [True: 0, False: 9]
  ------------------
11610|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "hitAttributeNV block");
11611|      0|        requireStage(loc, (EShLanguageMask)(EShLangIntersectMask | EShLangAnyHitMask | EShLangClosestHitMask), "hitAttributeNV block");
11612|      0|        break;
11613|      0|    case EvqCallableData:
  ------------------
  |  Branch (11613:5): [True: 0, False: 9]
  ------------------
11614|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "callableDataNV block");
11615|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask),
11616|      0|            "callableDataNV block");
11617|      0|        break;
11618|      0|    case EvqCallableDataIn:
  ------------------
  |  Branch (11618:5): [True: 0, False: 9]
  ------------------
11619|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "callableDataInNV block");
11620|      0|        requireStage(loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInNV block");
11621|      0|        break;
11622|      0|    case EvqHitObjectAttrNV:
  ------------------
  |  Branch (11622:5): [True: 0, False: 9]
  ------------------
11623|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_NV_shader_invocation_reorder, "hitObjectAttributeNV block");
11624|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask), "hitObjectAttributeNV block");
11625|      0|        break;
11626|      0|    case EvqHitObjectAttrEXT:
  ------------------
  |  Branch (11626:5): [True: 0, False: 9]
  ------------------
11627|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_shader_invocation_reorder, "hitObjectAttributeEXT block");
11628|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask), "hitObjectAttributeEXT block");
11629|      0|        break;
11630|      0|    case EvqResourceHeap:
  ------------------
  |  Branch (11630:5): [True: 0, False: 9]
  ------------------
11631|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_structured_descriptor_heap, "resourceheap block");
11632|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_descriptor_heap, "resourceheap block");
11633|      0|        break;
11634|      0|    case EvqSamplerHeap:
  ------------------
  |  Branch (11634:5): [True: 0, False: 9]
  ------------------
11635|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_structured_descriptor_heap, "samplerheap block");
11636|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_descriptor_heap, "samplerheap block");
11637|      0|        break;
11638|      0|    default:
  ------------------
  |  Branch (11638:5): [True: 0, False: 9]
  ------------------
11639|      0|        error(loc, "only uniform, buffer, in, or out blocks are supported", blockName->c_str(), "");
11640|      0|        break;
11641|      9|    }
11642|      9|}
_ZN7glslang13TParseContext19blockQualifierCheckERKNS_10TSourceLocERKNS_10TQualifierEb:
11646|      9|{
11647|       |    // The 4.5 specification says:
11648|       |    //
11649|       |    // interface-block :
11650|       |    //    layout-qualifieropt interface-qualifier  block-name { member-list } instance-nameopt ;
11651|       |    //
11652|       |    // interface-qualifier :
11653|       |    //    in
11654|       |    //    out
11655|       |    //    patch in
11656|       |    //    patch out
11657|       |    //    uniform
11658|       |    //    buffer
11659|       |    //
11660|       |    // Note however memory qualifiers aren't included, yet the specification also says
11661|       |    //
11662|       |    // "...memory qualifiers may also be used in the declaration of shader storage blocks..."
11663|       |
11664|      9|    if (qualifier.isInterpolation())
  ------------------
  |  Branch (11664:9): [True: 0, False: 9]
  ------------------
11665|      0|        error(loc, "cannot use interpolation qualifiers on an interface block", "flat/smooth/noperspective", "");
11666|      9|    if (qualifier.centroid)
  ------------------
  |  Branch (11666:9): [True: 0, False: 9]
  ------------------
11667|      0|        error(loc, "cannot use centroid qualifier on an interface block", "centroid", "");
11668|      9|    if (qualifier.isSample())
  ------------------
  |  Branch (11668:9): [True: 0, False: 9]
  ------------------
11669|      0|        error(loc, "cannot use sample qualifier on an interface block", "sample", "");
11670|      9|    if (qualifier.invariant)
  ------------------
  |  Branch (11670:9): [True: 0, False: 9]
  ------------------
11671|      0|        error(loc, "cannot use invariant qualifier on an interface block", "invariant", "");
11672|      9|    if (qualifier.isPushConstant())
  ------------------
  |  Branch (11672:9): [True: 0, False: 9]
  ------------------
11673|      0|        intermediate.addPushConstantCount();
11674|      9|    if (qualifier.isShaderRecord())
  ------------------
  |  Branch (11674:9): [True: 0, False: 9]
  ------------------
11675|      0|        intermediate.addShaderRecordCount();
11676|      9|    if (qualifier.isTaskMemory())
  ------------------
  |  Branch (11676:9): [True: 0, False: 9]
  ------------------
11677|      0|        intermediate.addTaskNVCount();
11678|      9|    if (qualifier.isBufferType()) {
  ------------------
  |  Branch (11678:9): [True: 0, False: 9]
  ------------------
11679|      0|        if (qualifier.storage != EvqUniform && qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (11679:13): [True: 0, False: 0]
  |  Branch (11679:48): [True: 0, False: 0]
  ------------------
11680|      0|            error(loc, "can only be used with uniform or buffer", "buffer_type", "");
11681|      0|        if (instanceName)
  ------------------
  |  Branch (11681:13): [True: 0, False: 0]
  ------------------
11682|      0|            error(loc, "cannot have an instance name", "buffer_type", "");
11683|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (11683:13): [True: 0, False: 0]
  ------------------
11684|      0|            error(loc, "cannot be used with buffer_type", "set", "");
11685|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (11685:13): [True: 0, False: 0]
  ------------------
11686|      0|            error(loc, "cannot be used with buffer_type", "binding", "");
11687|      0|    }
11688|      9|}
_ZN7glslang13TParseContext17fixBlockLocationsERKNS_10TSourceLocERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEEbb:
11698|      9|{
11699|       |    // "If a block has no block-level location layout qualifier, it is required that either all or none of its members
11700|       |    // have a location layout qualifier, or a compile-time error results."
11701|      9|    if (! qualifier.hasLocation() && memberWithLocation && memberWithoutLocation)
  ------------------
  |  Branch (11701:9): [True: 9, False: 0]
  |  Branch (11701:38): [True: 0, False: 9]
  |  Branch (11701:60): [True: 0, False: 0]
  ------------------
11702|      0|        error(loc, "either the block needs a location, or all members need a location, or no members have a location", "location", "");
11703|      9|    else {
11704|      9|        if (memberWithLocation) {
  ------------------
  |  Branch (11704:13): [True: 0, False: 9]
  ------------------
11705|       |            // remove any block-level location and make it per *every* member
11706|      0|            int nextLocation = 0;  // by the rule above, initial value is not relevant
11707|      0|            if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (11707:17): [True: 0, False: 0]
  ------------------
11708|      0|                nextLocation = qualifier.layoutLocation;
11709|      0|                qualifier.layoutLocation = TQualifier::layoutLocationEnd;
11710|      0|                if (qualifier.hasComponent()) {
  ------------------
  |  Branch (11710:21): [True: 0, False: 0]
  ------------------
11711|       |                    // "It is a compile-time error to apply the *component* qualifier to a ... block"
11712|      0|                    error(loc, "cannot apply to a block", "component", "");
11713|      0|                }
11714|      0|                if (qualifier.hasIndex()) {
  ------------------
  |  Branch (11714:21): [True: 0, False: 0]
  ------------------
11715|      0|                    error(loc, "cannot apply to a block", "index", "");
11716|      0|                }
11717|      0|            }
11718|      0|            for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11718:43): [True: 0, False: 0]
  ------------------
11719|      0|                TQualifier& memberQualifier = typeList[member].type->getQualifier();
11720|      0|                const TSourceLoc& memberLoc = typeList[member].loc;
11721|      0|                if (! memberQualifier.hasLocation()) {
  ------------------
  |  Branch (11721:21): [True: 0, False: 0]
  ------------------
11722|      0|                    if (nextLocation >= (int)TQualifier::layoutLocationEnd)
  ------------------
  |  Branch (11722:25): [True: 0, False: 0]
  ------------------
11723|      0|                        error(memberLoc, "location is too large", "location", "");
11724|      0|                    memberQualifier.layoutLocation = nextLocation;
11725|      0|                    memberQualifier.layoutComponent = TQualifier::layoutComponentEnd;
11726|      0|                }
11727|      0|                nextLocation = memberQualifier.layoutLocation + intermediate.computeTypeLocationSize(
11728|      0|                                    *typeList[member].type, language);
11729|      0|            }
11730|      0|        }
11731|      9|    }
11732|      9|}
_ZN7glslang13TParseContext13fixXfbOffsetsERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEE:
11735|      9|{
11736|       |    // "If a block is qualified with xfb_offset, all its
11737|       |    // members are assigned transform feedback buffer offsets. If a block is not qualified with xfb_offset, any
11738|       |    // members of that block not qualified with an xfb_offset will not be assigned transform feedback buffer
11739|       |    // offsets."
11740|       |
11741|      9|    if (! qualifier.hasXfbBuffer() || ! qualifier.hasXfbOffset())
  ------------------
  |  Branch (11741:9): [True: 9, False: 0]
  |  Branch (11741:39): [True: 0, False: 0]
  ------------------
11742|      9|        return;
11743|       |
11744|      0|    int nextOffset = qualifier.layoutXfbOffset;
11745|      0|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11745:35): [True: 0, False: 0]
  ------------------
11746|      0|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
11747|      0|        bool contains64BitType = false;
11748|      0|        bool contains32BitType = false;
11749|      0|        bool contains16BitType = false;
11750|      0|        int memberSize = intermediate.computeTypeXfbSize(*typeList[member].type, contains64BitType, contains32BitType, contains16BitType);
11751|       |        // see if we need to auto-assign an offset to this member
11752|      0|        if (! memberQualifier.hasXfbOffset()) {
  ------------------
  |  Branch (11752:13): [True: 0, False: 0]
  ------------------
11753|       |            // "if applied to an aggregate containing a double or 64-bit integer, the offset must also be a multiple of 8"
11754|      0|            if (contains64BitType)
  ------------------
  |  Branch (11754:17): [True: 0, False: 0]
  ------------------
11755|      0|                RoundToPow2(nextOffset, 8);
11756|      0|            else if (contains32BitType)
  ------------------
  |  Branch (11756:22): [True: 0, False: 0]
  ------------------
11757|      0|                RoundToPow2(nextOffset, 4);
11758|      0|            else if (contains16BitType)
  ------------------
  |  Branch (11758:22): [True: 0, False: 0]
  ------------------
11759|      0|                RoundToPow2(nextOffset, 2);
11760|      0|            memberQualifier.layoutXfbOffset = nextOffset;
11761|      0|        } else
11762|      0|            nextOffset = memberQualifier.layoutXfbOffset;
11763|      0|        nextOffset += memberSize;
11764|      0|    }
11765|       |
11766|       |    // The above gave all block members an offset, so we can take it off the block now,
11767|       |    // which will avoid double counting the offset usage.
11768|      0|    qualifier.layoutXfbOffset = TQualifier::layoutXfbOffsetEnd;
11769|      0|}
_ZN7glslang13TParseContext22fixBlockUniformOffsetsERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEE:
11778|      9|{
11779|      9|    if (!storageCanHaveLayoutInBlock(qualifier.storage) && !qualifier.isTaskMemory())
  ------------------
  |  Branch (11779:9): [True: 9, False: 0]
  |  Branch (11779:60): [True: 9, False: 0]
  ------------------
11780|      9|        return;
11781|      0|    if (qualifier.layoutPacking != ElpStd140 && qualifier.layoutPacking != ElpStd430 && qualifier.layoutPacking != ElpScalar)
  ------------------
  |  Branch (11781:9): [True: 0, False: 0]
  |  Branch (11781:49): [True: 0, False: 0]
  |  Branch (11781:89): [True: 0, False: 0]
  ------------------
11782|      0|        return;
11783|       |
11784|      0|    int offset = 0;
11785|      0|    int memberSize;
11786|      0|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11786:35): [True: 0, False: 0]
  ------------------
11787|      0|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
11788|      0|        const TSourceLoc& memberLoc = typeList[member].loc;
11789|       |
11790|       |        // "When align is applied to an array, it effects only the start of the array, not the array's internal stride."
11791|       |
11792|       |        // modify just the children's view of matrix layout, if there is one for this member
11793|      0|        TLayoutMatrix subMatrixLayout = typeList[member].type->getQualifier().layoutMatrix;
11794|      0|        int dummyStride;
11795|      0|        int memberAlignment = intermediate.getMemberAlignment(*typeList[member].type, memberSize, dummyStride, qualifier.layoutPacking,
11796|      0|                                                              subMatrixLayout != ElmNone ? subMatrixLayout == ElmRowMajor : qualifier.layoutMatrix == ElmRowMajor);
  ------------------
  |  Branch (11796:63): [True: 0, False: 0]
  ------------------
11797|      0|        if (memberQualifier.hasOffset()) {
  ------------------
  |  Branch (11797:13): [True: 0, False: 0]
  ------------------
11798|       |            // "The specified offset must be a multiple
11799|       |            // of the base alignment of the type of the block member it qualifies, or a compile-time error results."
11800|      0|            if (! IsMultipleOfPow2(memberQualifier.layoutOffset, memberAlignment))
  ------------------
  |  Branch (11800:17): [True: 0, False: 0]
  ------------------
11801|      0|                error(memberLoc, "must be a multiple of the member's alignment", "offset",
11802|      0|                    "(layout offset = %d | member alignment = %d)", memberQualifier.layoutOffset, memberAlignment);
11803|       |
11804|       |            // GLSL: "It is a compile-time error to specify an offset that is smaller than the offset of the previous
11805|       |            // member in the block or that lies within the previous member of the block"
11806|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (11806:17): [True: 0, False: 0]
  ------------------
11807|      0|                if (memberQualifier.layoutOffset < offset)
  ------------------
  |  Branch (11807:21): [True: 0, False: 0]
  ------------------
11808|      0|                    error(memberLoc, "cannot lie in previous members", "offset", "");
11809|       |
11810|       |                // "The offset qualifier forces the qualified member to start at or after the specified
11811|       |                // integral-constant expression, which will be its byte offset from the beginning of the buffer.
11812|       |                // "The actual offset of a member is computed as
11813|       |                // follows: If offset was declared, start with that offset, otherwise start with the next available offset."
11814|      0|                offset = std::max(offset, memberQualifier.layoutOffset);
11815|      0|            } else {
11816|       |                // TODO: Vulkan: "It is a compile-time error to have any offset, explicit or assigned,
11817|       |                // that lies within another member of the block."
11818|       |
11819|      0|                offset = memberQualifier.layoutOffset;
11820|      0|            }
11821|      0|        }
11822|       |
11823|       |        // "The actual alignment of a member will be the greater of the specified align alignment and the standard
11824|       |        // (e.g., std140) base alignment for the member's type."
11825|      0|        if (memberQualifier.hasAlign())
  ------------------
  |  Branch (11825:13): [True: 0, False: 0]
  ------------------
11826|      0|            memberAlignment = std::max(memberAlignment, memberQualifier.layoutAlign);
11827|       |
11828|       |        // "If the resulting offset is not a multiple of the actual alignment,
11829|       |        // increase it to the first offset that is a multiple of
11830|       |        // the actual alignment."
11831|      0|        RoundToPow2(offset, memberAlignment);
11832|      0|        typeList[member].type->getQualifier().layoutOffset = offset;
11833|      0|        offset += memberSize;
11834|      0|    }
11835|      0|}
_ZN7glslang13TParseContext27fixBlockUniformLayoutMatrixERNS_10TQualifierEPNS_7TVectorINS_8TTypeLocEEES6_:
11843|      9|{
11844|      9|    assert(tmpTypeList == nullptr || originTypeList->size() == tmpTypeList->size());
11845|     58|    for (unsigned int member = 0; member < originTypeList->size(); ++member) {
  ------------------
  |  Branch (11845:35): [True: 49, False: 9]
  ------------------
11846|     49|        if (qualifier.layoutPacking != ElpNone) {
  ------------------
  |  Branch (11846:13): [True: 0, False: 49]
  ------------------
11847|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11847:17): [True: 0, False: 0]
  ------------------
11848|      0|                if (((*originTypeList)[member].type->isMatrix() ||
  ------------------
  |  Branch (11848:22): [True: 0, False: 0]
  ------------------
11849|      0|                     (*originTypeList)[member].type->getBasicType() == EbtStruct) &&
  ------------------
  |  Branch (11849:22): [True: 0, False: 0]
  ------------------
11850|      0|                    (*originTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11850:21): [True: 0, False: 0]
  ------------------
11851|      0|                    (*originTypeList)[member].type->getQualifier().layoutMatrix = qualifier.layoutMatrix;
11852|      0|                }
11853|      0|            } else {
11854|      0|                if (((*tmpTypeList)[member].type->isMatrix() ||
  ------------------
  |  Branch (11854:22): [True: 0, False: 0]
  ------------------
11855|      0|                     (*tmpTypeList)[member].type->getBasicType() == EbtStruct) &&
  ------------------
  |  Branch (11855:22): [True: 0, False: 0]
  ------------------
11856|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11856:21): [True: 0, False: 0]
  ------------------
11857|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutMatrix = qualifier.layoutMatrix;
11858|      0|                }
11859|      0|            }
11860|      0|        }
11861|       |
11862|     49|        if ((*originTypeList)[member].type->getBasicType() == EbtStruct) {
  ------------------
  |  Branch (11862:13): [True: 0, False: 49]
  ------------------
11863|      0|            TQualifier* memberQualifier = nullptr;
11864|       |            // block member can be declare a matrix style, so it should be update to the member's style
11865|      0|            if ((*originTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11865:17): [True: 0, False: 0]
  ------------------
11866|      0|                memberQualifier = &qualifier;
11867|      0|            } else {
11868|      0|                memberQualifier = &((*originTypeList)[member].type->getQualifier());
11869|      0|            }
11870|       |
11871|      0|            const TType* tmpType = tmpTypeList == nullptr ?
  ------------------
  |  Branch (11871:36): [True: 0, False: 0]
  ------------------
11872|      0|                (*originTypeList)[member].type->clone() : (*tmpTypeList)[member].type;
11873|       |
11874|      0|            fixBlockUniformLayoutMatrix(*memberQualifier, (*originTypeList)[member].type->getWritableStruct(),
11875|      0|                                        tmpType->getWritableStruct());
11876|       |
11877|      0|            const TTypeList* structure = recordStructCopy(matrixFixRecord, (*originTypeList)[member].type, tmpType);
11878|       |
11879|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11879:17): [True: 0, False: 0]
  ------------------
11880|      0|                (*originTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11881|      0|            }
11882|      0|            if (tmpTypeList != nullptr) {
  ------------------
  |  Branch (11882:17): [True: 0, False: 0]
  ------------------
11883|      0|                (*tmpTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11884|      0|            }
11885|      0|        }
11886|     49|    }
11887|      9|}
_ZN7glslang13TParseContext28fixBlockUniformLayoutPackingERNS_10TQualifierEPNS_7TVectorINS_8TTypeLocEEES6_:
11895|      9|{
11896|      9|    assert(tmpTypeList == nullptr || originTypeList->size() == tmpTypeList->size());
11897|     58|    for (unsigned int member = 0; member < originTypeList->size(); ++member) {
  ------------------
  |  Branch (11897:35): [True: 49, False: 9]
  ------------------
11898|     49|        if (qualifier.layoutPacking != ElpNone) {
  ------------------
  |  Branch (11898:13): [True: 0, False: 49]
  ------------------
11899|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11899:17): [True: 0, False: 0]
  ------------------
11900|      0|                if ((*originTypeList)[member].type->getQualifier().layoutPacking == ElpNone &&
  ------------------
  |  Branch (11900:21): [True: 0, False: 0]
  ------------------
11901|      0|                    !(*originTypeList)[member].type->isScalarOrVector()) {
  ------------------
  |  Branch (11901:21): [True: 0, False: 0]
  ------------------
11902|      0|                    (*originTypeList)[member].type->getQualifier().layoutPacking = qualifier.layoutPacking;
11903|      0|                }
11904|      0|            } else {
11905|      0|                if ((*tmpTypeList)[member].type->getQualifier().layoutPacking == ElpNone &&
  ------------------
  |  Branch (11905:21): [True: 0, False: 0]
  ------------------
11906|      0|                    !(*tmpTypeList)[member].type->isScalarOrVector()) {
  ------------------
  |  Branch (11906:21): [True: 0, False: 0]
  ------------------
11907|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutPacking = qualifier.layoutPacking;
11908|      0|                }
11909|      0|            }
11910|      0|        }
11911|       |
11912|     49|        if ((*originTypeList)[member].type->getBasicType() == EbtStruct) {
  ------------------
  |  Branch (11912:13): [True: 0, False: 49]
  ------------------
11913|       |            // Deep copy the type in pool.
11914|       |            // Because, struct use in different block may have different layout qualifier.
11915|       |            // We have to new a object to distinguish between them.
11916|      0|            const TType* tmpType = tmpTypeList == nullptr ?
  ------------------
  |  Branch (11916:36): [True: 0, False: 0]
  ------------------
11917|      0|                (*originTypeList)[member].type->clone() : (*tmpTypeList)[member].type;
11918|       |
11919|      0|            fixBlockUniformLayoutPacking(qualifier, (*originTypeList)[member].type->getWritableStruct(),
11920|      0|                                         tmpType->getWritableStruct());
11921|       |
11922|      0|            const TTypeList* structure = recordStructCopy(packingFixRecord, (*originTypeList)[member].type, tmpType);
11923|       |
11924|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11924:17): [True: 0, False: 0]
  ------------------
11925|      0|                (*originTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11926|      0|            }
11927|      0|            if (tmpTypeList != nullptr) {
  ------------------
  |  Branch (11927:17): [True: 0, False: 0]
  ------------------
11928|      0|                (*tmpTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11929|      0|            }
11930|      0|        }
11931|     49|    }
11932|      9|}
_ZN7glslang13TParseContext14invariantCheckERKNS_10TSourceLocERKNS_10TQualifierE:
12021|  2.25k|{
12022|  2.25k|    if (! qualifier.invariant)
  ------------------
  |  Branch (12022:9): [True: 2.25k, False: 0]
  ------------------
12023|  2.25k|        return;
12024|       |
12025|      0|    bool pipeOut = qualifier.isPipeOutput();
12026|      0|    bool pipeIn = qualifier.isPipeInput();
12027|      0|    if ((version >= 300 && isEsProfile()) || (!isEsProfile() && version >= 420)) {
  ------------------
  |  Branch (12027:10): [True: 0, False: 0]
  |  Branch (12027:28): [True: 0, False: 0]
  |  Branch (12027:47): [True: 0, False: 0]
  |  Branch (12027:65): [True: 0, False: 0]
  ------------------
12028|      0|        if (! pipeOut)
  ------------------
  |  Branch (12028:13): [True: 0, False: 0]
  ------------------
12029|      0|            error(loc, "can only apply to an output", "invariant", "");
12030|      0|    } else {
12031|      0|        if ((language == EShLangVertex && pipeIn) || (! pipeOut && ! pipeIn))
  ------------------
  |  Branch (12031:14): [True: 0, False: 0]
  |  Branch (12031:43): [True: 0, False: 0]
  |  Branch (12031:55): [True: 0, False: 0]
  |  Branch (12031:68): [True: 0, False: 0]
  ------------------
12032|      0|            error(loc, "can only apply to an output, or to an input in a non-vertex stage\n", "invariant", "");
12033|      0|    }
12034|      0|}
ParseHelper.cpp:_ZN7glslangL27storageCanHaveLayoutInBlockENS_17TStorageQualifierE:
 8633|      9|{
 8634|      9|    switch (storage) {
 8635|      0|    case EvqUniform:
  ------------------
  |  Branch (8635:5): [True: 0, False: 9]
  ------------------
 8636|      0|    case EvqBuffer:
  ------------------
  |  Branch (8636:5): [True: 0, False: 9]
  ------------------
 8637|      0|    case EvqShared:
  ------------------
  |  Branch (8637:5): [True: 0, False: 9]
  ------------------
 8638|      0|    case EvqSamplerHeap:
  ------------------
  |  Branch (8638:5): [True: 0, False: 9]
  ------------------
 8639|      0|    case EvqResourceHeap:
  ------------------
  |  Branch (8639:5): [True: 0, False: 9]
  ------------------
 8640|      0|        return true;
 8641|      9|    default:
  ------------------
  |  Branch (8641:5): [True: 9, False: 0]
  ------------------
 8642|      9|        return false;
 8643|      9|    }
 8644|      9|}
ParseHelper.cpp:_ZN7glslangL30isResourceHeapBufferTypeMemberERKNS_10TQualifierES2_:
11199|     98|{
11200|     98|    return blockQualifier.storage == EvqResourceHeap && memberQualifier.isBufferType();
  ------------------
  |  Branch (11200:12): [True: 0, False: 98]
  |  Branch (11200:57): [True: 0, False: 0]
  ------------------
11201|     98|}

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

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

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

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

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

_Z7yyparsePN7glslang13TParseContextE:
 5637|    231|{
 5638|       |/* Lookahead token kind.  */
 5639|    231|int yychar;
 5640|       |
 5641|       |
 5642|       |/* The semantic value of the lookahead symbol.  */
 5643|       |/* Default value used for initialization, for pacifying older GCCs
 5644|       |   or non-GCC compilers.  */
 5645|    231|YY_INITIAL_VALUE (static YYSTYPE yyval_default;)
  ------------------
  |  |  958|    231|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 5646|    231|YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default);
  ------------------
  |  |  958|    231|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 5647|       |
 5648|       |    /* Number of syntax errors so far.  */
 5649|    231|    int yynerrs = 0;
 5650|       |
 5651|    231|    yy_state_fast_t yystate = 0;
 5652|       |    /* Number of tokens to shift before error messages enabled.  */
 5653|    231|    int yyerrstatus = 0;
 5654|       |
 5655|       |    /* Refer to the stacks through separate pointers, to allow yyoverflow
 5656|       |       to reallocate them elsewhere.  */
 5657|       |
 5658|       |    /* Their size.  */
 5659|    231|    YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  |  865|    231|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
                  YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  | 5321|    231|# define YYINITDEPTH 200
  ------------------
 5660|       |
 5661|       |    /* The state stack: array, bottom, top.  */
 5662|    231|    yy_state_t yyssa[YYINITDEPTH];
 5663|    231|    yy_state_t *yyss = yyssa;
 5664|    231|    yy_state_t *yyssp = yyss;
 5665|       |
 5666|       |    /* The semantic value stack: array, bottom, top.  */
 5667|    231|    YYSTYPE yyvsa[YYINITDEPTH];
 5668|    231|    YYSTYPE *yyvs = yyvsa;
 5669|    231|    YYSTYPE *yyvsp = yyvs;
 5670|       |
 5671|    231|  int yyn;
 5672|       |  /* The return value of yyparse.  */
 5673|    231|  int yyresult;
 5674|       |  /* Lookahead symbol kind.  */
 5675|    231|  yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY;
 5676|       |  /* The variables used to return semantic value and location from the
 5677|       |     action routines.  */
 5678|    231|  YYSTYPE yyval;
 5679|       |
 5680|       |  /* Buffer for error messages, and its allocated size.  */
 5681|    231|  char yymsgbuf[128];
 5682|    231|  char *yymsg = yymsgbuf;
 5683|    231|  YYPTRDIFF_T yymsg_alloc = sizeof yymsgbuf;
  ------------------
  |  |  865|    231|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5684|       |
 5685|    231|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
 5686|       |
 5687|       |  /* The number of symbols on the RHS of the reduced rule.
 5688|       |     Keep to zero when no symbol should be popped.  */
 5689|    231|  int yylen = 0;
 5690|       |
 5691|    231|  YYDPRINTF ((stderr, "Starting parse\n"));
  ------------------
  |  | 5199|    231|# define YYDPRINTF(Args)                        \
  |  | 5200|    231|do {                                            \
  |  | 5201|    231|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 231]
  |  |  ------------------
  |  | 5202|    231|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|    231|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 231]
  |  |  ------------------
  ------------------
 5692|       |
 5693|    231|  yychar = YYEMPTY; /* Cause a token to be read.  */
 5694|       |
 5695|    231|  goto yysetstate;
 5696|       |
 5697|       |
 5698|       |/*------------------------------------------------------------.
 5699|       || yynewstate -- push a new state, which is found in yystate.  |
 5700|       |`------------------------------------------------------------*/
 5701|  1.06M|yynewstate:
 5702|       |  /* In all cases, when you get here, the value and location stacks
 5703|       |     have just been pushed.  So pushing a state here evens the stacks.  */
 5704|  1.06M|  yyssp++;
 5705|       |
 5706|       |
 5707|       |/*--------------------------------------------------------------------.
 5708|       || yysetstate -- set current state (the top of the stack) to yystate.  |
 5709|       |`--------------------------------------------------------------------*/
 5710|  1.06M|yysetstate:
 5711|  1.06M|  YYDPRINTF ((stderr, "Entering state %d\n", yystate));
  ------------------
  |  | 5199|  1.06M|# define YYDPRINTF(Args)                        \
  |  | 5200|  1.06M|do {                                            \
  |  | 5201|  1.06M|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 1.06M]
  |  |  ------------------
  |  | 5202|  1.06M|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|  1.06M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 1.06M]
  |  |  ------------------
  ------------------
 5712|  1.06M|  YY_ASSERT (0 <= yystate && yystate < YYNSTATES);
  ------------------
  |  |  981|  1.06M|#define YY_ASSERT(E) ((void) (0 && (E)))
  |  |  ------------------
  |  |  |  Branch (981:31): [Folded, False: 1.06M]
  |  |  |  Branch (981:37): [True: 0, False: 0]
  |  |  |  Branch (981:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5713|  1.06M|  YY_IGNORE_USELESS_CAST_BEGIN
 5714|  1.06M|  *yyssp = YY_CAST (yy_state_t, yystate);
  ------------------
  |  |  100|  1.06M|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5715|  1.06M|  YY_IGNORE_USELESS_CAST_END
 5716|  1.06M|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5271|  1.06M|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5272|  1.06M|do {                                                            \
  |  | 5273|  1.06M|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5273:7): [True: 0, False: 1.06M]
  |  |  ------------------
  |  | 5274|  1.06M|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5275|  1.06M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5275:10): [Folded, False: 1.06M]
  |  |  ------------------
  ------------------
 5717|       |
 5718|  1.06M|  if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (5718:7): [True: 0, False: 1.06M]
  ------------------
 5719|       |#if !defined yyoverflow && !defined YYSTACK_RELOCATE
 5720|       |    YYNOMEM;
 5721|       |#else
 5722|      0|    {
 5723|       |      /* Get the current used size of the three stacks, in elements.  */
 5724|      0|      YYPTRDIFF_T yysize = yyssp - yyss + 1;
  ------------------
  |  |  865|      0|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5725|       |
 5726|       |# if defined yyoverflow
 5727|       |      {
 5728|       |        /* Give user a chance to reallocate the stack.  Use copies of
 5729|       |           these so that the &'s don't force the real ones into
 5730|       |           memory.  */
 5731|       |        yy_state_t *yyss1 = yyss;
 5732|       |        YYSTYPE *yyvs1 = yyvs;
 5733|       |
 5734|       |        /* Each stack pointer address is followed by the size of the
 5735|       |           data in use in that stack, in bytes.  This used to be a
 5736|       |           conditional around just the two extra args, but that might
 5737|       |           be undefined if yyoverflow is a macro.  */
 5738|       |        yyoverflow (YY_("memory exhausted"),
 5739|       |                    &yyss1, yysize * YYSIZEOF (*yyssp),
 5740|       |                    &yyvs1, yysize * YYSIZEOF (*yyvsp),
 5741|       |                    &yystacksize);
 5742|       |        yyss = yyss1;
 5743|       |        yyvs = yyvs1;
 5744|       |      }
 5745|       |# else /* defined YYSTACK_RELOCATE */
 5746|       |      /* Extend the stack our own way.  */
 5747|      0|      if (YYMAXDEPTH <= yystacksize)
  ------------------
  |  | 5332|      0|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (5747:11): [True: 0, False: 0]
  ------------------
 5748|      0|        YYNOMEM;
  ------------------
  |  | 5164|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 5749|      0|      yystacksize *= 2;
 5750|      0|      if (YYMAXDEPTH < yystacksize)
  ------------------
  |  | 5332|      0|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (5750:11): [True: 0, False: 0]
  ------------------
 5751|      0|        yystacksize = YYMAXDEPTH;
  ------------------
  |  | 5332|      0|# define YYMAXDEPTH 10000
  ------------------
 5752|       |
 5753|      0|      {
 5754|      0|        yy_state_t *yyss1 = yyss;
 5755|      0|        union yyalloc *yyptr =
 5756|      0|          YY_CAST (union yyalloc *,
  ------------------
  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5757|      0|                   YYSTACK_ALLOC (YY_CAST (YYSIZE_T, YYSTACK_BYTES (yystacksize))));
 5758|      0|        if (! yyptr)
  ------------------
  |  Branch (5758:13): [True: 0, False: 0]
  ------------------
 5759|      0|          YYNOMEM;
  ------------------
  |  | 5164|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 5760|      0|        YYSTACK_RELOCATE (yyss_alloc, yyss);
  ------------------
  |  | 1078|      0|    do                                                                  \
  |  | 1079|      0|      {                                                                 \
  |  | 1080|      0|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  865|      0|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  | 1081|      0|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  | 1096|      0|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1082|      0|        Stack = &yyptr->Stack_alloc;                                    \
  |  | 1083|      0|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  898|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  | 1062|      0|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  898|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1084|      0|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  898|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1085|      0|      }                                                                 \
  |  | 1086|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (1086:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5761|      0|        YYSTACK_RELOCATE (yyvs_alloc, yyvs);
  ------------------
  |  | 1078|      0|    do                                                                  \
  |  | 1079|      0|      {                                                                 \
  |  | 1080|      0|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  865|      0|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  | 1081|      0|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  | 1096|      0|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1082|      0|        Stack = &yyptr->Stack_alloc;                                    \
  |  | 1083|      0|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  898|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  | 1062|      0|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  898|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1084|      0|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  898|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1085|      0|      }                                                                 \
  |  | 1086|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (1086:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5762|      0|#  undef YYSTACK_RELOCATE
 5763|      0|        if (yyss1 != yyssa)
  ------------------
  |  Branch (5763:13): [True: 0, False: 0]
  ------------------
 5764|      0|          YYSTACK_FREE (yyss1);
  ------------------
  |  | 1023|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1042|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
 5765|      0|      }
 5766|      0|# endif
 5767|       |
 5768|      0|      yyssp = yyss + yysize - 1;
 5769|      0|      yyvsp = yyvs + yysize - 1;
 5770|       |
 5771|      0|      YY_IGNORE_USELESS_CAST_BEGIN
 5772|      0|      YYDPRINTF ((stderr, "Stack size increased to %ld\n",
  ------------------
  |  | 5199|      0|# define YYDPRINTF(Args)                        \
  |  | 5200|      0|do {                                            \
  |  | 5201|      0|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 5202|      0|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5773|      0|                  YY_CAST (long, yystacksize)));
 5774|      0|      YY_IGNORE_USELESS_CAST_END
 5775|       |
 5776|      0|      if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (5776:11): [True: 0, False: 0]
  ------------------
 5777|      0|        YYABORT;
  ------------------
  |  | 5162|      0|#define YYABORT         goto yyabortlab
  ------------------
 5778|      0|    }
 5779|  1.06M|#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */
 5780|       |
 5781|       |
 5782|  1.06M|  if (yystate == YYFINAL)
  ------------------
  |  | 1111|  1.06M|#define YYFINAL  496
  ------------------
  |  Branch (5782:7): [True: 194, False: 1.06M]
  ------------------
 5783|    194|    YYACCEPT;
  ------------------
  |  | 5161|    194|#define YYACCEPT        goto yyacceptlab
  ------------------
 5784|       |
 5785|  1.06M|  goto yybackup;
 5786|       |
 5787|       |
 5788|       |/*-----------.
 5789|       || yybackup.  |
 5790|       |`-----------*/
 5791|  1.06M|yybackup:
 5792|       |  /* Do appropriate processing given the current state.  Read a
 5793|       |     lookahead token if we need one and don't already have one.  */
 5794|       |
 5795|       |  /* First try to decide what to do without reference to lookahead token.  */
 5796|  1.06M|  yyn = yypact[yystate];
 5797|  1.06M|  if (yypact_value_is_default (yyn))
  ------------------
  |  | 1490|  1.06M|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1487|  1.06M|#define YYPACT_NINF (-901)
  |  |  ------------------
  |  |  |  Branch (1490:3): [True: 439k, False: 630k]
  |  |  ------------------
  ------------------
 5798|   439k|    goto yydefault;
 5799|       |
 5800|       |  /* Not known => get a lookahead token if don't already have one.  */
 5801|       |
 5802|       |  /* YYCHAR is either empty, or end-of-input, or a valid lookahead.  */
 5803|   630k|  if (yychar == YYEMPTY)
  ------------------
  |  Branch (5803:7): [True: 289k, False: 340k]
  ------------------
 5804|   289k|    {
 5805|   289k|      YYDPRINTF ((stderr, "Reading a token\n"));
  ------------------
  |  | 5199|   289k|# define YYDPRINTF(Args)                        \
  |  | 5200|   289k|do {                                            \
  |  | 5201|   289k|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 289k]
  |  |  ------------------
  |  | 5202|   289k|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|   289k|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 289k]
  |  |  ------------------
  ------------------
 5806|   289k|      yychar = yylex (&yylval, parseContext);
  ------------------
  |  |  783|   289k|#define parseContext (*pParseContext)
  ------------------
 5807|   289k|    }
 5808|       |
 5809|   630k|  if (yychar <= YYEOF)
  ------------------
  |  Branch (5809:7): [True: 226, False: 630k]
  ------------------
 5810|    226|    {
 5811|    226|      yychar = YYEOF;
 5812|    226|      yytoken = YYSYMBOL_YYEOF;
 5813|    226|      YYDPRINTF ((stderr, "Now at end of input.\n"));
  ------------------
  |  | 5199|    226|# define YYDPRINTF(Args)                        \
  |  | 5200|    226|do {                                            \
  |  | 5201|    226|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 226]
  |  |  ------------------
  |  | 5202|    226|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|    226|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 226]
  |  |  ------------------
  ------------------
 5814|    226|    }
 5815|   630k|  else if (yychar == YYerror)
  ------------------
  |  Branch (5815:12): [True: 0, False: 630k]
  ------------------
 5816|      0|    {
 5817|       |      /* The scanner already issued an error message, process directly
 5818|       |         to error recovery.  But do not keep the error token as
 5819|       |         lookahead, it is too special and may lead us to an endless
 5820|       |         loop in error recovery. */
 5821|      0|      yychar = YYUNDEF;
 5822|      0|      yytoken = YYSYMBOL_YYerror;
 5823|      0|      goto yyerrlab1;
 5824|      0|    }
 5825|   630k|  else
 5826|   630k|    {
 5827|   630k|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  | 1131|   630k|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1125|   630k|#define YYMAXUTOK   769
  |  |  ------------------
  |  |  |  Branch (1131:4): [True: 630k, False: 0]
  |  |  |  Branch (1131:18): [True: 630k, False: 0]
  |  |  ------------------
  |  | 1132|   630k|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|   630k|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1133|   630k|   : YYSYMBOL_YYUNDEF)
  ------------------
 5828|   630k|      YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
  ------------------
  |  | 5208|   630k|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|   630k|do {                                                                      \
  |  | 5210|   630k|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 630k]
  |  |  ------------------
  |  | 5211|   630k|    {                                                                     \
  |  | 5212|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5213|      0|      yy_symbol_print (stderr,                                            \
  |  | 5214|      0|                  Kind, Value, pParseContext); \
  |  | 5215|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5216|      0|    }                                                                     \
  |  | 5217|   630k|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 630k]
  |  |  ------------------
  ------------------
 5829|   630k|    }
 5830|       |
 5831|       |  /* If the proper action on seeing token YYTOKEN is to reduce or to
 5832|       |     detect an error, take that action.  */
 5833|   630k|  yyn += yytoken;
 5834|   630k|  if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
  ------------------
  |  | 1113|   630k|#define YYLAST   15602
  ------------------
  |  Branch (5834:7): [True: 3, False: 630k]
  |  Branch (5834:18): [True: 0, False: 630k]
  |  Branch (5834:34): [True: 340k, False: 289k]
  ------------------
 5835|   340k|    goto yydefault;
 5836|   289k|  yyn = yytable[yyn];
 5837|   289k|  if (yyn <= 0)
  ------------------
  |  Branch (5837:7): [True: 0, False: 289k]
  ------------------
 5838|      0|    {
 5839|      0|      if (yytable_value_is_error (yyn))
  ------------------
  |  | 1495|      0|  0
  |  |  ------------------
  |  |  |  Branch (1495:3): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5840|      0|        goto yyerrlab;
 5841|      0|      yyn = -yyn;
 5842|      0|      goto yyreduce;
 5843|      0|    }
 5844|       |
 5845|       |  /* Count tokens shifted since error; after three, turn off error
 5846|       |     status.  */
 5847|   289k|  if (yyerrstatus)
  ------------------
  |  Branch (5847:7): [True: 0, False: 289k]
  ------------------
 5848|      0|    yyerrstatus--;
 5849|       |
 5850|       |  /* Shift the lookahead token.  */
 5851|   289k|  YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
  ------------------
  |  | 5208|   289k|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|   289k|do {                                                                      \
  |  | 5210|   289k|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 289k]
  |  |  ------------------
  |  | 5211|   289k|    {                                                                     \
  |  | 5212|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5213|      0|      yy_symbol_print (stderr,                                            \
  |  | 5214|      0|                  Kind, Value, pParseContext); \
  |  | 5215|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5216|      0|    }                                                                     \
  |  | 5217|   289k|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 289k]
  |  |  ------------------
  ------------------
 5852|   289k|  yystate = yyn;
 5853|   289k|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 5854|   289k|  *++yyvsp = yylval;
 5855|   289k|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 5856|       |
 5857|       |  /* Discard the shifted token.  */
 5858|   289k|  yychar = YYEMPTY;
 5859|   289k|  goto yynewstate;
 5860|       |
 5861|       |
 5862|       |/*-----------------------------------------------------------.
 5863|       || yydefault -- do the default action for the current state.  |
 5864|       |`-----------------------------------------------------------*/
 5865|   779k|yydefault:
 5866|   779k|  yyn = yydefact[yystate];
 5867|   779k|  if (yyn == 0)
  ------------------
  |  Branch (5867:7): [True: 37, False: 779k]
  ------------------
 5868|     37|    goto yyerrlab;
 5869|   779k|  goto yyreduce;
 5870|       |
 5871|       |
 5872|       |/*-----------------------------.
 5873|       || yyreduce -- do a reduction.  |
 5874|       |`-----------------------------*/
 5875|   779k|yyreduce:
 5876|       |  /* yyn is the number of a rule to reduce with.  */
 5877|   779k|  yylen = yyr2[yyn];
 5878|       |
 5879|       |  /* If YYLEN is nonzero, implement the default value of the action:
 5880|       |     '$$ = $1'.
 5881|       |
 5882|       |     Otherwise, the following line sets YYVAL to garbage.
 5883|       |     This behavior is undocumented and Bison
 5884|       |     users should not rely upon it.  Assigning to YYVAL
 5885|       |     unconditionally makes the parser a bit smaller, and it avoids a
 5886|       |     GCC warning that YYVAL may be used uninitialized.  */
 5887|   779k|  yyval = yyvsp[1-yylen];
 5888|       |
 5889|       |
 5890|   779k|  YY_REDUCE_PRINT (yyn);
  ------------------
  |  | 5302|   779k|# define YY_REDUCE_PRINT(Rule)          \
  |  | 5303|   779k|do {                                    \
  |  | 5304|   779k|  if (yydebug)                          \
  |  |  ------------------
  |  |  |  Branch (5304:7): [True: 0, False: 779k]
  |  |  ------------------
  |  | 5305|   779k|    yy_reduce_print (yyssp, yyvsp, Rule, pParseContext); \
  |  | 5306|   779k|} while (0)
  |  |  ------------------
  |  |  |  Branch (5306:10): [Folded, False: 779k]
  |  |  ------------------
  ------------------
 5891|   779k|  switch (yyn)
 5892|   779k|    {
 5893|      0|  case 2: /* variable_identifier: IDENTIFIER  */
  ------------------
  |  Branch (5893:3): [True: 0, False: 779k]
  ------------------
 5894|      0|#line 371 "MachineIndependent/glslang.y"
 5895|      0|                 {
 5896|      0|        (yyval.interm.intermTypedNode) = parseContext.handleVariable((yyvsp[0].lex).loc, (yyvsp[0].lex).symbol, (yyvsp[0].lex).string);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5897|      0|    }
 5898|      0|#line 5899 "MachineIndependent/glslang_tab.cpp"
 5899|      0|    break;
 5900|       |
 5901|      0|  case 3: /* primary_expression: variable_identifier  */
  ------------------
  |  Branch (5901:3): [True: 0, False: 779k]
  ------------------
 5902|      0|#line 377 "MachineIndependent/glslang.y"
 5903|      0|                          {
 5904|      0|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5905|      0|    }
 5906|      0|#line 5907 "MachineIndependent/glslang_tab.cpp"
 5907|      0|    break;
 5908|       |
 5909|      0|  case 4: /* primary_expression: LEFT_PAREN expression RIGHT_PAREN  */
  ------------------
  |  Branch (5909:3): [True: 0, False: 779k]
  ------------------
 5910|      0|#line 380 "MachineIndependent/glslang.y"
 5911|      0|                                        {
 5912|      0|        (yyval.interm.intermTypedNode) = (yyvsp[-1].interm.intermTypedNode);
 5913|      0|        if ((yyval.interm.intermTypedNode)->getAsConstantUnion())
  ------------------
  |  Branch (5913:13): [True: 0, False: 0]
  ------------------
 5914|      0|            (yyval.interm.intermTypedNode)->getAsConstantUnion()->setExpression();
 5915|      0|    }
 5916|      0|#line 5917 "MachineIndependent/glslang_tab.cpp"
 5917|      0|    break;
 5918|       |
 5919|      0|  case 5: /* primary_expression: FLOATCONSTANT  */
  ------------------
  |  Branch (5919:3): [True: 0, False: 779k]
  ------------------
 5920|      0|#line 385 "MachineIndependent/glslang.y"
 5921|      0|                    {
 5922|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5923|      0|    }
 5924|      0|#line 5925 "MachineIndependent/glslang_tab.cpp"
 5925|      0|    break;
 5926|       |
 5927|    639|  case 6: /* primary_expression: INTCONSTANT  */
  ------------------
  |  Branch (5927:3): [True: 639, False: 779k]
  ------------------
 5928|    639|#line 388 "MachineIndependent/glslang.y"
 5929|    639|                  {
 5930|    639|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|    639|#define parseContext (*pParseContext)
  ------------------
 5931|    639|    }
 5932|    639|#line 5933 "MachineIndependent/glslang_tab.cpp"
 5933|    639|    break;
 5934|       |
 5935|     60|  case 7: /* primary_expression: UINTCONSTANT  */
  ------------------
  |  Branch (5935:3): [True: 60, False: 779k]
  ------------------
 5936|     60|#line 391 "MachineIndependent/glslang.y"
 5937|     60|                   {
 5938|     60|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned literal");
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 5939|     60|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 5940|     60|    }
 5941|     60|#line 5942 "MachineIndependent/glslang_tab.cpp"
 5942|     60|    break;
 5943|       |
 5944|      0|  case 8: /* primary_expression: BOOLCONSTANT  */
  ------------------
  |  Branch (5944:3): [True: 0, False: 779k]
  ------------------
 5945|      0|#line 395 "MachineIndependent/glslang.y"
 5946|      0|                   {
 5947|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5948|      0|    }
 5949|      0|#line 5950 "MachineIndependent/glslang_tab.cpp"
 5950|      0|    break;
 5951|       |
 5952|      0|  case 9: /* primary_expression: STRING_LITERAL  */
  ------------------
  |  Branch (5952:3): [True: 0, False: 779k]
  ------------------
 5953|      0|#line 398 "MachineIndependent/glslang.y"
 5954|      0|                     {
 5955|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5956|      0|    }
 5957|      0|#line 5958 "MachineIndependent/glslang_tab.cpp"
 5958|      0|    break;
 5959|       |
 5960|      0|  case 10: /* primary_expression: INT32CONSTANT  */
  ------------------
  |  Branch (5960:3): [True: 0, False: 779k]
  ------------------
 5961|      0|#line 401 "MachineIndependent/glslang.y"
 5962|      0|                    {
 5963|      0|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5964|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5965|      0|    }
 5966|      0|#line 5967 "MachineIndependent/glslang_tab.cpp"
 5967|      0|    break;
 5968|       |
 5969|      0|  case 11: /* primary_expression: UINT32CONSTANT  */
  ------------------
  |  Branch (5969:3): [True: 0, False: 779k]
  ------------------
 5970|      0|#line 405 "MachineIndependent/glslang.y"
 5971|      0|                     {
 5972|      0|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5973|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5974|      0|    }
 5975|      0|#line 5976 "MachineIndependent/glslang_tab.cpp"
 5976|      0|    break;
 5977|       |
 5978|      0|  case 12: /* primary_expression: INT64CONSTANT  */
  ------------------
  |  Branch (5978:3): [True: 0, False: 779k]
  ------------------
 5979|      0|#line 409 "MachineIndependent/glslang.y"
 5980|      0|                    {
 5981|      0|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5982|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i64, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5983|      0|    }
 5984|      0|#line 5985 "MachineIndependent/glslang_tab.cpp"
 5985|      0|    break;
 5986|       |
 5987|      0|  case 13: /* primary_expression: UINT64CONSTANT  */
  ------------------
  |  Branch (5987:3): [True: 0, False: 779k]
  ------------------
 5988|      0|#line 413 "MachineIndependent/glslang.y"
 5989|      0|                     {
 5990|      0|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5991|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u64, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5992|      0|    }
 5993|      0|#line 5994 "MachineIndependent/glslang_tab.cpp"
 5994|      0|    break;
 5995|       |
 5996|      0|  case 14: /* primary_expression: INT16CONSTANT  */
  ------------------
  |  Branch (5996:3): [True: 0, False: 779k]
  ------------------
 5997|      0|#line 417 "MachineIndependent/glslang.y"
 5998|      0|                    {
 5999|      0|        parseContext.explicitInt16Check((yyvsp[0].lex).loc, "16-bit integer literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6000|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((short)(yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6001|      0|    }
 6002|      0|#line 6003 "MachineIndependent/glslang_tab.cpp"
 6003|      0|    break;
 6004|       |
 6005|      0|  case 15: /* primary_expression: UINT16CONSTANT  */
  ------------------
  |  Branch (6005:3): [True: 0, False: 779k]
  ------------------
 6006|      0|#line 421 "MachineIndependent/glslang.y"
 6007|      0|                     {
 6008|      0|        parseContext.explicitInt16Check((yyvsp[0].lex).loc, "16-bit unsigned integer literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6009|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((unsigned short)(yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6010|      0|    }
 6011|      0|#line 6012 "MachineIndependent/glslang_tab.cpp"
 6012|      0|    break;
 6013|       |
 6014|      0|  case 16: /* primary_expression: DOUBLECONSTANT  */
  ------------------
  |  Branch (6014:3): [True: 0, False: 779k]
  ------------------
 6015|      0|#line 425 "MachineIndependent/glslang.y"
 6016|      0|                     {
 6017|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6018|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6018:13): [True: 0, False: 0]
  ------------------
 6019|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6020|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtDouble, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6021|      0|    }
 6022|      0|#line 6023 "MachineIndependent/glslang_tab.cpp"
 6023|      0|    break;
 6024|       |
 6025|      0|  case 17: /* primary_expression: FLOAT16CONSTANT  */
  ------------------
  |  Branch (6025:3): [True: 0, False: 779k]
  ------------------
 6026|      0|#line 431 "MachineIndependent/glslang.y"
 6027|      0|                      {
 6028|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6029|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat16, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6030|      0|    }
 6031|      0|#line 6032 "MachineIndependent/glslang_tab.cpp"
 6032|      0|    break;
 6033|       |
 6034|      0|  case 18: /* primary_expression: FLOATE2M1CONSTANT  */
  ------------------
  |  Branch (6034:3): [True: 0, False: 779k]
  ------------------
 6035|      0|#line 435 "MachineIndependent/glslang.y"
 6036|      0|                        {
 6037|      0|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6038|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloatE2M1, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6039|      0|    }
 6040|      0|#line 6041 "MachineIndependent/glslang_tab.cpp"
 6041|      0|    break;
 6042|       |
 6043|      0|  case 19: /* primary_expression: FLOATE3M2CONSTANT  */
  ------------------
  |  Branch (6043:3): [True: 0, False: 779k]
  ------------------
 6044|      0|#line 439 "MachineIndependent/glslang.y"
 6045|      0|                        {
 6046|      0|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6047|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloatE3M2, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6048|      0|    }
 6049|      0|#line 6050 "MachineIndependent/glslang_tab.cpp"
 6050|      0|    break;
 6051|       |
 6052|      0|  case 20: /* primary_expression: FLOATE2M3CONSTANT  */
  ------------------
  |  Branch (6052:3): [True: 0, False: 779k]
  ------------------
 6053|      0|#line 443 "MachineIndependent/glslang.y"
 6054|      0|                        {
 6055|      0|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6056|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloatE2M3, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6057|      0|    }
 6058|      0|#line 6059 "MachineIndependent/glslang_tab.cpp"
 6059|      0|    break;
 6060|       |
 6061|      0|  case 21: /* primary_expression: FLOATUE8M0CONSTANT  */
  ------------------
  |  Branch (6061:3): [True: 0, False: 779k]
  ------------------
 6062|      0|#line 447 "MachineIndependent/glslang.y"
 6063|      0|                         {
 6064|      0|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6065|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloatUE8M0, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6066|      0|    }
 6067|      0|#line 6068 "MachineIndependent/glslang_tab.cpp"
 6068|      0|    break;
 6069|       |
 6070|      0|  case 22: /* primary_expression: FLOATMXINT8CONSTANT  */
  ------------------
  |  Branch (6070:3): [True: 0, False: 779k]
  ------------------
 6071|      0|#line 451 "MachineIndependent/glslang.y"
 6072|      0|                          {
 6073|      0|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6074|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloatMXINT8, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6075|      0|    }
 6076|      0|#line 6077 "MachineIndependent/glslang_tab.cpp"
 6077|      0|    break;
 6078|       |
 6079|    699|  case 23: /* postfix_expression: primary_expression  */
  ------------------
  |  Branch (6079:3): [True: 699, False: 779k]
  ------------------
 6080|    699|#line 458 "MachineIndependent/glslang.y"
 6081|    699|                         {
 6082|    699|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6083|    699|    }
 6084|    699|#line 6085 "MachineIndependent/glslang_tab.cpp"
 6085|    699|    break;
 6086|       |
 6087|      0|  case 24: /* postfix_expression: postfix_expression LEFT_BRACKET integer_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (6087:3): [True: 0, False: 779k]
  ------------------
 6088|      0|#line 461 "MachineIndependent/glslang.y"
 6089|      0|                                                                       {
 6090|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBracketDereference((yyvsp[-2].lex).loc, (yyvsp[-3].interm.intermTypedNode), (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6091|      0|    }
 6092|      0|#line 6093 "MachineIndependent/glslang_tab.cpp"
 6093|      0|    break;
 6094|       |
 6095|      3|  case 25: /* postfix_expression: function_call  */
  ------------------
  |  Branch (6095:3): [True: 3, False: 779k]
  ------------------
 6096|      3|#line 464 "MachineIndependent/glslang.y"
 6097|      3|                    {
 6098|      3|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6099|      3|    }
 6100|      3|#line 6101 "MachineIndependent/glslang_tab.cpp"
 6101|      3|    break;
 6102|       |
 6103|      0|  case 26: /* postfix_expression: postfix_expression DOT IDENTIFIER  */
  ------------------
  |  Branch (6103:3): [True: 0, False: 779k]
  ------------------
 6104|      0|#line 467 "MachineIndependent/glslang.y"
 6105|      0|                                        {
 6106|      0|        (yyval.interm.intermTypedNode) = parseContext.handleDotDereference((yyvsp[0].lex).loc, (yyvsp[-2].interm.intermTypedNode), *(yyvsp[0].lex).string);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6107|      0|    }
 6108|      0|#line 6109 "MachineIndependent/glslang_tab.cpp"
 6109|      0|    break;
 6110|       |
 6111|      0|  case 27: /* postfix_expression: postfix_expression INC_OP  */
  ------------------
  |  Branch (6111:3): [True: 0, False: 779k]
  ------------------
 6112|      0|#line 470 "MachineIndependent/glslang.y"
 6113|      0|                                {
 6114|      0|        parseContext.variableCheck((yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6115|      0|        parseContext.lValueErrorCheck((yyvsp[0].lex).loc, "++", (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6116|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[0].lex).loc, "++", EOpPostIncrement, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6117|      0|    }
 6118|      0|#line 6119 "MachineIndependent/glslang_tab.cpp"
 6119|      0|    break;
 6120|       |
 6121|      0|  case 28: /* postfix_expression: postfix_expression DEC_OP  */
  ------------------
  |  Branch (6121:3): [True: 0, False: 779k]
  ------------------
 6122|      0|#line 475 "MachineIndependent/glslang.y"
 6123|      0|                                {
 6124|      0|        parseContext.variableCheck((yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6125|      0|        parseContext.lValueErrorCheck((yyvsp[0].lex).loc, "--", (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6126|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[0].lex).loc, "--", EOpPostDecrement, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6127|      0|    }
 6128|      0|#line 6129 "MachineIndependent/glslang_tab.cpp"
 6129|      0|    break;
 6130|       |
 6131|      0|  case 29: /* integer_expression: expression  */
  ------------------
  |  Branch (6131:3): [True: 0, False: 779k]
  ------------------
 6132|      0|#line 483 "MachineIndependent/glslang.y"
 6133|      0|                 {
 6134|      0|        parseContext.arrayIndexCheck((yyvsp[0].interm.intermTypedNode), "[]");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6135|      0|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6136|      0|    }
 6137|      0|#line 6138 "MachineIndependent/glslang_tab.cpp"
 6138|      0|    break;
 6139|       |
 6140|      3|  case 30: /* function_call: function_call_or_method  */
  ------------------
  |  Branch (6140:3): [True: 3, False: 779k]
  ------------------
 6141|      3|#line 490 "MachineIndependent/glslang.y"
 6142|      3|                              {
 6143|      3|        (yyval.interm.intermTypedNode) = parseContext.handleFunctionCall((yyvsp[0].interm).loc, (yyvsp[0].interm).function, (yyvsp[0].interm).intermNode);
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
 6144|      3|        delete (yyvsp[0].interm).function;
 6145|      3|    }
 6146|      3|#line 6147 "MachineIndependent/glslang_tab.cpp"
 6147|      3|    break;
 6148|       |
 6149|      3|  case 31: /* function_call_or_method: function_call_generic  */
  ------------------
  |  Branch (6149:3): [True: 3, False: 779k]
  ------------------
 6150|      3|#line 497 "MachineIndependent/glslang.y"
 6151|      3|                            {
 6152|      3|        (yyval.interm) = (yyvsp[0].interm);
 6153|      3|    }
 6154|      3|#line 6155 "MachineIndependent/glslang_tab.cpp"
 6155|      3|    break;
 6156|       |
 6157|      3|  case 32: /* function_call_generic: function_call_header_with_parameters RIGHT_PAREN  */
  ------------------
  |  Branch (6157:3): [True: 3, False: 779k]
  ------------------
 6158|      3|#line 503 "MachineIndependent/glslang.y"
 6159|      3|                                                       {
 6160|      3|        (yyval.interm) = (yyvsp[-1].interm);
 6161|      3|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6162|      3|    }
 6163|      3|#line 6164 "MachineIndependent/glslang_tab.cpp"
 6164|      3|    break;
 6165|       |
 6166|      0|  case 33: /* function_call_generic: function_call_header_no_parameters RIGHT_PAREN  */
  ------------------
  |  Branch (6166:3): [True: 0, False: 779k]
  ------------------
 6167|      0|#line 507 "MachineIndependent/glslang.y"
 6168|      0|                                                     {
 6169|      0|        (yyval.interm) = (yyvsp[-1].interm);
 6170|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6171|      0|    }
 6172|      0|#line 6173 "MachineIndependent/glslang_tab.cpp"
 6173|      0|    break;
 6174|       |
 6175|      0|  case 34: /* function_call_header_no_parameters: function_call_header VOID  */
  ------------------
  |  Branch (6175:3): [True: 0, False: 779k]
  ------------------
 6176|      0|#line 514 "MachineIndependent/glslang.y"
 6177|      0|                                {
 6178|      0|        (yyval.interm) = (yyvsp[-1].interm);
 6179|      0|    }
 6180|      0|#line 6181 "MachineIndependent/glslang_tab.cpp"
 6181|      0|    break;
 6182|       |
 6183|      0|  case 35: /* function_call_header_no_parameters: function_call_header  */
  ------------------
  |  Branch (6183:3): [True: 0, False: 779k]
  ------------------
 6184|      0|#line 517 "MachineIndependent/glslang.y"
 6185|      0|                           {
 6186|      0|        (yyval.interm) = (yyvsp[0].interm);
 6187|      0|    }
 6188|      0|#line 6189 "MachineIndependent/glslang_tab.cpp"
 6189|      0|    break;
 6190|       |
 6191|      3|  case 36: /* function_call_header_with_parameters: function_call_header assignment_expression  */
  ------------------
  |  Branch (6191:3): [True: 3, False: 779k]
  ------------------
 6192|      3|#line 523 "MachineIndependent/glslang.y"
 6193|      3|                                                 {
 6194|      3|        if (parseContext.spvVersion.vulkan > 0
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6194:13): [True: 3, False: 0]
  ------------------
 6195|      3|            && parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6195:16): [True: 0, False: 3]
  ------------------
 6196|      0|            && (yyvsp[0].interm.intermTypedNode)->getType().containsOpaque())
  ------------------
  |  Branch (6196:16): [True: 0, False: 0]
  ------------------
 6197|      0|        {
 6198|      0|            (yyval.interm).intermNode = parseContext.vkRelaxedRemapFunctionArgument((yyval.interm).loc, (yyvsp[-1].interm).function, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6199|      0|            (yyval.interm).function = (yyvsp[-1].interm).function;
 6200|      0|        }
 6201|      3|        else
 6202|      3|        {
 6203|      3|            TParameter param = { 0, new TType, {} };
 6204|      3|            param.type->shallowCopy((yyvsp[0].interm.intermTypedNode)->getType());
 6205|       |
 6206|      3|            (yyvsp[-1].interm).function->addParameter(param);
 6207|      3|            (yyval.interm).function = (yyvsp[-1].interm).function;
 6208|      3|            (yyval.interm).intermNode = (yyvsp[0].interm.intermTypedNode);
 6209|      3|        }
 6210|      3|    }
 6211|      3|#line 6212 "MachineIndependent/glslang_tab.cpp"
 6212|      3|    break;
 6213|       |
 6214|      6|  case 37: /* function_call_header_with_parameters: function_call_header_with_parameters COMMA assignment_expression  */
  ------------------
  |  Branch (6214:3): [True: 6, False: 779k]
  ------------------
 6215|      6|#line 541 "MachineIndependent/glslang.y"
 6216|      6|                                                                       {
 6217|      6|        if (parseContext.spvVersion.vulkan > 0
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6217:13): [True: 6, False: 0]
  ------------------
 6218|      6|            && parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6218:16): [True: 0, False: 6]
  ------------------
 6219|      0|            && (yyvsp[0].interm.intermTypedNode)->getType().containsOpaque())
  ------------------
  |  Branch (6219:16): [True: 0, False: 0]
  ------------------
 6220|      0|        {
 6221|      0|            TIntermNode* remappedNode = parseContext.vkRelaxedRemapFunctionArgument((yyvsp[-1].lex).loc, (yyvsp[-2].interm).function, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6222|      0|            if (remappedNode == (yyvsp[0].interm.intermTypedNode))
  ------------------
  |  Branch (6222:17): [True: 0, False: 0]
  ------------------
 6223|      0|                (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6224|      0|            else
 6225|      0|                (yyval.interm).intermNode = parseContext.intermediate.mergeAggregate((yyvsp[-2].interm).intermNode, remappedNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6226|      0|            (yyval.interm).function = (yyvsp[-2].interm).function;
 6227|      0|        }
 6228|      6|        else
 6229|      6|        {
 6230|      6|            TParameter param = { 0, new TType, {} };
 6231|      6|            param.type->shallowCopy((yyvsp[0].interm.intermTypedNode)->getType());
 6232|       |
 6233|      6|            (yyvsp[-2].interm).function->addParameter(param);
 6234|      6|            (yyval.interm).function = (yyvsp[-2].interm).function;
 6235|      6|            (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 6236|      6|        }
 6237|      6|    }
 6238|      6|#line 6239 "MachineIndependent/glslang_tab.cpp"
 6239|      6|    break;
 6240|       |
 6241|      3|  case 38: /* function_call_header: function_identifier LEFT_PAREN  */
  ------------------
  |  Branch (6241:3): [True: 3, False: 779k]
  ------------------
 6242|      3|#line 566 "MachineIndependent/glslang.y"
 6243|      3|                                     {
 6244|      3|        (yyval.interm) = (yyvsp[-1].interm);
 6245|      3|    }
 6246|      3|#line 6247 "MachineIndependent/glslang_tab.cpp"
 6247|      3|    break;
 6248|       |
 6249|      3|  case 39: /* function_identifier: type_specifier  */
  ------------------
  |  Branch (6249:3): [True: 3, False: 779k]
  ------------------
 6250|      3|#line 574 "MachineIndependent/glslang.y"
 6251|      3|                     {
 6252|       |        // Constructor
 6253|      3|        (yyval.interm).intermNode = 0;
 6254|      3|        (yyval.interm).function = parseContext.handleConstructorCall((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
 6255|      3|    }
 6256|      3|#line 6257 "MachineIndependent/glslang_tab.cpp"
 6257|      3|    break;
 6258|       |
 6259|      0|  case 40: /* function_identifier: postfix_expression  */
  ------------------
  |  Branch (6259:3): [True: 0, False: 779k]
  ------------------
 6260|      0|#line 579 "MachineIndependent/glslang.y"
 6261|      0|                         {
 6262|       |        //
 6263|       |        // Should be a method or subroutine call, but we haven't recognized the arguments yet.
 6264|       |        //
 6265|      0|        (yyval.interm).function = 0;
 6266|      0|        (yyval.interm).intermNode = 0;
 6267|       |
 6268|      0|        TIntermMethod* method = (yyvsp[0].interm.intermTypedNode)->getAsMethodNode();
 6269|      0|        if (method) {
  ------------------
  |  Branch (6269:13): [True: 0, False: 0]
  ------------------
 6270|      0|            (yyval.interm).function = new TFunction(&method->getMethodName(), method->getType(), EOpArrayLength);
 6271|      0|            (yyval.interm).intermNode = method->getObject();
 6272|      0|        } else {
 6273|      0|            TIntermSymbol* symbol = (yyvsp[0].interm.intermTypedNode)->getAsSymbolNode();
 6274|      0|            if (symbol) {
  ------------------
  |  Branch (6274:17): [True: 0, False: 0]
  ------------------
 6275|      0|                parseContext.reservedErrorCheck(symbol->getLoc(), symbol->getName());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6276|      0|                TFunction *function = new TFunction(&symbol->getName(), TType(EbtVoid));
 6277|      0|                (yyval.interm).function = function;
 6278|      0|            } else
 6279|      0|                parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "function call, method, or subroutine call expected", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6280|      0|        }
 6281|       |
 6282|      0|        if ((yyval.interm).function == 0) {
  ------------------
  |  Branch (6282:13): [True: 0, False: 0]
  ------------------
 6283|       |            // error recover
 6284|      0|            TString* empty = NewPoolTString("");
 6285|      0|            (yyval.interm).function = new TFunction(empty, TType(EbtVoid), EOpNull);
 6286|      0|        }
 6287|      0|    }
 6288|      0|#line 6289 "MachineIndependent/glslang_tab.cpp"
 6289|      0|    break;
 6290|       |
 6291|      0|  case 41: /* function_identifier: non_uniform_qualifier  */
  ------------------
  |  Branch (6291:3): [True: 0, False: 779k]
  ------------------
 6292|      0|#line 606 "MachineIndependent/glslang.y"
 6293|      0|                            {
 6294|       |        // Constructor
 6295|      0|        (yyval.interm).intermNode = 0;
 6296|      0|        (yyval.interm).function = parseContext.handleConstructorCall((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6297|      0|    }
 6298|      0|#line 6299 "MachineIndependent/glslang_tab.cpp"
 6299|      0|    break;
 6300|       |
 6301|    702|  case 42: /* unary_expression: postfix_expression  */
  ------------------
  |  Branch (6301:3): [True: 702, False: 779k]
  ------------------
 6302|    702|#line 614 "MachineIndependent/glslang.y"
 6303|    702|                         {
 6304|    702|        parseContext.variableCheck((yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|    702|#define parseContext (*pParseContext)
  ------------------
 6305|    702|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6306|    702|        if (TIntermMethod* method = (yyvsp[0].interm.intermTypedNode)->getAsMethodNode())
  ------------------
  |  Branch (6306:28): [True: 0, False: 702]
  ------------------
 6307|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "incomplete method syntax", method->getMethodName().c_str(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6308|    702|    }
 6309|    702|#line 6310 "MachineIndependent/glslang_tab.cpp"
 6310|    702|    break;
 6311|       |
 6312|      0|  case 43: /* unary_expression: INC_OP unary_expression  */
  ------------------
  |  Branch (6312:3): [True: 0, False: 779k]
  ------------------
 6313|      0|#line 620 "MachineIndependent/glslang.y"
 6314|      0|                              {
 6315|      0|        parseContext.lValueErrorCheck((yyvsp[-1].lex).loc, "++", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6316|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].lex).loc, "++", EOpPreIncrement, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6317|      0|    }
 6318|      0|#line 6319 "MachineIndependent/glslang_tab.cpp"
 6319|      0|    break;
 6320|       |
 6321|      0|  case 44: /* unary_expression: DEC_OP unary_expression  */
  ------------------
  |  Branch (6321:3): [True: 0, False: 779k]
  ------------------
 6322|      0|#line 624 "MachineIndependent/glslang.y"
 6323|      0|                              {
 6324|      0|        parseContext.lValueErrorCheck((yyvsp[-1].lex).loc, "--", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6325|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].lex).loc, "--", EOpPreDecrement, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6326|      0|    }
 6327|      0|#line 6328 "MachineIndependent/glslang_tab.cpp"
 6328|      0|    break;
 6329|       |
 6330|      0|  case 45: /* unary_expression: unary_operator unary_expression  */
  ------------------
  |  Branch (6330:3): [True: 0, False: 779k]
  ------------------
 6331|      0|#line 628 "MachineIndependent/glslang.y"
 6332|      0|                                      {
 6333|      0|        if ((yyvsp[-1].interm).op != EOpNull) {
  ------------------
  |  Branch (6333:13): [True: 0, False: 0]
  ------------------
 6334|      0|            char errorOp[2] = {0, 0};
 6335|      0|            switch((yyvsp[-1].interm).op) {
 6336|      0|            case EOpNegative:   errorOp[0] = '-'; break;
  ------------------
  |  Branch (6336:13): [True: 0, False: 0]
  ------------------
 6337|      0|            case EOpLogicalNot: errorOp[0] = '!'; break;
  ------------------
  |  Branch (6337:13): [True: 0, False: 0]
  ------------------
 6338|      0|            case EOpBitwiseNot: errorOp[0] = '~'; break;
  ------------------
  |  Branch (6338:13): [True: 0, False: 0]
  ------------------
 6339|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (6339:13): [True: 0, False: 0]
  ------------------
 6340|      0|            }
 6341|      0|            (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].interm).loc, errorOp, (yyvsp[-1].interm).op, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6342|      0|        } else {
 6343|      0|            (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6344|      0|            if ((yyval.interm.intermTypedNode)->getAsConstantUnion())
  ------------------
  |  Branch (6344:17): [True: 0, False: 0]
  ------------------
 6345|      0|                (yyval.interm.intermTypedNode)->getAsConstantUnion()->setExpression();
 6346|      0|        }
 6347|      0|    }
 6348|      0|#line 6349 "MachineIndependent/glslang_tab.cpp"
 6349|      0|    break;
 6350|       |
 6351|      0|  case 46: /* unary_expression: LEFT_PAREN type_specifier_nonarray RIGHT_PAREN unary_expression  */
  ------------------
  |  Branch (6351:3): [True: 0, False: 779k]
  ------------------
 6352|      0|#line 644 "MachineIndependent/glslang.y"
 6353|      0|                                                                      {
 6354|      0|        (yyval.interm.intermTypedNode) = parseContext.handleTypeCast((yyvsp[-3].lex).loc, new TType((yyvsp[-2].interm.type)), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6355|      0|    }
 6356|      0|#line 6357 "MachineIndependent/glslang_tab.cpp"
 6357|      0|    break;
 6358|       |
 6359|      0|  case 47: /* unary_operator: PLUS  */
  ------------------
  |  Branch (6359:3): [True: 0, False: 779k]
  ------------------
 6360|      0|#line 651 "MachineIndependent/glslang.y"
 6361|      0|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpNull; }
 6362|      0|#line 6363 "MachineIndependent/glslang_tab.cpp"
 6363|      0|    break;
 6364|       |
 6365|      0|  case 48: /* unary_operator: DASH  */
  ------------------
  |  Branch (6365:3): [True: 0, False: 779k]
  ------------------
 6366|      0|#line 652 "MachineIndependent/glslang.y"
 6367|      0|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpNegative; }
 6368|      0|#line 6369 "MachineIndependent/glslang_tab.cpp"
 6369|      0|    break;
 6370|       |
 6371|      0|  case 49: /* unary_operator: BANG  */
  ------------------
  |  Branch (6371:3): [True: 0, False: 779k]
  ------------------
 6372|      0|#line 653 "MachineIndependent/glslang.y"
 6373|      0|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpLogicalNot; }
 6374|      0|#line 6375 "MachineIndependent/glslang_tab.cpp"
 6375|      0|    break;
 6376|       |
 6377|      0|  case 50: /* unary_operator: TILDE  */
  ------------------
  |  Branch (6377:3): [True: 0, False: 779k]
  ------------------
 6378|      0|#line 654 "MachineIndependent/glslang.y"
 6379|      0|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpBitwiseNot;
 6380|      0|              parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise not"); }
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6381|      0|#line 6382 "MachineIndependent/glslang_tab.cpp"
 6382|      0|    break;
 6383|       |
 6384|    690|  case 51: /* multiplicative_expression: unary_expression  */
  ------------------
  |  Branch (6384:3): [True: 690, False: 779k]
  ------------------
 6385|    690|#line 660 "MachineIndependent/glslang.y"
 6386|    690|                       { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6387|    690|#line 6388 "MachineIndependent/glslang_tab.cpp"
 6388|    690|    break;
 6389|       |
 6390|      0|  case 52: /* multiplicative_expression: multiplicative_expression STAR unary_expression  */
  ------------------
  |  Branch (6390:3): [True: 0, False: 779k]
  ------------------
 6391|      0|#line 661 "MachineIndependent/glslang.y"
 6392|      0|                                                      {
 6393|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "*", EOpMul, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6394|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6394:13): [True: 0, False: 0]
  ------------------
 6395|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6396|      0|    }
 6397|      0|#line 6398 "MachineIndependent/glslang_tab.cpp"
 6398|      0|    break;
 6399|       |
 6400|      0|  case 53: /* multiplicative_expression: multiplicative_expression SLASH unary_expression  */
  ------------------
  |  Branch (6400:3): [True: 0, False: 779k]
  ------------------
 6401|      0|#line 666 "MachineIndependent/glslang.y"
 6402|      0|                                                       {
 6403|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "/", EOpDiv, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6404|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6404:13): [True: 0, False: 0]
  ------------------
 6405|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6406|      0|    }
 6407|      0|#line 6408 "MachineIndependent/glslang_tab.cpp"
 6408|      0|    break;
 6409|       |
 6410|      0|  case 54: /* multiplicative_expression: multiplicative_expression PERCENT unary_expression  */
  ------------------
  |  Branch (6410:3): [True: 0, False: 779k]
  ------------------
 6411|      0|#line 671 "MachineIndependent/glslang.y"
 6412|      0|                                                         {
 6413|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "%");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6414|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "%", EOpMod, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6415|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6415:13): [True: 0, False: 0]
  ------------------
 6416|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6417|      0|    }
 6418|      0|#line 6419 "MachineIndependent/glslang_tab.cpp"
 6419|      0|    break;
 6420|       |
 6421|    690|  case 55: /* additive_expression: multiplicative_expression  */
  ------------------
  |  Branch (6421:3): [True: 690, False: 779k]
  ------------------
 6422|    690|#line 680 "MachineIndependent/glslang.y"
 6423|    690|                                { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6424|    690|#line 6425 "MachineIndependent/glslang_tab.cpp"
 6425|    690|    break;
 6426|       |
 6427|      0|  case 56: /* additive_expression: additive_expression PLUS multiplicative_expression  */
  ------------------
  |  Branch (6427:3): [True: 0, False: 779k]
  ------------------
 6428|      0|#line 681 "MachineIndependent/glslang.y"
 6429|      0|                                                         {
 6430|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "+", EOpAdd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6431|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6431:13): [True: 0, False: 0]
  ------------------
 6432|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6433|      0|    }
 6434|      0|#line 6435 "MachineIndependent/glslang_tab.cpp"
 6435|      0|    break;
 6436|       |
 6437|      0|  case 57: /* additive_expression: additive_expression DASH multiplicative_expression  */
  ------------------
  |  Branch (6437:3): [True: 0, False: 779k]
  ------------------
 6438|      0|#line 686 "MachineIndependent/glslang.y"
 6439|      0|                                                         {
 6440|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "-", EOpSub, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6441|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6441:13): [True: 0, False: 0]
  ------------------
 6442|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6443|      0|    }
 6444|      0|#line 6445 "MachineIndependent/glslang_tab.cpp"
 6445|      0|    break;
 6446|       |
 6447|    690|  case 58: /* shift_expression: additive_expression  */
  ------------------
  |  Branch (6447:3): [True: 690, False: 779k]
  ------------------
 6448|    690|#line 694 "MachineIndependent/glslang.y"
 6449|    690|                          { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6450|    690|#line 6451 "MachineIndependent/glslang_tab.cpp"
 6451|    690|    break;
 6452|       |
 6453|      0|  case 59: /* shift_expression: shift_expression LEFT_OP additive_expression  */
  ------------------
  |  Branch (6453:3): [True: 0, False: 779k]
  ------------------
 6454|      0|#line 695 "MachineIndependent/glslang.y"
 6455|      0|                                                   {
 6456|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bit shift left");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6457|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "<<", EOpLeftShift, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6458|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6458:13): [True: 0, False: 0]
  ------------------
 6459|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6460|      0|    }
 6461|      0|#line 6462 "MachineIndependent/glslang_tab.cpp"
 6462|      0|    break;
 6463|       |
 6464|      0|  case 60: /* shift_expression: shift_expression RIGHT_OP additive_expression  */
  ------------------
  |  Branch (6464:3): [True: 0, False: 779k]
  ------------------
 6465|      0|#line 701 "MachineIndependent/glslang.y"
 6466|      0|                                                    {
 6467|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bit shift right");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6468|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, ">>", EOpRightShift, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6469|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6469:13): [True: 0, False: 0]
  ------------------
 6470|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6471|      0|    }
 6472|      0|#line 6473 "MachineIndependent/glslang_tab.cpp"
 6473|      0|    break;
 6474|       |
 6475|    690|  case 61: /* relational_expression: shift_expression  */
  ------------------
  |  Branch (6475:3): [True: 690, False: 779k]
  ------------------
 6476|    690|#line 710 "MachineIndependent/glslang.y"
 6477|    690|                       { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6478|    690|#line 6479 "MachineIndependent/glslang_tab.cpp"
 6479|    690|    break;
 6480|       |
 6481|      0|  case 62: /* relational_expression: relational_expression LEFT_ANGLE shift_expression  */
  ------------------
  |  Branch (6481:3): [True: 0, False: 779k]
  ------------------
 6482|      0|#line 711 "MachineIndependent/glslang.y"
 6483|      0|                                                        {
 6484|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "<", EOpLessThan, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6485|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6485:13): [True: 0, False: 0]
  ------------------
 6486|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6487|      0|    }
 6488|      0|#line 6489 "MachineIndependent/glslang_tab.cpp"
 6489|      0|    break;
 6490|       |
 6491|      0|  case 63: /* relational_expression: relational_expression RIGHT_ANGLE shift_expression  */
  ------------------
  |  Branch (6491:3): [True: 0, False: 779k]
  ------------------
 6492|      0|#line 716 "MachineIndependent/glslang.y"
 6493|      0|                                                          {
 6494|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, ">", EOpGreaterThan, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6495|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6495:13): [True: 0, False: 0]
  ------------------
 6496|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6497|      0|    }
 6498|      0|#line 6499 "MachineIndependent/glslang_tab.cpp"
 6499|      0|    break;
 6500|       |
 6501|      0|  case 64: /* relational_expression: relational_expression LE_OP shift_expression  */
  ------------------
  |  Branch (6501:3): [True: 0, False: 779k]
  ------------------
 6502|      0|#line 721 "MachineIndependent/glslang.y"
 6503|      0|                                                    {
 6504|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "<=", EOpLessThanEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6505|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6505:13): [True: 0, False: 0]
  ------------------
 6506|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6507|      0|    }
 6508|      0|#line 6509 "MachineIndependent/glslang_tab.cpp"
 6509|      0|    break;
 6510|       |
 6511|      0|  case 65: /* relational_expression: relational_expression GE_OP shift_expression  */
  ------------------
  |  Branch (6511:3): [True: 0, False: 779k]
  ------------------
 6512|      0|#line 726 "MachineIndependent/glslang.y"
 6513|      0|                                                    {
 6514|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, ">=", EOpGreaterThanEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6515|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6515:13): [True: 0, False: 0]
  ------------------
 6516|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6517|      0|    }
 6518|      0|#line 6519 "MachineIndependent/glslang_tab.cpp"
 6519|      0|    break;
 6520|       |
 6521|    690|  case 66: /* equality_expression: relational_expression  */
  ------------------
  |  Branch (6521:3): [True: 690, False: 779k]
  ------------------
 6522|    690|#line 734 "MachineIndependent/glslang.y"
 6523|    690|                            { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6524|    690|#line 6525 "MachineIndependent/glslang_tab.cpp"
 6525|    690|    break;
 6526|       |
 6527|      0|  case 67: /* equality_expression: equality_expression EQ_OP relational_expression  */
  ------------------
  |  Branch (6527:3): [True: 0, False: 779k]
  ------------------
 6528|      0|#line 735 "MachineIndependent/glslang.y"
 6529|      0|                                                       {
 6530|      0|        parseContext.arrayObjectCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "array comparison");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6531|      0|        parseContext.opaqueCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "==");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6532|      0|        parseContext.specializationCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "==");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6533|      0|        parseContext.referenceCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "==");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6534|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "==", EOpEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6535|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6535:13): [True: 0, False: 0]
  ------------------
 6536|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6537|      0|    }
 6538|      0|#line 6539 "MachineIndependent/glslang_tab.cpp"
 6539|      0|    break;
 6540|       |
 6541|      0|  case 68: /* equality_expression: equality_expression NE_OP relational_expression  */
  ------------------
  |  Branch (6541:3): [True: 0, False: 779k]
  ------------------
 6542|      0|#line 744 "MachineIndependent/glslang.y"
 6543|      0|                                                      {
 6544|      0|        parseContext.arrayObjectCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "array comparison");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6545|      0|        parseContext.opaqueCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "!=");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6546|      0|        parseContext.specializationCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "!=");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6547|      0|        parseContext.referenceCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "!=");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6548|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "!=", EOpNotEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6549|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6549:13): [True: 0, False: 0]
  ------------------
 6550|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6551|      0|    }
 6552|      0|#line 6553 "MachineIndependent/glslang_tab.cpp"
 6553|      0|    break;
 6554|       |
 6555|    690|  case 69: /* and_expression: equality_expression  */
  ------------------
  |  Branch (6555:3): [True: 690, False: 779k]
  ------------------
 6556|    690|#line 756 "MachineIndependent/glslang.y"
 6557|    690|                          { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6558|    690|#line 6559 "MachineIndependent/glslang_tab.cpp"
 6559|    690|    break;
 6560|       |
 6561|      0|  case 70: /* and_expression: and_expression AMPERSAND equality_expression  */
  ------------------
  |  Branch (6561:3): [True: 0, False: 779k]
  ------------------
 6562|      0|#line 757 "MachineIndependent/glslang.y"
 6563|      0|                                                   {
 6564|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bitwise and");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6565|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "&", EOpAnd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6566|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6566:13): [True: 0, False: 0]
  ------------------
 6567|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6568|      0|    }
 6569|      0|#line 6570 "MachineIndependent/glslang_tab.cpp"
 6570|      0|    break;
 6571|       |
 6572|    690|  case 71: /* exclusive_or_expression: and_expression  */
  ------------------
  |  Branch (6572:3): [True: 690, False: 779k]
  ------------------
 6573|    690|#line 766 "MachineIndependent/glslang.y"
 6574|    690|                     { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6575|    690|#line 6576 "MachineIndependent/glslang_tab.cpp"
 6576|    690|    break;
 6577|       |
 6578|      0|  case 72: /* exclusive_or_expression: exclusive_or_expression CARET and_expression  */
  ------------------
  |  Branch (6578:3): [True: 0, False: 779k]
  ------------------
 6579|      0|#line 767 "MachineIndependent/glslang.y"
 6580|      0|                                                   {
 6581|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bitwise exclusive or");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6582|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "^", EOpExclusiveOr, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6583|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6583:13): [True: 0, False: 0]
  ------------------
 6584|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6585|      0|    }
 6586|      0|#line 6587 "MachineIndependent/glslang_tab.cpp"
 6587|      0|    break;
 6588|       |
 6589|    690|  case 73: /* inclusive_or_expression: exclusive_or_expression  */
  ------------------
  |  Branch (6589:3): [True: 690, False: 779k]
  ------------------
 6590|    690|#line 776 "MachineIndependent/glslang.y"
 6591|    690|                              { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6592|    690|#line 6593 "MachineIndependent/glslang_tab.cpp"
 6593|    690|    break;
 6594|       |
 6595|      0|  case 74: /* inclusive_or_expression: inclusive_or_expression VERTICAL_BAR exclusive_or_expression  */
  ------------------
  |  Branch (6595:3): [True: 0, False: 779k]
  ------------------
 6596|      0|#line 777 "MachineIndependent/glslang.y"
 6597|      0|                                                                   {
 6598|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bitwise inclusive or");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6599|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "|", EOpInclusiveOr, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6600|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6600:13): [True: 0, False: 0]
  ------------------
 6601|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6602|      0|    }
 6603|      0|#line 6604 "MachineIndependent/glslang_tab.cpp"
 6604|      0|    break;
 6605|       |
 6606|    690|  case 75: /* logical_and_expression: inclusive_or_expression  */
  ------------------
  |  Branch (6606:3): [True: 690, False: 779k]
  ------------------
 6607|    690|#line 786 "MachineIndependent/glslang.y"
 6608|    690|                              { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6609|    690|#line 6610 "MachineIndependent/glslang_tab.cpp"
 6610|    690|    break;
 6611|       |
 6612|      0|  case 76: /* logical_and_expression: logical_and_expression AND_OP inclusive_or_expression  */
  ------------------
  |  Branch (6612:3): [True: 0, False: 779k]
  ------------------
 6613|      0|#line 787 "MachineIndependent/glslang.y"
 6614|      0|                                                            {
 6615|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "&&", EOpLogicalAnd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6616|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6616:13): [True: 0, False: 0]
  ------------------
 6617|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6618|      0|    }
 6619|      0|#line 6620 "MachineIndependent/glslang_tab.cpp"
 6620|      0|    break;
 6621|       |
 6622|    690|  case 77: /* logical_xor_expression: logical_and_expression  */
  ------------------
  |  Branch (6622:3): [True: 690, False: 779k]
  ------------------
 6623|    690|#line 795 "MachineIndependent/glslang.y"
 6624|    690|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6625|    690|#line 6626 "MachineIndependent/glslang_tab.cpp"
 6626|    690|    break;
 6627|       |
 6628|      0|  case 78: /* logical_xor_expression: logical_xor_expression XOR_OP logical_and_expression  */
  ------------------
  |  Branch (6628:3): [True: 0, False: 779k]
  ------------------
 6629|      0|#line 796 "MachineIndependent/glslang.y"
 6630|      0|                                                            {
 6631|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "^^", EOpLogicalXor, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6632|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6632:13): [True: 0, False: 0]
  ------------------
 6633|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6634|      0|    }
 6635|      0|#line 6636 "MachineIndependent/glslang_tab.cpp"
 6636|      0|    break;
 6637|       |
 6638|    690|  case 79: /* logical_or_expression: logical_xor_expression  */
  ------------------
  |  Branch (6638:3): [True: 690, False: 779k]
  ------------------
 6639|    690|#line 804 "MachineIndependent/glslang.y"
 6640|    690|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6641|    690|#line 6642 "MachineIndependent/glslang_tab.cpp"
 6642|    690|    break;
 6643|       |
 6644|      0|  case 80: /* logical_or_expression: logical_or_expression OR_OP logical_xor_expression  */
  ------------------
  |  Branch (6644:3): [True: 0, False: 779k]
  ------------------
 6645|      0|#line 805 "MachineIndependent/glslang.y"
 6646|      0|                                                          {
 6647|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "||", EOpLogicalOr, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6648|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6648:13): [True: 0, False: 0]
  ------------------
 6649|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6650|      0|    }
 6651|      0|#line 6652 "MachineIndependent/glslang_tab.cpp"
 6652|      0|    break;
 6653|       |
 6654|    690|  case 81: /* conditional_expression: logical_or_expression  */
  ------------------
  |  Branch (6654:3): [True: 690, False: 779k]
  ------------------
 6655|    690|#line 813 "MachineIndependent/glslang.y"
 6656|    690|                            { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6657|    690|#line 6658 "MachineIndependent/glslang_tab.cpp"
 6658|    690|    break;
 6659|       |
 6660|      0|  case 82: /* $@1: %empty  */
  ------------------
  |  Branch (6660:3): [True: 0, False: 779k]
  ------------------
 6661|      0|#line 814 "MachineIndependent/glslang.y"
 6662|      0|                                     {
 6663|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6664|      0|    }
 6665|      0|#line 6666 "MachineIndependent/glslang_tab.cpp"
 6666|      0|    break;
 6667|       |
 6668|      0|  case 83: /* conditional_expression: logical_or_expression QUESTION $@1 expression COLON assignment_expression  */
  ------------------
  |  Branch (6668:3): [True: 0, False: 779k]
  ------------------
 6669|      0|#line 817 "MachineIndependent/glslang.y"
 6670|      0|                                             {
 6671|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6672|      0|        parseContext.boolCheck((yyvsp[-4].lex).loc, (yyvsp[-5].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6673|      0|        parseContext.rValueErrorCheck((yyvsp[-4].lex).loc, "?", (yyvsp[-5].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6674|      0|        parseContext.rValueErrorCheck((yyvsp[-1].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6675|      0|        parseContext.rValueErrorCheck((yyvsp[-1].lex).loc, ":", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6676|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addSelection((yyvsp[-5].interm.intermTypedNode), (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode), (yyvsp[-4].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6677|      0|        if ((yyval.interm.intermTypedNode) == 0) {
  ------------------
  |  Branch (6677:13): [True: 0, False: 0]
  ------------------
 6678|      0|            parseContext.binaryOpError((yyvsp[-4].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.binaryOpError((yyvsp[-4].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.binaryOpError((yyvsp[-4].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6679|      0|            (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6680|      0|        }
 6681|      0|    }
 6682|      0|#line 6683 "MachineIndependent/glslang_tab.cpp"
 6683|      0|    break;
 6684|       |
 6685|    506|  case 84: /* assignment_expression: conditional_expression  */
  ------------------
  |  Branch (6685:3): [True: 506, False: 779k]
  ------------------
 6686|    506|#line 832 "MachineIndependent/glslang.y"
 6687|    506|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6688|    506|#line 6689 "MachineIndependent/glslang_tab.cpp"
 6689|    506|    break;
 6690|       |
 6691|      0|  case 85: /* assignment_expression: unary_expression assignment_operator assignment_expression  */
  ------------------
  |  Branch (6691:3): [True: 0, False: 779k]
  ------------------
 6692|      0|#line 833 "MachineIndependent/glslang.y"
 6693|      0|                                                                 {
 6694|      0|        parseContext.arrayObjectCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "array assignment");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6695|      0|        parseContext.opaqueCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6696|      0|        parseContext.storage16BitAssignmentCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6697|      0|        parseContext.specializationCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6698|      0|        parseContext.lValueErrorCheck((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6699|      0|        parseContext.rValueErrorCheck((yyvsp[-1].interm).loc, "assign", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6700|      0|        (yyval.interm.intermTypedNode) = parseContext.addAssign((yyvsp[-1].interm).loc, (yyvsp[-1].interm).op, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6701|      0|        if ((yyval.interm.intermTypedNode) == 0) {
  ------------------
  |  Branch (6701:13): [True: 0, False: 0]
  ------------------
 6702|      0|            parseContext.assignError((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.assignError((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.assignError((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6703|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6704|      0|        }
 6705|      0|    }
 6706|      0|#line 6707 "MachineIndependent/glslang_tab.cpp"
 6707|      0|    break;
 6708|       |
 6709|      0|  case 86: /* assignment_operator: EQUAL  */
  ------------------
  |  Branch (6709:3): [True: 0, False: 779k]
  ------------------
 6710|      0|#line 849 "MachineIndependent/glslang.y"
 6711|      0|            {
 6712|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6713|      0|        (yyval.interm).op = EOpAssign;
 6714|      0|    }
 6715|      0|#line 6716 "MachineIndependent/glslang_tab.cpp"
 6716|      0|    break;
 6717|       |
 6718|      0|  case 87: /* assignment_operator: MUL_ASSIGN  */
  ------------------
  |  Branch (6718:3): [True: 0, False: 779k]
  ------------------
 6719|      0|#line 853 "MachineIndependent/glslang.y"
 6720|      0|                 {
 6721|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6722|      0|        (yyval.interm).op = EOpMulAssign;
 6723|      0|    }
 6724|      0|#line 6725 "MachineIndependent/glslang_tab.cpp"
 6725|      0|    break;
 6726|       |
 6727|      0|  case 88: /* assignment_operator: DIV_ASSIGN  */
  ------------------
  |  Branch (6727:3): [True: 0, False: 779k]
  ------------------
 6728|      0|#line 857 "MachineIndependent/glslang.y"
 6729|      0|                 {
 6730|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6731|      0|        (yyval.interm).op = EOpDivAssign;
 6732|      0|    }
 6733|      0|#line 6734 "MachineIndependent/glslang_tab.cpp"
 6734|      0|    break;
 6735|       |
 6736|      0|  case 89: /* assignment_operator: MOD_ASSIGN  */
  ------------------
  |  Branch (6736:3): [True: 0, False: 779k]
  ------------------
 6737|      0|#line 861 "MachineIndependent/glslang.y"
 6738|      0|                 {
 6739|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "%=");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6740|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6741|      0|        (yyval.interm).op = EOpModAssign;
 6742|      0|    }
 6743|      0|#line 6744 "MachineIndependent/glslang_tab.cpp"
 6744|      0|    break;
 6745|       |
 6746|      0|  case 90: /* assignment_operator: ADD_ASSIGN  */
  ------------------
  |  Branch (6746:3): [True: 0, False: 779k]
  ------------------
 6747|      0|#line 866 "MachineIndependent/glslang.y"
 6748|      0|                 {
 6749|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6750|      0|        (yyval.interm).op = EOpAddAssign;
 6751|      0|    }
 6752|      0|#line 6753 "MachineIndependent/glslang_tab.cpp"
 6753|      0|    break;
 6754|       |
 6755|      0|  case 91: /* assignment_operator: SUB_ASSIGN  */
  ------------------
  |  Branch (6755:3): [True: 0, False: 779k]
  ------------------
 6756|      0|#line 870 "MachineIndependent/glslang.y"
 6757|      0|                 {
 6758|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6759|      0|        (yyval.interm).op = EOpSubAssign;
 6760|      0|    }
 6761|      0|#line 6762 "MachineIndependent/glslang_tab.cpp"
 6762|      0|    break;
 6763|       |
 6764|      0|  case 92: /* assignment_operator: LEFT_ASSIGN  */
  ------------------
  |  Branch (6764:3): [True: 0, False: 779k]
  ------------------
 6765|      0|#line 874 "MachineIndependent/glslang.y"
 6766|      0|                  {
 6767|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bit-shift left assign");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6768|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpLeftShiftAssign;
 6769|      0|    }
 6770|      0|#line 6771 "MachineIndependent/glslang_tab.cpp"
 6771|      0|    break;
 6772|       |
 6773|      0|  case 93: /* assignment_operator: RIGHT_ASSIGN  */
  ------------------
  |  Branch (6773:3): [True: 0, False: 779k]
  ------------------
 6774|      0|#line 878 "MachineIndependent/glslang.y"
 6775|      0|                   {
 6776|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bit-shift right assign");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6777|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpRightShiftAssign;
 6778|      0|    }
 6779|      0|#line 6780 "MachineIndependent/glslang_tab.cpp"
 6780|      0|    break;
 6781|       |
 6782|      0|  case 94: /* assignment_operator: AND_ASSIGN  */
  ------------------
  |  Branch (6782:3): [True: 0, False: 779k]
  ------------------
 6783|      0|#line 882 "MachineIndependent/glslang.y"
 6784|      0|                 {
 6785|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise-and assign");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6786|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpAndAssign;
 6787|      0|    }
 6788|      0|#line 6789 "MachineIndependent/glslang_tab.cpp"
 6789|      0|    break;
 6790|       |
 6791|      0|  case 95: /* assignment_operator: XOR_ASSIGN  */
  ------------------
  |  Branch (6791:3): [True: 0, False: 779k]
  ------------------
 6792|      0|#line 886 "MachineIndependent/glslang.y"
 6793|      0|                 {
 6794|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise-xor assign");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6795|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpExclusiveOrAssign;
 6796|      0|    }
 6797|      0|#line 6798 "MachineIndependent/glslang_tab.cpp"
 6798|      0|    break;
 6799|       |
 6800|      0|  case 96: /* assignment_operator: OR_ASSIGN  */
  ------------------
  |  Branch (6800:3): [True: 0, False: 779k]
  ------------------
 6801|      0|#line 890 "MachineIndependent/glslang.y"
 6802|      0|                {
 6803|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise-or assign");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6804|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpInclusiveOrAssign;
 6805|      0|    }
 6806|      0|#line 6807 "MachineIndependent/glslang_tab.cpp"
 6807|      0|    break;
 6808|       |
 6809|      0|  case 97: /* expression: assignment_expression  */
  ------------------
  |  Branch (6809:3): [True: 0, False: 779k]
  ------------------
 6810|      0|#line 897 "MachineIndependent/glslang.y"
 6811|      0|                            {
 6812|      0|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6813|      0|    }
 6814|      0|#line 6815 "MachineIndependent/glslang_tab.cpp"
 6815|      0|    break;
 6816|       |
 6817|      0|  case 98: /* expression: expression COMMA assignment_expression  */
  ------------------
  |  Branch (6817:3): [True: 0, False: 779k]
  ------------------
 6818|      0|#line 900 "MachineIndependent/glslang.y"
 6819|      0|                                             {
 6820|      0|        parseContext.samplerConstructorLocationCheck((yyvsp[-1].lex).loc, ",", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6821|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addComma((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6822|      0|        if ((yyval.interm.intermTypedNode) == 0) {
  ------------------
  |  Branch (6822:13): [True: 0, False: 0]
  ------------------
 6823|      0|            parseContext.binaryOpError((yyvsp[-1].lex).loc, ",", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.binaryOpError((yyvsp[-1].lex).loc, ",", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.binaryOpError((yyvsp[-1].lex).loc, ",", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6824|      0|            (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6825|      0|        }
 6826|      0|    }
 6827|      0|#line 6828 "MachineIndependent/glslang_tab.cpp"
 6828|      0|    break;
 6829|       |
 6830|      0|  case 99: /* constant_expression: conditional_expression  */
  ------------------
  |  Branch (6830:3): [True: 0, False: 779k]
  ------------------
 6831|      0|#line 911 "MachineIndependent/glslang.y"
 6832|      0|                             {
 6833|      0|        parseContext.constantValueCheck((yyvsp[0].interm.intermTypedNode), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6834|      0|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6835|      0|    }
 6836|      0|#line 6837 "MachineIndependent/glslang_tab.cpp"
 6837|      0|    break;
 6838|       |
 6839|  30.4k|  case 100: /* declaration: function_prototype SEMICOLON  */
  ------------------
  |  Branch (6839:3): [True: 30.4k, False: 749k]
  ------------------
 6840|  30.4k|#line 918 "MachineIndependent/glslang.y"
 6841|  30.4k|                                   {
 6842|  30.4k|        parseContext.handleFunctionDeclarator((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).function, true /* prototype */);
  ------------------
  |  |  783|  30.4k|#define parseContext (*pParseContext)
  ------------------
 6843|  30.4k|        (yyval.interm.intermNode) = 0;
 6844|       |        // TODO: 4.0 functionality: subroutines: make the identifier a user type for this signature
 6845|  30.4k|    }
 6846|  30.4k|#line 6847 "MachineIndependent/glslang_tab.cpp"
 6847|  30.4k|    break;
 6848|       |
 6849|      0|  case 101: /* declaration: spirv_instruction_qualifier function_prototype SEMICOLON  */
  ------------------
  |  Branch (6849:3): [True: 0, False: 779k]
  ------------------
 6850|      0|#line 923 "MachineIndependent/glslang.y"
 6851|      0|                                                               {
 6852|      0|        parseContext.requireExtensions((yyvsp[-1].interm).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V instruction qualifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6853|      0|        (yyvsp[-1].interm).function->setSpirvInstruction(*(yyvsp[-2].interm.spirvInst)); // Attach SPIR-V intruction qualifier
 6854|      0|        parseContext.handleFunctionDeclarator((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).function, true /* prototype */);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6855|      0|        (yyval.interm.intermNode) = 0;
 6856|       |        // TODO: 4.0 functionality: subroutines: make the identifier a user type for this signature
 6857|      0|    }
 6858|      0|#line 6859 "MachineIndependent/glslang_tab.cpp"
 6859|      0|    break;
 6860|       |
 6861|      0|  case 102: /* declaration: spirv_execution_mode_qualifier SEMICOLON  */
  ------------------
  |  Branch (6861:3): [True: 0, False: 779k]
  ------------------
 6862|      0|#line 930 "MachineIndependent/glslang.y"
 6863|      0|                                               {
 6864|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "SPIR-V execution mode qualifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6865|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V execution mode qualifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6866|      0|        (yyval.interm.intermNode) = 0;
 6867|      0|    }
 6868|      0|#line 6869 "MachineIndependent/glslang_tab.cpp"
 6869|      0|    break;
 6870|       |
 6871|  1.26k|  case 103: /* declaration: init_declarator_list SEMICOLON  */
  ------------------
  |  Branch (6871:3): [True: 1.26k, False: 778k]
  ------------------
 6872|  1.26k|#line 935 "MachineIndependent/glslang.y"
 6873|  1.26k|                                     {
 6874|  1.26k|        if ((yyvsp[-1].interm).intermNode && (yyvsp[-1].interm).intermNode->getAsAggregate())
  ------------------
  |  Branch (6874:13): [True: 0, False: 1.26k]
  |  Branch (6874:46): [True: 0, False: 0]
  ------------------
 6875|      0|            (yyvsp[-1].interm).intermNode->getAsAggregate()->setOperator(EOpSequence);
 6876|  1.26k|        (yyval.interm.intermNode) = (yyvsp[-1].interm).intermNode;
 6877|  1.26k|    }
 6878|  1.26k|#line 6879 "MachineIndependent/glslang_tab.cpp"
 6879|  1.26k|    break;
 6880|       |
 6881|      0|  case 104: /* declaration: PRECISION precision_qualifier type_specifier SEMICOLON  */
  ------------------
  |  Branch (6881:3): [True: 0, False: 779k]
  ------------------
 6882|      0|#line 940 "MachineIndependent/glslang.y"
 6883|      0|                                                             {
 6884|      0|        parseContext.profileRequires((yyvsp[-3].lex).loc, ENoProfile, 130, 0, "precision statement");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6885|       |        // lazy setting of the previous scope's defaults, has effect only the first time it is called in a particular scope
 6886|      0|        parseContext.symbolTable.setPreviousDefaultPrecisions(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.setPreviousDefaultPrecisions(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6887|      0|        parseContext.setDefaultPrecision((yyvsp[-3].lex).loc, (yyvsp[-1].interm.type), (yyvsp[-2].interm.type).qualifier.precision);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6888|      0|        (yyval.interm.intermNode) = 0;
 6889|      0|    }
 6890|      0|#line 6891 "MachineIndependent/glslang_tab.cpp"
 6891|      0|    break;
 6892|       |
 6893|      3|  case 105: /* declaration: block_structure SEMICOLON  */
  ------------------
  |  Branch (6893:3): [True: 3, False: 779k]
  ------------------
 6894|      3|#line 947 "MachineIndependent/glslang.y"
 6895|      3|                                {
 6896|      3|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).typeList);
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
 6897|      3|    }
 6898|      3|#line 6899 "MachineIndependent/glslang_tab.cpp"
 6899|      3|    break;
 6900|       |
 6901|      0|  case 106: /* declaration: block_structure IDENTIFIER SEMICOLON  */
  ------------------
  |  Branch (6901:3): [True: 0, False: 779k]
  ------------------
 6902|      0|#line 950 "MachineIndependent/glslang.y"
 6903|      0|                                           {
 6904|      0|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-2].interm).loc, *(yyvsp[-2].interm).typeList, (yyvsp[-1].lex).string);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6905|      0|    }
 6906|      0|#line 6907 "MachineIndependent/glslang_tab.cpp"
 6907|      0|    break;
 6908|       |
 6909|      6|  case 107: /* declaration: block_structure IDENTIFIER array_specifier SEMICOLON  */
  ------------------
  |  Branch (6909:3): [True: 6, False: 779k]
  ------------------
 6910|      6|#line 953 "MachineIndependent/glslang.y"
 6911|      6|                                                           {
 6912|      6|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-3].interm).loc, *(yyvsp[-3].interm).typeList, (yyvsp[-2].lex).string, (yyvsp[-1].interm).arraySizes);
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 6913|      6|    }
 6914|      6|#line 6915 "MachineIndependent/glslang_tab.cpp"
 6915|      6|    break;
 6916|       |
 6917|      0|  case 108: /* declaration: type_qualifier SEMICOLON  */
  ------------------
  |  Branch (6917:3): [True: 0, False: 779k]
  ------------------
 6918|      0|#line 956 "MachineIndependent/glslang.y"
 6919|      0|                               {
 6920|      0|        parseContext.globalQualifierFixCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6921|      0|        parseContext.updateStandaloneQualifierDefaults((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6922|      0|        (yyval.interm.intermNode) = 0;
 6923|      0|    }
 6924|      0|#line 6925 "MachineIndependent/glslang_tab.cpp"
 6925|      0|    break;
 6926|       |
 6927|      0|  case 109: /* declaration: type_qualifier identifier_list SEMICOLON  */
  ------------------
  |  Branch (6927:3): [True: 0, False: 779k]
  ------------------
 6928|      0|#line 961 "MachineIndependent/glslang.y"
 6929|      0|                                               {
 6930|      0|        parseContext.checkNoShaderLayouts((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).shaderQualifiers);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6931|      0|        parseContext.addQualifierToExisting((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).qualifier, *(yyvsp[-1].interm.identifierList));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6932|      0|        (yyval.interm.intermNode) = 0;
 6933|      0|    }
 6934|      0|#line 6935 "MachineIndependent/glslang_tab.cpp"
 6935|      0|    break;
 6936|       |
 6937|      9|  case 110: /* $@2: %empty  */
  ------------------
  |  Branch (6937:3): [True: 9, False: 779k]
  ------------------
 6938|      9|#line 969 "MachineIndependent/glslang.y"
 6939|      9|                                           { parseContext.nestedBlockCheck((yyvsp[-2].interm.type).loc); }
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
 6940|      9|#line 6941 "MachineIndependent/glslang_tab.cpp"
 6941|      9|    break;
 6942|       |
 6943|      9|  case 111: /* block_structure: type_qualifier IDENTIFIER LEFT_BRACE $@2 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (6943:3): [True: 9, False: 779k]
  ------------------
 6944|      9|#line 969 "MachineIndependent/glslang.y"
 6945|      9|                                                                                                                          {
 6946|      9|        --parseContext.blockNestingLevel;
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
 6947|      9|        parseContext.blockName = (yyvsp[-4].lex).string;
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
 6948|      9|        parseContext.globalQualifierFixCheck((yyvsp[-5].interm.type).loc, (yyvsp[-5].interm.type).qualifier);
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
 6949|      9|        parseContext.checkNoShaderLayouts((yyvsp[-5].interm.type).loc, (yyvsp[-5].interm.type).shaderQualifiers);
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
 6950|      9|        parseContext.currentBlockQualifier = (yyvsp[-5].interm.type).qualifier;
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 6951|      9|        (yyval.interm).loc = (yyvsp[-5].interm.type).loc;
 6952|      9|        (yyval.interm).typeList = (yyvsp[-1].interm.typeList);
 6953|      9|    }
 6954|      9|#line 6955 "MachineIndependent/glslang_tab.cpp"
 6955|      9|    break;
 6956|       |
 6957|      0|  case 112: /* identifier_list: IDENTIFIER  */
  ------------------
  |  Branch (6957:3): [True: 0, False: 779k]
  ------------------
 6958|      0|#line 981 "MachineIndependent/glslang.y"
 6959|      0|                 {
 6960|      0|        (yyval.interm.identifierList) = new TIdentifierList;
 6961|      0|        (yyval.interm.identifierList)->push_back((yyvsp[0].lex).string);
 6962|      0|    }
 6963|      0|#line 6964 "MachineIndependent/glslang_tab.cpp"
 6964|      0|    break;
 6965|       |
 6966|      0|  case 113: /* identifier_list: identifier_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (6966:3): [True: 0, False: 779k]
  ------------------
 6967|      0|#line 985 "MachineIndependent/glslang.y"
 6968|      0|                                       {
 6969|      0|        (yyval.interm.identifierList) = (yyvsp[-2].interm.identifierList);
 6970|      0|        (yyval.interm.identifierList)->push_back((yyvsp[0].lex).string);
 6971|      0|    }
 6972|      0|#line 6973 "MachineIndependent/glslang_tab.cpp"
 6973|      0|    break;
 6974|       |
 6975|  30.4k|  case 114: /* function_prototype: function_declarator RIGHT_PAREN  */
  ------------------
  |  Branch (6975:3): [True: 30.4k, False: 749k]
  ------------------
 6976|  30.4k|#line 992 "MachineIndependent/glslang.y"
 6977|  30.4k|                                       {
 6978|  30.4k|        (yyval.interm).function = (yyvsp[-1].interm.function);
 6979|  30.4k|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  783|  30.4k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6979:13): [True: 0, False: 30.4k]
  ------------------
 6980|  30.4k|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6981|  30.4k|    }
 6982|  30.4k|#line 6983 "MachineIndependent/glslang_tab.cpp"
 6983|  30.4k|    break;
 6984|       |
 6985|      0|  case 115: /* function_prototype: function_declarator RIGHT_PAREN attribute  */
  ------------------
  |  Branch (6985:3): [True: 0, False: 779k]
  ------------------
 6986|      0|#line 997 "MachineIndependent/glslang.y"
 6987|      0|                                                {
 6988|      0|        (yyval.interm).function = (yyvsp[-2].interm.function);
 6989|      0|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6989:13): [True: 0, False: 0]
  ------------------
 6990|      0|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 6991|      0|        const char * extensions[3] = { E_GL_EXT_subgroup_uniform_control_flow, E_GL_EXT_maximal_reconvergence, E_GL_EXT_function_control_attributes };
 6992|      0|        parseContext.requireExtensions((yyvsp[-1].lex).loc, 3, extensions, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6993|      0|        parseContext.handleFunctionAttributes((yyvsp[-1].lex).loc, *(yyval.interm).function, *(yyvsp[0].interm.attributes));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6994|      0|    }
 6995|      0|#line 6996 "MachineIndependent/glslang_tab.cpp"
 6996|      0|    break;
 6997|       |
 6998|      0|  case 116: /* function_prototype: attribute function_declarator RIGHT_PAREN  */
  ------------------
  |  Branch (6998:3): [True: 0, False: 779k]
  ------------------
 6999|      0|#line 1005 "MachineIndependent/glslang.y"
 7000|      0|                                                {
 7001|      0|        (yyval.interm).function = (yyvsp[-1].interm.function);
 7002|      0|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7002:13): [True: 0, False: 0]
  ------------------
 7003|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 7004|      0|        const char * extensions[3] = { E_GL_EXT_subgroup_uniform_control_flow, E_GL_EXT_maximal_reconvergence, E_GL_EXT_function_control_attributes };
 7005|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 3, extensions, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7006|      0|        parseContext.handleFunctionAttributes((yyvsp[0].lex).loc, *(yyval.interm).function, *(yyvsp[-2].interm.attributes));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7007|      0|    }
 7008|      0|#line 7009 "MachineIndependent/glslang_tab.cpp"
 7009|      0|    break;
 7010|       |
 7011|      0|  case 117: /* function_prototype: attribute function_declarator RIGHT_PAREN attribute  */
  ------------------
  |  Branch (7011:3): [True: 0, False: 779k]
  ------------------
 7012|      0|#line 1013 "MachineIndependent/glslang.y"
 7013|      0|                                                          {
 7014|      0|        (yyval.interm).function = (yyvsp[-2].interm.function);
 7015|      0|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7015:13): [True: 0, False: 0]
  ------------------
 7016|      0|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 7017|      0|        const char * extensions[3] = { E_GL_EXT_subgroup_uniform_control_flow, E_GL_EXT_maximal_reconvergence, E_GL_EXT_function_control_attributes };
 7018|      0|        parseContext.requireExtensions((yyvsp[-1].lex).loc, 3, extensions, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7019|      0|        parseContext.handleFunctionAttributes((yyvsp[-1].lex).loc, *(yyval.interm).function, *(yyvsp[-3].interm.attributes));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7020|      0|        parseContext.handleFunctionAttributes((yyvsp[-1].lex).loc, *(yyval.interm).function, *(yyvsp[0].interm.attributes));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7021|      0|    }
 7022|      0|#line 7023 "MachineIndependent/glslang_tab.cpp"
 7023|      0|    break;
 7024|       |
 7025|    215|  case 118: /* function_declarator: function_header  */
  ------------------
  |  Branch (7025:3): [True: 215, False: 779k]
  ------------------
 7026|    215|#line 1025 "MachineIndependent/glslang.y"
 7027|    215|                      {
 7028|    215|        (yyval.interm.function) = (yyvsp[0].interm.function);
 7029|    215|    }
 7030|    215|#line 7031 "MachineIndependent/glslang_tab.cpp"
 7031|    215|    break;
 7032|       |
 7033|  30.2k|  case 119: /* function_declarator: function_header_with_parameters  */
  ------------------
  |  Branch (7033:3): [True: 30.2k, False: 749k]
  ------------------
 7034|  30.2k|#line 1028 "MachineIndependent/glslang.y"
 7035|  30.2k|                                      {
 7036|  30.2k|        (yyval.interm.function) = (yyvsp[0].interm.function);
 7037|  30.2k|    }
 7038|  30.2k|#line 7039 "MachineIndependent/glslang_tab.cpp"
 7039|  30.2k|    break;
 7040|       |
 7041|  30.2k|  case 120: /* function_header_with_parameters: function_header parameter_declaration  */
  ------------------
  |  Branch (7041:3): [True: 30.2k, False: 749k]
  ------------------
 7042|  30.2k|#line 1035 "MachineIndependent/glslang.y"
 7043|  30.2k|                                            {
 7044|       |        // Add the parameter
 7045|  30.2k|        (yyval.interm.function) = (yyvsp[-1].interm.function);
 7046|  30.2k|        if ((yyvsp[0].interm).param.type->getBasicType() != EbtVoid)
  ------------------
  |  Branch (7046:13): [True: 30.2k, False: 72]
  ------------------
 7047|  30.2k|        {
 7048|  30.2k|            if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  783|  30.2k|#define parseContext (*pParseContext)
  ------------------
                          if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  783|  11.6k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7048:19): [True: 11.6k, False: 18.5k]
  |  Branch (7048:57): [True: 0, False: 11.6k]
  ------------------
 7049|  30.2k|                (yyvsp[-1].interm.function)->addParameter((yyvsp[0].interm).param);
 7050|      0|            else
 7051|      0|                parseContext.vkRelaxedRemapFunctionParameter((yyvsp[-1].interm.function), (yyvsp[0].interm).param);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7052|  30.2k|        }
 7053|     72|        else
 7054|     72|            delete (yyvsp[0].interm).param.type;
 7055|  30.2k|    }
 7056|  30.2k|#line 7057 "MachineIndependent/glslang_tab.cpp"
 7057|  30.2k|    break;
 7058|       |
 7059|  38.3k|  case 121: /* function_header_with_parameters: function_header_with_parameters COMMA parameter_declaration  */
  ------------------
  |  Branch (7059:3): [True: 38.3k, False: 741k]
  ------------------
 7060|  38.3k|#line 1048 "MachineIndependent/glslang.y"
 7061|  38.3k|                                                                  {
 7062|       |        //
 7063|       |        // Only first parameter of one-parameter functions can be void
 7064|       |        // The check for named parameters not being void is done in parameter_declarator
 7065|       |        //
 7066|  38.3k|        if ((yyvsp[0].interm).param.type->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (7066:13): [True: 0, False: 38.3k]
  ------------------
 7067|       |            //
 7068|       |            // This parameter > first is void
 7069|       |            //
 7070|      0|            parseContext.error((yyvsp[-1].lex).loc, "cannot be an argument type except for '(void)'", "void", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7071|      0|            delete (yyvsp[0].interm).param.type;
 7072|  38.3k|        } else {
 7073|       |            // Add the parameter
 7074|  38.3k|            (yyval.interm.function) = (yyvsp[-2].interm.function);
 7075|  38.3k|            if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  783|  38.3k|#define parseContext (*pParseContext)
  ------------------
                          if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  783|  22.8k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7075:19): [True: 22.8k, False: 15.4k]
  |  Branch (7075:57): [True: 0, False: 22.8k]
  ------------------
 7076|  38.3k|                (yyvsp[-2].interm.function)->addParameter((yyvsp[0].interm).param);
 7077|      0|            else
 7078|      0|                parseContext.vkRelaxedRemapFunctionParameter((yyvsp[-2].interm.function), (yyvsp[0].interm).param);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7079|  38.3k|        }
 7080|  38.3k|    }
 7081|  38.3k|#line 7082 "MachineIndependent/glslang_tab.cpp"
 7082|  38.3k|    break;
 7083|       |
 7084|     60|  case 122: /* function_header_with_parameters: function_header_with_parameters COMMA DOT DOT DOT  */
  ------------------
  |  Branch (7084:3): [True: 60, False: 779k]
  ------------------
 7085|     60|#line 1068 "MachineIndependent/glslang.y"
 7086|     60|                                                        {
 7087|     60|        (yyval.interm.function) = (yyvsp[-4].interm.function);
 7088|     60|        parseContext.makeVariadic((yyvsp[-4].interm.function), (yyvsp[-2].lex).loc);
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 7089|     60|    }
 7090|     60|#line 7091 "MachineIndependent/glslang_tab.cpp"
 7091|     60|    break;
 7092|       |
 7093|  30.4k|  case 123: /* function_header: fully_specified_type IDENTIFIER LEFT_PAREN  */
  ------------------
  |  Branch (7093:3): [True: 30.4k, False: 749k]
  ------------------
 7094|  30.4k|#line 1075 "MachineIndependent/glslang.y"
 7095|  30.4k|                                                 {
 7096|  30.4k|        if ((yyvsp[-2].interm.type).qualifier.storage != EvqGlobal && (yyvsp[-2].interm.type).qualifier.storage != EvqTemporary) {
  ------------------
  |  Branch (7096:13): [True: 0, False: 30.4k]
  |  Branch (7096:71): [True: 0, False: 0]
  ------------------
 7097|      0|            parseContext.error((yyvsp[-1].lex).loc, "no qualifiers allowed for function return",
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7098|      0|                               GetStorageQualifierString((yyvsp[-2].interm.type).qualifier.storage), "");
 7099|      0|        }
 7100|  30.4k|        if ((yyvsp[-2].interm.type).arraySizes)
  ------------------
  |  Branch (7100:13): [True: 0, False: 30.4k]
  ------------------
 7101|      0|            parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7102|       |
 7103|       |        // Add the function as a prototype after parsing it (we do not support recursion)
 7104|  30.4k|        TFunction *function;
 7105|  30.4k|        TType type((yyvsp[-2].interm.type));
 7106|       |
 7107|       |        // Potentially rename shader entry point function.  No-op most of the time.
 7108|  30.4k|        parseContext.renameShaderFunction((yyvsp[-1].lex).string);
  ------------------
  |  |  783|  30.4k|#define parseContext (*pParseContext)
  ------------------
 7109|       |
 7110|       |        // Make the function
 7111|  30.4k|        function = new TFunction((yyvsp[-1].lex).string, type);
 7112|  30.4k|        (yyval.interm.function) = function;
 7113|  30.4k|    }
 7114|  30.4k|#line 7115 "MachineIndependent/glslang_tab.cpp"
 7115|  30.4k|    break;
 7116|       |
 7117|  8.61k|  case 124: /* parameter_declarator: type_specifier IDENTIFIER  */
  ------------------
  |  Branch (7117:3): [True: 8.61k, False: 771k]
  ------------------
 7118|  8.61k|#line 1098 "MachineIndependent/glslang.y"
 7119|  8.61k|                                {
 7120|  8.61k|        if ((yyvsp[-1].interm.type).arraySizes) {
  ------------------
  |  Branch (7120:13): [True: 975, False: 7.64k]
  ------------------
 7121|    975|            parseContext.profileRequires((yyvsp[-1].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|    975|#define parseContext (*pParseContext)
  ------------------
 7122|    975|            parseContext.profileRequires((yyvsp[-1].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|    975|#define parseContext (*pParseContext)
  ------------------
 7123|    975|            parseContext.arraySizeRequiredCheck((yyvsp[-1].interm.type).loc, *(yyvsp[-1].interm.type).arraySizes);
  ------------------
  |  |  783|    975|#define parseContext (*pParseContext)
  ------------------
 7124|    975|        }
 7125|  8.61k|        if ((yyvsp[-1].interm.type).basicType == EbtVoid) {
  ------------------
  |  Branch (7125:13): [True: 0, False: 8.61k]
  ------------------
 7126|      0|            parseContext.error((yyvsp[0].lex).loc, "illegal use of type 'void'", (yyvsp[0].lex).string->c_str(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7127|      0|        }
 7128|  8.61k|        parseContext.reservedErrorCheck((yyvsp[0].lex).loc, *(yyvsp[0].lex).string);
  ------------------
  |  |  783|  8.61k|#define parseContext (*pParseContext)
  ------------------
 7129|       |
 7130|  8.61k|        TParameter param = {(yyvsp[0].lex).string, new TType((yyvsp[-1].interm.type)), {}};
 7131|  8.61k|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 7132|  8.61k|        (yyval.interm).param = param;
 7133|  8.61k|    }
 7134|  8.61k|#line 7135 "MachineIndependent/glslang_tab.cpp"
 7135|  8.61k|    break;
 7136|       |
 7137|    218|  case 125: /* parameter_declarator: type_specifier IDENTIFIER array_specifier  */
  ------------------
  |  Branch (7137:3): [True: 218, False: 779k]
  ------------------
 7138|    218|#line 1113 "MachineIndependent/glslang.y"
 7139|    218|                                                {
 7140|    218|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (7140:13): [True: 0, False: 218]
  ------------------
 7141|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7142|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7143|      0|            parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7144|      0|        }
 7145|    218|        TType* type = new TType((yyvsp[-2].interm.type));
 7146|    218|        type->transferArraySizes((yyvsp[0].interm).arraySizes);
 7147|    218|        type->copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
 7148|       |
 7149|    218|        parseContext.arrayOfArrayVersionCheck((yyvsp[-1].lex).loc, type->getArraySizes());
  ------------------
  |  |  783|    218|#define parseContext (*pParseContext)
  ------------------
 7150|    218|        parseContext.arraySizeRequiredCheck((yyvsp[0].interm).loc, *(yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|    218|#define parseContext (*pParseContext)
  ------------------
 7151|    218|        parseContext.reservedErrorCheck((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string);
  ------------------
  |  |  783|    218|#define parseContext (*pParseContext)
  ------------------
 7152|       |
 7153|    218|        TParameter param = { (yyvsp[-1].lex).string, type, {} };
 7154|       |
 7155|    218|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 7156|    218|        (yyval.interm).param = param;
 7157|    218|    }
 7158|    218|#line 7159 "MachineIndependent/glslang_tab.cpp"
 7159|    218|    break;
 7160|       |
 7161|     60|  case 126: /* parameter_declarator: type_specifier IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (7161:3): [True: 60, False: 779k]
  ------------------
 7162|     60|#line 1132 "MachineIndependent/glslang.y"
 7163|     60|                                                  {
 7164|     60|        TParameter param = parseContext.getParamWithDefault((yyvsp[-3].interm.type), (yyvsp[-2].lex).string, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 7165|     60|        (yyval.interm).loc = (yyvsp[-2].lex).loc;
 7166|     60|        (yyval.interm).param = param;
 7167|     60|    }
 7168|     60|#line 7169 "MachineIndependent/glslang_tab.cpp"
 7169|     60|    break;
 7170|       |
 7171|  1.01k|  case 127: /* parameter_declaration: type_qualifier parameter_declarator  */
  ------------------
  |  Branch (7171:3): [True: 1.01k, False: 778k]
  ------------------
 7172|  1.01k|#line 1143 "MachineIndependent/glslang.y"
 7173|  1.01k|                                          {
 7174|  1.01k|        (yyval.interm) = (yyvsp[0].interm);
 7175|  1.01k|        if ((yyvsp[-1].interm.type).qualifier.precision != EpqNone)
  ------------------
  |  Branch (7175:13): [True: 34, False: 981]
  ------------------
 7176|     34|            (yyval.interm).param.type->getQualifier().precision = (yyvsp[-1].interm.type).qualifier.precision;
 7177|  1.01k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  783|  1.01k|#define parseContext (*pParseContext)
  ------------------
 7178|       |
 7179|  1.01k|        parseContext.checkNoShaderLayouts((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  783|  1.01k|#define parseContext (*pParseContext)
  ------------------
 7180|  1.01k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, (yyvsp[-1].interm.type).qualifier.storage, *(yyval.interm).param.type);
  ------------------
  |  |  783|  1.01k|#define parseContext (*pParseContext)
  ------------------
 7181|  1.01k|        parseContext.paramCheckFix((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, *(yyval.interm).param.type);
  ------------------
  |  |  783|  1.01k|#define parseContext (*pParseContext)
  ------------------
 7182|       |
 7183|  1.01k|    }
 7184|  1.01k|#line 7185 "MachineIndependent/glslang_tab.cpp"
 7185|  1.01k|    break;
 7186|       |
 7187|  7.88k|  case 128: /* parameter_declaration: parameter_declarator  */
  ------------------
  |  Branch (7187:3): [True: 7.88k, False: 772k]
  ------------------
 7188|  7.88k|#line 1154 "MachineIndependent/glslang.y"
 7189|  7.88k|                           {
 7190|  7.88k|        (yyval.interm) = (yyvsp[0].interm);
 7191|       |
 7192|  7.88k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, EvqIn, *(yyvsp[0].interm).param.type);
  ------------------
  |  |  783|  7.88k|#define parseContext (*pParseContext)
  ------------------
 7193|  7.88k|        parseContext.paramCheckFixStorage((yyvsp[0].interm).loc, EvqTemporary, *(yyval.interm).param.type);
  ------------------
  |  |  783|  7.88k|#define parseContext (*pParseContext)
  ------------------
 7194|  7.88k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  783|  7.88k|#define parseContext (*pParseContext)
  ------------------
 7195|  7.88k|    }
 7196|  7.88k|#line 7197 "MachineIndependent/glslang_tab.cpp"
 7197|  7.88k|    break;
 7198|       |
 7199|  3.65k|  case 129: /* parameter_declaration: type_qualifier parameter_type_specifier  */
  ------------------
  |  Branch (7199:3): [True: 3.65k, False: 776k]
  ------------------
 7200|  3.65k|#line 1164 "MachineIndependent/glslang.y"
 7201|  3.65k|                                              {
 7202|  3.65k|        (yyval.interm) = (yyvsp[0].interm);
 7203|  3.65k|        if ((yyvsp[-1].interm.type).qualifier.precision != EpqNone)
  ------------------
  |  Branch (7203:13): [True: 942, False: 2.71k]
  ------------------
 7204|    942|            (yyval.interm).param.type->getQualifier().precision = (yyvsp[-1].interm.type).qualifier.precision;
 7205|  3.65k|        parseContext.precisionQualifierCheck((yyvsp[-1].interm.type).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  783|  3.65k|#define parseContext (*pParseContext)
  ------------------
 7206|       |
 7207|  3.65k|        parseContext.checkNoShaderLayouts((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  783|  3.65k|#define parseContext (*pParseContext)
  ------------------
 7208|  3.65k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, (yyvsp[-1].interm.type).qualifier.storage, *(yyval.interm).param.type);
  ------------------
  |  |  783|  3.65k|#define parseContext (*pParseContext)
  ------------------
 7209|  3.65k|        parseContext.paramCheckFix((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, *(yyval.interm).param.type);
  ------------------
  |  |  783|  3.65k|#define parseContext (*pParseContext)
  ------------------
 7210|  3.65k|    }
 7211|  3.65k|#line 7212 "MachineIndependent/glslang_tab.cpp"
 7212|  3.65k|    break;
 7213|       |
 7214|  56.0k|  case 130: /* parameter_declaration: parameter_type_specifier  */
  ------------------
  |  Branch (7214:3): [True: 56.0k, False: 723k]
  ------------------
 7215|  56.0k|#line 1174 "MachineIndependent/glslang.y"
 7216|  56.0k|                               {
 7217|  56.0k|        (yyval.interm) = (yyvsp[0].interm);
 7218|       |
 7219|  56.0k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, EvqIn, *(yyvsp[0].interm).param.type);
  ------------------
  |  |  783|  56.0k|#define parseContext (*pParseContext)
  ------------------
 7220|  56.0k|        parseContext.paramCheckFixStorage((yyvsp[0].interm).loc, EvqTemporary, *(yyval.interm).param.type);
  ------------------
  |  |  783|  56.0k|#define parseContext (*pParseContext)
  ------------------
 7221|  56.0k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  783|  56.0k|#define parseContext (*pParseContext)
  ------------------
 7222|  56.0k|    }
 7223|  56.0k|#line 7224 "MachineIndependent/glslang_tab.cpp"
 7224|  56.0k|    break;
 7225|       |
 7226|  59.6k|  case 131: /* parameter_type_specifier: type_specifier  */
  ------------------
  |  Branch (7226:3): [True: 59.6k, False: 720k]
  ------------------
 7227|  59.6k|#line 1184 "MachineIndependent/glslang.y"
 7228|  59.6k|                     {
 7229|  59.6k|        TParameter param = { 0, new TType((yyvsp[0].interm.type)), {} };
 7230|  59.6k|        (yyval.interm).param = param;
 7231|  59.6k|        if ((yyvsp[0].interm.type).arraySizes)
  ------------------
  |  Branch (7231:13): [True: 178, False: 59.5k]
  ------------------
 7232|    178|            parseContext.arraySizeRequiredCheck((yyvsp[0].interm.type).loc, *(yyvsp[0].interm.type).arraySizes);
  ------------------
  |  |  783|    178|#define parseContext (*pParseContext)
  ------------------
 7233|  59.6k|    }
 7234|  59.6k|#line 7235 "MachineIndependent/glslang_tab.cpp"
 7235|  59.6k|    break;
 7236|       |
 7237|  1.26k|  case 132: /* init_declarator_list: single_declaration  */
  ------------------
  |  Branch (7237:3): [True: 1.26k, False: 778k]
  ------------------
 7238|  1.26k|#line 1193 "MachineIndependent/glslang.y"
 7239|  1.26k|                         {
 7240|  1.26k|        (yyval.interm) = (yyvsp[0].interm);
 7241|  1.26k|    }
 7242|  1.26k|#line 7243 "MachineIndependent/glslang_tab.cpp"
 7243|  1.26k|    break;
 7244|       |
 7245|      0|  case 133: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (7245:3): [True: 0, False: 779k]
  ------------------
 7246|      0|#line 1196 "MachineIndependent/glslang.y"
 7247|      0|                                            {
 7248|      0|        (yyval.interm) = (yyvsp[-2].interm);
 7249|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[0].lex).loc, *(yyvsp[0].lex).string, (yyvsp[-2].interm).type);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7250|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, declNode, (yyvsp[0].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7251|      0|    }
 7252|      0|#line 7253 "MachineIndependent/glslang_tab.cpp"
 7253|      0|    break;
 7254|       |
 7255|      0|  case 134: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER array_specifier  */
  ------------------
  |  Branch (7255:3): [True: 0, False: 779k]
  ------------------
 7256|      0|#line 1201 "MachineIndependent/glslang.y"
 7257|      0|                                                            {
 7258|      0|        (yyval.interm) = (yyvsp[-3].interm);
 7259|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string, (yyvsp[-3].interm).type, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7260|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-3].interm).intermNode, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7261|      0|    }
 7262|      0|#line 7263 "MachineIndependent/glslang_tab.cpp"
 7263|      0|    break;
 7264|       |
 7265|      0|  case 135: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER array_specifier EQUAL initializer  */
  ------------------
  |  Branch (7265:3): [True: 0, False: 779k]
  ------------------
 7266|      0|#line 1206 "MachineIndependent/glslang.y"
 7267|      0|                                                                              {
 7268|      0|        (yyval.interm).type = (yyvsp[-5].interm).type;
 7269|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-3].lex).loc, *(yyvsp[-3].lex).string, (yyvsp[-5].interm).type, (yyvsp[-2].interm).arraySizes, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7270|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-5].interm).intermNode, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7271|      0|    }
 7272|      0|#line 7273 "MachineIndependent/glslang_tab.cpp"
 7273|      0|    break;
 7274|       |
 7275|      0|  case 136: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (7275:3): [True: 0, False: 779k]
  ------------------
 7276|      0|#line 1211 "MachineIndependent/glslang.y"
 7277|      0|                                                              {
 7278|      0|        (yyval.interm).type = (yyvsp[-4].interm).type;
 7279|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-4].interm).type, 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7280|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-4].interm).intermNode, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7281|      0|    }
 7282|      0|#line 7283 "MachineIndependent/glslang_tab.cpp"
 7283|      0|    break;
 7284|       |
 7285|     76|  case 137: /* single_declaration: fully_specified_type  */
  ------------------
  |  Branch (7285:3): [True: 76, False: 779k]
  ------------------
 7286|     76|#line 1219 "MachineIndependent/glslang.y"
 7287|     76|                           {
 7288|     76|        (yyval.interm).type = (yyvsp[0].interm.type);
 7289|     76|        (yyval.interm).intermNode = 0;
 7290|     76|        parseContext.declareTypeDefaults((yyval.interm).loc, (yyval.interm).type);
  ------------------
  |  |  783|     76|#define parseContext (*pParseContext)
  ------------------
 7291|     76|    }
 7292|     76|#line 7293 "MachineIndependent/glslang_tab.cpp"
 7293|     76|    break;
 7294|       |
 7295|    733|  case 138: /* single_declaration: fully_specified_type IDENTIFIER  */
  ------------------
  |  Branch (7295:3): [True: 733, False: 779k]
  ------------------
 7296|    733|#line 1224 "MachineIndependent/glslang.y"
 7297|    733|                                      {
 7298|    733|        (yyval.interm).type = (yyvsp[-1].interm.type);
 7299|    733|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[0].lex).loc, *(yyvsp[0].lex).string, (yyvsp[-1].interm.type));
  ------------------
  |  |  783|    733|#define parseContext (*pParseContext)
  ------------------
 7300|    733|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[0].lex).loc);
  ------------------
  |  |  783|    733|#define parseContext (*pParseContext)
  ------------------
 7301|       |
 7302|    733|    }
 7303|    733|#line 7304 "MachineIndependent/glslang_tab.cpp"
 7304|    733|    break;
 7305|       |
 7306|     22|  case 139: /* single_declaration: fully_specified_type IDENTIFIER array_specifier  */
  ------------------
  |  Branch (7306:3): [True: 22, False: 779k]
  ------------------
 7307|     22|#line 1230 "MachineIndependent/glslang.y"
 7308|     22|                                                      {
 7309|     22|        (yyval.interm).type = (yyvsp[-2].interm.type);
 7310|     22|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string, (yyvsp[-2].interm.type), (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|     22|#define parseContext (*pParseContext)
  ------------------
 7311|     22|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|     22|#define parseContext (*pParseContext)
  ------------------
 7312|     22|    }
 7313|     22|#line 7314 "MachineIndependent/glslang_tab.cpp"
 7314|     22|    break;
 7315|       |
 7316|      0|  case 140: /* single_declaration: fully_specified_type IDENTIFIER array_specifier EQUAL initializer  */
  ------------------
  |  Branch (7316:3): [True: 0, False: 779k]
  ------------------
 7317|      0|#line 1235 "MachineIndependent/glslang.y"
 7318|      0|                                                                        {
 7319|      0|        (yyval.interm).type = (yyvsp[-4].interm.type);
 7320|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-3].lex).loc, *(yyvsp[-3].lex).string, (yyvsp[-4].interm.type), (yyvsp[-2].interm).arraySizes, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7321|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-3].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7322|      0|    }
 7323|      0|#line 7324 "MachineIndependent/glslang_tab.cpp"
 7324|      0|    break;
 7325|       |
 7326|    437|  case 141: /* single_declaration: fully_specified_type IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (7326:3): [True: 437, False: 779k]
  ------------------
 7327|    437|#line 1240 "MachineIndependent/glslang.y"
 7328|    437|                                                        {
 7329|    437|        (yyval.interm).type = (yyvsp[-3].interm.type);
 7330|    437|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-3].interm.type), 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|    437|#define parseContext (*pParseContext)
  ------------------
 7331|    437|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-2].lex).loc);
  ------------------
  |  |  783|    437|#define parseContext (*pParseContext)
  ------------------
 7332|    437|    }
 7333|    437|#line 7334 "MachineIndependent/glslang_tab.cpp"
 7334|    437|    break;
 7335|       |
 7336|  29.7k|  case 142: /* fully_specified_type: type_specifier  */
  ------------------
  |  Branch (7336:3): [True: 29.7k, False: 750k]
  ------------------
 7337|  29.7k|#line 1249 "MachineIndependent/glslang.y"
 7338|  29.7k|                     {
 7339|  29.7k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7340|       |
 7341|  29.7k|        parseContext.globalQualifierTypeCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier, (yyval.interm.type));
  ------------------
  |  |  783|  29.7k|#define parseContext (*pParseContext)
  ------------------
 7342|  29.7k|        if ((yyvsp[0].interm.type).arraySizes) {
  ------------------
  |  Branch (7342:13): [True: 0, False: 29.7k]
  ------------------
 7343|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7344|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7345|      0|        }
 7346|  29.7k|        parseContext.precisionQualifierCheck((yyval.interm.type).loc, (yyval.interm.type).basicType, (yyval.interm.type).qualifier, (yyval.interm.type).hasTypeParameter());
  ------------------
  |  |  783|  29.7k|#define parseContext (*pParseContext)
  ------------------
 7347|  29.7k|    }
 7348|  29.7k|#line 7349 "MachineIndependent/glslang_tab.cpp"
 7349|  29.7k|    break;
 7350|       |
 7351|  1.98k|  case 143: /* fully_specified_type: type_qualifier type_specifier  */
  ------------------
  |  Branch (7351:3): [True: 1.98k, False: 777k]
  ------------------
 7352|  1.98k|#line 1259 "MachineIndependent/glslang.y"
 7353|  1.98k|                                     {
 7354|  1.98k|        parseContext.globalQualifierFixCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, false, &(yyvsp[0].interm.type));
  ------------------
  |  |  783|  1.98k|#define parseContext (*pParseContext)
  ------------------
 7355|  1.98k|        parseContext.globalQualifierTypeCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, (yyvsp[0].interm.type));
  ------------------
  |  |  783|  1.98k|#define parseContext (*pParseContext)
  ------------------
 7356|       |
 7357|  1.98k|        if ((yyvsp[0].interm.type).arraySizes) {
  ------------------
  |  Branch (7357:13): [True: 0, False: 1.98k]
  ------------------
 7358|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7359|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7360|      0|        }
 7361|       |
 7362|  1.98k|        if ((yyvsp[0].interm.type).arraySizes && parseContext.arrayQualifierError((yyvsp[0].interm.type).loc, (yyvsp[-1].interm.type).qualifier))
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7362:13): [True: 0, False: 1.98k]
  |  Branch (7362:50): [True: 0, False: 0]
  ------------------
 7363|      0|            (yyvsp[0].interm.type).arraySizes = nullptr;
 7364|       |
 7365|  1.98k|        parseContext.checkNoShaderLayouts((yyvsp[0].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  783|  1.98k|#define parseContext (*pParseContext)
  ------------------
 7366|  1.98k|        (yyvsp[0].interm.type).shaderQualifiers.merge((yyvsp[-1].interm.type).shaderQualifiers);
 7367|  1.98k|        parseContext.mergeQualifiers((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier, (yyvsp[-1].interm.type).qualifier, true);
  ------------------
  |  |  783|  1.98k|#define parseContext (*pParseContext)
  ------------------
 7368|  1.98k|        parseContext.precisionQualifierCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).basicType, (yyvsp[0].interm.type).qualifier, (yyvsp[0].interm.type).hasTypeParameter());
  ------------------
  |  |  783|  1.98k|#define parseContext (*pParseContext)
  ------------------
 7369|       |
 7370|  1.98k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7371|       |
 7372|  1.98k|        if (! (yyval.interm.type).qualifier.isInterpolation() &&
  ------------------
  |  Branch (7372:13): [True: 1.98k, False: 0]
  ------------------
 7373|  1.98k|            ((parseContext.language == EShLangVertex   && (yyval.interm.type).qualifier.storage == EvqVaryingOut) ||
  ------------------
  |  |  783|  1.98k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7373:15): [True: 1.36k, False: 621]
  |  Branch (7373:59): [True: 8, False: 1.35k]
  ------------------
 7374|  1.97k|             (parseContext.language == EShLangFragment && (yyval.interm.type).qualifier.storage == EvqVaryingIn)))
  ------------------
  |  |  783|  1.97k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7374:15): [True: 216, False: 1.75k]
  |  Branch (7374:59): [True: 0, False: 216]
  ------------------
 7375|      8|            (yyval.interm.type).qualifier.smooth = true;
 7376|  1.98k|    }
 7377|  1.98k|#line 7378 "MachineIndependent/glslang_tab.cpp"
 7378|  1.98k|    break;
 7379|       |
 7380|      0|  case 144: /* invariant_qualifier: INVARIANT  */
  ------------------
  |  Branch (7380:3): [True: 0, False: 779k]
  ------------------
 7381|      0|#line 1286 "MachineIndependent/glslang.y"
 7382|      0|                {
 7383|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "invariant");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7384|      0|        parseContext.profileRequires((yyval.interm.type).loc, ENoProfile, 120, 0, "invariant");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7385|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7386|      0|        (yyval.interm.type).qualifier.invariant = true;
 7387|      0|    }
 7388|      0|#line 7389 "MachineIndependent/glslang_tab.cpp"
 7389|      0|    break;
 7390|       |
 7391|      0|  case 145: /* interpolation_qualifier: SMOOTH  */
  ------------------
  |  Branch (7391:3): [True: 0, False: 779k]
  ------------------
 7392|      0|#line 1295 "MachineIndependent/glslang.y"
 7393|      0|             {
 7394|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "smooth");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7395|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "smooth");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7396|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "smooth");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7397|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7398|      0|        (yyval.interm.type).qualifier.smooth = true;
 7399|      0|    }
 7400|      0|#line 7401 "MachineIndependent/glslang_tab.cpp"
 7401|      0|    break;
 7402|       |
 7403|      0|  case 146: /* interpolation_qualifier: FLAT  */
  ------------------
  |  Branch (7403:3): [True: 0, False: 779k]
  ------------------
 7404|      0|#line 1302 "MachineIndependent/glslang.y"
 7405|      0|           {
 7406|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "flat");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7407|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "flat");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7408|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "flat");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7409|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7410|      0|        (yyval.interm.type).qualifier.flat = true;
 7411|      0|    }
 7412|      0|#line 7413 "MachineIndependent/glslang_tab.cpp"
 7413|      0|    break;
 7414|       |
 7415|      0|  case 147: /* interpolation_qualifier: NOPERSPECTIVE  */
  ------------------
  |  Branch (7415:3): [True: 0, False: 779k]
  ------------------
 7416|      0|#line 1309 "MachineIndependent/glslang.y"
 7417|      0|                    {
 7418|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "noperspective");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7419|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_NV_shader_noperspective_interpolation, "noperspective");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7420|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "noperspective");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7421|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7422|      0|        (yyval.interm.type).qualifier.nopersp = true;
 7423|      0|    }
 7424|      0|#line 7425 "MachineIndependent/glslang_tab.cpp"
 7425|      0|    break;
 7426|       |
 7427|      0|  case 148: /* interpolation_qualifier: EXPLICITINTERPAMD  */
  ------------------
  |  Branch (7427:3): [True: 0, False: 779k]
  ------------------
 7428|      0|#line 1316 "MachineIndependent/glslang.y"
 7429|      0|                        {
 7430|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "__explicitInterpAMD");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7431|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 450, E_GL_AMD_shader_explicit_vertex_parameter, "explicit interpolation");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7432|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECompatibilityProfile, 450, E_GL_AMD_shader_explicit_vertex_parameter, "explicit interpolation");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7433|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7434|      0|        (yyval.interm.type).qualifier.explicitInterp = true;
 7435|      0|    }
 7436|      0|#line 7437 "MachineIndependent/glslang_tab.cpp"
 7437|      0|    break;
 7438|       |
 7439|      0|  case 149: /* interpolation_qualifier: PERVERTEXNV  */
  ------------------
  |  Branch (7439:3): [True: 0, False: 779k]
  ------------------
 7440|      0|#line 1323 "MachineIndependent/glslang.y"
 7441|      0|                  {
 7442|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "pervertexNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7443|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7444|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECompatibilityProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7445|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7446|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7447|      0|        (yyval.interm.type).qualifier.pervertexNV = true;
 7448|      0|    }
 7449|      0|#line 7450 "MachineIndependent/glslang_tab.cpp"
 7450|      0|    break;
 7451|       |
 7452|      0|  case 150: /* interpolation_qualifier: PERVERTEXEXT  */
  ------------------
  |  Branch (7452:3): [True: 0, False: 779k]
  ------------------
 7453|      0|#line 1331 "MachineIndependent/glslang.y"
 7454|      0|                   {
 7455|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "pervertexEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7456|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 0, E_GL_EXT_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7457|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECompatibilityProfile, 0, E_GL_EXT_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7458|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_EXT_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7459|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7460|      0|        (yyval.interm.type).qualifier.pervertexEXT = true;
 7461|      0|    }
 7462|      0|#line 7463 "MachineIndependent/glslang_tab.cpp"
 7463|      0|    break;
 7464|       |
 7465|      1|  case 151: /* interpolation_qualifier: PERPRIMITIVENV  */
  ------------------
  |  Branch (7465:3): [True: 1, False: 779k]
  ------------------
 7466|      1|#line 1339 "MachineIndependent/glslang.y"
 7467|      1|                     {
 7468|       |        // No need for profile version or extension check. Shader stage already checks both.
 7469|      1|        parseContext.globalCheck((yyvsp[0].lex).loc, "perprimitiveNV");
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
 7470|      1|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangFragmentMask | EShLangMeshMask), "perprimitiveNV");
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
 7471|       |        // Fragment shader stage doesn't check for extension. So we explicitly add below extension check.
 7472|      1|        if (parseContext.language == EShLangFragment)
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7472:13): [True: 0, False: 1]
  ------------------
 7473|      0|            parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_NV_mesh_shader, "perprimitiveNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7474|      1|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7475|      1|        (yyval.interm.type).qualifier.perPrimitiveNV = true;
 7476|      1|    }
 7477|      1|#line 7478 "MachineIndependent/glslang_tab.cpp"
 7478|      1|    break;
 7479|       |
 7480|      1|  case 152: /* interpolation_qualifier: PERPRIMITIVEEXT  */
  ------------------
  |  Branch (7480:3): [True: 1, False: 779k]
  ------------------
 7481|      1|#line 1349 "MachineIndependent/glslang.y"
 7482|      1|                      {
 7483|       |        // No need for profile version or extension check. Shader stage already checks both.
 7484|      1|        parseContext.globalCheck((yyvsp[0].lex).loc, "perprimitiveEXT");
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
 7485|      1|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangFragmentMask | EShLangMeshMask), "perprimitiveEXT");
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
 7486|       |        // Fragment shader stage doesn't check for extension. So we explicitly add below extension check.
 7487|      1|        if (parseContext.language == EShLangFragment)
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7487:13): [True: 0, False: 1]
  ------------------
 7488|      0|            parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_mesh_shader, "perprimitiveEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7489|      1|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7490|      1|        (yyval.interm.type).qualifier.perPrimitiveNV = true;
 7491|      1|    }
 7492|      1|#line 7493 "MachineIndependent/glslang_tab.cpp"
 7493|      1|    break;
 7494|       |
 7495|      5|  case 153: /* interpolation_qualifier: PERVIEWNV  */
  ------------------
  |  Branch (7495:3): [True: 5, False: 779k]
  ------------------
 7496|      5|#line 1359 "MachineIndependent/glslang.y"
 7497|      5|                {
 7498|       |        // No need for profile version or extension check. Shader stage already checks both.
 7499|      5|        parseContext.globalCheck((yyvsp[0].lex).loc, "perviewNV");
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
 7500|      5|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangMesh, "perviewNV");
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
 7501|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7502|      5|        (yyval.interm.type).qualifier.perViewNV = true;
 7503|      5|    }
 7504|      5|#line 7505 "MachineIndependent/glslang_tab.cpp"
 7505|      5|    break;
 7506|       |
 7507|      0|  case 154: /* interpolation_qualifier: PERTASKNV  */
  ------------------
  |  Branch (7507:3): [True: 0, False: 779k]
  ------------------
 7508|      0|#line 1366 "MachineIndependent/glslang.y"
 7509|      0|                {
 7510|       |        // No need for profile version or extension check. Shader stage already checks both.
 7511|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "taskNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7512|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTaskMask | EShLangMeshMask), "taskNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7513|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7514|      0|        (yyval.interm.type).qualifier.perTaskNV = true;
 7515|      0|    }
 7516|      0|#line 7517 "MachineIndependent/glslang_tab.cpp"
 7517|      0|    break;
 7518|       |
 7519|      0|  case 155: /* layout_qualifier: LAYOUT LEFT_PAREN layout_qualifier_id_list RIGHT_PAREN  */
  ------------------
  |  Branch (7519:3): [True: 0, False: 779k]
  ------------------
 7520|      0|#line 1376 "MachineIndependent/glslang.y"
 7521|      0|                                                             {
 7522|      0|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 7523|      0|    }
 7524|      0|#line 7525 "MachineIndependent/glslang_tab.cpp"
 7525|      0|    break;
 7526|       |
 7527|      0|  case 156: /* layout_qualifier_id_list: layout_qualifier_id  */
  ------------------
  |  Branch (7527:3): [True: 0, False: 779k]
  ------------------
 7528|      0|#line 1382 "MachineIndependent/glslang.y"
 7529|      0|                          {
 7530|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7531|      0|    }
 7532|      0|#line 7533 "MachineIndependent/glslang_tab.cpp"
 7533|      0|    break;
 7534|       |
 7535|      0|  case 157: /* layout_qualifier_id_list: layout_qualifier_id_list COMMA layout_qualifier_id  */
  ------------------
  |  Branch (7535:3): [True: 0, False: 779k]
  ------------------
 7536|      0|#line 1385 "MachineIndependent/glslang.y"
 7537|      0|                                                         {
 7538|      0|        (yyval.interm.type) = (yyvsp[-2].interm.type);
 7539|      0|        parseContext.checkRepeatedLocalSize((yyvsp[0].interm.type).loc, (yyval.interm.type).shaderQualifiers, (yyvsp[0].interm.type).shaderQualifiers);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7540|      0|        (yyval.interm.type).shaderQualifiers.merge((yyvsp[0].interm.type).shaderQualifiers);
 7541|      0|        parseContext.mergeObjectLayoutQualifiers((yyval.interm.type).qualifier, (yyvsp[0].interm.type).qualifier, false);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7542|      0|    }
 7543|      0|#line 7544 "MachineIndependent/glslang_tab.cpp"
 7544|      0|    break;
 7545|       |
 7546|      0|  case 158: /* layout_qualifier_id: IDENTIFIER  */
  ------------------
  |  Branch (7546:3): [True: 0, False: 779k]
  ------------------
 7547|      0|#line 1393 "MachineIndependent/glslang.y"
 7548|      0|                 {
 7549|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7550|      0|        parseContext.setLayoutQualifier((yyvsp[0].lex).loc, (yyval.interm.type), *(yyvsp[0].lex).string);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7551|      0|    }
 7552|      0|#line 7553 "MachineIndependent/glslang_tab.cpp"
 7553|      0|    break;
 7554|       |
 7555|      0|  case 159: /* layout_qualifier_id: IDENTIFIER EQUAL assignment_expression  */
  ------------------
  |  Branch (7555:3): [True: 0, False: 779k]
  ------------------
 7556|      0|#line 1397 "MachineIndependent/glslang.y"
 7557|      0|                                             {
 7558|      0|        (yyval.interm.type).init((yyvsp[-2].lex).loc);
 7559|      0|        parseContext.setLayoutQualifier((yyvsp[-2].lex).loc, (yyval.interm.type), *(yyvsp[-2].lex).string, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7560|      0|    }
 7561|      0|#line 7562 "MachineIndependent/glslang_tab.cpp"
 7562|      0|    break;
 7563|       |
 7564|      0|  case 160: /* layout_qualifier_id: SHARED  */
  ------------------
  |  Branch (7564:3): [True: 0, False: 779k]
  ------------------
 7565|      0|#line 1401 "MachineIndependent/glslang.y"
 7566|      0|             { // because "shared" is both an identifier and a keyword
 7567|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7568|      0|        TString strShared("shared");
 7569|      0|        parseContext.setLayoutQualifier((yyvsp[0].lex).loc, (yyval.interm.type), strShared);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7570|      0|    }
 7571|      0|#line 7572 "MachineIndependent/glslang_tab.cpp"
 7572|      0|    break;
 7573|       |
 7574|      0|  case 161: /* precise_qualifier: PRECISE  */
  ------------------
  |  Branch (7574:3): [True: 0, False: 779k]
  ------------------
 7575|      0|#line 1409 "MachineIndependent/glslang.y"
 7576|      0|              {
 7577|      0|        parseContext.profileRequires((yyval.interm.type).loc, ECoreProfile | ECompatibilityProfile, 400, E_GL_ARB_gpu_shader5, "precise");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7578|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 320, Num_AEP_gpu_shader5, AEP_gpu_shader5, "precise");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7579|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7580|      0|        (yyval.interm.type).qualifier.noContraction = true;
 7581|      0|    }
 7582|      0|#line 7583 "MachineIndependent/glslang_tab.cpp"
 7583|      0|    break;
 7584|       |
 7585|  6.88k|  case 162: /* type_qualifier: single_type_qualifier  */
  ------------------
  |  Branch (7585:3): [True: 6.88k, False: 773k]
  ------------------
 7586|  6.88k|#line 1418 "MachineIndependent/glslang.y"
 7587|  6.88k|                            {
 7588|  6.88k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7589|  6.88k|    }
 7590|  6.88k|#line 7591 "MachineIndependent/glslang_tab.cpp"
 7591|  6.88k|    break;
 7592|       |
 7593|  5.36k|  case 163: /* type_qualifier: type_qualifier single_type_qualifier  */
  ------------------
  |  Branch (7593:3): [True: 5.36k, False: 774k]
  ------------------
 7594|  5.36k|#line 1421 "MachineIndependent/glslang.y"
 7595|  5.36k|                                           {
 7596|  5.36k|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 7597|  5.36k|        if ((yyval.interm.type).basicType == EbtVoid)
  ------------------
  |  Branch (7597:13): [True: 5.36k, False: 0]
  ------------------
 7598|  5.36k|            (yyval.interm.type).basicType = (yyvsp[0].interm.type).basicType;
 7599|       |
 7600|  5.36k|        (yyval.interm.type).shaderQualifiers.merge((yyvsp[0].interm.type).shaderQualifiers);
 7601|  5.36k|        parseContext.mergeQualifiers((yyval.interm.type).loc, (yyval.interm.type).qualifier, (yyvsp[0].interm.type).qualifier, false);
  ------------------
  |  |  783|  5.36k|#define parseContext (*pParseContext)
  ------------------
 7602|  5.36k|    }
 7603|  5.36k|#line 7604 "MachineIndependent/glslang_tab.cpp"
 7604|  5.36k|    break;
 7605|       |
 7606|  9.34k|  case 164: /* single_type_qualifier: storage_qualifier  */
  ------------------
  |  Branch (7606:3): [True: 9.34k, False: 770k]
  ------------------
 7607|  9.34k|#line 1432 "MachineIndependent/glslang.y"
 7608|  9.34k|                        {
 7609|  9.34k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7610|  9.34k|    }
 7611|  9.34k|#line 7612 "MachineIndependent/glslang_tab.cpp"
 7612|  9.34k|    break;
 7613|       |
 7614|      0|  case 165: /* single_type_qualifier: layout_qualifier  */
  ------------------
  |  Branch (7614:3): [True: 0, False: 779k]
  ------------------
 7615|      0|#line 1435 "MachineIndependent/glslang.y"
 7616|      0|                       {
 7617|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7618|      0|    }
 7619|      0|#line 7620 "MachineIndependent/glslang_tab.cpp"
 7620|      0|    break;
 7621|       |
 7622|  2.89k|  case 166: /* single_type_qualifier: precision_qualifier  */
  ------------------
  |  Branch (7622:3): [True: 2.89k, False: 777k]
  ------------------
 7623|  2.89k|#line 1438 "MachineIndependent/glslang.y"
 7624|  2.89k|                          {
 7625|  2.89k|        parseContext.checkPrecisionQualifier((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier.precision);
  ------------------
  |  |  783|  2.89k|#define parseContext (*pParseContext)
  ------------------
 7626|  2.89k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7627|  2.89k|    }
 7628|  2.89k|#line 7629 "MachineIndependent/glslang_tab.cpp"
 7629|  2.89k|    break;
 7630|       |
 7631|      7|  case 167: /* single_type_qualifier: interpolation_qualifier  */
  ------------------
  |  Branch (7631:3): [True: 7, False: 779k]
  ------------------
 7632|      7|#line 1442 "MachineIndependent/glslang.y"
 7633|      7|                              {
 7634|       |        // allow inheritance of storage qualifier from block declaration
 7635|      7|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7636|      7|    }
 7637|      7|#line 7638 "MachineIndependent/glslang_tab.cpp"
 7638|      7|    break;
 7639|       |
 7640|      0|  case 168: /* single_type_qualifier: invariant_qualifier  */
  ------------------
  |  Branch (7640:3): [True: 0, False: 779k]
  ------------------
 7641|      0|#line 1446 "MachineIndependent/glslang.y"
 7642|      0|                          {
 7643|       |        // allow inheritance of storage qualifier from block declaration
 7644|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7645|      0|    }
 7646|      0|#line 7647 "MachineIndependent/glslang_tab.cpp"
 7647|      0|    break;
 7648|       |
 7649|      0|  case 169: /* single_type_qualifier: precise_qualifier  */
  ------------------
  |  Branch (7649:3): [True: 0, False: 779k]
  ------------------
 7650|      0|#line 1450 "MachineIndependent/glslang.y"
 7651|      0|                        {
 7652|       |        // allow inheritance of storage qualifier from block declaration
 7653|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7654|      0|    }
 7655|      0|#line 7656 "MachineIndependent/glslang_tab.cpp"
 7656|      0|    break;
 7657|       |
 7658|      0|  case 170: /* single_type_qualifier: non_uniform_qualifier  */
  ------------------
  |  Branch (7658:3): [True: 0, False: 779k]
  ------------------
 7659|      0|#line 1454 "MachineIndependent/glslang.y"
 7660|      0|                            {
 7661|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7662|      0|    }
 7663|      0|#line 7664 "MachineIndependent/glslang_tab.cpp"
 7664|      0|    break;
 7665|       |
 7666|      0|  case 171: /* single_type_qualifier: spirv_storage_class_qualifier  */
  ------------------
  |  Branch (7666:3): [True: 0, False: 779k]
  ------------------
 7667|      0|#line 1457 "MachineIndependent/glslang.y"
 7668|      0|                                    {
 7669|      0|        parseContext.globalCheck((yyvsp[0].interm.type).loc, "spirv_storage_class");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7670|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V storage class qualifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7671|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7672|      0|    }
 7673|      0|#line 7674 "MachineIndependent/glslang_tab.cpp"
 7674|      0|    break;
 7675|       |
 7676|      0|  case 172: /* single_type_qualifier: spirv_decorate_qualifier  */
  ------------------
  |  Branch (7676:3): [True: 0, False: 779k]
  ------------------
 7677|      0|#line 1462 "MachineIndependent/glslang.y"
 7678|      0|                               {
 7679|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V decorate qualifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7680|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7681|      0|    }
 7682|      0|#line 7683 "MachineIndependent/glslang_tab.cpp"
 7683|      0|    break;
 7684|       |
 7685|      0|  case 173: /* single_type_qualifier: SPIRV_BY_REFERENCE  */
  ------------------
  |  Branch (7685:3): [True: 0, False: 779k]
  ------------------
 7686|      0|#line 1466 "MachineIndependent/glslang.y"
 7687|      0|                         {
 7688|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "spirv_by_reference");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7689|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7690|      0|        (yyval.interm.type).qualifier.setSpirvByReference();
 7691|      0|    }
 7692|      0|#line 7693 "MachineIndependent/glslang_tab.cpp"
 7693|      0|    break;
 7694|       |
 7695|      0|  case 174: /* single_type_qualifier: SPIRV_LITERAL  */
  ------------------
  |  Branch (7695:3): [True: 0, False: 779k]
  ------------------
 7696|      0|#line 1471 "MachineIndependent/glslang.y"
 7697|      0|                    {
 7698|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "spirv_by_literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7699|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7700|      0|        (yyval.interm.type).qualifier.setSpirvLiteral();
 7701|      0|    }
 7702|      0|#line 7703 "MachineIndependent/glslang_tab.cpp"
 7703|      0|    break;
 7704|       |
 7705|    437|  case 175: /* storage_qualifier: CONST  */
  ------------------
  |  Branch (7705:3): [True: 437, False: 779k]
  ------------------
 7706|    437|#line 1479 "MachineIndependent/glslang.y"
 7707|    437|            {
 7708|    437|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7709|    437|        (yyval.interm.type).qualifier.storage = EvqConst;  // will later turn into EvqConstReadOnly, if the initializer is not constant
 7710|    437|    }
 7711|    437|#line 7712 "MachineIndependent/glslang_tab.cpp"
 7712|    437|    break;
 7713|       |
 7714|    108|  case 176: /* storage_qualifier: INOUT  */
  ------------------
  |  Branch (7714:3): [True: 108, False: 779k]
  ------------------
 7715|    108|#line 1483 "MachineIndependent/glslang.y"
 7716|    108|            {
 7717|    108|        parseContext.globalCheck((yyvsp[0].lex).loc, "inout");
  ------------------
  |  |  783|    108|#define parseContext (*pParseContext)
  ------------------
 7718|    108|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7719|    108|        (yyval.interm.type).qualifier.storage = EvqInOut;
 7720|    108|    }
 7721|    108|#line 7722 "MachineIndependent/glslang_tab.cpp"
 7722|    108|    break;
 7723|       |
 7724|    359|  case 177: /* storage_qualifier: IN  */
  ------------------
  |  Branch (7724:3): [True: 359, False: 779k]
  ------------------
 7725|    359|#line 1488 "MachineIndependent/glslang.y"
 7726|    359|         {
 7727|    359|        parseContext.globalCheck((yyvsp[0].lex).loc, "in");
  ------------------
  |  |  783|    359|#define parseContext (*pParseContext)
  ------------------
 7728|    359|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7729|       |        // whether this is a parameter "in" or a pipeline "in" will get sorted out a bit later
 7730|    359|        (yyval.interm.type).qualifier.storage = EvqIn;
 7731|    359|    }
 7732|    359|#line 7733 "MachineIndependent/glslang_tab.cpp"
 7733|    359|    break;
 7734|       |
 7735|  1.60k|  case 178: /* storage_qualifier: OUT  */
  ------------------
  |  Branch (7735:3): [True: 1.60k, False: 778k]
  ------------------
 7736|  1.60k|#line 1494 "MachineIndependent/glslang.y"
 7737|  1.60k|          {
 7738|  1.60k|        parseContext.globalCheck((yyvsp[0].lex).loc, "out");
  ------------------
  |  |  783|  1.60k|#define parseContext (*pParseContext)
  ------------------
 7739|  1.60k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7740|       |        // whether this is a parameter "out" or a pipeline "out" will get sorted out a bit later
 7741|  1.60k|        (yyval.interm.type).qualifier.storage = EvqOut;
 7742|  1.60k|    }
 7743|  1.60k|#line 7744 "MachineIndependent/glslang_tab.cpp"
 7744|  1.60k|    break;
 7745|       |
 7746|      0|  case 179: /* storage_qualifier: CENTROID  */
  ------------------
  |  Branch (7746:3): [True: 0, False: 779k]
  ------------------
 7747|      0|#line 1500 "MachineIndependent/glslang.y"
 7748|      0|               {
 7749|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 120, 0, "centroid");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7750|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "centroid");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7751|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "centroid");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7752|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7753|      0|        (yyval.interm.type).qualifier.centroid = true;
 7754|      0|    }
 7755|      0|#line 7756 "MachineIndependent/glslang_tab.cpp"
 7756|      0|    break;
 7757|       |
 7758|     86|  case 180: /* storage_qualifier: UNIFORM  */
  ------------------
  |  Branch (7758:3): [True: 86, False: 779k]
  ------------------
 7759|     86|#line 1507 "MachineIndependent/glslang.y"
 7760|     86|              {
 7761|     86|        parseContext.globalCheck((yyvsp[0].lex).loc, "uniform");
  ------------------
  |  |  783|     86|#define parseContext (*pParseContext)
  ------------------
 7762|     86|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7763|     86|        (yyval.interm.type).qualifier.storage = EvqUniform;
 7764|     86|    }
 7765|     86|#line 7766 "MachineIndependent/glslang_tab.cpp"
 7766|     86|    break;
 7767|       |
 7768|      0|  case 181: /* storage_qualifier: TILEIMAGEEXT  */
  ------------------
  |  Branch (7768:3): [True: 0, False: 779k]
  ------------------
 7769|      0|#line 1512 "MachineIndependent/glslang.y"
 7770|      0|                   {
 7771|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "tileImageEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7772|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7773|      0|        (yyval.interm.type).qualifier.storage = EvqTileImageEXT;
 7774|      0|    }
 7775|      0|#line 7776 "MachineIndependent/glslang_tab.cpp"
 7776|      0|    break;
 7777|       |
 7778|      0|  case 182: /* storage_qualifier: SHARED  */
  ------------------
  |  Branch (7778:3): [True: 0, False: 779k]
  ------------------
 7779|      0|#line 1517 "MachineIndependent/glslang.y"
 7780|      0|             {
 7781|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "shared");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7782|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, 430, E_GL_ARB_compute_shader, "shared");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7783|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 310, 0, "shared");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7784|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangComputeMask | EShLangMeshMask | EShLangTaskMask), "shared");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7785|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7786|      0|        (yyval.interm.type).qualifier.storage = EvqShared;
 7787|      0|    }
 7788|      0|#line 7789 "MachineIndependent/glslang_tab.cpp"
 7789|      0|    break;
 7790|       |
 7791|      0|  case 183: /* storage_qualifier: BUFFER  */
  ------------------
  |  Branch (7791:3): [True: 0, False: 779k]
  ------------------
 7792|      0|#line 1525 "MachineIndependent/glslang.y"
 7793|      0|             {
 7794|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "buffer");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7795|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7796|      0|        (yyval.interm.type).qualifier.storage = EvqBuffer;
 7797|      0|    }
 7798|      0|#line 7799 "MachineIndependent/glslang_tab.cpp"
 7799|      0|    break;
 7800|       |
 7801|      0|  case 184: /* storage_qualifier: ATTRIBUTE  */
  ------------------
  |  Branch (7801:3): [True: 0, False: 779k]
  ------------------
 7802|      0|#line 1530 "MachineIndependent/glslang.y"
 7803|      0|                {
 7804|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangVertex, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7805|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ECoreProfile, 130, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7806|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ENoProfile, 130, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7807|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, ECoreProfile, 420, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7808|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, EEsProfile, 300, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7809|       |
 7810|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7811|       |
 7812|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7813|      0|        (yyval.interm.type).qualifier.storage = EvqVaryingIn;
 7814|      0|    }
 7815|      0|#line 7816 "MachineIndependent/glslang_tab.cpp"
 7816|      0|    break;
 7817|       |
 7818|      0|  case 185: /* storage_qualifier: VARYING  */
  ------------------
  |  Branch (7818:3): [True: 0, False: 779k]
  ------------------
 7819|      0|#line 1542 "MachineIndependent/glslang.y"
 7820|      0|              {
 7821|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ENoProfile, 130, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7822|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ECoreProfile, 130, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7823|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, ECoreProfile, 420, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7824|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, EEsProfile, 300, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7825|       |
 7826|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7827|       |
 7828|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7829|      0|        if (parseContext.language == EShLangVertex)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7829:13): [True: 0, False: 0]
  ------------------
 7830|      0|            (yyval.interm.type).qualifier.storage = EvqVaryingOut;
 7831|      0|        else
 7832|      0|            (yyval.interm.type).qualifier.storage = EvqVaryingIn;
 7833|      0|    }
 7834|      0|#line 7835 "MachineIndependent/glslang_tab.cpp"
 7835|      0|    break;
 7836|       |
 7837|      4|  case 186: /* storage_qualifier: PATCH  */
  ------------------
  |  Branch (7837:3): [True: 4, False: 779k]
  ------------------
 7838|      4|#line 1556 "MachineIndependent/glslang.y"
 7839|      4|            {
 7840|      4|        parseContext.globalCheck((yyvsp[0].lex).loc, "patch");
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 7841|      4|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTessControlMask | EShLangTessEvaluationMask), "patch");
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 7842|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7843|      4|        (yyval.interm.type).qualifier.patch = true;
 7844|      4|    }
 7845|      4|#line 7846 "MachineIndependent/glslang_tab.cpp"
 7846|      4|    break;
 7847|       |
 7848|      0|  case 187: /* storage_qualifier: SAMPLE  */
  ------------------
  |  Branch (7848:3): [True: 0, False: 779k]
  ------------------
 7849|      0|#line 1562 "MachineIndependent/glslang.y"
 7850|      0|             {
 7851|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "sample");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7852|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7853|      0|        (yyval.interm.type).qualifier.sample = true;
 7854|      0|    }
 7855|      0|#line 7856 "MachineIndependent/glslang_tab.cpp"
 7856|      0|    break;
 7857|       |
 7858|      0|  case 188: /* storage_qualifier: RESOURCEHEAP  */
  ------------------
  |  Branch (7858:3): [True: 0, False: 779k]
  ------------------
 7859|      0|#line 1567 "MachineIndependent/glslang.y"
 7860|      0|                   {
 7861|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "resourceHeap");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7862|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7863|      0|        (yyval.interm.type).qualifier.storage = EvqResourceHeap;
 7864|      0|    }
 7865|      0|#line 7866 "MachineIndependent/glslang_tab.cpp"
 7866|      0|    break;
 7867|       |
 7868|      0|  case 189: /* storage_qualifier: SAMPLERHEAP  */
  ------------------
  |  Branch (7868:3): [True: 0, False: 779k]
  ------------------
 7869|      0|#line 1572 "MachineIndependent/glslang.y"
 7870|      0|                  {
 7871|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "samplerHeap");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7872|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7873|      0|        (yyval.interm.type).qualifier.storage = EvqSamplerHeap;
 7874|      0|    }
 7875|      0|#line 7876 "MachineIndependent/glslang_tab.cpp"
 7876|      0|    break;
 7877|       |
 7878|      0|  case 190: /* storage_qualifier: HITATTRNV  */
  ------------------
  |  Branch (7878:3): [True: 0, False: 779k]
  ------------------
 7879|      0|#line 1577 "MachineIndependent/glslang.y"
 7880|      0|                {
 7881|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7882|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangIntersectMask | EShLangClosestHitMask
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7883|      0|            | EShLangAnyHitMask), "hitAttributeNV");
 7884|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "hitAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7885|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7886|      0|        (yyval.interm.type).qualifier.storage = EvqHitAttr;
 7887|      0|    }
 7888|      0|#line 7889 "MachineIndependent/glslang_tab.cpp"
 7889|      0|    break;
 7890|       |
 7891|      0|  case 191: /* storage_qualifier: HITOBJECTATTRNV  */
  ------------------
  |  Branch (7891:3): [True: 0, False: 779k]
  ------------------
 7892|      0|#line 1585 "MachineIndependent/glslang.y"
 7893|      0|                      {
 7894|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7895|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7896|      0|            | EShLangMissMask), "hitObjectAttributeNV");
 7897|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_shader_invocation_reorder, "hitObjectAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7898|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7899|      0|        (yyval.interm.type).qualifier.storage = EvqHitObjectAttrNV;
 7900|      0|    }
 7901|      0|#line 7902 "MachineIndependent/glslang_tab.cpp"
 7902|      0|    break;
 7903|       |
 7904|      0|  case 192: /* storage_qualifier: HITOBJECTATTREXT  */
  ------------------
  |  Branch (7904:3): [True: 0, False: 779k]
  ------------------
 7905|      0|#line 1593 "MachineIndependent/glslang.y"
 7906|      0|                       {
 7907|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7908|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7909|      0|            | EShLangMissMask), "hitObjectAttributeEXT");
 7910|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_shader_invocation_reorder, "hitObjectAttributeEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7911|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7912|      0|        (yyval.interm.type).qualifier.storage = EvqHitObjectAttrEXT;
 7913|      0|    }
 7914|      0|#line 7915 "MachineIndependent/glslang_tab.cpp"
 7915|      0|    break;
 7916|       |
 7917|      0|  case 193: /* storage_qualifier: HITATTREXT  */
  ------------------
  |  Branch (7917:3): [True: 0, False: 779k]
  ------------------
 7918|      0|#line 1601 "MachineIndependent/glslang.y"
 7919|      0|                 {
 7920|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7921|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangIntersectMask | EShLangClosestHitMask
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7922|      0|            | EShLangAnyHitMask), "hitAttributeEXT");
 7923|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "hitAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7924|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7925|      0|        (yyval.interm.type).qualifier.storage = EvqHitAttr;
 7926|      0|    }
 7927|      0|#line 7928 "MachineIndependent/glslang_tab.cpp"
 7928|      0|    break;
 7929|       |
 7930|      0|  case 194: /* storage_qualifier: PAYLOADNV  */
  ------------------
  |  Branch (7930:3): [True: 0, False: 779k]
  ------------------
 7931|      0|#line 1609 "MachineIndependent/glslang.y"
 7932|      0|                {
 7933|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7934|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7935|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadNV");
 7936|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "rayPayloadNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7937|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7938|      0|        (yyval.interm.type).qualifier.storage = EvqPayload;
 7939|      0|    }
 7940|      0|#line 7941 "MachineIndependent/glslang_tab.cpp"
 7941|      0|    break;
 7942|       |
 7943|      0|  case 195: /* storage_qualifier: PAYLOADEXT  */
  ------------------
  |  Branch (7943:3): [True: 0, False: 779k]
  ------------------
 7944|      0|#line 1617 "MachineIndependent/glslang.y"
 7945|      0|                 {
 7946|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7947|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7948|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadEXT");
 7949|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "rayPayloadEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7950|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7951|      0|        (yyval.interm.type).qualifier.storage = EvqPayload;
 7952|      0|    }
 7953|      0|#line 7954 "MachineIndependent/glslang_tab.cpp"
 7954|      0|    break;
 7955|       |
 7956|      0|  case 196: /* storage_qualifier: PAYLOADINNV  */
  ------------------
  |  Branch (7956:3): [True: 0, False: 779k]
  ------------------
 7957|      0|#line 1625 "MachineIndependent/glslang.y"
 7958|      0|                  {
 7959|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7960|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangClosestHitMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7961|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadInNV");
 7962|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "rayPayloadInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7963|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7964|      0|        (yyval.interm.type).qualifier.storage = EvqPayloadIn;
 7965|      0|    }
 7966|      0|#line 7967 "MachineIndependent/glslang_tab.cpp"
 7967|      0|    break;
 7968|       |
 7969|      0|  case 197: /* storage_qualifier: PAYLOADINEXT  */
  ------------------
  |  Branch (7969:3): [True: 0, False: 779k]
  ------------------
 7970|      0|#line 1633 "MachineIndependent/glslang.y"
 7971|      0|                   {
 7972|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7973|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangClosestHitMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7974|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadInEXT");
 7975|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "rayPayloadInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7976|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7977|      0|        (yyval.interm.type).qualifier.storage = EvqPayloadIn;
 7978|      0|    }
 7979|      0|#line 7980 "MachineIndependent/glslang_tab.cpp"
 7980|      0|    break;
 7981|       |
 7982|      0|  case 198: /* storage_qualifier: CALLDATANV  */
  ------------------
  |  Branch (7982:3): [True: 0, False: 779k]
  ------------------
 7983|      0|#line 1641 "MachineIndependent/glslang.y"
 7984|      0|                 {
 7985|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7986|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7987|      0|            EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask), "callableDataNV");
 7988|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "callableDataNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7989|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7990|      0|        (yyval.interm.type).qualifier.storage = EvqCallableData;
 7991|      0|    }
 7992|      0|#line 7993 "MachineIndependent/glslang_tab.cpp"
 7993|      0|    break;
 7994|       |
 7995|      0|  case 199: /* storage_qualifier: CALLDATAEXT  */
  ------------------
  |  Branch (7995:3): [True: 0, False: 779k]
  ------------------
 7996|      0|#line 1649 "MachineIndependent/glslang.y"
 7997|      0|                  {
 7998|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7999|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8000|      0|            EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask), "callableDataEXT");
 8001|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "callableDataEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8002|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8003|      0|        (yyval.interm.type).qualifier.storage = EvqCallableData;
 8004|      0|    }
 8005|      0|#line 8006 "MachineIndependent/glslang_tab.cpp"
 8006|      0|    break;
 8007|       |
 8008|      0|  case 200: /* storage_qualifier: CALLDATAINNV  */
  ------------------
  |  Branch (8008:3): [True: 0, False: 779k]
  ------------------
 8009|      0|#line 1657 "MachineIndependent/glslang.y"
 8010|      0|                   {
 8011|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8012|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8013|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "callableDataInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8014|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8015|      0|        (yyval.interm.type).qualifier.storage = EvqCallableDataIn;
 8016|      0|    }
 8017|      0|#line 8018 "MachineIndependent/glslang_tab.cpp"
 8018|      0|    break;
 8019|       |
 8020|      0|  case 201: /* storage_qualifier: CALLDATAINEXT  */
  ------------------
  |  Branch (8020:3): [True: 0, False: 779k]
  ------------------
 8021|      0|#line 1664 "MachineIndependent/glslang.y"
 8022|      0|                    {
 8023|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8024|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8025|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "callableDataInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8026|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8027|      0|        (yyval.interm.type).qualifier.storage = EvqCallableDataIn;
 8028|      0|    }
 8029|      0|#line 8030 "MachineIndependent/glslang_tab.cpp"
 8030|      0|    break;
 8031|       |
 8032|  2.09k|  case 202: /* storage_qualifier: COHERENT  */
  ------------------
  |  Branch (8032:3): [True: 2.09k, False: 777k]
  ------------------
 8033|  2.09k|#line 1671 "MachineIndependent/glslang.y"
 8034|  2.09k|               {
 8035|  2.09k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8036|  2.09k|        (yyval.interm.type).qualifier.coherent = true;
 8037|  2.09k|    }
 8038|  2.09k|#line 8039 "MachineIndependent/glslang_tab.cpp"
 8039|  2.09k|    break;
 8040|       |
 8041|      0|  case 203: /* storage_qualifier: DEVICECOHERENT  */
  ------------------
  |  Branch (8041:3): [True: 0, False: 779k]
  ------------------
 8042|      0|#line 1675 "MachineIndependent/glslang.y"
 8043|      0|                     {
 8044|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8045|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "devicecoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8046|      0|        (yyval.interm.type).qualifier.devicecoherent = true;
 8047|      0|    }
 8048|      0|#line 8049 "MachineIndependent/glslang_tab.cpp"
 8049|      0|    break;
 8050|       |
 8051|      0|  case 204: /* storage_qualifier: QUEUEFAMILYCOHERENT  */
  ------------------
  |  Branch (8051:3): [True: 0, False: 779k]
  ------------------
 8052|      0|#line 1680 "MachineIndependent/glslang.y"
 8053|      0|                          {
 8054|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8055|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "queuefamilycoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8056|      0|        (yyval.interm.type).qualifier.queuefamilycoherent = true;
 8057|      0|    }
 8058|      0|#line 8059 "MachineIndependent/glslang_tab.cpp"
 8059|      0|    break;
 8060|       |
 8061|      0|  case 205: /* storage_qualifier: WORKGROUPCOHERENT  */
  ------------------
  |  Branch (8061:3): [True: 0, False: 779k]
  ------------------
 8062|      0|#line 1685 "MachineIndependent/glslang.y"
 8063|      0|                        {
 8064|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8065|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "workgroupcoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8066|      0|        (yyval.interm.type).qualifier.workgroupcoherent = true;
 8067|      0|    }
 8068|      0|#line 8069 "MachineIndependent/glslang_tab.cpp"
 8069|      0|    break;
 8070|       |
 8071|      0|  case 206: /* storage_qualifier: SUBGROUPCOHERENT  */
  ------------------
  |  Branch (8071:3): [True: 0, False: 779k]
  ------------------
 8072|      0|#line 1690 "MachineIndependent/glslang.y"
 8073|      0|                       {
 8074|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8075|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "subgroupcoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8076|      0|        (yyval.interm.type).qualifier.subgroupcoherent = true;
 8077|      0|    }
 8078|      0|#line 8079 "MachineIndependent/glslang_tab.cpp"
 8079|      0|    break;
 8080|       |
 8081|      0|  case 207: /* storage_qualifier: NONPRIVATE  */
  ------------------
  |  Branch (8081:3): [True: 0, False: 779k]
  ------------------
 8082|      0|#line 1695 "MachineIndependent/glslang.y"
 8083|      0|                 {
 8084|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8085|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "nonprivate");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8086|      0|        (yyval.interm.type).qualifier.nonprivate = true;
 8087|      0|    }
 8088|      0|#line 8089 "MachineIndependent/glslang_tab.cpp"
 8089|      0|    break;
 8090|       |
 8091|      0|  case 208: /* storage_qualifier: SHADERCALLCOHERENT  */
  ------------------
  |  Branch (8091:3): [True: 0, False: 779k]
  ------------------
 8092|      0|#line 1700 "MachineIndependent/glslang.y"
 8093|      0|                         {
 8094|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8095|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_ray_tracing, "shadercallcoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8096|      0|        (yyval.interm.type).qualifier.shadercallcoherent = true;
 8097|      0|    }
 8098|      0|#line 8099 "MachineIndependent/glslang_tab.cpp"
 8099|      0|    break;
 8100|       |
 8101|  2.17k|  case 209: /* storage_qualifier: VOLATILE  */
  ------------------
  |  Branch (8101:3): [True: 2.17k, False: 777k]
  ------------------
 8102|  2.17k|#line 1705 "MachineIndependent/glslang.y"
 8103|  2.17k|               {
 8104|  2.17k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8105|  2.17k|        (yyval.interm.type).qualifier.volatil = true;
 8106|  2.17k|    }
 8107|  2.17k|#line 8108 "MachineIndependent/glslang_tab.cpp"
 8108|  2.17k|    break;
 8109|       |
 8110|      0|  case 210: /* storage_qualifier: RESTRICT  */
  ------------------
  |  Branch (8110:3): [True: 0, False: 779k]
  ------------------
 8111|      0|#line 1709 "MachineIndependent/glslang.y"
 8112|      0|               {
 8113|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8114|      0|        (yyval.interm.type).qualifier.restrict = true;
 8115|      0|    }
 8116|      0|#line 8117 "MachineIndependent/glslang_tab.cpp"
 8117|      0|    break;
 8118|       |
 8119|    317|  case 211: /* storage_qualifier: READONLY  */
  ------------------
  |  Branch (8119:3): [True: 317, False: 779k]
  ------------------
 8120|    317|#line 1713 "MachineIndependent/glslang.y"
 8121|    317|               {
 8122|    317|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8123|    317|        (yyval.interm.type).qualifier.readonly = true;
 8124|    317|    }
 8125|    317|#line 8126 "MachineIndependent/glslang_tab.cpp"
 8126|    317|    break;
 8127|       |
 8128|    239|  case 212: /* storage_qualifier: WRITEONLY  */
  ------------------
  |  Branch (8128:3): [True: 239, False: 779k]
  ------------------
 8129|    239|#line 1717 "MachineIndependent/glslang.y"
 8130|    239|                {
 8131|    239|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8132|    239|        (yyval.interm.type).qualifier.writeonly = true;
 8133|    239|    }
 8134|    239|#line 8135 "MachineIndependent/glslang_tab.cpp"
 8135|    239|    break;
 8136|       |
 8137|  1.91k|  case 213: /* storage_qualifier: NONTEMPORAL  */
  ------------------
  |  Branch (8137:3): [True: 1.91k, False: 777k]
  ------------------
 8138|  1.91k|#line 1721 "MachineIndependent/glslang.y"
 8139|  1.91k|                  {
 8140|  1.91k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8141|  1.91k|        (yyval.interm.type).qualifier.nontemporal  = true;
 8142|  1.91k|    }
 8143|  1.91k|#line 8144 "MachineIndependent/glslang_tab.cpp"
 8144|  1.91k|    break;
 8145|       |
 8146|      0|  case 214: /* storage_qualifier: SUBROUTINE  */
  ------------------
  |  Branch (8146:3): [True: 0, False: 779k]
  ------------------
 8147|      0|#line 1725 "MachineIndependent/glslang.y"
 8148|      0|                 {
 8149|      0|        parseContext.spvRemoved((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8150|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8151|      0|        parseContext.unimplemented((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8152|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8153|      0|    }
 8154|      0|#line 8155 "MachineIndependent/glslang_tab.cpp"
 8155|      0|    break;
 8156|       |
 8157|      0|  case 215: /* storage_qualifier: SUBROUTINE LEFT_PAREN type_name_list RIGHT_PAREN  */
  ------------------
  |  Branch (8157:3): [True: 0, False: 779k]
  ------------------
 8158|      0|#line 1731 "MachineIndependent/glslang.y"
 8159|      0|                                                       {
 8160|      0|        parseContext.spvRemoved((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8161|      0|        parseContext.globalCheck((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8162|      0|        parseContext.unimplemented((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8163|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
 8164|      0|    }
 8165|      0|#line 8166 "MachineIndependent/glslang_tab.cpp"
 8166|      0|    break;
 8167|       |
 8168|      0|  case 216: /* storage_qualifier: TASKPAYLOADWORKGROUPEXT  */
  ------------------
  |  Branch (8168:3): [True: 0, False: 779k]
  ------------------
 8169|      0|#line 1737 "MachineIndependent/glslang.y"
 8170|      0|                              {
 8171|       |        // No need for profile version or extension check. Shader stage already checks both.
 8172|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "taskPayloadSharedEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8173|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTaskMask | EShLangMeshMask), "taskPayloadSharedEXT  ");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8174|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8175|      0|        (yyval.interm.type).qualifier.storage = EvqtaskPayloadSharedEXT;
 8176|      0|    }
 8177|      0|#line 8178 "MachineIndependent/glslang_tab.cpp"
 8178|      0|    break;
 8179|       |
 8180|      0|  case 217: /* non_uniform_qualifier: NONUNIFORM  */
  ------------------
  |  Branch (8180:3): [True: 0, False: 779k]
  ------------------
 8181|      0|#line 1747 "MachineIndependent/glslang.y"
 8182|      0|                 {
 8183|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8184|      0|        (yyval.interm.type).qualifier.nonUniform = true;
 8185|      0|    }
 8186|      0|#line 8187 "MachineIndependent/glslang_tab.cpp"
 8187|      0|    break;
 8188|       |
 8189|      0|  case 218: /* type_name_list: IDENTIFIER  */
  ------------------
  |  Branch (8189:3): [True: 0, False: 779k]
  ------------------
 8190|      0|#line 1754 "MachineIndependent/glslang.y"
 8191|      0|                 {
 8192|       |        // TODO
 8193|      0|    }
 8194|      0|#line 8195 "MachineIndependent/glslang_tab.cpp"
 8195|      0|    break;
 8196|       |
 8197|      0|  case 219: /* type_name_list: type_name_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (8197:3): [True: 0, False: 779k]
  ------------------
 8198|      0|#line 1757 "MachineIndependent/glslang.y"
 8199|      0|                                      {
 8200|       |        // TODO: 4.0 semantics: subroutines
 8201|       |        // 1) make sure each identifier is a type declared earlier with SUBROUTINE
 8202|       |        // 2) save all of the identifiers for future comparison with the declared function
 8203|      0|    }
 8204|      0|#line 8205 "MachineIndependent/glslang_tab.cpp"
 8205|      0|    break;
 8206|       |
 8207|  99.4k|  case 220: /* type_specifier: type_specifier_nonarray type_parameter_specifier_opt  */
  ------------------
  |  Branch (8207:3): [True: 99.4k, False: 680k]
  ------------------
 8208|  99.4k|#line 1765 "MachineIndependent/glslang.y"
 8209|  99.4k|                                                           {
 8210|  99.4k|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 8211|  99.4k|        (yyval.interm.type).qualifier.precision = parseContext.getDefaultPrecision((yyval.interm.type));
  ------------------
  |  |  783|  99.4k|#define parseContext (*pParseContext)
  ------------------
 8212|  99.4k|        (yyval.interm.type).typeParameters = (yyvsp[0].interm.typeParameters);
 8213|  99.4k|        parseContext.typeParametersCheck((yyvsp[-1].interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  783|  99.4k|#define parseContext (*pParseContext)
  ------------------
 8214|       |
 8215|  99.4k|    }
 8216|  99.4k|#line 8217 "MachineIndependent/glslang_tab.cpp"
 8217|  99.4k|    break;
 8218|       |
 8219|  1.15k|  case 221: /* type_specifier: type_specifier_nonarray type_parameter_specifier_opt array_specifier  */
  ------------------
  |  Branch (8219:3): [True: 1.15k, False: 778k]
  ------------------
 8220|  1.15k|#line 1772 "MachineIndependent/glslang.y"
 8221|  1.15k|                                                                           {
 8222|  1.15k|        parseContext.arrayOfArrayVersionCheck((yyvsp[0].interm).loc, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|  1.15k|#define parseContext (*pParseContext)
  ------------------
 8223|  1.15k|        (yyval.interm.type) = (yyvsp[-2].interm.type);
 8224|  1.15k|        (yyval.interm.type).qualifier.precision = parseContext.getDefaultPrecision((yyval.interm.type));
  ------------------
  |  |  783|  1.15k|#define parseContext (*pParseContext)
  ------------------
 8225|  1.15k|        (yyval.interm.type).typeParameters = (yyvsp[-1].interm.typeParameters);
 8226|  1.15k|        (yyval.interm.type).arraySizes = (yyvsp[0].interm).arraySizes;
 8227|  1.15k|        parseContext.typeParametersCheck((yyvsp[-2].interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  783|  1.15k|#define parseContext (*pParseContext)
  ------------------
 8228|  1.15k|    }
 8229|  1.15k|#line 8230 "MachineIndependent/glslang_tab.cpp"
 8230|  1.15k|    break;
 8231|       |
 8232|  1.24k|  case 222: /* array_specifier: LEFT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (8232:3): [True: 1.24k, False: 778k]
  ------------------
 8233|  1.24k|#line 1783 "MachineIndependent/glslang.y"
 8234|  1.24k|                                 {
 8235|  1.24k|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 8236|  1.24k|        (yyval.interm).arraySizes = new TArraySizes;
 8237|  1.24k|        (yyval.interm).arraySizes->addInnerSize();
 8238|  1.24k|    }
 8239|  1.24k|#line 8240 "MachineIndependent/glslang_tab.cpp"
 8240|  1.24k|    break;
 8241|       |
 8242|    184|  case 223: /* array_specifier: LEFT_BRACKET conditional_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (8242:3): [True: 184, False: 779k]
  ------------------
 8243|    184|#line 1788 "MachineIndependent/glslang.y"
 8244|    184|                                                        {
 8245|    184|        (yyval.interm).loc = (yyvsp[-2].lex).loc;
 8246|    184|        (yyval.interm).arraySizes = new TArraySizes;
 8247|       |
 8248|    184|        TArraySize size;
 8249|    184|        parseContext.arraySizeCheck((yyvsp[-1].interm.intermTypedNode)->getLoc(), (yyvsp[-1].interm.intermTypedNode), size, "array size");
  ------------------
  |  |  783|    184|#define parseContext (*pParseContext)
  ------------------
 8250|    184|        (yyval.interm).arraySizes->addInnerSize(size);
 8251|    184|    }
 8252|    184|#line 8253 "MachineIndependent/glslang_tab.cpp"
 8253|    184|    break;
 8254|       |
 8255|      3|  case 224: /* array_specifier: array_specifier LEFT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (8255:3): [True: 3, False: 779k]
  ------------------
 8256|      3|#line 1796 "MachineIndependent/glslang.y"
 8257|      3|                                                 {
 8258|      3|        (yyval.interm) = (yyvsp[-2].interm);
 8259|      3|        (yyval.interm).arraySizes->addInnerSize();
 8260|      3|    }
 8261|      3|#line 8262 "MachineIndependent/glslang_tab.cpp"
 8262|      3|    break;
 8263|       |
 8264|      0|  case 225: /* array_specifier: array_specifier LEFT_BRACKET conditional_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (8264:3): [True: 0, False: 779k]
  ------------------
 8265|      0|#line 1800 "MachineIndependent/glslang.y"
 8266|      0|                                                                        {
 8267|      0|        (yyval.interm) = (yyvsp[-3].interm);
 8268|       |
 8269|      0|        TArraySize size;
 8270|      0|        parseContext.arraySizeCheck((yyvsp[-1].interm.intermTypedNode)->getLoc(), (yyvsp[-1].interm.intermTypedNode), size, "array size");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8271|      0|        (yyval.interm).arraySizes->addInnerSize(size);
 8272|      0|    }
 8273|      0|#line 8274 "MachineIndependent/glslang_tab.cpp"
 8274|      0|    break;
 8275|       |
 8276|     12|  case 226: /* type_parameter_specifier_opt: type_parameter_specifier  */
  ------------------
  |  Branch (8276:3): [True: 12, False: 779k]
  ------------------
 8277|     12|#line 1810 "MachineIndependent/glslang.y"
 8278|     12|                               {
 8279|     12|        (yyval.interm.typeParameters) = (yyvsp[0].interm.typeParameters);
 8280|     12|    }
 8281|     12|#line 8282 "MachineIndependent/glslang_tab.cpp"
 8282|     12|    break;
 8283|       |
 8284|   100k|  case 227: /* type_parameter_specifier_opt: %empty  */
  ------------------
  |  Branch (8284:3): [True: 100k, False: 679k]
  ------------------
 8285|   100k|#line 1813 "MachineIndependent/glslang.y"
 8286|   100k|                        {
 8287|   100k|        (yyval.interm.typeParameters) = 0;
 8288|   100k|    }
 8289|   100k|#line 8290 "MachineIndependent/glslang_tab.cpp"
 8290|   100k|    break;
 8291|       |
 8292|     12|  case 228: /* type_parameter_specifier: LEFT_ANGLE type_parameter_specifier_list RIGHT_ANGLE  */
  ------------------
  |  Branch (8292:3): [True: 12, False: 779k]
  ------------------
 8293|     12|#line 1819 "MachineIndependent/glslang.y"
 8294|     12|                                                           {
 8295|     12|        (yyval.interm.typeParameters) = (yyvsp[-1].interm.typeParameters);
 8296|     12|    }
 8297|     12|#line 8298 "MachineIndependent/glslang_tab.cpp"
 8298|     12|    break;
 8299|       |
 8300|     12|  case 229: /* type_parameter_specifier_list: type_specifier  */
  ------------------
  |  Branch (8300:3): [True: 12, False: 779k]
  ------------------
 8301|     12|#line 1825 "MachineIndependent/glslang.y"
 8302|     12|                     {
 8303|     12|        (yyval.interm.typeParameters) = new TTypeParameters;
 8304|     12|        (yyval.interm.typeParameters)->arraySizes = new TArraySizes;
 8305|     12|        (yyval.interm.typeParameters)->spirvType = (yyvsp[0].interm.type).spirvType;
 8306|     12|        (yyval.interm.typeParameters)->basicType = (yyvsp[0].interm.type).basicType;
 8307|     12|    }
 8308|     12|#line 8309 "MachineIndependent/glslang_tab.cpp"
 8309|     12|    break;
 8310|       |
 8311|      0|  case 230: /* type_parameter_specifier_list: unary_expression  */
  ------------------
  |  Branch (8311:3): [True: 0, False: 779k]
  ------------------
 8312|      0|#line 1831 "MachineIndependent/glslang.y"
 8313|      0|                       {
 8314|      0|        (yyval.interm.typeParameters) = new TTypeParameters;
 8315|      0|        (yyval.interm.typeParameters)->arraySizes = new TArraySizes;
 8316|       |
 8317|      0|        TArraySize size;
 8318|      0|        parseContext.arraySizeCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode), size, "type parameter", true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8319|      0|        (yyval.interm.typeParameters)->arraySizes->addInnerSize(size);
 8320|      0|    }
 8321|      0|#line 8322 "MachineIndependent/glslang_tab.cpp"
 8322|      0|    break;
 8323|       |
 8324|     12|  case 231: /* type_parameter_specifier_list: type_parameter_specifier_list COMMA unary_expression  */
  ------------------
  |  Branch (8324:3): [True: 12, False: 779k]
  ------------------
 8325|     12|#line 1839 "MachineIndependent/glslang.y"
 8326|     12|                                                           {
 8327|     12|        (yyval.interm.typeParameters) = (yyvsp[-2].interm.typeParameters);
 8328|       |
 8329|     12|        TArraySize size;
 8330|     12|        parseContext.arraySizeCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode), size, "type parameter", true);
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 8331|     12|        (yyval.interm.typeParameters)->arraySizes->addInnerSize(size);
 8332|     12|    }
 8333|     12|#line 8334 "MachineIndependent/glslang_tab.cpp"
 8334|     12|    break;
 8335|       |
 8336|  1.67k|  case 232: /* type_specifier_nonarray: VOID  */
  ------------------
  |  Branch (8336:3): [True: 1.67k, False: 778k]
  ------------------
 8337|  1.67k|#line 1849 "MachineIndependent/glslang.y"
 8338|  1.67k|           {
 8339|  1.67k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.67k|#define parseContext (*pParseContext)
  ------------------
 8340|  1.67k|        (yyval.interm.type).basicType = EbtVoid;
 8341|  1.67k|    }
 8342|  1.67k|#line 8343 "MachineIndependent/glslang_tab.cpp"
 8343|  1.67k|    break;
 8344|       |
 8345|  13.2k|  case 233: /* type_specifier_nonarray: FLOAT  */
  ------------------
  |  Branch (8345:3): [True: 13.2k, False: 766k]
  ------------------
 8346|  13.2k|#line 1853 "MachineIndependent/glslang.y"
 8347|  13.2k|            {
 8348|  13.2k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  13.2k|#define parseContext (*pParseContext)
  ------------------
 8349|  13.2k|        (yyval.interm.type).basicType = EbtFloat;
 8350|  13.2k|    }
 8351|  13.2k|#line 8352 "MachineIndependent/glslang_tab.cpp"
 8352|  13.2k|    break;
 8353|       |
 8354|  8.79k|  case 234: /* type_specifier_nonarray: INT  */
  ------------------
  |  Branch (8354:3): [True: 8.79k, False: 771k]
  ------------------
 8355|  8.79k|#line 1857 "MachineIndependent/glslang.y"
 8356|  8.79k|          {
 8357|  8.79k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  8.79k|#define parseContext (*pParseContext)
  ------------------
 8358|  8.79k|        (yyval.interm.type).basicType = EbtInt;
 8359|  8.79k|    }
 8360|  8.79k|#line 8361 "MachineIndependent/glslang_tab.cpp"
 8361|  8.79k|    break;
 8362|       |
 8363|  3.61k|  case 235: /* type_specifier_nonarray: UINT  */
  ------------------
  |  Branch (8363:3): [True: 3.61k, False: 776k]
  ------------------
 8364|  3.61k|#line 1861 "MachineIndependent/glslang.y"
 8365|  3.61k|           {
 8366|  3.61k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer");
  ------------------
  |  |  783|  3.61k|#define parseContext (*pParseContext)
  ------------------
 8367|  3.61k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  3.61k|#define parseContext (*pParseContext)
  ------------------
 8368|  3.61k|        (yyval.interm.type).basicType = EbtUint;
 8369|  3.61k|    }
 8370|  3.61k|#line 8371 "MachineIndependent/glslang_tab.cpp"
 8371|  3.61k|    break;
 8372|       |
 8373|  1.04k|  case 236: /* type_specifier_nonarray: BOOL  */
  ------------------
  |  Branch (8373:3): [True: 1.04k, False: 778k]
  ------------------
 8374|  1.04k|#line 1866 "MachineIndependent/glslang.y"
 8375|  1.04k|           {
 8376|  1.04k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.04k|#define parseContext (*pParseContext)
  ------------------
 8377|  1.04k|        (yyval.interm.type).basicType = EbtBool;
 8378|  1.04k|    }
 8379|  1.04k|#line 8380 "MachineIndependent/glslang_tab.cpp"
 8380|  1.04k|    break;
 8381|       |
 8382|  10.9k|  case 237: /* type_specifier_nonarray: VEC2  */
  ------------------
  |  Branch (8382:3): [True: 10.9k, False: 768k]
  ------------------
 8383|  10.9k|#line 1870 "MachineIndependent/glslang.y"
 8384|  10.9k|           {
 8385|  10.9k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  10.9k|#define parseContext (*pParseContext)
  ------------------
 8386|  10.9k|        (yyval.interm.type).basicType = EbtFloat;
 8387|  10.9k|        (yyval.interm.type).setVector(2);
 8388|  10.9k|    }
 8389|  10.9k|#line 8390 "MachineIndependent/glslang_tab.cpp"
 8390|  10.9k|    break;
 8391|       |
 8392|  11.0k|  case 238: /* type_specifier_nonarray: VEC3  */
  ------------------
  |  Branch (8392:3): [True: 11.0k, False: 768k]
  ------------------
 8393|  11.0k|#line 1875 "MachineIndependent/glslang.y"
 8394|  11.0k|           {
 8395|  11.0k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  11.0k|#define parseContext (*pParseContext)
  ------------------
 8396|  11.0k|        (yyval.interm.type).basicType = EbtFloat;
 8397|  11.0k|        (yyval.interm.type).setVector(3);
 8398|  11.0k|    }
 8399|  11.0k|#line 8400 "MachineIndependent/glslang_tab.cpp"
 8400|  11.0k|    break;
 8401|       |
 8402|  12.4k|  case 239: /* type_specifier_nonarray: VEC4  */
  ------------------
  |  Branch (8402:3): [True: 12.4k, False: 767k]
  ------------------
 8403|  12.4k|#line 1880 "MachineIndependent/glslang.y"
 8404|  12.4k|           {
 8405|  12.4k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  12.4k|#define parseContext (*pParseContext)
  ------------------
 8406|  12.4k|        (yyval.interm.type).basicType = EbtFloat;
 8407|  12.4k|        (yyval.interm.type).setVector(4);
 8408|  12.4k|    }
 8409|  12.4k|#line 8410 "MachineIndependent/glslang_tab.cpp"
 8410|  12.4k|    break;
 8411|       |
 8412|  1.75k|  case 240: /* type_specifier_nonarray: BVEC2  */
  ------------------
  |  Branch (8412:3): [True: 1.75k, False: 778k]
  ------------------
 8413|  1.75k|#line 1885 "MachineIndependent/glslang.y"
 8414|  1.75k|            {
 8415|  1.75k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.75k|#define parseContext (*pParseContext)
  ------------------
 8416|  1.75k|        (yyval.interm.type).basicType = EbtBool;
 8417|  1.75k|        (yyval.interm.type).setVector(2);
 8418|  1.75k|    }
 8419|  1.75k|#line 8420 "MachineIndependent/glslang_tab.cpp"
 8420|  1.75k|    break;
 8421|       |
 8422|  1.75k|  case 241: /* type_specifier_nonarray: BVEC3  */
  ------------------
  |  Branch (8422:3): [True: 1.75k, False: 778k]
  ------------------
 8423|  1.75k|#line 1890 "MachineIndependent/glslang.y"
 8424|  1.75k|            {
 8425|  1.75k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.75k|#define parseContext (*pParseContext)
  ------------------
 8426|  1.75k|        (yyval.interm.type).basicType = EbtBool;
 8427|  1.75k|        (yyval.interm.type).setVector(3);
 8428|  1.75k|    }
 8429|  1.75k|#line 8430 "MachineIndependent/glslang_tab.cpp"
 8430|  1.75k|    break;
 8431|       |
 8432|  1.75k|  case 242: /* type_specifier_nonarray: BVEC4  */
  ------------------
  |  Branch (8432:3): [True: 1.75k, False: 778k]
  ------------------
 8433|  1.75k|#line 1895 "MachineIndependent/glslang.y"
 8434|  1.75k|            {
 8435|  1.75k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.75k|#define parseContext (*pParseContext)
  ------------------
 8436|  1.75k|        (yyval.interm.type).basicType = EbtBool;
 8437|  1.75k|        (yyval.interm.type).setVector(4);
 8438|  1.75k|    }
 8439|  1.75k|#line 8440 "MachineIndependent/glslang_tab.cpp"
 8440|  1.75k|    break;
 8441|       |
 8442|  2.95k|  case 243: /* type_specifier_nonarray: IVEC2  */
  ------------------
  |  Branch (8442:3): [True: 2.95k, False: 776k]
  ------------------
 8443|  2.95k|#line 1900 "MachineIndependent/glslang.y"
 8444|  2.95k|            {
 8445|  2.95k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.95k|#define parseContext (*pParseContext)
  ------------------
 8446|  2.95k|        (yyval.interm.type).basicType = EbtInt;
 8447|  2.95k|        (yyval.interm.type).setVector(2);
 8448|  2.95k|    }
 8449|  2.95k|#line 8450 "MachineIndependent/glslang_tab.cpp"
 8450|  2.95k|    break;
 8451|       |
 8452|  2.20k|  case 244: /* type_specifier_nonarray: IVEC3  */
  ------------------
  |  Branch (8452:3): [True: 2.20k, False: 777k]
  ------------------
 8453|  2.20k|#line 1905 "MachineIndependent/glslang.y"
 8454|  2.20k|            {
 8455|  2.20k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.20k|#define parseContext (*pParseContext)
  ------------------
 8456|  2.20k|        (yyval.interm.type).basicType = EbtInt;
 8457|  2.20k|        (yyval.interm.type).setVector(3);
 8458|  2.20k|    }
 8459|  2.20k|#line 8460 "MachineIndependent/glslang_tab.cpp"
 8460|  2.20k|    break;
 8461|       |
 8462|  1.66k|  case 245: /* type_specifier_nonarray: IVEC4  */
  ------------------
  |  Branch (8462:3): [True: 1.66k, False: 778k]
  ------------------
 8463|  1.66k|#line 1910 "MachineIndependent/glslang.y"
 8464|  1.66k|            {
 8465|  1.66k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.66k|#define parseContext (*pParseContext)
  ------------------
 8466|  1.66k|        (yyval.interm.type).basicType = EbtInt;
 8467|  1.66k|        (yyval.interm.type).setVector(4);
 8468|  1.66k|    }
 8469|  1.66k|#line 8470 "MachineIndependent/glslang_tab.cpp"
 8470|  1.66k|    break;
 8471|       |
 8472|    312|  case 246: /* type_specifier_nonarray: UVEC2  */
  ------------------
  |  Branch (8472:3): [True: 312, False: 779k]
  ------------------
 8473|    312|#line 1915 "MachineIndependent/glslang.y"
 8474|    312|            {
 8475|    312|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  783|    312|#define parseContext (*pParseContext)
  ------------------
 8476|    312|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    312|#define parseContext (*pParseContext)
  ------------------
 8477|    312|        (yyval.interm.type).basicType = EbtUint;
 8478|    312|        (yyval.interm.type).setVector(2);
 8479|    312|    }
 8480|    312|#line 8481 "MachineIndependent/glslang_tab.cpp"
 8481|    312|    break;
 8482|       |
 8483|    305|  case 247: /* type_specifier_nonarray: UVEC3  */
  ------------------
  |  Branch (8483:3): [True: 305, False: 779k]
  ------------------
 8484|    305|#line 1921 "MachineIndependent/glslang.y"
 8485|    305|            {
 8486|    305|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  783|    305|#define parseContext (*pParseContext)
  ------------------
 8487|    305|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    305|#define parseContext (*pParseContext)
  ------------------
 8488|    305|        (yyval.interm.type).basicType = EbtUint;
 8489|    305|        (yyval.interm.type).setVector(3);
 8490|    305|    }
 8491|    305|#line 8492 "MachineIndependent/glslang_tab.cpp"
 8492|    305|    break;
 8493|       |
 8494|  1.79k|  case 248: /* type_specifier_nonarray: UVEC4  */
  ------------------
  |  Branch (8494:3): [True: 1.79k, False: 778k]
  ------------------
 8495|  1.79k|#line 1927 "MachineIndependent/glslang.y"
 8496|  1.79k|            {
 8497|  1.79k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  783|  1.79k|#define parseContext (*pParseContext)
  ------------------
 8498|  1.79k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.79k|#define parseContext (*pParseContext)
  ------------------
 8499|  1.79k|        (yyval.interm.type).basicType = EbtUint;
 8500|  1.79k|        (yyval.interm.type).setVector(4);
 8501|  1.79k|    }
 8502|  1.79k|#line 8503 "MachineIndependent/glslang_tab.cpp"
 8503|  1.79k|    break;
 8504|       |
 8505|    225|  case 249: /* type_specifier_nonarray: MAT2  */
  ------------------
  |  Branch (8505:3): [True: 225, False: 779k]
  ------------------
 8506|    225|#line 1933 "MachineIndependent/glslang.y"
 8507|    225|           {
 8508|    225|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    225|#define parseContext (*pParseContext)
  ------------------
 8509|    225|        (yyval.interm.type).basicType = EbtFloat;
 8510|    225|        (yyval.interm.type).setMatrix(2, 2);
 8511|    225|    }
 8512|    225|#line 8513 "MachineIndependent/glslang_tab.cpp"
 8513|    225|    break;
 8514|       |
 8515|    225|  case 250: /* type_specifier_nonarray: MAT3  */
  ------------------
  |  Branch (8515:3): [True: 225, False: 779k]
  ------------------
 8516|    225|#line 1938 "MachineIndependent/glslang.y"
 8517|    225|           {
 8518|    225|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    225|#define parseContext (*pParseContext)
  ------------------
 8519|    225|        (yyval.interm.type).basicType = EbtFloat;
 8520|    225|        (yyval.interm.type).setMatrix(3, 3);
 8521|    225|    }
 8522|    225|#line 8523 "MachineIndependent/glslang_tab.cpp"
 8523|    225|    break;
 8524|       |
 8525|    225|  case 251: /* type_specifier_nonarray: MAT4  */
  ------------------
  |  Branch (8525:3): [True: 225, False: 779k]
  ------------------
 8526|    225|#line 1943 "MachineIndependent/glslang.y"
 8527|    225|           {
 8528|    225|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    225|#define parseContext (*pParseContext)
  ------------------
 8529|    225|        (yyval.interm.type).basicType = EbtFloat;
 8530|    225|        (yyval.interm.type).setMatrix(4, 4);
 8531|    225|    }
 8532|    225|#line 8533 "MachineIndependent/glslang_tab.cpp"
 8533|    225|    break;
 8534|       |
 8535|      0|  case 252: /* type_specifier_nonarray: MAT2X2  */
  ------------------
  |  Branch (8535:3): [True: 0, False: 779k]
  ------------------
 8536|      0|#line 1948 "MachineIndependent/glslang.y"
 8537|      0|             {
 8538|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8539|      0|        (yyval.interm.type).basicType = EbtFloat;
 8540|      0|        (yyval.interm.type).setMatrix(2, 2);
 8541|      0|    }
 8542|      0|#line 8543 "MachineIndependent/glslang_tab.cpp"
 8543|      0|    break;
 8544|       |
 8545|      6|  case 253: /* type_specifier_nonarray: MAT2X3  */
  ------------------
  |  Branch (8545:3): [True: 6, False: 779k]
  ------------------
 8546|      6|#line 1953 "MachineIndependent/glslang.y"
 8547|      6|             {
 8548|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 8549|      6|        (yyval.interm.type).basicType = EbtFloat;
 8550|      6|        (yyval.interm.type).setMatrix(2, 3);
 8551|      6|    }
 8552|      6|#line 8553 "MachineIndependent/glslang_tab.cpp"
 8553|      6|    break;
 8554|       |
 8555|      6|  case 254: /* type_specifier_nonarray: MAT2X4  */
  ------------------
  |  Branch (8555:3): [True: 6, False: 779k]
  ------------------
 8556|      6|#line 1958 "MachineIndependent/glslang.y"
 8557|      6|             {
 8558|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 8559|      6|        (yyval.interm.type).basicType = EbtFloat;
 8560|      6|        (yyval.interm.type).setMatrix(2, 4);
 8561|      6|    }
 8562|      6|#line 8563 "MachineIndependent/glslang_tab.cpp"
 8563|      6|    break;
 8564|       |
 8565|      6|  case 255: /* type_specifier_nonarray: MAT3X2  */
  ------------------
  |  Branch (8565:3): [True: 6, False: 779k]
  ------------------
 8566|      6|#line 1963 "MachineIndependent/glslang.y"
 8567|      6|             {
 8568|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 8569|      6|        (yyval.interm.type).basicType = EbtFloat;
 8570|      6|        (yyval.interm.type).setMatrix(3, 2);
 8571|      6|    }
 8572|      6|#line 8573 "MachineIndependent/glslang_tab.cpp"
 8573|      6|    break;
 8574|       |
 8575|      0|  case 256: /* type_specifier_nonarray: MAT3X3  */
  ------------------
  |  Branch (8575:3): [True: 0, False: 779k]
  ------------------
 8576|      0|#line 1968 "MachineIndependent/glslang.y"
 8577|      0|             {
 8578|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8579|      0|        (yyval.interm.type).basicType = EbtFloat;
 8580|      0|        (yyval.interm.type).setMatrix(3, 3);
 8581|      0|    }
 8582|      0|#line 8583 "MachineIndependent/glslang_tab.cpp"
 8583|      0|    break;
 8584|       |
 8585|      6|  case 257: /* type_specifier_nonarray: MAT3X4  */
  ------------------
  |  Branch (8585:3): [True: 6, False: 779k]
  ------------------
 8586|      6|#line 1973 "MachineIndependent/glslang.y"
 8587|      6|             {
 8588|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 8589|      6|        (yyval.interm.type).basicType = EbtFloat;
 8590|      6|        (yyval.interm.type).setMatrix(3, 4);
 8591|      6|    }
 8592|      6|#line 8593 "MachineIndependent/glslang_tab.cpp"
 8593|      6|    break;
 8594|       |
 8595|      6|  case 258: /* type_specifier_nonarray: MAT4X2  */
  ------------------
  |  Branch (8595:3): [True: 6, False: 779k]
  ------------------
 8596|      6|#line 1978 "MachineIndependent/glslang.y"
 8597|      6|             {
 8598|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 8599|      6|        (yyval.interm.type).basicType = EbtFloat;
 8600|      6|        (yyval.interm.type).setMatrix(4, 2);
 8601|      6|    }
 8602|      6|#line 8603 "MachineIndependent/glslang_tab.cpp"
 8603|      6|    break;
 8604|       |
 8605|      6|  case 259: /* type_specifier_nonarray: MAT4X3  */
  ------------------
  |  Branch (8605:3): [True: 6, False: 779k]
  ------------------
 8606|      6|#line 1983 "MachineIndependent/glslang.y"
 8607|      6|             {
 8608|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 8609|      6|        (yyval.interm.type).basicType = EbtFloat;
 8610|      6|        (yyval.interm.type).setMatrix(4, 3);
 8611|      6|    }
 8612|      6|#line 8613 "MachineIndependent/glslang_tab.cpp"
 8613|      6|    break;
 8614|       |
 8615|      0|  case 260: /* type_specifier_nonarray: MAT4X4  */
  ------------------
  |  Branch (8615:3): [True: 0, False: 779k]
  ------------------
 8616|      0|#line 1988 "MachineIndependent/glslang.y"
 8617|      0|             {
 8618|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8619|      0|        (yyval.interm.type).basicType = EbtFloat;
 8620|      0|        (yyval.interm.type).setMatrix(4, 4);
 8621|      0|    }
 8622|      0|#line 8623 "MachineIndependent/glslang_tab.cpp"
 8623|      0|    break;
 8624|       |
 8625|    285|  case 261: /* type_specifier_nonarray: DOUBLE  */
  ------------------
  |  Branch (8625:3): [True: 285, False: 779k]
  ------------------
 8626|    285|#line 1993 "MachineIndependent/glslang.y"
 8627|    285|             {
 8628|    285|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double");
  ------------------
  |  |  783|    285|#define parseContext (*pParseContext)
  ------------------
 8629|    285|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|    285|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8629:13): [True: 0, False: 285]
  ------------------
 8630|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8631|    285|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    285|#define parseContext (*pParseContext)
  ------------------
 8632|    285|        (yyval.interm.type).basicType = EbtDouble;
 8633|    285|    }
 8634|    285|#line 8635 "MachineIndependent/glslang_tab.cpp"
 8635|    285|    break;
 8636|       |
 8637|     18|  case 262: /* type_specifier_nonarray: BFLOAT16_T  */
  ------------------
  |  Branch (8637:3): [True: 18, False: 779k]
  ------------------
 8638|     18|#line 2000 "MachineIndependent/glslang.y"
 8639|     18|                 {
 8640|     18|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "bfloat16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "bfloat16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 8641|     18|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 8642|     18|        (yyval.interm.type).basicType = EbtBFloat16;
 8643|     18|    }
 8644|     18|#line 8645 "MachineIndependent/glslang_tab.cpp"
 8645|     18|    break;
 8646|       |
 8647|     12|  case 263: /* type_specifier_nonarray: FLOATE5M2_T  */
  ------------------
  |  Branch (8647:3): [True: 12, False: 779k]
  ------------------
 8648|     12|#line 2005 "MachineIndependent/glslang.y"
 8649|     12|                  {
 8650|     12|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate5m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate5m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 8651|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 8652|     12|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8653|     12|    }
 8654|     12|#line 8655 "MachineIndependent/glslang_tab.cpp"
 8655|     12|    break;
 8656|       |
 8657|     12|  case 264: /* type_specifier_nonarray: FLOATE4M3_T  */
  ------------------
  |  Branch (8657:3): [True: 12, False: 779k]
  ------------------
 8658|     12|#line 2010 "MachineIndependent/glslang.y"
 8659|     12|                  {
 8660|     12|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate4m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate4m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 8661|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 8662|     12|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8663|     12|    }
 8664|     12|#line 8665 "MachineIndependent/glslang_tab.cpp"
 8665|     12|    break;
 8666|       |
 8667|      5|  case 265: /* type_specifier_nonarray: FLOATE2M1_T  */
  ------------------
  |  Branch (8667:3): [True: 5, False: 779k]
  ------------------
 8668|      5|#line 2015 "MachineIndependent/glslang.y"
 8669|      5|                  {
 8670|      5|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m1_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m1_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
 8671|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
 8672|      5|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8673|      5|    }
 8674|      5|#line 8675 "MachineIndependent/glslang_tab.cpp"
 8675|      5|    break;
 8676|       |
 8677|      5|  case 266: /* type_specifier_nonarray: FLOATE3M2_T  */
  ------------------
  |  Branch (8677:3): [True: 5, False: 779k]
  ------------------
 8678|      5|#line 2020 "MachineIndependent/glslang.y"
 8679|      5|                  {
 8680|      5|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate3m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate3m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
 8681|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
 8682|      5|        (yyval.interm.type).basicType = EbtFloatE3M2;
 8683|      5|    }
 8684|      5|#line 8685 "MachineIndependent/glslang_tab.cpp"
 8685|      5|    break;
 8686|       |
 8687|      5|  case 267: /* type_specifier_nonarray: FLOATE2M3_T  */
  ------------------
  |  Branch (8687:3): [True: 5, False: 779k]
  ------------------
 8688|      5|#line 2025 "MachineIndependent/glslang.y"
 8689|      5|                  {
 8690|      5|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
 8691|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
 8692|      5|        (yyval.interm.type).basicType = EbtFloatE2M3;
 8693|      5|    }
 8694|      5|#line 8695 "MachineIndependent/glslang_tab.cpp"
 8695|      5|    break;
 8696|       |
 8697|      4|  case 268: /* type_specifier_nonarray: FLOATUE8M0_T  */
  ------------------
  |  Branch (8697:3): [True: 4, False: 779k]
  ------------------
 8698|      4|#line 2030 "MachineIndependent/glslang.y"
 8699|      4|                   {
 8700|      4|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "floatue8m0_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "floatue8m0_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 8701|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 8702|      4|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 8703|      4|    }
 8704|      4|#line 8705 "MachineIndependent/glslang_tab.cpp"
 8705|      4|    break;
 8706|       |
 8707|      4|  case 269: /* type_specifier_nonarray: FLOATMXINT8_T  */
  ------------------
  |  Branch (8707:3): [True: 4, False: 779k]
  ------------------
 8708|      4|#line 2035 "MachineIndependent/glslang.y"
 8709|      4|                    {
 8710|      4|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "floatmxint8_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "floatmxint8_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 8711|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 8712|      4|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 8713|      4|    }
 8714|      4|#line 8715 "MachineIndependent/glslang_tab.cpp"
 8715|      4|    break;
 8716|       |
 8717|  1.12k|  case 270: /* type_specifier_nonarray: FLOAT16_T  */
  ------------------
  |  Branch (8717:3): [True: 1.12k, False: 778k]
  ------------------
 8718|  1.12k|#line 2040 "MachineIndependent/glslang.y"
 8719|  1.12k|                {
 8720|  1.12k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "float16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.12k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "float16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.12k|#define parseContext (*pParseContext)
  ------------------
 8721|  1.12k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.12k|#define parseContext (*pParseContext)
  ------------------
 8722|  1.12k|        (yyval.interm.type).basicType = EbtFloat16;
 8723|  1.12k|    }
 8724|  1.12k|#line 8725 "MachineIndependent/glslang_tab.cpp"
 8725|  1.12k|    break;
 8726|       |
 8727|     76|  case 271: /* type_specifier_nonarray: FLOAT32_T  */
  ------------------
  |  Branch (8727:3): [True: 76, False: 779k]
  ------------------
 8728|     76|#line 2045 "MachineIndependent/glslang.y"
 8729|     76|                {
 8730|     76|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     76|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     76|#define parseContext (*pParseContext)
  ------------------
 8731|     76|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     76|#define parseContext (*pParseContext)
  ------------------
 8732|     76|        (yyval.interm.type).basicType = EbtFloat;
 8733|     76|    }
 8734|     76|#line 8735 "MachineIndependent/glslang_tab.cpp"
 8735|     76|    break;
 8736|       |
 8737|    141|  case 272: /* type_specifier_nonarray: FLOAT64_T  */
  ------------------
  |  Branch (8737:3): [True: 141, False: 779k]
  ------------------
 8738|    141|#line 2050 "MachineIndependent/glslang.y"
 8739|    141|                {
 8740|    141|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    141|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    141|#define parseContext (*pParseContext)
  ------------------
 8741|    141|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    141|#define parseContext (*pParseContext)
  ------------------
 8742|    141|        (yyval.interm.type).basicType = EbtDouble;
 8743|    141|    }
 8744|    141|#line 8745 "MachineIndependent/glslang_tab.cpp"
 8745|    141|    break;
 8746|       |
 8747|    285|  case 273: /* type_specifier_nonarray: INT8_T  */
  ------------------
  |  Branch (8747:3): [True: 285, False: 779k]
  ------------------
 8748|    285|#line 2055 "MachineIndependent/glslang.y"
 8749|    285|             {
 8750|    285|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    285|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    285|#define parseContext (*pParseContext)
  ------------------
 8751|    285|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    285|#define parseContext (*pParseContext)
  ------------------
 8752|    285|        (yyval.interm.type).basicType = EbtInt8;
 8753|    285|    }
 8754|    285|#line 8755 "MachineIndependent/glslang_tab.cpp"
 8755|    285|    break;
 8756|       |
 8757|    266|  case 274: /* type_specifier_nonarray: UINT8_T  */
  ------------------
  |  Branch (8757:3): [True: 266, False: 779k]
  ------------------
 8758|    266|#line 2060 "MachineIndependent/glslang.y"
 8759|    266|              {
 8760|    266|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    266|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    266|#define parseContext (*pParseContext)
  ------------------
 8761|    266|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    266|#define parseContext (*pParseContext)
  ------------------
 8762|    266|        (yyval.interm.type).basicType = EbtUint8;
 8763|    266|    }
 8764|    266|#line 8765 "MachineIndependent/glslang_tab.cpp"
 8765|    266|    break;
 8766|       |
 8767|    347|  case 275: /* type_specifier_nonarray: INT16_T  */
  ------------------
  |  Branch (8767:3): [True: 347, False: 779k]
  ------------------
 8768|    347|#line 2065 "MachineIndependent/glslang.y"
 8769|    347|              {
 8770|    347|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    347|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    347|#define parseContext (*pParseContext)
  ------------------
 8771|    347|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    347|#define parseContext (*pParseContext)
  ------------------
 8772|    347|        (yyval.interm.type).basicType = EbtInt16;
 8773|    347|    }
 8774|    347|#line 8775 "MachineIndependent/glslang_tab.cpp"
 8775|    347|    break;
 8776|       |
 8777|    309|  case 276: /* type_specifier_nonarray: UINT16_T  */
  ------------------
  |  Branch (8777:3): [True: 309, False: 779k]
  ------------------
 8778|    309|#line 2070 "MachineIndependent/glslang.y"
 8779|    309|               {
 8780|    309|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    309|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    309|#define parseContext (*pParseContext)
  ------------------
 8781|    309|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    309|#define parseContext (*pParseContext)
  ------------------
 8782|    309|        (yyval.interm.type).basicType = EbtUint16;
 8783|    309|    }
 8784|    309|#line 8785 "MachineIndependent/glslang_tab.cpp"
 8785|    309|    break;
 8786|       |
 8787|     80|  case 277: /* type_specifier_nonarray: INT32_T  */
  ------------------
  |  Branch (8787:3): [True: 80, False: 779k]
  ------------------
 8788|     80|#line 2075 "MachineIndependent/glslang.y"
 8789|     80|              {
 8790|     80|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     80|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     80|#define parseContext (*pParseContext)
  ------------------
 8791|     80|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     80|#define parseContext (*pParseContext)
  ------------------
 8792|     80|        (yyval.interm.type).basicType = EbtInt;
 8793|     80|    }
 8794|     80|#line 8795 "MachineIndependent/glslang_tab.cpp"
 8795|     80|    break;
 8796|       |
 8797|     82|  case 278: /* type_specifier_nonarray: UINT32_T  */
  ------------------
  |  Branch (8797:3): [True: 82, False: 779k]
  ------------------
 8798|     82|#line 2080 "MachineIndependent/glslang.y"
 8799|     82|               {
 8800|     82|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     82|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     82|#define parseContext (*pParseContext)
  ------------------
 8801|     82|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     82|#define parseContext (*pParseContext)
  ------------------
 8802|     82|        (yyval.interm.type).basicType = EbtUint;
 8803|     82|    }
 8804|     82|#line 8805 "MachineIndependent/glslang_tab.cpp"
 8805|     82|    break;
 8806|       |
 8807|    773|  case 279: /* type_specifier_nonarray: INT64_T  */
  ------------------
  |  Branch (8807:3): [True: 773, False: 779k]
  ------------------
 8808|    773|#line 2085 "MachineIndependent/glslang.y"
 8809|    773|              {
 8810|    773|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    773|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    773|#define parseContext (*pParseContext)
  ------------------
 8811|    773|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    773|#define parseContext (*pParseContext)
  ------------------
 8812|    773|        (yyval.interm.type).basicType = EbtInt64;
 8813|    773|    }
 8814|    773|#line 8815 "MachineIndependent/glslang_tab.cpp"
 8815|    773|    break;
 8816|       |
 8817|  1.27k|  case 280: /* type_specifier_nonarray: UINT64_T  */
  ------------------
  |  Branch (8817:3): [True: 1.27k, False: 778k]
  ------------------
 8818|  1.27k|#line 2090 "MachineIndependent/glslang.y"
 8819|  1.27k|               {
 8820|  1.27k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.27k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.27k|#define parseContext (*pParseContext)
  ------------------
 8821|  1.27k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.27k|#define parseContext (*pParseContext)
  ------------------
 8822|  1.27k|        (yyval.interm.type).basicType = EbtUint64;
 8823|  1.27k|    }
 8824|  1.27k|#line 8825 "MachineIndependent/glslang_tab.cpp"
 8825|  1.27k|    break;
 8826|       |
 8827|    232|  case 281: /* type_specifier_nonarray: DVEC2  */
  ------------------
  |  Branch (8827:3): [True: 232, False: 779k]
  ------------------
 8828|    232|#line 2095 "MachineIndependent/glslang.y"
 8829|    232|            {
 8830|    232|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  783|    232|#define parseContext (*pParseContext)
  ------------------
 8831|    232|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|    232|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8831:13): [True: 0, False: 232]
  ------------------
 8832|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8833|    232|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    232|#define parseContext (*pParseContext)
  ------------------
 8834|    232|        (yyval.interm.type).basicType = EbtDouble;
 8835|    232|        (yyval.interm.type).setVector(2);
 8836|    232|    }
 8837|    232|#line 8838 "MachineIndependent/glslang_tab.cpp"
 8838|    232|    break;
 8839|       |
 8840|    231|  case 282: /* type_specifier_nonarray: DVEC3  */
  ------------------
  |  Branch (8840:3): [True: 231, False: 779k]
  ------------------
 8841|    231|#line 2103 "MachineIndependent/glslang.y"
 8842|    231|            {
 8843|    231|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  783|    231|#define parseContext (*pParseContext)
  ------------------
 8844|    231|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|    231|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8844:13): [True: 0, False: 231]
  ------------------
 8845|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8846|    231|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    231|#define parseContext (*pParseContext)
  ------------------
 8847|    231|        (yyval.interm.type).basicType = EbtDouble;
 8848|    231|        (yyval.interm.type).setVector(3);
 8849|    231|    }
 8850|    231|#line 8851 "MachineIndependent/glslang_tab.cpp"
 8851|    231|    break;
 8852|       |
 8853|    232|  case 283: /* type_specifier_nonarray: DVEC4  */
  ------------------
  |  Branch (8853:3): [True: 232, False: 779k]
  ------------------
 8854|    232|#line 2111 "MachineIndependent/glslang.y"
 8855|    232|            {
 8856|    232|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  783|    232|#define parseContext (*pParseContext)
  ------------------
 8857|    232|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|    232|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8857:13): [True: 0, False: 232]
  ------------------
 8858|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8859|    232|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    232|#define parseContext (*pParseContext)
  ------------------
 8860|    232|        (yyval.interm.type).basicType = EbtDouble;
 8861|    232|        (yyval.interm.type).setVector(4);
 8862|    232|    }
 8863|    232|#line 8864 "MachineIndependent/glslang_tab.cpp"
 8864|    232|    break;
 8865|       |
 8866|     10|  case 284: /* type_specifier_nonarray: BF16VEC2  */
  ------------------
  |  Branch (8866:3): [True: 10, False: 779k]
  ------------------
 8867|     10|#line 2119 "MachineIndependent/glslang.y"
 8868|     10|               {
 8869|     10|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
 8870|     10|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
 8871|     10|        (yyval.interm.type).basicType = EbtBFloat16;
 8872|     10|        (yyval.interm.type).setVector(2);
 8873|     10|    }
 8874|     10|#line 8875 "MachineIndependent/glslang_tab.cpp"
 8875|     10|    break;
 8876|       |
 8877|      6|  case 285: /* type_specifier_nonarray: BF16VEC3  */
  ------------------
  |  Branch (8877:3): [True: 6, False: 779k]
  ------------------
 8878|      6|#line 2125 "MachineIndependent/glslang.y"
 8879|      6|               {
 8880|      6|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 8881|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 8882|      6|        (yyval.interm.type).basicType = EbtBFloat16;
 8883|      6|        (yyval.interm.type).setVector(3);
 8884|      6|    }
 8885|      6|#line 8886 "MachineIndependent/glslang_tab.cpp"
 8886|      6|    break;
 8887|       |
 8888|     10|  case 286: /* type_specifier_nonarray: BF16VEC4  */
  ------------------
  |  Branch (8888:3): [True: 10, False: 779k]
  ------------------
 8889|     10|#line 2131 "MachineIndependent/glslang.y"
 8890|     10|               {
 8891|     10|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
 8892|     10|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
 8893|     10|        (yyval.interm.type).basicType = EbtBFloat16;
 8894|     10|        (yyval.interm.type).setVector(4);
 8895|     10|    }
 8896|     10|#line 8897 "MachineIndependent/glslang_tab.cpp"
 8897|     10|    break;
 8898|       |
 8899|      8|  case 287: /* type_specifier_nonarray: FE5M2VEC2  */
  ------------------
  |  Branch (8899:3): [True: 8, False: 779k]
  ------------------
 8900|      8|#line 2137 "MachineIndependent/glslang.y"
 8901|      8|                {
 8902|      8|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 8903|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 8904|      8|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8905|      8|        (yyval.interm.type).setVector(2);
 8906|      8|    }
 8907|      8|#line 8908 "MachineIndependent/glslang_tab.cpp"
 8908|      8|    break;
 8909|       |
 8910|      4|  case 288: /* type_specifier_nonarray: FE5M2VEC3  */
  ------------------
  |  Branch (8910:3): [True: 4, False: 779k]
  ------------------
 8911|      4|#line 2143 "MachineIndependent/glslang.y"
 8912|      4|                {
 8913|      4|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 8914|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 8915|      4|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8916|      4|        (yyval.interm.type).setVector(3);
 8917|      4|    }
 8918|      4|#line 8919 "MachineIndependent/glslang_tab.cpp"
 8919|      4|    break;
 8920|       |
 8921|      8|  case 289: /* type_specifier_nonarray: FE5M2VEC4  */
  ------------------
  |  Branch (8921:3): [True: 8, False: 779k]
  ------------------
 8922|      8|#line 2149 "MachineIndependent/glslang.y"
 8923|      8|                {
 8924|      8|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 8925|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 8926|      8|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8927|      8|        (yyval.interm.type).setVector(4);
 8928|      8|    }
 8929|      8|#line 8930 "MachineIndependent/glslang_tab.cpp"
 8930|      8|    break;
 8931|       |
 8932|      8|  case 290: /* type_specifier_nonarray: FE4M3VEC2  */
  ------------------
  |  Branch (8932:3): [True: 8, False: 779k]
  ------------------
 8933|      8|#line 2155 "MachineIndependent/glslang.y"
 8934|      8|                {
 8935|      8|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 8936|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 8937|      8|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8938|      8|        (yyval.interm.type).setVector(2);
 8939|      8|    }
 8940|      8|#line 8941 "MachineIndependent/glslang_tab.cpp"
 8941|      8|    break;
 8942|       |
 8943|      4|  case 291: /* type_specifier_nonarray: FE4M3VEC3  */
  ------------------
  |  Branch (8943:3): [True: 4, False: 779k]
  ------------------
 8944|      4|#line 2161 "MachineIndependent/glslang.y"
 8945|      4|                {
 8946|      4|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 8947|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 8948|      4|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8949|      4|        (yyval.interm.type).setVector(3);
 8950|      4|    }
 8951|      4|#line 8952 "MachineIndependent/glslang_tab.cpp"
 8952|      4|    break;
 8953|       |
 8954|      8|  case 292: /* type_specifier_nonarray: FE4M3VEC4  */
  ------------------
  |  Branch (8954:3): [True: 8, False: 779k]
  ------------------
 8955|      8|#line 2167 "MachineIndependent/glslang.y"
 8956|      8|                {
 8957|      8|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 8958|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 8959|      8|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8960|      8|        (yyval.interm.type).setVector(4);
 8961|      8|    }
 8962|      8|#line 8963 "MachineIndependent/glslang_tab.cpp"
 8963|      8|    break;
 8964|       |
 8965|      3|  case 293: /* type_specifier_nonarray: FE2M1VEC2  */
  ------------------
  |  Branch (8965:3): [True: 3, False: 779k]
  ------------------
 8966|      3|#line 2173 "MachineIndependent/glslang.y"
 8967|      3|                {
 8968|      3|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
 8969|      3|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
 8970|      3|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8971|      3|        (yyval.interm.type).setVector(2);
 8972|      3|    }
 8973|      3|#line 8974 "MachineIndependent/glslang_tab.cpp"
 8974|      3|    break;
 8975|       |
 8976|      1|  case 294: /* type_specifier_nonarray: FE2M1VEC3  */
  ------------------
  |  Branch (8976:3): [True: 1, False: 779k]
  ------------------
 8977|      1|#line 2179 "MachineIndependent/glslang.y"
 8978|      1|                {
 8979|      1|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
 8980|      1|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
 8981|      1|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8982|      1|        (yyval.interm.type).setVector(3);
 8983|      1|    }
 8984|      1|#line 8985 "MachineIndependent/glslang_tab.cpp"
 8985|      1|    break;
 8986|       |
 8987|      3|  case 295: /* type_specifier_nonarray: FE2M1VEC4  */
  ------------------
  |  Branch (8987:3): [True: 3, False: 779k]
  ------------------
 8988|      3|#line 2185 "MachineIndependent/glslang.y"
 8989|      3|                {
 8990|      3|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
 8991|      3|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
 8992|      3|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8993|      3|        (yyval.interm.type).setVector(4);
 8994|      3|    }
 8995|      3|#line 8996 "MachineIndependent/glslang_tab.cpp"
 8996|      3|    break;
 8997|       |
 8998|      1|  case 296: /* type_specifier_nonarray: FE3M2VEC2  */
  ------------------
  |  Branch (8998:3): [True: 1, False: 779k]
  ------------------
 8999|      1|#line 2191 "MachineIndependent/glslang.y"
 9000|      1|                {
 9001|      1|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
 9002|      1|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
 9003|      1|        (yyval.interm.type).basicType = EbtFloatE3M2;
 9004|      1|        (yyval.interm.type).setVector(2);
 9005|      1|    }
 9006|      1|#line 9007 "MachineIndependent/glslang_tab.cpp"
 9007|      1|    break;
 9008|       |
 9009|      1|  case 297: /* type_specifier_nonarray: FE3M2VEC3  */
  ------------------
  |  Branch (9009:3): [True: 1, False: 779k]
  ------------------
 9010|      1|#line 2197 "MachineIndependent/glslang.y"
 9011|      1|                {
 9012|      1|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
 9013|      1|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
 9014|      1|        (yyval.interm.type).basicType = EbtFloatE3M2;
 9015|      1|        (yyval.interm.type).setVector(3);
 9016|      1|    }
 9017|      1|#line 9018 "MachineIndependent/glslang_tab.cpp"
 9018|      1|    break;
 9019|       |
 9020|      3|  case 298: /* type_specifier_nonarray: FE3M2VEC4  */
  ------------------
  |  Branch (9020:3): [True: 3, False: 779k]
  ------------------
 9021|      3|#line 2203 "MachineIndependent/glslang.y"
 9022|      3|                {
 9023|      3|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
 9024|      3|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
 9025|      3|        (yyval.interm.type).basicType = EbtFloatE3M2;
 9026|      3|        (yyval.interm.type).setVector(4);
 9027|      3|    }
 9028|      3|#line 9029 "MachineIndependent/glslang_tab.cpp"
 9029|      3|    break;
 9030|       |
 9031|      1|  case 299: /* type_specifier_nonarray: FE2M3VEC2  */
  ------------------
  |  Branch (9031:3): [True: 1, False: 779k]
  ------------------
 9032|      1|#line 2209 "MachineIndependent/glslang.y"
 9033|      1|                {
 9034|      1|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
 9035|      1|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
 9036|      1|        (yyval.interm.type).basicType = EbtFloatE2M3;
 9037|      1|        (yyval.interm.type).setVector(2);
 9038|      1|    }
 9039|      1|#line 9040 "MachineIndependent/glslang_tab.cpp"
 9040|      1|    break;
 9041|       |
 9042|      1|  case 300: /* type_specifier_nonarray: FE2M3VEC3  */
  ------------------
  |  Branch (9042:3): [True: 1, False: 779k]
  ------------------
 9043|      1|#line 2215 "MachineIndependent/glslang.y"
 9044|      1|                {
 9045|      1|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
 9046|      1|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
 9047|      1|        (yyval.interm.type).basicType = EbtFloatE2M3;
 9048|      1|        (yyval.interm.type).setVector(3);
 9049|      1|    }
 9050|      1|#line 9051 "MachineIndependent/glslang_tab.cpp"
 9051|      1|    break;
 9052|       |
 9053|      3|  case 301: /* type_specifier_nonarray: FE2M3VEC4  */
  ------------------
  |  Branch (9053:3): [True: 3, False: 779k]
  ------------------
 9054|      3|#line 2221 "MachineIndependent/glslang.y"
 9055|      3|                {
 9056|      3|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
 9057|      3|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
 9058|      3|        (yyval.interm.type).basicType = EbtFloatE2M3;
 9059|      3|        (yyval.interm.type).setVector(4);
 9060|      3|    }
 9061|      3|#line 9062 "MachineIndependent/glslang_tab.cpp"
 9062|      3|    break;
 9063|       |
 9064|      4|  case 302: /* type_specifier_nonarray: FUE8M0VEC2  */
  ------------------
  |  Branch (9064:3): [True: 4, False: 779k]
  ------------------
 9065|      4|#line 2227 "MachineIndependent/glslang.y"
 9066|      4|                 {
 9067|      4|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9068|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9069|      4|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 9070|      4|        (yyval.interm.type).setVector(2);
 9071|      4|    }
 9072|      4|#line 9073 "MachineIndependent/glslang_tab.cpp"
 9073|      4|    break;
 9074|       |
 9075|      4|  case 303: /* type_specifier_nonarray: FUE8M0VEC3  */
  ------------------
  |  Branch (9075:3): [True: 4, False: 779k]
  ------------------
 9076|      4|#line 2233 "MachineIndependent/glslang.y"
 9077|      4|                 {
 9078|      4|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9079|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9080|      4|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 9081|      4|        (yyval.interm.type).setVector(3);
 9082|      4|    }
 9083|      4|#line 9084 "MachineIndependent/glslang_tab.cpp"
 9084|      4|    break;
 9085|       |
 9086|      4|  case 304: /* type_specifier_nonarray: FUE8M0VEC4  */
  ------------------
  |  Branch (9086:3): [True: 4, False: 779k]
  ------------------
 9087|      4|#line 2239 "MachineIndependent/glslang.y"
 9088|      4|                 {
 9089|      4|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9090|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9091|      4|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 9092|      4|        (yyval.interm.type).setVector(4);
 9093|      4|    }
 9094|      4|#line 9095 "MachineIndependent/glslang_tab.cpp"
 9095|      4|    break;
 9096|       |
 9097|      4|  case 305: /* type_specifier_nonarray: FMXINT8VEC2  */
  ------------------
  |  Branch (9097:3): [True: 4, False: 779k]
  ------------------
 9098|      4|#line 2245 "MachineIndependent/glslang.y"
 9099|      4|                  {
 9100|      4|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9101|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9102|      4|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 9103|      4|        (yyval.interm.type).setVector(2);
 9104|      4|    }
 9105|      4|#line 9106 "MachineIndependent/glslang_tab.cpp"
 9106|      4|    break;
 9107|       |
 9108|      4|  case 306: /* type_specifier_nonarray: FMXINT8VEC3  */
  ------------------
  |  Branch (9108:3): [True: 4, False: 779k]
  ------------------
 9109|      4|#line 2251 "MachineIndependent/glslang.y"
 9110|      4|                  {
 9111|      4|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9112|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9113|      4|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 9114|      4|        (yyval.interm.type).setVector(3);
 9115|      4|    }
 9116|      4|#line 9117 "MachineIndependent/glslang_tab.cpp"
 9117|      4|    break;
 9118|       |
 9119|      4|  case 307: /* type_specifier_nonarray: FMXINT8VEC4  */
  ------------------
  |  Branch (9119:3): [True: 4, False: 779k]
  ------------------
 9120|      4|#line 2257 "MachineIndependent/glslang.y"
 9121|      4|                  {
 9122|      4|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9123|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9124|      4|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 9125|      4|        (yyval.interm.type).setVector(4);
 9126|      4|    }
 9127|      4|#line 9128 "MachineIndependent/glslang_tab.cpp"
 9128|      4|    break;
 9129|       |
 9130|    902|  case 308: /* type_specifier_nonarray: F16VEC2  */
  ------------------
  |  Branch (9130:3): [True: 902, False: 779k]
  ------------------
 9131|    902|#line 2263 "MachineIndependent/glslang.y"
 9132|    902|              {
 9133|    902|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    902|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    902|#define parseContext (*pParseContext)
  ------------------
 9134|    902|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    902|#define parseContext (*pParseContext)
  ------------------
 9135|    902|        (yyval.interm.type).basicType = EbtFloat16;
 9136|    902|        (yyval.interm.type).setVector(2);
 9137|    902|    }
 9138|    902|#line 9139 "MachineIndependent/glslang_tab.cpp"
 9139|    902|    break;
 9140|       |
 9141|    611|  case 309: /* type_specifier_nonarray: F16VEC3  */
  ------------------
  |  Branch (9141:3): [True: 611, False: 779k]
  ------------------
 9142|    611|#line 2269 "MachineIndependent/glslang.y"
 9143|    611|              {
 9144|    611|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    611|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    611|#define parseContext (*pParseContext)
  ------------------
 9145|    611|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    611|#define parseContext (*pParseContext)
  ------------------
 9146|    611|        (yyval.interm.type).basicType = EbtFloat16;
 9147|    611|        (yyval.interm.type).setVector(3);
 9148|    611|    }
 9149|    611|#line 9150 "MachineIndependent/glslang_tab.cpp"
 9150|    611|    break;
 9151|       |
 9152|  1.55k|  case 310: /* type_specifier_nonarray: F16VEC4  */
  ------------------
  |  Branch (9152:3): [True: 1.55k, False: 778k]
  ------------------
 9153|  1.55k|#line 2275 "MachineIndependent/glslang.y"
 9154|  1.55k|              {
 9155|  1.55k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.55k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.55k|#define parseContext (*pParseContext)
  ------------------
 9156|  1.55k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.55k|#define parseContext (*pParseContext)
  ------------------
 9157|  1.55k|        (yyval.interm.type).basicType = EbtFloat16;
 9158|  1.55k|        (yyval.interm.type).setVector(4);
 9159|  1.55k|    }
 9160|  1.55k|#line 9161 "MachineIndependent/glslang_tab.cpp"
 9161|  1.55k|    break;
 9162|       |
 9163|      4|  case 311: /* type_specifier_nonarray: F32VEC2  */
  ------------------
  |  Branch (9163:3): [True: 4, False: 779k]
  ------------------
 9164|      4|#line 2281 "MachineIndependent/glslang.y"
 9165|      4|              {
 9166|      4|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9167|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9168|      4|        (yyval.interm.type).basicType = EbtFloat;
 9169|      4|        (yyval.interm.type).setVector(2);
 9170|      4|    }
 9171|      4|#line 9172 "MachineIndependent/glslang_tab.cpp"
 9172|      4|    break;
 9173|       |
 9174|      4|  case 312: /* type_specifier_nonarray: F32VEC3  */
  ------------------
  |  Branch (9174:3): [True: 4, False: 779k]
  ------------------
 9175|      4|#line 2287 "MachineIndependent/glslang.y"
 9176|      4|              {
 9177|      4|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9178|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9179|      4|        (yyval.interm.type).basicType = EbtFloat;
 9180|      4|        (yyval.interm.type).setVector(3);
 9181|      4|    }
 9182|      4|#line 9183 "MachineIndependent/glslang_tab.cpp"
 9183|      4|    break;
 9184|       |
 9185|      4|  case 313: /* type_specifier_nonarray: F32VEC4  */
  ------------------
  |  Branch (9185:3): [True: 4, False: 779k]
  ------------------
 9186|      4|#line 2293 "MachineIndependent/glslang.y"
 9187|      4|              {
 9188|      4|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9189|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9190|      4|        (yyval.interm.type).basicType = EbtFloat;
 9191|      4|        (yyval.interm.type).setVector(4);
 9192|      4|    }
 9193|      4|#line 9194 "MachineIndependent/glslang_tab.cpp"
 9194|      4|    break;
 9195|       |
 9196|     90|  case 314: /* type_specifier_nonarray: F64VEC2  */
  ------------------
  |  Branch (9196:3): [True: 90, False: 779k]
  ------------------
 9197|     90|#line 2299 "MachineIndependent/glslang.y"
 9198|     90|              {
 9199|     90|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     90|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     90|#define parseContext (*pParseContext)
  ------------------
 9200|     90|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     90|#define parseContext (*pParseContext)
  ------------------
 9201|     90|        (yyval.interm.type).basicType = EbtDouble;
 9202|     90|        (yyval.interm.type).setVector(2);
 9203|     90|    }
 9204|     90|#line 9205 "MachineIndependent/glslang_tab.cpp"
 9205|     90|    break;
 9206|       |
 9207|     86|  case 315: /* type_specifier_nonarray: F64VEC3  */
  ------------------
  |  Branch (9207:3): [True: 86, False: 779k]
  ------------------
 9208|     86|#line 2305 "MachineIndependent/glslang.y"
 9209|     86|              {
 9210|     86|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     86|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     86|#define parseContext (*pParseContext)
  ------------------
 9211|     86|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     86|#define parseContext (*pParseContext)
  ------------------
 9212|     86|        (yyval.interm.type).basicType = EbtDouble;
 9213|     86|        (yyval.interm.type).setVector(3);
 9214|     86|    }
 9215|     86|#line 9216 "MachineIndependent/glslang_tab.cpp"
 9216|     86|    break;
 9217|       |
 9218|     86|  case 316: /* type_specifier_nonarray: F64VEC4  */
  ------------------
  |  Branch (9218:3): [True: 86, False: 779k]
  ------------------
 9219|     86|#line 2311 "MachineIndependent/glslang.y"
 9220|     86|              {
 9221|     86|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     86|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     86|#define parseContext (*pParseContext)
  ------------------
 9222|     86|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     86|#define parseContext (*pParseContext)
  ------------------
 9223|     86|        (yyval.interm.type).basicType = EbtDouble;
 9224|     86|        (yyval.interm.type).setVector(4);
 9225|     86|    }
 9226|     86|#line 9227 "MachineIndependent/glslang_tab.cpp"
 9227|     86|    break;
 9228|       |
 9229|    204|  case 317: /* type_specifier_nonarray: I8VEC2  */
  ------------------
  |  Branch (9229:3): [True: 204, False: 779k]
  ------------------
 9230|    204|#line 2317 "MachineIndependent/glslang.y"
 9231|    204|             {
 9232|    204|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    204|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    204|#define parseContext (*pParseContext)
  ------------------
 9233|    204|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    204|#define parseContext (*pParseContext)
  ------------------
 9234|    204|        (yyval.interm.type).basicType = EbtInt8;
 9235|    204|        (yyval.interm.type).setVector(2);
 9236|    204|    }
 9237|    204|#line 9238 "MachineIndependent/glslang_tab.cpp"
 9238|    204|    break;
 9239|       |
 9240|    198|  case 318: /* type_specifier_nonarray: I8VEC3  */
  ------------------
  |  Branch (9240:3): [True: 198, False: 779k]
  ------------------
 9241|    198|#line 2323 "MachineIndependent/glslang.y"
 9242|    198|             {
 9243|    198|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    198|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    198|#define parseContext (*pParseContext)
  ------------------
 9244|    198|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    198|#define parseContext (*pParseContext)
  ------------------
 9245|    198|        (yyval.interm.type).basicType = EbtInt8;
 9246|    198|        (yyval.interm.type).setVector(3);
 9247|    198|    }
 9248|    198|#line 9249 "MachineIndependent/glslang_tab.cpp"
 9249|    198|    break;
 9250|       |
 9251|    204|  case 319: /* type_specifier_nonarray: I8VEC4  */
  ------------------
  |  Branch (9251:3): [True: 204, False: 779k]
  ------------------
 9252|    204|#line 2329 "MachineIndependent/glslang.y"
 9253|    204|             {
 9254|    204|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    204|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    204|#define parseContext (*pParseContext)
  ------------------
 9255|    204|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    204|#define parseContext (*pParseContext)
  ------------------
 9256|    204|        (yyval.interm.type).basicType = EbtInt8;
 9257|    204|        (yyval.interm.type).setVector(4);
 9258|    204|    }
 9259|    204|#line 9260 "MachineIndependent/glslang_tab.cpp"
 9260|    204|    break;
 9261|       |
 9262|    268|  case 320: /* type_specifier_nonarray: I16VEC2  */
  ------------------
  |  Branch (9262:3): [True: 268, False: 779k]
  ------------------
 9263|    268|#line 2335 "MachineIndependent/glslang.y"
 9264|    268|              {
 9265|    268|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    268|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    268|#define parseContext (*pParseContext)
  ------------------
 9266|    268|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    268|#define parseContext (*pParseContext)
  ------------------
 9267|    268|        (yyval.interm.type).basicType = EbtInt16;
 9268|    268|        (yyval.interm.type).setVector(2);
 9269|    268|    }
 9270|    268|#line 9271 "MachineIndependent/glslang_tab.cpp"
 9271|    268|    break;
 9272|       |
 9273|    260|  case 321: /* type_specifier_nonarray: I16VEC3  */
  ------------------
  |  Branch (9273:3): [True: 260, False: 779k]
  ------------------
 9274|    260|#line 2341 "MachineIndependent/glslang.y"
 9275|    260|              {
 9276|    260|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    260|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    260|#define parseContext (*pParseContext)
  ------------------
 9277|    260|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    260|#define parseContext (*pParseContext)
  ------------------
 9278|    260|        (yyval.interm.type).basicType = EbtInt16;
 9279|    260|        (yyval.interm.type).setVector(3);
 9280|    260|    }
 9281|    260|#line 9282 "MachineIndependent/glslang_tab.cpp"
 9282|    260|    break;
 9283|       |
 9284|    268|  case 322: /* type_specifier_nonarray: I16VEC4  */
  ------------------
  |  Branch (9284:3): [True: 268, False: 779k]
  ------------------
 9285|    268|#line 2347 "MachineIndependent/glslang.y"
 9286|    268|              {
 9287|    268|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    268|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    268|#define parseContext (*pParseContext)
  ------------------
 9288|    268|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    268|#define parseContext (*pParseContext)
  ------------------
 9289|    268|        (yyval.interm.type).basicType = EbtInt16;
 9290|    268|        (yyval.interm.type).setVector(4);
 9291|    268|    }
 9292|    268|#line 9293 "MachineIndependent/glslang_tab.cpp"
 9293|    268|    break;
 9294|       |
 9295|      6|  case 323: /* type_specifier_nonarray: I32VEC2  */
  ------------------
  |  Branch (9295:3): [True: 6, False: 779k]
  ------------------
 9296|      6|#line 2353 "MachineIndependent/glslang.y"
 9297|      6|              {
 9298|      6|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9299|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9300|      6|        (yyval.interm.type).basicType = EbtInt;
 9301|      6|        (yyval.interm.type).setVector(2);
 9302|      6|    }
 9303|      6|#line 9304 "MachineIndependent/glslang_tab.cpp"
 9304|      6|    break;
 9305|       |
 9306|      4|  case 324: /* type_specifier_nonarray: I32VEC3  */
  ------------------
  |  Branch (9306:3): [True: 4, False: 779k]
  ------------------
 9307|      4|#line 2359 "MachineIndependent/glslang.y"
 9308|      4|              {
 9309|      4|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9310|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9311|      4|        (yyval.interm.type).basicType = EbtInt;
 9312|      4|        (yyval.interm.type).setVector(3);
 9313|      4|    }
 9314|      4|#line 9315 "MachineIndependent/glslang_tab.cpp"
 9315|      4|    break;
 9316|       |
 9317|      4|  case 325: /* type_specifier_nonarray: I32VEC4  */
  ------------------
  |  Branch (9317:3): [True: 4, False: 779k]
  ------------------
 9318|      4|#line 2365 "MachineIndependent/glslang.y"
 9319|      4|              {
 9320|      4|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9321|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9322|      4|        (yyval.interm.type).basicType = EbtInt;
 9323|      4|        (yyval.interm.type).setVector(4);
 9324|      4|    }
 9325|      4|#line 9326 "MachineIndependent/glslang_tab.cpp"
 9326|      4|    break;
 9327|       |
 9328|    239|  case 326: /* type_specifier_nonarray: I64VEC2  */
  ------------------
  |  Branch (9328:3): [True: 239, False: 779k]
  ------------------
 9329|    239|#line 2371 "MachineIndependent/glslang.y"
 9330|    239|              {
 9331|    239|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    239|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    239|#define parseContext (*pParseContext)
  ------------------
 9332|    239|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    239|#define parseContext (*pParseContext)
  ------------------
 9333|    239|        (yyval.interm.type).basicType = EbtInt64;
 9334|    239|        (yyval.interm.type).setVector(2);
 9335|    239|    }
 9336|    239|#line 9337 "MachineIndependent/glslang_tab.cpp"
 9337|    239|    break;
 9338|       |
 9339|    235|  case 327: /* type_specifier_nonarray: I64VEC3  */
  ------------------
  |  Branch (9339:3): [True: 235, False: 779k]
  ------------------
 9340|    235|#line 2377 "MachineIndependent/glslang.y"
 9341|    235|              {
 9342|    235|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    235|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    235|#define parseContext (*pParseContext)
  ------------------
 9343|    235|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    235|#define parseContext (*pParseContext)
  ------------------
 9344|    235|        (yyval.interm.type).basicType = EbtInt64;
 9345|    235|        (yyval.interm.type).setVector(3);
 9346|    235|    }
 9347|    235|#line 9348 "MachineIndependent/glslang_tab.cpp"
 9348|    235|    break;
 9349|       |
 9350|    288|  case 328: /* type_specifier_nonarray: I64VEC4  */
  ------------------
  |  Branch (9350:3): [True: 288, False: 779k]
  ------------------
 9351|    288|#line 2383 "MachineIndependent/glslang.y"
 9352|    288|              {
 9353|    288|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    288|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    288|#define parseContext (*pParseContext)
  ------------------
 9354|    288|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    288|#define parseContext (*pParseContext)
  ------------------
 9355|    288|        (yyval.interm.type).basicType = EbtInt64;
 9356|    288|        (yyval.interm.type).setVector(4);
 9357|    288|    }
 9358|    288|#line 9359 "MachineIndependent/glslang_tab.cpp"
 9359|    288|    break;
 9360|       |
 9361|    197|  case 329: /* type_specifier_nonarray: U8VEC2  */
  ------------------
  |  Branch (9361:3): [True: 197, False: 779k]
  ------------------
 9362|    197|#line 2389 "MachineIndependent/glslang.y"
 9363|    197|             {
 9364|    197|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    197|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    197|#define parseContext (*pParseContext)
  ------------------
 9365|    197|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    197|#define parseContext (*pParseContext)
  ------------------
 9366|    197|        (yyval.interm.type).basicType = EbtUint8;
 9367|    197|        (yyval.interm.type).setVector(2);
 9368|    197|    }
 9369|    197|#line 9370 "MachineIndependent/glslang_tab.cpp"
 9370|    197|    break;
 9371|       |
 9372|    195|  case 330: /* type_specifier_nonarray: U8VEC3  */
  ------------------
  |  Branch (9372:3): [True: 195, False: 779k]
  ------------------
 9373|    195|#line 2395 "MachineIndependent/glslang.y"
 9374|    195|             {
 9375|    195|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    195|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    195|#define parseContext (*pParseContext)
  ------------------
 9376|    195|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    195|#define parseContext (*pParseContext)
  ------------------
 9377|    195|        (yyval.interm.type).basicType = EbtUint8;
 9378|    195|        (yyval.interm.type).setVector(3);
 9379|    195|    }
 9380|    195|#line 9381 "MachineIndependent/glslang_tab.cpp"
 9381|    195|    break;
 9382|       |
 9383|    197|  case 331: /* type_specifier_nonarray: U8VEC4  */
  ------------------
  |  Branch (9383:3): [True: 197, False: 779k]
  ------------------
 9384|    197|#line 2401 "MachineIndependent/glslang.y"
 9385|    197|             {
 9386|    197|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    197|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    197|#define parseContext (*pParseContext)
  ------------------
 9387|    197|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    197|#define parseContext (*pParseContext)
  ------------------
 9388|    197|        (yyval.interm.type).basicType = EbtUint8;
 9389|    197|        (yyval.interm.type).setVector(4);
 9390|    197|    }
 9391|    197|#line 9392 "MachineIndependent/glslang_tab.cpp"
 9392|    197|    break;
 9393|       |
 9394|    258|  case 332: /* type_specifier_nonarray: U16VEC2  */
  ------------------
  |  Branch (9394:3): [True: 258, False: 779k]
  ------------------
 9395|    258|#line 2407 "MachineIndependent/glslang.y"
 9396|    258|              {
 9397|    258|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    258|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    258|#define parseContext (*pParseContext)
  ------------------
 9398|    258|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    258|#define parseContext (*pParseContext)
  ------------------
 9399|    258|        (yyval.interm.type).basicType = EbtUint16;
 9400|    258|        (yyval.interm.type).setVector(2);
 9401|    258|    }
 9402|    258|#line 9403 "MachineIndependent/glslang_tab.cpp"
 9403|    258|    break;
 9404|       |
 9405|    254|  case 333: /* type_specifier_nonarray: U16VEC3  */
  ------------------
  |  Branch (9405:3): [True: 254, False: 779k]
  ------------------
 9406|    254|#line 2413 "MachineIndependent/glslang.y"
 9407|    254|              {
 9408|    254|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    254|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    254|#define parseContext (*pParseContext)
  ------------------
 9409|    254|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    254|#define parseContext (*pParseContext)
  ------------------
 9410|    254|        (yyval.interm.type).basicType = EbtUint16;
 9411|    254|        (yyval.interm.type).setVector(3);
 9412|    254|    }
 9413|    254|#line 9414 "MachineIndependent/glslang_tab.cpp"
 9414|    254|    break;
 9415|       |
 9416|    258|  case 334: /* type_specifier_nonarray: U16VEC4  */
  ------------------
  |  Branch (9416:3): [True: 258, False: 779k]
  ------------------
 9417|    258|#line 2419 "MachineIndependent/glslang.y"
 9418|    258|              {
 9419|    258|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    258|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    258|#define parseContext (*pParseContext)
  ------------------
 9420|    258|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    258|#define parseContext (*pParseContext)
  ------------------
 9421|    258|        (yyval.interm.type).basicType = EbtUint16;
 9422|    258|        (yyval.interm.type).setVector(4);
 9423|    258|    }
 9424|    258|#line 9425 "MachineIndependent/glslang_tab.cpp"
 9425|    258|    break;
 9426|       |
 9427|      8|  case 335: /* type_specifier_nonarray: U32VEC2  */
  ------------------
  |  Branch (9427:3): [True: 8, False: 779k]
  ------------------
 9428|      8|#line 2425 "MachineIndependent/glslang.y"
 9429|      8|              {
 9430|      8|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9431|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9432|      8|        (yyval.interm.type).basicType = EbtUint;
 9433|      8|        (yyval.interm.type).setVector(2);
 9434|      8|    }
 9435|      8|#line 9436 "MachineIndependent/glslang_tab.cpp"
 9436|      8|    break;
 9437|       |
 9438|      8|  case 336: /* type_specifier_nonarray: U32VEC3  */
  ------------------
  |  Branch (9438:3): [True: 8, False: 779k]
  ------------------
 9439|      8|#line 2431 "MachineIndependent/glslang.y"
 9440|      8|              {
 9441|      8|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9442|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9443|      8|        (yyval.interm.type).basicType = EbtUint;
 9444|      8|        (yyval.interm.type).setVector(3);
 9445|      8|    }
 9446|      8|#line 9447 "MachineIndependent/glslang_tab.cpp"
 9447|      8|    break;
 9448|       |
 9449|      4|  case 337: /* type_specifier_nonarray: U32VEC4  */
  ------------------
  |  Branch (9449:3): [True: 4, False: 779k]
  ------------------
 9450|      4|#line 2437 "MachineIndependent/glslang.y"
 9451|      4|              {
 9452|      4|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9453|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
 9454|      4|        (yyval.interm.type).basicType = EbtUint;
 9455|      4|        (yyval.interm.type).setVector(4);
 9456|      4|    }
 9457|      4|#line 9458 "MachineIndependent/glslang_tab.cpp"
 9458|      4|    break;
 9459|       |
 9460|    231|  case 338: /* type_specifier_nonarray: U64VEC2  */
  ------------------
  |  Branch (9460:3): [True: 231, False: 779k]
  ------------------
 9461|    231|#line 2443 "MachineIndependent/glslang.y"
 9462|    231|              {
 9463|    231|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    231|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    231|#define parseContext (*pParseContext)
  ------------------
 9464|    231|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    231|#define parseContext (*pParseContext)
  ------------------
 9465|    231|        (yyval.interm.type).basicType = EbtUint64;
 9466|    231|        (yyval.interm.type).setVector(2);
 9467|    231|    }
 9468|    231|#line 9469 "MachineIndependent/glslang_tab.cpp"
 9469|    231|    break;
 9470|       |
 9471|    227|  case 339: /* type_specifier_nonarray: U64VEC3  */
  ------------------
  |  Branch (9471:3): [True: 227, False: 779k]
  ------------------
 9472|    227|#line 2449 "MachineIndependent/glslang.y"
 9473|    227|              {
 9474|    227|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    227|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    227|#define parseContext (*pParseContext)
  ------------------
 9475|    227|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    227|#define parseContext (*pParseContext)
  ------------------
 9476|    227|        (yyval.interm.type).basicType = EbtUint64;
 9477|    227|        (yyval.interm.type).setVector(3);
 9478|    227|    }
 9479|    227|#line 9480 "MachineIndependent/glslang_tab.cpp"
 9480|    227|    break;
 9481|       |
 9482|    280|  case 340: /* type_specifier_nonarray: U64VEC4  */
  ------------------
  |  Branch (9482:3): [True: 280, False: 779k]
  ------------------
 9483|    280|#line 2455 "MachineIndependent/glslang.y"
 9484|    280|              {
 9485|    280|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    280|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    280|#define parseContext (*pParseContext)
  ------------------
 9486|    280|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    280|#define parseContext (*pParseContext)
  ------------------
 9487|    280|        (yyval.interm.type).basicType = EbtUint64;
 9488|    280|        (yyval.interm.type).setVector(4);
 9489|    280|    }
 9490|    280|#line 9491 "MachineIndependent/glslang_tab.cpp"
 9491|    280|    break;
 9492|       |
 9493|      9|  case 341: /* type_specifier_nonarray: DMAT2  */
  ------------------
  |  Branch (9493:3): [True: 9, False: 779k]
  ------------------
 9494|      9|#line 2461 "MachineIndependent/glslang.y"
 9495|      9|            {
 9496|      9|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
 9497|      9|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9497:13): [True: 0, False: 9]
  ------------------
 9498|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9499|      9|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
 9500|      9|        (yyval.interm.type).basicType = EbtDouble;
 9501|      9|        (yyval.interm.type).setMatrix(2, 2);
 9502|      9|    }
 9503|      9|#line 9504 "MachineIndependent/glslang_tab.cpp"
 9504|      9|    break;
 9505|       |
 9506|      9|  case 342: /* type_specifier_nonarray: DMAT3  */
  ------------------
  |  Branch (9506:3): [True: 9, False: 779k]
  ------------------
 9507|      9|#line 2469 "MachineIndependent/glslang.y"
 9508|      9|            {
 9509|      9|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
 9510|      9|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9510:13): [True: 0, False: 9]
  ------------------
 9511|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9512|      9|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
 9513|      9|        (yyval.interm.type).basicType = EbtDouble;
 9514|      9|        (yyval.interm.type).setMatrix(3, 3);
 9515|      9|    }
 9516|      9|#line 9517 "MachineIndependent/glslang_tab.cpp"
 9517|      9|    break;
 9518|       |
 9519|      9|  case 343: /* type_specifier_nonarray: DMAT4  */
  ------------------
  |  Branch (9519:3): [True: 9, False: 779k]
  ------------------
 9520|      9|#line 2477 "MachineIndependent/glslang.y"
 9521|      9|            {
 9522|      9|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
 9523|      9|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9523:13): [True: 0, False: 9]
  ------------------
 9524|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9525|      9|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
 9526|      9|        (yyval.interm.type).basicType = EbtDouble;
 9527|      9|        (yyval.interm.type).setMatrix(4, 4);
 9528|      9|    }
 9529|      9|#line 9530 "MachineIndependent/glslang_tab.cpp"
 9530|      9|    break;
 9531|       |
 9532|      0|  case 344: /* type_specifier_nonarray: DMAT2X2  */
  ------------------
  |  Branch (9532:3): [True: 0, False: 779k]
  ------------------
 9533|      0|#line 2485 "MachineIndependent/glslang.y"
 9534|      0|              {
 9535|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9536|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9536:13): [True: 0, False: 0]
  ------------------
 9537|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9538|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9539|      0|        (yyval.interm.type).basicType = EbtDouble;
 9540|      0|        (yyval.interm.type).setMatrix(2, 2);
 9541|      0|    }
 9542|      0|#line 9543 "MachineIndependent/glslang_tab.cpp"
 9543|      0|    break;
 9544|       |
 9545|      6|  case 345: /* type_specifier_nonarray: DMAT2X3  */
  ------------------
  |  Branch (9545:3): [True: 6, False: 779k]
  ------------------
 9546|      6|#line 2493 "MachineIndependent/glslang.y"
 9547|      6|              {
 9548|      6|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9549|      6|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9549:13): [True: 0, False: 6]
  ------------------
 9550|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9551|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9552|      6|        (yyval.interm.type).basicType = EbtDouble;
 9553|      6|        (yyval.interm.type).setMatrix(2, 3);
 9554|      6|    }
 9555|      6|#line 9556 "MachineIndependent/glslang_tab.cpp"
 9556|      6|    break;
 9557|       |
 9558|      6|  case 346: /* type_specifier_nonarray: DMAT2X4  */
  ------------------
  |  Branch (9558:3): [True: 6, False: 779k]
  ------------------
 9559|      6|#line 2501 "MachineIndependent/glslang.y"
 9560|      6|              {
 9561|      6|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9562|      6|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9562:13): [True: 0, False: 6]
  ------------------
 9563|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9564|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9565|      6|        (yyval.interm.type).basicType = EbtDouble;
 9566|      6|        (yyval.interm.type).setMatrix(2, 4);
 9567|      6|    }
 9568|      6|#line 9569 "MachineIndependent/glslang_tab.cpp"
 9569|      6|    break;
 9570|       |
 9571|      6|  case 347: /* type_specifier_nonarray: DMAT3X2  */
  ------------------
  |  Branch (9571:3): [True: 6, False: 779k]
  ------------------
 9572|      6|#line 2509 "MachineIndependent/glslang.y"
 9573|      6|              {
 9574|      6|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9575|      6|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9575:13): [True: 0, False: 6]
  ------------------
 9576|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9577|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9578|      6|        (yyval.interm.type).basicType = EbtDouble;
 9579|      6|        (yyval.interm.type).setMatrix(3, 2);
 9580|      6|    }
 9581|      6|#line 9582 "MachineIndependent/glslang_tab.cpp"
 9582|      6|    break;
 9583|       |
 9584|      0|  case 348: /* type_specifier_nonarray: DMAT3X3  */
  ------------------
  |  Branch (9584:3): [True: 0, False: 779k]
  ------------------
 9585|      0|#line 2517 "MachineIndependent/glslang.y"
 9586|      0|              {
 9587|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9588|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9588:13): [True: 0, False: 0]
  ------------------
 9589|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9590|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9591|      0|        (yyval.interm.type).basicType = EbtDouble;
 9592|      0|        (yyval.interm.type).setMatrix(3, 3);
 9593|      0|    }
 9594|      0|#line 9595 "MachineIndependent/glslang_tab.cpp"
 9595|      0|    break;
 9596|       |
 9597|      6|  case 349: /* type_specifier_nonarray: DMAT3X4  */
  ------------------
  |  Branch (9597:3): [True: 6, False: 779k]
  ------------------
 9598|      6|#line 2525 "MachineIndependent/glslang.y"
 9599|      6|              {
 9600|      6|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9601|      6|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9601:13): [True: 0, False: 6]
  ------------------
 9602|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9603|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9604|      6|        (yyval.interm.type).basicType = EbtDouble;
 9605|      6|        (yyval.interm.type).setMatrix(3, 4);
 9606|      6|    }
 9607|      6|#line 9608 "MachineIndependent/glslang_tab.cpp"
 9608|      6|    break;
 9609|       |
 9610|      6|  case 350: /* type_specifier_nonarray: DMAT4X2  */
  ------------------
  |  Branch (9610:3): [True: 6, False: 779k]
  ------------------
 9611|      6|#line 2533 "MachineIndependent/glslang.y"
 9612|      6|              {
 9613|      6|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9614|      6|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9614:13): [True: 0, False: 6]
  ------------------
 9615|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9616|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9617|      6|        (yyval.interm.type).basicType = EbtDouble;
 9618|      6|        (yyval.interm.type).setMatrix(4, 2);
 9619|      6|    }
 9620|      6|#line 9621 "MachineIndependent/glslang_tab.cpp"
 9621|      6|    break;
 9622|       |
 9623|      6|  case 351: /* type_specifier_nonarray: DMAT4X3  */
  ------------------
  |  Branch (9623:3): [True: 6, False: 779k]
  ------------------
 9624|      6|#line 2541 "MachineIndependent/glslang.y"
 9625|      6|              {
 9626|      6|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9627|      6|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9627:13): [True: 0, False: 6]
  ------------------
 9628|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9629|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9630|      6|        (yyval.interm.type).basicType = EbtDouble;
 9631|      6|        (yyval.interm.type).setMatrix(4, 3);
 9632|      6|    }
 9633|      6|#line 9634 "MachineIndependent/glslang_tab.cpp"
 9634|      6|    break;
 9635|       |
 9636|      0|  case 352: /* type_specifier_nonarray: DMAT4X4  */
  ------------------
  |  Branch (9636:3): [True: 0, False: 779k]
  ------------------
 9637|      0|#line 2549 "MachineIndependent/glslang.y"
 9638|      0|              {
 9639|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9640|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9640:13): [True: 0, False: 0]
  ------------------
 9641|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9642|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9643|      0|        (yyval.interm.type).basicType = EbtDouble;
 9644|      0|        (yyval.interm.type).setMatrix(4, 4);
 9645|      0|    }
 9646|      0|#line 9647 "MachineIndependent/glslang_tab.cpp"
 9647|      0|    break;
 9648|       |
 9649|      9|  case 353: /* type_specifier_nonarray: F16MAT2  */
  ------------------
  |  Branch (9649:3): [True: 9, False: 779k]
  ------------------
 9650|      9|#line 2557 "MachineIndependent/glslang.y"
 9651|      9|              {
 9652|      9|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
 9653|      9|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
 9654|      9|        (yyval.interm.type).basicType = EbtFloat16;
 9655|      9|        (yyval.interm.type).setMatrix(2, 2);
 9656|      9|    }
 9657|      9|#line 9658 "MachineIndependent/glslang_tab.cpp"
 9658|      9|    break;
 9659|       |
 9660|      9|  case 354: /* type_specifier_nonarray: F16MAT3  */
  ------------------
  |  Branch (9660:3): [True: 9, False: 779k]
  ------------------
 9661|      9|#line 2563 "MachineIndependent/glslang.y"
 9662|      9|              {
 9663|      9|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
 9664|      9|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
 9665|      9|        (yyval.interm.type).basicType = EbtFloat16;
 9666|      9|        (yyval.interm.type).setMatrix(3, 3);
 9667|      9|    }
 9668|      9|#line 9669 "MachineIndependent/glslang_tab.cpp"
 9669|      9|    break;
 9670|       |
 9671|      9|  case 355: /* type_specifier_nonarray: F16MAT4  */
  ------------------
  |  Branch (9671:3): [True: 9, False: 779k]
  ------------------
 9672|      9|#line 2569 "MachineIndependent/glslang.y"
 9673|      9|              {
 9674|      9|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
 9675|      9|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
 9676|      9|        (yyval.interm.type).basicType = EbtFloat16;
 9677|      9|        (yyval.interm.type).setMatrix(4, 4);
 9678|      9|    }
 9679|      9|#line 9680 "MachineIndependent/glslang_tab.cpp"
 9680|      9|    break;
 9681|       |
 9682|      0|  case 356: /* type_specifier_nonarray: F16MAT2X2  */
  ------------------
  |  Branch (9682:3): [True: 0, False: 779k]
  ------------------
 9683|      0|#line 2575 "MachineIndependent/glslang.y"
 9684|      0|                {
 9685|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9686|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9687|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9688|      0|        (yyval.interm.type).setMatrix(2, 2);
 9689|      0|    }
 9690|      0|#line 9691 "MachineIndependent/glslang_tab.cpp"
 9691|      0|    break;
 9692|       |
 9693|      6|  case 357: /* type_specifier_nonarray: F16MAT2X3  */
  ------------------
  |  Branch (9693:3): [True: 6, False: 779k]
  ------------------
 9694|      6|#line 2581 "MachineIndependent/glslang.y"
 9695|      6|                {
 9696|      6|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9697|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9698|      6|        (yyval.interm.type).basicType = EbtFloat16;
 9699|      6|        (yyval.interm.type).setMatrix(2, 3);
 9700|      6|    }
 9701|      6|#line 9702 "MachineIndependent/glslang_tab.cpp"
 9702|      6|    break;
 9703|       |
 9704|      6|  case 358: /* type_specifier_nonarray: F16MAT2X4  */
  ------------------
  |  Branch (9704:3): [True: 6, False: 779k]
  ------------------
 9705|      6|#line 2587 "MachineIndependent/glslang.y"
 9706|      6|                {
 9707|      6|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9708|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9709|      6|        (yyval.interm.type).basicType = EbtFloat16;
 9710|      6|        (yyval.interm.type).setMatrix(2, 4);
 9711|      6|    }
 9712|      6|#line 9713 "MachineIndependent/glslang_tab.cpp"
 9713|      6|    break;
 9714|       |
 9715|      6|  case 359: /* type_specifier_nonarray: F16MAT3X2  */
  ------------------
  |  Branch (9715:3): [True: 6, False: 779k]
  ------------------
 9716|      6|#line 2593 "MachineIndependent/glslang.y"
 9717|      6|                {
 9718|      6|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9719|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9720|      6|        (yyval.interm.type).basicType = EbtFloat16;
 9721|      6|        (yyval.interm.type).setMatrix(3, 2);
 9722|      6|    }
 9723|      6|#line 9724 "MachineIndependent/glslang_tab.cpp"
 9724|      6|    break;
 9725|       |
 9726|      0|  case 360: /* type_specifier_nonarray: F16MAT3X3  */
  ------------------
  |  Branch (9726:3): [True: 0, False: 779k]
  ------------------
 9727|      0|#line 2599 "MachineIndependent/glslang.y"
 9728|      0|                {
 9729|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9730|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9731|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9732|      0|        (yyval.interm.type).setMatrix(3, 3);
 9733|      0|    }
 9734|      0|#line 9735 "MachineIndependent/glslang_tab.cpp"
 9735|      0|    break;
 9736|       |
 9737|      6|  case 361: /* type_specifier_nonarray: F16MAT3X4  */
  ------------------
  |  Branch (9737:3): [True: 6, False: 779k]
  ------------------
 9738|      6|#line 2605 "MachineIndependent/glslang.y"
 9739|      6|                {
 9740|      6|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9741|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9742|      6|        (yyval.interm.type).basicType = EbtFloat16;
 9743|      6|        (yyval.interm.type).setMatrix(3, 4);
 9744|      6|    }
 9745|      6|#line 9746 "MachineIndependent/glslang_tab.cpp"
 9746|      6|    break;
 9747|       |
 9748|      6|  case 362: /* type_specifier_nonarray: F16MAT4X2  */
  ------------------
  |  Branch (9748:3): [True: 6, False: 779k]
  ------------------
 9749|      6|#line 2611 "MachineIndependent/glslang.y"
 9750|      6|                {
 9751|      6|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9752|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9753|      6|        (yyval.interm.type).basicType = EbtFloat16;
 9754|      6|        (yyval.interm.type).setMatrix(4, 2);
 9755|      6|    }
 9756|      6|#line 9757 "MachineIndependent/glslang_tab.cpp"
 9757|      6|    break;
 9758|       |
 9759|      6|  case 363: /* type_specifier_nonarray: F16MAT4X3  */
  ------------------
  |  Branch (9759:3): [True: 6, False: 779k]
  ------------------
 9760|      6|#line 2617 "MachineIndependent/glslang.y"
 9761|      6|                {
 9762|      6|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9763|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9764|      6|        (yyval.interm.type).basicType = EbtFloat16;
 9765|      6|        (yyval.interm.type).setMatrix(4, 3);
 9766|      6|    }
 9767|      6|#line 9768 "MachineIndependent/glslang_tab.cpp"
 9768|      6|    break;
 9769|       |
 9770|      0|  case 364: /* type_specifier_nonarray: F16MAT4X4  */
  ------------------
  |  Branch (9770:3): [True: 0, False: 779k]
  ------------------
 9771|      0|#line 2623 "MachineIndependent/glslang.y"
 9772|      0|                {
 9773|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9774|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9775|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9776|      0|        (yyval.interm.type).setMatrix(4, 4);
 9777|      0|    }
 9778|      0|#line 9779 "MachineIndependent/glslang_tab.cpp"
 9779|      0|    break;
 9780|       |
 9781|      0|  case 365: /* type_specifier_nonarray: F32MAT2  */
  ------------------
  |  Branch (9781:3): [True: 0, False: 779k]
  ------------------
 9782|      0|#line 2629 "MachineIndependent/glslang.y"
 9783|      0|              {
 9784|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9785|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9786|      0|        (yyval.interm.type).basicType = EbtFloat;
 9787|      0|        (yyval.interm.type).setMatrix(2, 2);
 9788|      0|    }
 9789|      0|#line 9790 "MachineIndependent/glslang_tab.cpp"
 9790|      0|    break;
 9791|       |
 9792|      0|  case 366: /* type_specifier_nonarray: F32MAT3  */
  ------------------
  |  Branch (9792:3): [True: 0, False: 779k]
  ------------------
 9793|      0|#line 2635 "MachineIndependent/glslang.y"
 9794|      0|              {
 9795|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9796|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9797|      0|        (yyval.interm.type).basicType = EbtFloat;
 9798|      0|        (yyval.interm.type).setMatrix(3, 3);
 9799|      0|    }
 9800|      0|#line 9801 "MachineIndependent/glslang_tab.cpp"
 9801|      0|    break;
 9802|       |
 9803|      0|  case 367: /* type_specifier_nonarray: F32MAT4  */
  ------------------
  |  Branch (9803:3): [True: 0, False: 779k]
  ------------------
 9804|      0|#line 2641 "MachineIndependent/glslang.y"
 9805|      0|              {
 9806|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9807|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9808|      0|        (yyval.interm.type).basicType = EbtFloat;
 9809|      0|        (yyval.interm.type).setMatrix(4, 4);
 9810|      0|    }
 9811|      0|#line 9812 "MachineIndependent/glslang_tab.cpp"
 9812|      0|    break;
 9813|       |
 9814|      0|  case 368: /* type_specifier_nonarray: F32MAT2X2  */
  ------------------
  |  Branch (9814:3): [True: 0, False: 779k]
  ------------------
 9815|      0|#line 2647 "MachineIndependent/glslang.y"
 9816|      0|                {
 9817|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9818|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9819|      0|        (yyval.interm.type).basicType = EbtFloat;
 9820|      0|        (yyval.interm.type).setMatrix(2, 2);
 9821|      0|    }
 9822|      0|#line 9823 "MachineIndependent/glslang_tab.cpp"
 9823|      0|    break;
 9824|       |
 9825|      0|  case 369: /* type_specifier_nonarray: F32MAT2X3  */
  ------------------
  |  Branch (9825:3): [True: 0, False: 779k]
  ------------------
 9826|      0|#line 2653 "MachineIndependent/glslang.y"
 9827|      0|                {
 9828|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9829|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9830|      0|        (yyval.interm.type).basicType = EbtFloat;
 9831|      0|        (yyval.interm.type).setMatrix(2, 3);
 9832|      0|    }
 9833|      0|#line 9834 "MachineIndependent/glslang_tab.cpp"
 9834|      0|    break;
 9835|       |
 9836|      0|  case 370: /* type_specifier_nonarray: F32MAT2X4  */
  ------------------
  |  Branch (9836:3): [True: 0, False: 779k]
  ------------------
 9837|      0|#line 2659 "MachineIndependent/glslang.y"
 9838|      0|                {
 9839|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9840|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9841|      0|        (yyval.interm.type).basicType = EbtFloat;
 9842|      0|        (yyval.interm.type).setMatrix(2, 4);
 9843|      0|    }
 9844|      0|#line 9845 "MachineIndependent/glslang_tab.cpp"
 9845|      0|    break;
 9846|       |
 9847|      0|  case 371: /* type_specifier_nonarray: F32MAT3X2  */
  ------------------
  |  Branch (9847:3): [True: 0, False: 779k]
  ------------------
 9848|      0|#line 2665 "MachineIndependent/glslang.y"
 9849|      0|                {
 9850|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9851|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9852|      0|        (yyval.interm.type).basicType = EbtFloat;
 9853|      0|        (yyval.interm.type).setMatrix(3, 2);
 9854|      0|    }
 9855|      0|#line 9856 "MachineIndependent/glslang_tab.cpp"
 9856|      0|    break;
 9857|       |
 9858|      0|  case 372: /* type_specifier_nonarray: F32MAT3X3  */
  ------------------
  |  Branch (9858:3): [True: 0, False: 779k]
  ------------------
 9859|      0|#line 2671 "MachineIndependent/glslang.y"
 9860|      0|                {
 9861|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9862|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9863|      0|        (yyval.interm.type).basicType = EbtFloat;
 9864|      0|        (yyval.interm.type).setMatrix(3, 3);
 9865|      0|    }
 9866|      0|#line 9867 "MachineIndependent/glslang_tab.cpp"
 9867|      0|    break;
 9868|       |
 9869|      0|  case 373: /* type_specifier_nonarray: F32MAT3X4  */
  ------------------
  |  Branch (9869:3): [True: 0, False: 779k]
  ------------------
 9870|      0|#line 2677 "MachineIndependent/glslang.y"
 9871|      0|                {
 9872|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9873|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9874|      0|        (yyval.interm.type).basicType = EbtFloat;
 9875|      0|        (yyval.interm.type).setMatrix(3, 4);
 9876|      0|    }
 9877|      0|#line 9878 "MachineIndependent/glslang_tab.cpp"
 9878|      0|    break;
 9879|       |
 9880|      0|  case 374: /* type_specifier_nonarray: F32MAT4X2  */
  ------------------
  |  Branch (9880:3): [True: 0, False: 779k]
  ------------------
 9881|      0|#line 2683 "MachineIndependent/glslang.y"
 9882|      0|                {
 9883|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9884|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9885|      0|        (yyval.interm.type).basicType = EbtFloat;
 9886|      0|        (yyval.interm.type).setMatrix(4, 2);
 9887|      0|    }
 9888|      0|#line 9889 "MachineIndependent/glslang_tab.cpp"
 9889|      0|    break;
 9890|       |
 9891|      0|  case 375: /* type_specifier_nonarray: F32MAT4X3  */
  ------------------
  |  Branch (9891:3): [True: 0, False: 779k]
  ------------------
 9892|      0|#line 2689 "MachineIndependent/glslang.y"
 9893|      0|                {
 9894|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9895|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9896|      0|        (yyval.interm.type).basicType = EbtFloat;
 9897|      0|        (yyval.interm.type).setMatrix(4, 3);
 9898|      0|    }
 9899|      0|#line 9900 "MachineIndependent/glslang_tab.cpp"
 9900|      0|    break;
 9901|       |
 9902|      0|  case 376: /* type_specifier_nonarray: F32MAT4X4  */
  ------------------
  |  Branch (9902:3): [True: 0, False: 779k]
  ------------------
 9903|      0|#line 2695 "MachineIndependent/glslang.y"
 9904|      0|                {
 9905|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9906|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9907|      0|        (yyval.interm.type).basicType = EbtFloat;
 9908|      0|        (yyval.interm.type).setMatrix(4, 4);
 9909|      0|    }
 9910|      0|#line 9911 "MachineIndependent/glslang_tab.cpp"
 9911|      0|    break;
 9912|       |
 9913|      0|  case 377: /* type_specifier_nonarray: F64MAT2  */
  ------------------
  |  Branch (9913:3): [True: 0, False: 779k]
  ------------------
 9914|      0|#line 2701 "MachineIndependent/glslang.y"
 9915|      0|              {
 9916|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9917|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9918|      0|        (yyval.interm.type).basicType = EbtDouble;
 9919|      0|        (yyval.interm.type).setMatrix(2, 2);
 9920|      0|    }
 9921|      0|#line 9922 "MachineIndependent/glslang_tab.cpp"
 9922|      0|    break;
 9923|       |
 9924|      0|  case 378: /* type_specifier_nonarray: F64MAT3  */
  ------------------
  |  Branch (9924:3): [True: 0, False: 779k]
  ------------------
 9925|      0|#line 2707 "MachineIndependent/glslang.y"
 9926|      0|              {
 9927|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9928|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9929|      0|        (yyval.interm.type).basicType = EbtDouble;
 9930|      0|        (yyval.interm.type).setMatrix(3, 3);
 9931|      0|    }
 9932|      0|#line 9933 "MachineIndependent/glslang_tab.cpp"
 9933|      0|    break;
 9934|       |
 9935|      0|  case 379: /* type_specifier_nonarray: F64MAT4  */
  ------------------
  |  Branch (9935:3): [True: 0, False: 779k]
  ------------------
 9936|      0|#line 2713 "MachineIndependent/glslang.y"
 9937|      0|              {
 9938|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9939|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9940|      0|        (yyval.interm.type).basicType = EbtDouble;
 9941|      0|        (yyval.interm.type).setMatrix(4, 4);
 9942|      0|    }
 9943|      0|#line 9944 "MachineIndependent/glslang_tab.cpp"
 9944|      0|    break;
 9945|       |
 9946|      0|  case 380: /* type_specifier_nonarray: F64MAT2X2  */
  ------------------
  |  Branch (9946:3): [True: 0, False: 779k]
  ------------------
 9947|      0|#line 2719 "MachineIndependent/glslang.y"
 9948|      0|                {
 9949|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9950|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9951|      0|        (yyval.interm.type).basicType = EbtDouble;
 9952|      0|        (yyval.interm.type).setMatrix(2, 2);
 9953|      0|    }
 9954|      0|#line 9955 "MachineIndependent/glslang_tab.cpp"
 9955|      0|    break;
 9956|       |
 9957|      0|  case 381: /* type_specifier_nonarray: F64MAT2X3  */
  ------------------
  |  Branch (9957:3): [True: 0, False: 779k]
  ------------------
 9958|      0|#line 2725 "MachineIndependent/glslang.y"
 9959|      0|                {
 9960|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9961|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9962|      0|        (yyval.interm.type).basicType = EbtDouble;
 9963|      0|        (yyval.interm.type).setMatrix(2, 3);
 9964|      0|    }
 9965|      0|#line 9966 "MachineIndependent/glslang_tab.cpp"
 9966|      0|    break;
 9967|       |
 9968|      0|  case 382: /* type_specifier_nonarray: F64MAT2X4  */
  ------------------
  |  Branch (9968:3): [True: 0, False: 779k]
  ------------------
 9969|      0|#line 2731 "MachineIndependent/glslang.y"
 9970|      0|                {
 9971|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9972|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9973|      0|        (yyval.interm.type).basicType = EbtDouble;
 9974|      0|        (yyval.interm.type).setMatrix(2, 4);
 9975|      0|    }
 9976|      0|#line 9977 "MachineIndependent/glslang_tab.cpp"
 9977|      0|    break;
 9978|       |
 9979|      0|  case 383: /* type_specifier_nonarray: F64MAT3X2  */
  ------------------
  |  Branch (9979:3): [True: 0, False: 779k]
  ------------------
 9980|      0|#line 2737 "MachineIndependent/glslang.y"
 9981|      0|                {
 9982|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9983|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9984|      0|        (yyval.interm.type).basicType = EbtDouble;
 9985|      0|        (yyval.interm.type).setMatrix(3, 2);
 9986|      0|    }
 9987|      0|#line 9988 "MachineIndependent/glslang_tab.cpp"
 9988|      0|    break;
 9989|       |
 9990|      0|  case 384: /* type_specifier_nonarray: F64MAT3X3  */
  ------------------
  |  Branch (9990:3): [True: 0, False: 779k]
  ------------------
 9991|      0|#line 2743 "MachineIndependent/glslang.y"
 9992|      0|                {
 9993|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9994|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9995|      0|        (yyval.interm.type).basicType = EbtDouble;
 9996|      0|        (yyval.interm.type).setMatrix(3, 3);
 9997|      0|    }
 9998|      0|#line 9999 "MachineIndependent/glslang_tab.cpp"
 9999|      0|    break;
10000|       |
10001|      0|  case 385: /* type_specifier_nonarray: F64MAT3X4  */
  ------------------
  |  Branch (10001:3): [True: 0, False: 779k]
  ------------------
10002|      0|#line 2749 "MachineIndependent/glslang.y"
10003|      0|                {
10004|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10005|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10006|      0|        (yyval.interm.type).basicType = EbtDouble;
10007|      0|        (yyval.interm.type).setMatrix(3, 4);
10008|      0|    }
10009|      0|#line 10010 "MachineIndependent/glslang_tab.cpp"
10010|      0|    break;
10011|       |
10012|      0|  case 386: /* type_specifier_nonarray: F64MAT4X2  */
  ------------------
  |  Branch (10012:3): [True: 0, False: 779k]
  ------------------
10013|      0|#line 2755 "MachineIndependent/glslang.y"
10014|      0|                {
10015|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10016|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10017|      0|        (yyval.interm.type).basicType = EbtDouble;
10018|      0|        (yyval.interm.type).setMatrix(4, 2);
10019|      0|    }
10020|      0|#line 10021 "MachineIndependent/glslang_tab.cpp"
10021|      0|    break;
10022|       |
10023|      0|  case 387: /* type_specifier_nonarray: F64MAT4X3  */
  ------------------
  |  Branch (10023:3): [True: 0, False: 779k]
  ------------------
10024|      0|#line 2761 "MachineIndependent/glslang.y"
10025|      0|                {
10026|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10027|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10028|      0|        (yyval.interm.type).basicType = EbtDouble;
10029|      0|        (yyval.interm.type).setMatrix(4, 3);
10030|      0|    }
10031|      0|#line 10032 "MachineIndependent/glslang_tab.cpp"
10032|      0|    break;
10033|       |
10034|      0|  case 388: /* type_specifier_nonarray: F64MAT4X4  */
  ------------------
  |  Branch (10034:3): [True: 0, False: 779k]
  ------------------
10035|      0|#line 2767 "MachineIndependent/glslang.y"
10036|      0|                {
10037|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10038|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10039|      0|        (yyval.interm.type).basicType = EbtDouble;
10040|      0|        (yyval.interm.type).setMatrix(4, 4);
10041|      0|    }
10042|      0|#line 10043 "MachineIndependent/glslang_tab.cpp"
10043|      0|    break;
10044|       |
10045|      0|  case 389: /* type_specifier_nonarray: ACCSTRUCTNV  */
  ------------------
  |  Branch (10045:3): [True: 0, False: 779k]
  ------------------
10046|      0|#line 2773 "MachineIndependent/glslang.y"
10047|      0|                  {
10048|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10049|      0|       (yyval.interm.type).basicType = EbtAccStruct;
10050|      0|    }
10051|      0|#line 10052 "MachineIndependent/glslang_tab.cpp"
10052|      0|    break;
10053|       |
10054|      0|  case 390: /* type_specifier_nonarray: ACCSTRUCTEXT  */
  ------------------
  |  Branch (10054:3): [True: 0, False: 779k]
  ------------------
10055|      0|#line 2777 "MachineIndependent/glslang.y"
10056|      0|                   {
10057|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10058|      0|       (yyval.interm.type).basicType = EbtAccStruct;
10059|      0|    }
10060|      0|#line 10061 "MachineIndependent/glslang_tab.cpp"
10061|      0|    break;
10062|       |
10063|      0|  case 391: /* type_specifier_nonarray: RAYQUERYEXT  */
  ------------------
  |  Branch (10063:3): [True: 0, False: 779k]
  ------------------
10064|      0|#line 2781 "MachineIndependent/glslang.y"
10065|      0|                  {
10066|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10067|      0|       (yyval.interm.type).basicType = EbtRayQuery;
10068|      0|    }
10069|      0|#line 10070 "MachineIndependent/glslang_tab.cpp"
10070|      0|    break;
10071|       |
10072|      0|  case 392: /* type_specifier_nonarray: ATOMIC_UINT  */
  ------------------
  |  Branch (10072:3): [True: 0, False: 779k]
  ------------------
10073|      0|#line 2785 "MachineIndependent/glslang.y"
10074|      0|                  {
10075|      0|        parseContext.vulkanRemoved((yyvsp[0].lex).loc, "atomic counter types");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10076|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10077|      0|        (yyval.interm.type).basicType = EbtAtomicUint;
10078|      0|    }
10079|      0|#line 10080 "MachineIndependent/glslang_tab.cpp"
10080|      0|    break;
10081|       |
10082|     48|  case 393: /* type_specifier_nonarray: SAMPLER1D  */
  ------------------
  |  Branch (10082:3): [True: 48, False: 779k]
  ------------------
10083|     48|#line 2790 "MachineIndependent/glslang.y"
10084|     48|                {
10085|     48|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     48|#define parseContext (*pParseContext)
  ------------------
10086|     48|        (yyval.interm.type).basicType = EbtSampler;
10087|     48|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D);
10088|     48|    }
10089|     48|#line 10090 "MachineIndependent/glslang_tab.cpp"
10090|     48|    break;
10091|       |
10092|    902|  case 394: /* type_specifier_nonarray: SAMPLER2D  */
  ------------------
  |  Branch (10092:3): [True: 902, False: 779k]
  ------------------
10093|    902|#line 2795 "MachineIndependent/glslang.y"
10094|    902|                {
10095|    902|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    902|#define parseContext (*pParseContext)
  ------------------
10096|    902|        (yyval.interm.type).basicType = EbtSampler;
10097|    902|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
10098|    902|    }
10099|    902|#line 10100 "MachineIndependent/glslang_tab.cpp"
10100|    902|    break;
10101|       |
10102|    348|  case 395: /* type_specifier_nonarray: SAMPLER3D  */
  ------------------
  |  Branch (10102:3): [True: 348, False: 779k]
  ------------------
10103|    348|#line 2800 "MachineIndependent/glslang.y"
10104|    348|                {
10105|    348|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    348|#define parseContext (*pParseContext)
  ------------------
10106|    348|        (yyval.interm.type).basicType = EbtSampler;
10107|    348|        (yyval.interm.type).sampler.set(EbtFloat, Esd3D);
10108|    348|    }
10109|    348|#line 10110 "MachineIndependent/glslang_tab.cpp"
10110|    348|    break;
10111|       |
10112|    288|  case 396: /* type_specifier_nonarray: SAMPLERCUBE  */
  ------------------
  |  Branch (10112:3): [True: 288, False: 779k]
  ------------------
10113|    288|#line 2805 "MachineIndependent/glslang.y"
10114|    288|                  {
10115|    288|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    288|#define parseContext (*pParseContext)
  ------------------
10116|    288|        (yyval.interm.type).basicType = EbtSampler;
10117|    288|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube);
10118|    288|    }
10119|    288|#line 10120 "MachineIndependent/glslang_tab.cpp"
10120|    288|    break;
10121|       |
10122|    194|  case 397: /* type_specifier_nonarray: SAMPLER2DSHADOW  */
  ------------------
  |  Branch (10122:3): [True: 194, False: 779k]
  ------------------
10123|    194|#line 2810 "MachineIndependent/glslang.y"
10124|    194|                      {
10125|    194|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    194|#define parseContext (*pParseContext)
  ------------------
10126|    194|        (yyval.interm.type).basicType = EbtSampler;
10127|    194|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, false, true);
10128|    194|    }
10129|    194|#line 10130 "MachineIndependent/glslang_tab.cpp"
10130|    194|    break;
10131|       |
10132|     23|  case 398: /* type_specifier_nonarray: SAMPLERCUBESHADOW  */
  ------------------
  |  Branch (10132:3): [True: 23, False: 779k]
  ------------------
10133|     23|#line 2815 "MachineIndependent/glslang.y"
10134|     23|                        {
10135|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
10136|     23|        (yyval.interm.type).basicType = EbtSampler;
10137|     23|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, false, true);
10138|     23|    }
10139|     23|#line 10140 "MachineIndependent/glslang_tab.cpp"
10140|     23|    break;
10141|       |
10142|    103|  case 399: /* type_specifier_nonarray: SAMPLER2DARRAY  */
  ------------------
  |  Branch (10142:3): [True: 103, False: 779k]
  ------------------
10143|    103|#line 2820 "MachineIndependent/glslang.y"
10144|    103|                     {
10145|    103|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    103|#define parseContext (*pParseContext)
  ------------------
10146|    103|        (yyval.interm.type).basicType = EbtSampler;
10147|    103|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true);
10148|    103|    }
10149|    103|#line 10150 "MachineIndependent/glslang_tab.cpp"
10150|    103|    break;
10151|       |
10152|     34|  case 400: /* type_specifier_nonarray: SAMPLER2DARRAYSHADOW  */
  ------------------
  |  Branch (10152:3): [True: 34, False: 779k]
  ------------------
10153|     34|#line 2825 "MachineIndependent/glslang.y"
10154|     34|                           {
10155|     34|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     34|#define parseContext (*pParseContext)
  ------------------
10156|     34|        (yyval.interm.type).basicType = EbtSampler;
10157|     34|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true, true);
10158|     34|    }
10159|     34|#line 10160 "MachineIndependent/glslang_tab.cpp"
10160|     34|    break;
10161|       |
10162|     30|  case 401: /* type_specifier_nonarray: SAMPLER1DSHADOW  */
  ------------------
  |  Branch (10162:3): [True: 30, False: 779k]
  ------------------
10163|     30|#line 2830 "MachineIndependent/glslang.y"
10164|     30|                      {
10165|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
10166|     30|        (yyval.interm.type).basicType = EbtSampler;
10167|     30|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, false, true);
10168|     30|    }
10169|     30|#line 10170 "MachineIndependent/glslang_tab.cpp"
10170|     30|    break;
10171|       |
10172|     27|  case 402: /* type_specifier_nonarray: SAMPLER1DARRAY  */
  ------------------
  |  Branch (10172:3): [True: 27, False: 779k]
  ------------------
10173|     27|#line 2835 "MachineIndependent/glslang.y"
10174|     27|                     {
10175|     27|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     27|#define parseContext (*pParseContext)
  ------------------
10176|     27|        (yyval.interm.type).basicType = EbtSampler;
10177|     27|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, true);
10178|     27|    }
10179|     27|#line 10180 "MachineIndependent/glslang_tab.cpp"
10180|     27|    break;
10181|       |
10182|     22|  case 403: /* type_specifier_nonarray: SAMPLER1DARRAYSHADOW  */
  ------------------
  |  Branch (10182:3): [True: 22, False: 779k]
  ------------------
10183|     22|#line 2840 "MachineIndependent/glslang.y"
10184|     22|                           {
10185|     22|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     22|#define parseContext (*pParseContext)
  ------------------
10186|     22|        (yyval.interm.type).basicType = EbtSampler;
10187|     22|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, true, true);
10188|     22|    }
10189|     22|#line 10190 "MachineIndependent/glslang_tab.cpp"
10190|     22|    break;
10191|       |
10192|     36|  case 404: /* type_specifier_nonarray: SAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10192:3): [True: 36, False: 779k]
  ------------------
10193|     36|#line 2845 "MachineIndependent/glslang.y"
10194|     36|                       {
10195|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
10196|     36|        (yyval.interm.type).basicType = EbtSampler;
10197|     36|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, true);
10198|     36|    }
10199|     36|#line 10200 "MachineIndependent/glslang_tab.cpp"
10200|     36|    break;
10201|       |
10202|     20|  case 405: /* type_specifier_nonarray: SAMPLERCUBEARRAYSHADOW  */
  ------------------
  |  Branch (10202:3): [True: 20, False: 779k]
  ------------------
10203|     20|#line 2850 "MachineIndependent/glslang.y"
10204|     20|                             {
10205|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
10206|     20|        (yyval.interm.type).basicType = EbtSampler;
10207|     20|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, true, true);
10208|     20|    }
10209|     20|#line 10210 "MachineIndependent/glslang_tab.cpp"
10210|     20|    break;
10211|       |
10212|     88|  case 406: /* type_specifier_nonarray: F16SAMPLER1D  */
  ------------------
  |  Branch (10212:3): [True: 88, False: 779k]
  ------------------
10213|     88|#line 2855 "MachineIndependent/glslang.y"
10214|     88|                   {
10215|     88|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     88|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     88|#define parseContext (*pParseContext)
  ------------------
10216|     88|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     88|#define parseContext (*pParseContext)
  ------------------
10217|     88|        (yyval.interm.type).basicType = EbtSampler;
10218|     88|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D);
10219|     88|    }
10220|     88|#line 10221 "MachineIndependent/glslang_tab.cpp"
10221|     88|    break;
10222|       |
10223|    208|  case 407: /* type_specifier_nonarray: F16SAMPLER2D  */
  ------------------
  |  Branch (10223:3): [True: 208, False: 779k]
  ------------------
10224|    208|#line 2861 "MachineIndependent/glslang.y"
10225|    208|                   {
10226|    208|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    208|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    208|#define parseContext (*pParseContext)
  ------------------
10227|    208|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    208|#define parseContext (*pParseContext)
  ------------------
10228|    208|        (yyval.interm.type).basicType = EbtSampler;
10229|    208|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D);
10230|    208|    }
10231|    208|#line 10232 "MachineIndependent/glslang_tab.cpp"
10232|    208|    break;
10233|       |
10234|    102|  case 408: /* type_specifier_nonarray: F16SAMPLER3D  */
  ------------------
  |  Branch (10234:3): [True: 102, False: 779k]
  ------------------
10235|    102|#line 2867 "MachineIndependent/glslang.y"
10236|    102|                   {
10237|    102|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    102|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    102|#define parseContext (*pParseContext)
  ------------------
10238|    102|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    102|#define parseContext (*pParseContext)
  ------------------
10239|    102|        (yyval.interm.type).basicType = EbtSampler;
10240|    102|        (yyval.interm.type).sampler.set(EbtFloat16, Esd3D);
10241|    102|    }
10242|    102|#line 10243 "MachineIndependent/glslang_tab.cpp"
10243|    102|    break;
10244|       |
10245|     64|  case 409: /* type_specifier_nonarray: F16SAMPLERCUBE  */
  ------------------
  |  Branch (10245:3): [True: 64, False: 779k]
  ------------------
10246|     64|#line 2873 "MachineIndependent/glslang.y"
10247|     64|                     {
10248|     64|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     64|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     64|#define parseContext (*pParseContext)
  ------------------
10249|     64|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     64|#define parseContext (*pParseContext)
  ------------------
10250|     64|        (yyval.interm.type).basicType = EbtSampler;
10251|     64|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube);
10252|     64|    }
10253|     64|#line 10254 "MachineIndependent/glslang_tab.cpp"
10254|     64|    break;
10255|       |
10256|     52|  case 410: /* type_specifier_nonarray: F16SAMPLER1DSHADOW  */
  ------------------
  |  Branch (10256:3): [True: 52, False: 779k]
  ------------------
10257|     52|#line 2879 "MachineIndependent/glslang.y"
10258|     52|                         {
10259|     52|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     52|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     52|#define parseContext (*pParseContext)
  ------------------
10260|     52|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     52|#define parseContext (*pParseContext)
  ------------------
10261|     52|        (yyval.interm.type).basicType = EbtSampler;
10262|     52|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, false, true);
10263|     52|    }
10264|     52|#line 10265 "MachineIndependent/glslang_tab.cpp"
10265|     52|    break;
10266|       |
10267|     92|  case 411: /* type_specifier_nonarray: F16SAMPLER2DSHADOW  */
  ------------------
  |  Branch (10267:3): [True: 92, False: 779k]
  ------------------
10268|     92|#line 2885 "MachineIndependent/glslang.y"
10269|     92|                         {
10270|     92|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     92|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     92|#define parseContext (*pParseContext)
  ------------------
10271|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     92|#define parseContext (*pParseContext)
  ------------------
10272|     92|        (yyval.interm.type).basicType = EbtSampler;
10273|     92|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, false, true);
10274|     92|    }
10275|     92|#line 10276 "MachineIndependent/glslang_tab.cpp"
10276|     92|    break;
10277|       |
10278|     36|  case 412: /* type_specifier_nonarray: F16SAMPLERCUBESHADOW  */
  ------------------
  |  Branch (10278:3): [True: 36, False: 779k]
  ------------------
10279|     36|#line 2891 "MachineIndependent/glslang.y"
10280|     36|                           {
10281|     36|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
10282|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
10283|     36|        (yyval.interm.type).basicType = EbtSampler;
10284|     36|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, false, true);
10285|     36|    }
10286|     36|#line 10287 "MachineIndependent/glslang_tab.cpp"
10287|     36|    break;
10288|       |
10289|     44|  case 413: /* type_specifier_nonarray: F16SAMPLER1DARRAY  */
  ------------------
  |  Branch (10289:3): [True: 44, False: 779k]
  ------------------
10290|     44|#line 2897 "MachineIndependent/glslang.y"
10291|     44|                        {
10292|     44|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     44|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     44|#define parseContext (*pParseContext)
  ------------------
10293|     44|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     44|#define parseContext (*pParseContext)
  ------------------
10294|     44|        (yyval.interm.type).basicType = EbtSampler;
10295|     44|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, true);
10296|     44|    }
10297|     44|#line 10298 "MachineIndependent/glslang_tab.cpp"
10298|     44|    break;
10299|       |
10300|    164|  case 414: /* type_specifier_nonarray: F16SAMPLER2DARRAY  */
  ------------------
  |  Branch (10300:3): [True: 164, False: 779k]
  ------------------
10301|    164|#line 2903 "MachineIndependent/glslang.y"
10302|    164|                        {
10303|    164|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    164|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    164|#define parseContext (*pParseContext)
  ------------------
10304|    164|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    164|#define parseContext (*pParseContext)
  ------------------
10305|    164|        (yyval.interm.type).basicType = EbtSampler;
10306|    164|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true);
10307|    164|    }
10308|    164|#line 10309 "MachineIndependent/glslang_tab.cpp"
10309|    164|    break;
10310|       |
10311|     36|  case 415: /* type_specifier_nonarray: F16SAMPLER1DARRAYSHADOW  */
  ------------------
  |  Branch (10311:3): [True: 36, False: 779k]
  ------------------
10312|     36|#line 2909 "MachineIndependent/glslang.y"
10313|     36|                              {
10314|     36|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
10315|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
10316|     36|        (yyval.interm.type).basicType = EbtSampler;
10317|     36|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, true, true);
10318|     36|    }
10319|     36|#line 10320 "MachineIndependent/glslang_tab.cpp"
10320|     36|    break;
10321|       |
10322|     52|  case 416: /* type_specifier_nonarray: F16SAMPLER2DARRAYSHADOW  */
  ------------------
  |  Branch (10322:3): [True: 52, False: 779k]
  ------------------
10323|     52|#line 2915 "MachineIndependent/glslang.y"
10324|     52|                              {
10325|     52|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     52|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     52|#define parseContext (*pParseContext)
  ------------------
10326|     52|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     52|#define parseContext (*pParseContext)
  ------------------
10327|     52|        (yyval.interm.type).basicType = EbtSampler;
10328|     52|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true, true);
10329|     52|    }
10330|     52|#line 10331 "MachineIndependent/glslang_tab.cpp"
10331|     52|    break;
10332|       |
10333|     64|  case 417: /* type_specifier_nonarray: F16SAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10333:3): [True: 64, False: 779k]
  ------------------
10334|     64|#line 2921 "MachineIndependent/glslang.y"
10335|     64|                          {
10336|     64|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     64|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     64|#define parseContext (*pParseContext)
  ------------------
10337|     64|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     64|#define parseContext (*pParseContext)
  ------------------
10338|     64|        (yyval.interm.type).basicType = EbtSampler;
10339|     64|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, true);
10340|     64|    }
10341|     64|#line 10342 "MachineIndependent/glslang_tab.cpp"
10342|     64|    break;
10343|       |
10344|     28|  case 418: /* type_specifier_nonarray: F16SAMPLERCUBEARRAYSHADOW  */
  ------------------
  |  Branch (10344:3): [True: 28, False: 779k]
  ------------------
10345|     28|#line 2927 "MachineIndependent/glslang.y"
10346|     28|                                {
10347|     28|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
10348|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
10349|     28|        (yyval.interm.type).basicType = EbtSampler;
10350|     28|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, true, true);
10351|     28|    }
10352|     28|#line 10353 "MachineIndependent/glslang_tab.cpp"
10353|     28|    break;
10354|       |
10355|     48|  case 419: /* type_specifier_nonarray: ISAMPLER1D  */
  ------------------
  |  Branch (10355:3): [True: 48, False: 779k]
  ------------------
10356|     48|#line 2933 "MachineIndependent/glslang.y"
10357|     48|                 {
10358|     48|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     48|#define parseContext (*pParseContext)
  ------------------
10359|     48|        (yyval.interm.type).basicType = EbtSampler;
10360|     48|        (yyval.interm.type).sampler.set(EbtInt, Esd1D);
10361|     48|    }
10362|     48|#line 10363 "MachineIndependent/glslang_tab.cpp"
10363|     48|    break;
10364|       |
10365|    124|  case 420: /* type_specifier_nonarray: ISAMPLER2D  */
  ------------------
  |  Branch (10365:3): [True: 124, False: 779k]
  ------------------
10366|    124|#line 2938 "MachineIndependent/glslang.y"
10367|    124|                 {
10368|    124|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    124|#define parseContext (*pParseContext)
  ------------------
10369|    124|        (yyval.interm.type).basicType = EbtSampler;
10370|    124|        (yyval.interm.type).sampler.set(EbtInt, Esd2D);
10371|    124|    }
10372|    124|#line 10373 "MachineIndependent/glslang_tab.cpp"
10373|    124|    break;
10374|       |
10375|     55|  case 421: /* type_specifier_nonarray: ISAMPLER3D  */
  ------------------
  |  Branch (10375:3): [True: 55, False: 779k]
  ------------------
10376|     55|#line 2943 "MachineIndependent/glslang.y"
10377|     55|                 {
10378|     55|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     55|#define parseContext (*pParseContext)
  ------------------
10379|     55|        (yyval.interm.type).basicType = EbtSampler;
10380|     55|        (yyval.interm.type).sampler.set(EbtInt, Esd3D);
10381|     55|    }
10382|     55|#line 10383 "MachineIndependent/glslang_tab.cpp"
10383|     55|    break;
10384|       |
10385|     36|  case 422: /* type_specifier_nonarray: ISAMPLERCUBE  */
  ------------------
  |  Branch (10385:3): [True: 36, False: 779k]
  ------------------
10386|     36|#line 2948 "MachineIndependent/glslang.y"
10387|     36|                   {
10388|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
10389|     36|        (yyval.interm.type).basicType = EbtSampler;
10390|     36|        (yyval.interm.type).sampler.set(EbtInt, EsdCube);
10391|     36|    }
10392|     36|#line 10393 "MachineIndependent/glslang_tab.cpp"
10393|     36|    break;
10394|       |
10395|    102|  case 423: /* type_specifier_nonarray: ISAMPLER2DARRAY  */
  ------------------
  |  Branch (10395:3): [True: 102, False: 779k]
  ------------------
10396|    102|#line 2953 "MachineIndependent/glslang.y"
10397|    102|                      {
10398|    102|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    102|#define parseContext (*pParseContext)
  ------------------
10399|    102|        (yyval.interm.type).basicType = EbtSampler;
10400|    102|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, true);
10401|    102|    }
10402|    102|#line 10403 "MachineIndependent/glslang_tab.cpp"
10403|    102|    break;
10404|       |
10405|    124|  case 424: /* type_specifier_nonarray: USAMPLER2D  */
  ------------------
  |  Branch (10405:3): [True: 124, False: 779k]
  ------------------
10406|    124|#line 2958 "MachineIndependent/glslang.y"
10407|    124|                 {
10408|    124|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    124|#define parseContext (*pParseContext)
  ------------------
10409|    124|        (yyval.interm.type).basicType = EbtSampler;
10410|    124|        (yyval.interm.type).sampler.set(EbtUint, Esd2D);
10411|    124|    }
10412|    124|#line 10413 "MachineIndependent/glslang_tab.cpp"
10413|    124|    break;
10414|       |
10415|     55|  case 425: /* type_specifier_nonarray: USAMPLER3D  */
  ------------------
  |  Branch (10415:3): [True: 55, False: 779k]
  ------------------
10416|     55|#line 2963 "MachineIndependent/glslang.y"
10417|     55|                 {
10418|     55|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     55|#define parseContext (*pParseContext)
  ------------------
10419|     55|        (yyval.interm.type).basicType = EbtSampler;
10420|     55|        (yyval.interm.type).sampler.set(EbtUint, Esd3D);
10421|     55|    }
10422|     55|#line 10423 "MachineIndependent/glslang_tab.cpp"
10423|     55|    break;
10424|       |
10425|     36|  case 426: /* type_specifier_nonarray: USAMPLERCUBE  */
  ------------------
  |  Branch (10425:3): [True: 36, False: 779k]
  ------------------
10426|     36|#line 2968 "MachineIndependent/glslang.y"
10427|     36|                   {
10428|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
10429|     36|        (yyval.interm.type).basicType = EbtSampler;
10430|     36|        (yyval.interm.type).sampler.set(EbtUint, EsdCube);
10431|     36|    }
10432|     36|#line 10433 "MachineIndependent/glslang_tab.cpp"
10433|     36|    break;
10434|       |
10435|     26|  case 427: /* type_specifier_nonarray: ISAMPLER1DARRAY  */
  ------------------
  |  Branch (10435:3): [True: 26, False: 779k]
  ------------------
10436|     26|#line 2973 "MachineIndependent/glslang.y"
10437|     26|                      {
10438|     26|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     26|#define parseContext (*pParseContext)
  ------------------
10439|     26|        (yyval.interm.type).basicType = EbtSampler;
10440|     26|        (yyval.interm.type).sampler.set(EbtInt, Esd1D, true);
10441|     26|    }
10442|     26|#line 10443 "MachineIndependent/glslang_tab.cpp"
10443|     26|    break;
10444|       |
10445|     36|  case 428: /* type_specifier_nonarray: ISAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10445:3): [True: 36, False: 779k]
  ------------------
10446|     36|#line 2978 "MachineIndependent/glslang.y"
10447|     36|                        {
10448|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
10449|     36|        (yyval.interm.type).basicType = EbtSampler;
10450|     36|        (yyval.interm.type).sampler.set(EbtInt, EsdCube, true);
10451|     36|    }
10452|     36|#line 10453 "MachineIndependent/glslang_tab.cpp"
10453|     36|    break;
10454|       |
10455|     48|  case 429: /* type_specifier_nonarray: USAMPLER1D  */
  ------------------
  |  Branch (10455:3): [True: 48, False: 779k]
  ------------------
10456|     48|#line 2983 "MachineIndependent/glslang.y"
10457|     48|                 {
10458|     48|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     48|#define parseContext (*pParseContext)
  ------------------
10459|     48|        (yyval.interm.type).basicType = EbtSampler;
10460|     48|        (yyval.interm.type).sampler.set(EbtUint, Esd1D);
10461|     48|    }
10462|     48|#line 10463 "MachineIndependent/glslang_tab.cpp"
10463|     48|    break;
10464|       |
10465|     26|  case 430: /* type_specifier_nonarray: USAMPLER1DARRAY  */
  ------------------
  |  Branch (10465:3): [True: 26, False: 779k]
  ------------------
10466|     26|#line 2988 "MachineIndependent/glslang.y"
10467|     26|                      {
10468|     26|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     26|#define parseContext (*pParseContext)
  ------------------
10469|     26|        (yyval.interm.type).basicType = EbtSampler;
10470|     26|        (yyval.interm.type).sampler.set(EbtUint, Esd1D, true);
10471|     26|    }
10472|     26|#line 10473 "MachineIndependent/glslang_tab.cpp"
10473|     26|    break;
10474|       |
10475|     36|  case 431: /* type_specifier_nonarray: USAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10475:3): [True: 36, False: 779k]
  ------------------
10476|     36|#line 2993 "MachineIndependent/glslang.y"
10477|     36|                        {
10478|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
10479|     36|        (yyval.interm.type).basicType = EbtSampler;
10480|     36|        (yyval.interm.type).sampler.set(EbtUint, EsdCube, true);
10481|     36|    }
10482|     36|#line 10483 "MachineIndependent/glslang_tab.cpp"
10483|     36|    break;
10484|       |
10485|      2|  case 432: /* type_specifier_nonarray: TEXTURECUBEARRAY  */
  ------------------
  |  Branch (10485:3): [True: 2, False: 779k]
  ------------------
10486|      2|#line 2998 "MachineIndependent/glslang.y"
10487|      2|                       {
10488|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
10489|      2|        (yyval.interm.type).basicType = EbtSampler;
10490|      2|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdCube, true);
10491|      2|    }
10492|      2|#line 10493 "MachineIndependent/glslang_tab.cpp"
10493|      2|    break;
10494|       |
10495|      2|  case 433: /* type_specifier_nonarray: ITEXTURECUBEARRAY  */
  ------------------
  |  Branch (10495:3): [True: 2, False: 779k]
  ------------------
10496|      2|#line 3003 "MachineIndependent/glslang.y"
10497|      2|                        {
10498|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
10499|      2|        (yyval.interm.type).basicType = EbtSampler;
10500|      2|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdCube, true);
10501|      2|    }
10502|      2|#line 10503 "MachineIndependent/glslang_tab.cpp"
10503|      2|    break;
10504|       |
10505|      2|  case 434: /* type_specifier_nonarray: UTEXTURECUBEARRAY  */
  ------------------
  |  Branch (10505:3): [True: 2, False: 779k]
  ------------------
10506|      2|#line 3008 "MachineIndependent/glslang.y"
10507|      2|                        {
10508|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
10509|      2|        (yyval.interm.type).basicType = EbtSampler;
10510|      2|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdCube, true);
10511|      2|    }
10512|      2|#line 10513 "MachineIndependent/glslang_tab.cpp"
10513|      2|    break;
10514|       |
10515|    102|  case 435: /* type_specifier_nonarray: USAMPLER2DARRAY  */
  ------------------
  |  Branch (10515:3): [True: 102, False: 779k]
  ------------------
10516|    102|#line 3013 "MachineIndependent/glslang.y"
10517|    102|                      {
10518|    102|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    102|#define parseContext (*pParseContext)
  ------------------
10519|    102|        (yyval.interm.type).basicType = EbtSampler;
10520|    102|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, true);
10521|    102|    }
10522|    102|#line 10523 "MachineIndependent/glslang_tab.cpp"
10523|    102|    break;
10524|       |
10525|      6|  case 436: /* type_specifier_nonarray: TEXTURE2D  */
  ------------------
  |  Branch (10525:3): [True: 6, False: 779k]
  ------------------
10526|      6|#line 3018 "MachineIndependent/glslang.y"
10527|      6|                {
10528|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10529|      6|        (yyval.interm.type).basicType = EbtSampler;
10530|      6|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D);
10531|      6|    }
10532|      6|#line 10533 "MachineIndependent/glslang_tab.cpp"
10533|      6|    break;
10534|       |
10535|      6|  case 437: /* type_specifier_nonarray: TEXTURE3D  */
  ------------------
  |  Branch (10535:3): [True: 6, False: 779k]
  ------------------
10536|      6|#line 3023 "MachineIndependent/glslang.y"
10537|      6|                {
10538|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10539|      6|        (yyval.interm.type).basicType = EbtSampler;
10540|      6|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd3D);
10541|      6|    }
10542|      6|#line 10543 "MachineIndependent/glslang_tab.cpp"
10543|      6|    break;
10544|       |
10545|      6|  case 438: /* type_specifier_nonarray: TEXTURE2DARRAY  */
  ------------------
  |  Branch (10545:3): [True: 6, False: 779k]
  ------------------
10546|      6|#line 3028 "MachineIndependent/glslang.y"
10547|      6|                     {
10548|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10549|      6|        (yyval.interm.type).basicType = EbtSampler;
10550|      6|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, true);
10551|      6|    }
10552|      6|#line 10553 "MachineIndependent/glslang_tab.cpp"
10553|      6|    break;
10554|       |
10555|      2|  case 439: /* type_specifier_nonarray: TEXTURECUBE  */
  ------------------
  |  Branch (10555:3): [True: 2, False: 779k]
  ------------------
10556|      2|#line 3033 "MachineIndependent/glslang.y"
10557|      2|                  {
10558|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
10559|      2|        (yyval.interm.type).basicType = EbtSampler;
10560|      2|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdCube);
10561|      2|    }
10562|      2|#line 10563 "MachineIndependent/glslang_tab.cpp"
10563|      2|    break;
10564|       |
10565|      6|  case 440: /* type_specifier_nonarray: ITEXTURE2D  */
  ------------------
  |  Branch (10565:3): [True: 6, False: 779k]
  ------------------
10566|      6|#line 3038 "MachineIndependent/glslang.y"
10567|      6|                 {
10568|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10569|      6|        (yyval.interm.type).basicType = EbtSampler;
10570|      6|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D);
10571|      6|    }
10572|      6|#line 10573 "MachineIndependent/glslang_tab.cpp"
10573|      6|    break;
10574|       |
10575|      6|  case 441: /* type_specifier_nonarray: ITEXTURE3D  */
  ------------------
  |  Branch (10575:3): [True: 6, False: 779k]
  ------------------
10576|      6|#line 3043 "MachineIndependent/glslang.y"
10577|      6|                 {
10578|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10579|      6|        (yyval.interm.type).basicType = EbtSampler;
10580|      6|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd3D);
10581|      6|    }
10582|      6|#line 10583 "MachineIndependent/glslang_tab.cpp"
10583|      6|    break;
10584|       |
10585|      2|  case 442: /* type_specifier_nonarray: ITEXTURECUBE  */
  ------------------
  |  Branch (10585:3): [True: 2, False: 779k]
  ------------------
10586|      2|#line 3048 "MachineIndependent/glslang.y"
10587|      2|                   {
10588|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
10589|      2|        (yyval.interm.type).basicType = EbtSampler;
10590|      2|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdCube);
10591|      2|    }
10592|      2|#line 10593 "MachineIndependent/glslang_tab.cpp"
10593|      2|    break;
10594|       |
10595|      6|  case 443: /* type_specifier_nonarray: ITEXTURE2DARRAY  */
  ------------------
  |  Branch (10595:3): [True: 6, False: 779k]
  ------------------
10596|      6|#line 3053 "MachineIndependent/glslang.y"
10597|      6|                      {
10598|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10599|      6|        (yyval.interm.type).basicType = EbtSampler;
10600|      6|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, true);
10601|      6|    }
10602|      6|#line 10603 "MachineIndependent/glslang_tab.cpp"
10603|      6|    break;
10604|       |
10605|      6|  case 444: /* type_specifier_nonarray: UTEXTURE2D  */
  ------------------
  |  Branch (10605:3): [True: 6, False: 779k]
  ------------------
10606|      6|#line 3058 "MachineIndependent/glslang.y"
10607|      6|                 {
10608|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10609|      6|        (yyval.interm.type).basicType = EbtSampler;
10610|      6|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D);
10611|      6|    }
10612|      6|#line 10613 "MachineIndependent/glslang_tab.cpp"
10613|      6|    break;
10614|       |
10615|      6|  case 445: /* type_specifier_nonarray: UTEXTURE3D  */
  ------------------
  |  Branch (10615:3): [True: 6, False: 779k]
  ------------------
10616|      6|#line 3063 "MachineIndependent/glslang.y"
10617|      6|                 {
10618|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10619|      6|        (yyval.interm.type).basicType = EbtSampler;
10620|      6|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd3D);
10621|      6|    }
10622|      6|#line 10623 "MachineIndependent/glslang_tab.cpp"
10623|      6|    break;
10624|       |
10625|      2|  case 446: /* type_specifier_nonarray: UTEXTURECUBE  */
  ------------------
  |  Branch (10625:3): [True: 2, False: 779k]
  ------------------
10626|      2|#line 3068 "MachineIndependent/glslang.y"
10627|      2|                   {
10628|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
10629|      2|        (yyval.interm.type).basicType = EbtSampler;
10630|      2|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdCube);
10631|      2|    }
10632|      2|#line 10633 "MachineIndependent/glslang_tab.cpp"
10633|      2|    break;
10634|       |
10635|      6|  case 447: /* type_specifier_nonarray: UTEXTURE2DARRAY  */
  ------------------
  |  Branch (10635:3): [True: 6, False: 779k]
  ------------------
10636|      6|#line 3073 "MachineIndependent/glslang.y"
10637|      6|                      {
10638|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10639|      6|        (yyval.interm.type).basicType = EbtSampler;
10640|      6|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, true);
10641|      6|    }
10642|      6|#line 10643 "MachineIndependent/glslang_tab.cpp"
10643|      6|    break;
10644|       |
10645|      0|  case 448: /* type_specifier_nonarray: SAMPLER  */
  ------------------
  |  Branch (10645:3): [True: 0, False: 779k]
  ------------------
10646|      0|#line 3078 "MachineIndependent/glslang.y"
10647|      0|              {
10648|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10649|      0|        (yyval.interm.type).basicType = EbtSampler;
10650|      0|        (yyval.interm.type).sampler.setPureSampler(false);
10651|      0|    }
10652|      0|#line 10653 "MachineIndependent/glslang_tab.cpp"
10653|      0|    break;
10654|       |
10655|      0|  case 449: /* type_specifier_nonarray: SAMPLERSHADOW  */
  ------------------
  |  Branch (10655:3): [True: 0, False: 779k]
  ------------------
10656|      0|#line 3083 "MachineIndependent/glslang.y"
10657|      0|                    {
10658|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10659|      0|        (yyval.interm.type).basicType = EbtSampler;
10660|      0|        (yyval.interm.type).sampler.setPureSampler(true);
10661|      0|    }
10662|      0|#line 10663 "MachineIndependent/glslang_tab.cpp"
10663|      0|    break;
10664|       |
10665|     51|  case 450: /* type_specifier_nonarray: SAMPLER2DRECT  */
  ------------------
  |  Branch (10665:3): [True: 51, False: 779k]
  ------------------
10666|     51|#line 3088 "MachineIndependent/glslang.y"
10667|     51|                    {
10668|     51|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     51|#define parseContext (*pParseContext)
  ------------------
10669|     51|        (yyval.interm.type).basicType = EbtSampler;
10670|     51|        (yyval.interm.type).sampler.set(EbtFloat, EsdRect);
10671|     51|    }
10672|     51|#line 10673 "MachineIndependent/glslang_tab.cpp"
10673|     51|    break;
10674|       |
10675|     27|  case 451: /* type_specifier_nonarray: SAMPLER2DRECTSHADOW  */
  ------------------
  |  Branch (10675:3): [True: 27, False: 779k]
  ------------------
10676|     27|#line 3093 "MachineIndependent/glslang.y"
10677|     27|                          {
10678|     27|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     27|#define parseContext (*pParseContext)
  ------------------
10679|     27|        (yyval.interm.type).basicType = EbtSampler;
10680|     27|        (yyval.interm.type).sampler.set(EbtFloat, EsdRect, false, true);
10681|     27|    }
10682|     27|#line 10683 "MachineIndependent/glslang_tab.cpp"
10683|     27|    break;
10684|       |
10685|    101|  case 452: /* type_specifier_nonarray: F16SAMPLER2DRECT  */
  ------------------
  |  Branch (10685:3): [True: 101, False: 779k]
  ------------------
10686|    101|#line 3098 "MachineIndependent/glslang.y"
10687|    101|                       {
10688|    101|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    101|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    101|#define parseContext (*pParseContext)
  ------------------
10689|    101|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    101|#define parseContext (*pParseContext)
  ------------------
10690|    101|        (yyval.interm.type).basicType = EbtSampler;
10691|    101|        (yyval.interm.type).sampler.set(EbtFloat16, EsdRect);
10692|    101|    }
10693|    101|#line 10694 "MachineIndependent/glslang_tab.cpp"
10694|    101|    break;
10695|       |
10696|     53|  case 453: /* type_specifier_nonarray: F16SAMPLER2DRECTSHADOW  */
  ------------------
  |  Branch (10696:3): [True: 53, False: 779k]
  ------------------
10697|     53|#line 3104 "MachineIndependent/glslang.y"
10698|     53|                             {
10699|     53|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     53|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     53|#define parseContext (*pParseContext)
  ------------------
10700|     53|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     53|#define parseContext (*pParseContext)
  ------------------
10701|     53|        (yyval.interm.type).basicType = EbtSampler;
10702|     53|        (yyval.interm.type).sampler.set(EbtFloat16, EsdRect, false, true);
10703|     53|    }
10704|     53|#line 10705 "MachineIndependent/glslang_tab.cpp"
10705|     53|    break;
10706|       |
10707|     51|  case 454: /* type_specifier_nonarray: ISAMPLER2DRECT  */
  ------------------
  |  Branch (10707:3): [True: 51, False: 779k]
  ------------------
10708|     51|#line 3110 "MachineIndependent/glslang.y"
10709|     51|                     {
10710|     51|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     51|#define parseContext (*pParseContext)
  ------------------
10711|     51|        (yyval.interm.type).basicType = EbtSampler;
10712|     51|        (yyval.interm.type).sampler.set(EbtInt, EsdRect);
10713|     51|    }
10714|     51|#line 10715 "MachineIndependent/glslang_tab.cpp"
10715|     51|    break;
10716|       |
10717|     51|  case 455: /* type_specifier_nonarray: USAMPLER2DRECT  */
  ------------------
  |  Branch (10717:3): [True: 51, False: 779k]
  ------------------
10718|     51|#line 3115 "MachineIndependent/glslang.y"
10719|     51|                     {
10720|     51|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     51|#define parseContext (*pParseContext)
  ------------------
10721|     51|        (yyval.interm.type).basicType = EbtSampler;
10722|     51|        (yyval.interm.type).sampler.set(EbtUint, EsdRect);
10723|     51|    }
10724|     51|#line 10725 "MachineIndependent/glslang_tab.cpp"
10725|     51|    break;
10726|       |
10727|      2|  case 456: /* type_specifier_nonarray: SAMPLERBUFFER  */
  ------------------
  |  Branch (10727:3): [True: 2, False: 779k]
  ------------------
10728|      2|#line 3120 "MachineIndependent/glslang.y"
10729|      2|                    {
10730|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
10731|      2|        (yyval.interm.type).basicType = EbtSampler;
10732|      2|        (yyval.interm.type).sampler.set(EbtFloat, EsdBuffer);
10733|      2|    }
10734|      2|#line 10735 "MachineIndependent/glslang_tab.cpp"
10735|      2|    break;
10736|       |
10737|      3|  case 457: /* type_specifier_nonarray: F16SAMPLERBUFFER  */
  ------------------
  |  Branch (10737:3): [True: 3, False: 779k]
  ------------------
10738|      3|#line 3125 "MachineIndependent/glslang.y"
10739|      3|                       {
10740|      3|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
10741|      3|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
10742|      3|        (yyval.interm.type).basicType = EbtSampler;
10743|      3|        (yyval.interm.type).sampler.set(EbtFloat16, EsdBuffer);
10744|      3|    }
10745|      3|#line 10746 "MachineIndependent/glslang_tab.cpp"
10746|      3|    break;
10747|       |
10748|      2|  case 458: /* type_specifier_nonarray: ISAMPLERBUFFER  */
  ------------------
  |  Branch (10748:3): [True: 2, False: 779k]
  ------------------
10749|      2|#line 3131 "MachineIndependent/glslang.y"
10750|      2|                     {
10751|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
10752|      2|        (yyval.interm.type).basicType = EbtSampler;
10753|      2|        (yyval.interm.type).sampler.set(EbtInt, EsdBuffer);
10754|      2|    }
10755|      2|#line 10756 "MachineIndependent/glslang_tab.cpp"
10756|      2|    break;
10757|       |
10758|      2|  case 459: /* type_specifier_nonarray: USAMPLERBUFFER  */
  ------------------
  |  Branch (10758:3): [True: 2, False: 779k]
  ------------------
10759|      2|#line 3136 "MachineIndependent/glslang.y"
10760|      2|                     {
10761|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
10762|      2|        (yyval.interm.type).basicType = EbtSampler;
10763|      2|        (yyval.interm.type).sampler.set(EbtUint, EsdBuffer);
10764|      2|    }
10765|      2|#line 10766 "MachineIndependent/glslang_tab.cpp"
10766|      2|    break;
10767|       |
10768|      6|  case 460: /* type_specifier_nonarray: SAMPLER2DMS  */
  ------------------
  |  Branch (10768:3): [True: 6, False: 779k]
  ------------------
10769|      6|#line 3141 "MachineIndependent/glslang.y"
10770|      6|                  {
10771|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10772|      6|        (yyval.interm.type).basicType = EbtSampler;
10773|      6|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, false, false, true);
10774|      6|    }
10775|      6|#line 10776 "MachineIndependent/glslang_tab.cpp"
10776|      6|    break;
10777|       |
10778|      6|  case 461: /* type_specifier_nonarray: F16SAMPLER2DMS  */
  ------------------
  |  Branch (10778:3): [True: 6, False: 779k]
  ------------------
10779|      6|#line 3146 "MachineIndependent/glslang.y"
10780|      6|                     {
10781|      6|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10782|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10783|      6|        (yyval.interm.type).basicType = EbtSampler;
10784|      6|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, false, false, true);
10785|      6|    }
10786|      6|#line 10787 "MachineIndependent/glslang_tab.cpp"
10787|      6|    break;
10788|       |
10789|      6|  case 462: /* type_specifier_nonarray: ISAMPLER2DMS  */
  ------------------
  |  Branch (10789:3): [True: 6, False: 779k]
  ------------------
10790|      6|#line 3152 "MachineIndependent/glslang.y"
10791|      6|                   {
10792|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10793|      6|        (yyval.interm.type).basicType = EbtSampler;
10794|      6|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, false, false, true);
10795|      6|    }
10796|      6|#line 10797 "MachineIndependent/glslang_tab.cpp"
10797|      6|    break;
10798|       |
10799|      6|  case 463: /* type_specifier_nonarray: USAMPLER2DMS  */
  ------------------
  |  Branch (10799:3): [True: 6, False: 779k]
  ------------------
10800|      6|#line 3157 "MachineIndependent/glslang.y"
10801|      6|                   {
10802|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10803|      6|        (yyval.interm.type).basicType = EbtSampler;
10804|      6|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, false, false, true);
10805|      6|    }
10806|      6|#line 10807 "MachineIndependent/glslang_tab.cpp"
10807|      6|    break;
10808|       |
10809|      6|  case 464: /* type_specifier_nonarray: SAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10809:3): [True: 6, False: 779k]
  ------------------
10810|      6|#line 3162 "MachineIndependent/glslang.y"
10811|      6|                       {
10812|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10813|      6|        (yyval.interm.type).basicType = EbtSampler;
10814|      6|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true, false, true);
10815|      6|    }
10816|      6|#line 10817 "MachineIndependent/glslang_tab.cpp"
10817|      6|    break;
10818|       |
10819|      6|  case 465: /* type_specifier_nonarray: F16SAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10819:3): [True: 6, False: 779k]
  ------------------
10820|      6|#line 3167 "MachineIndependent/glslang.y"
10821|      6|                          {
10822|      6|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10823|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10824|      6|        (yyval.interm.type).basicType = EbtSampler;
10825|      6|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true, false, true);
10826|      6|    }
10827|      6|#line 10828 "MachineIndependent/glslang_tab.cpp"
10828|      6|    break;
10829|       |
10830|      6|  case 466: /* type_specifier_nonarray: ISAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10830:3): [True: 6, False: 779k]
  ------------------
10831|      6|#line 3173 "MachineIndependent/glslang.y"
10832|      6|                        {
10833|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10834|      6|        (yyval.interm.type).basicType = EbtSampler;
10835|      6|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, true, false, true);
10836|      6|    }
10837|      6|#line 10838 "MachineIndependent/glslang_tab.cpp"
10838|      6|    break;
10839|       |
10840|      6|  case 467: /* type_specifier_nonarray: USAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10840:3): [True: 6, False: 779k]
  ------------------
10841|      6|#line 3178 "MachineIndependent/glslang.y"
10842|      6|                        {
10843|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10844|      6|        (yyval.interm.type).basicType = EbtSampler;
10845|      6|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, true, false, true);
10846|      6|    }
10847|      6|#line 10848 "MachineIndependent/glslang_tab.cpp"
10848|      6|    break;
10849|       |
10850|      4|  case 468: /* type_specifier_nonarray: TEXTURE1D  */
  ------------------
  |  Branch (10850:3): [True: 4, False: 779k]
  ------------------
10851|      4|#line 3183 "MachineIndependent/glslang.y"
10852|      4|                {
10853|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
10854|      4|        (yyval.interm.type).basicType = EbtSampler;
10855|      4|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd1D);
10856|      4|    }
10857|      4|#line 10858 "MachineIndependent/glslang_tab.cpp"
10858|      4|    break;
10859|       |
10860|      6|  case 469: /* type_specifier_nonarray: F16TEXTURE1D  */
  ------------------
  |  Branch (10860:3): [True: 6, False: 779k]
  ------------------
10861|      6|#line 3188 "MachineIndependent/glslang.y"
10862|      6|                   {
10863|      6|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10864|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10865|      6|        (yyval.interm.type).basicType = EbtSampler;
10866|      6|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd1D);
10867|      6|    }
10868|      6|#line 10869 "MachineIndependent/glslang_tab.cpp"
10869|      6|    break;
10870|       |
10871|     10|  case 470: /* type_specifier_nonarray: F16TEXTURE2D  */
  ------------------
  |  Branch (10871:3): [True: 10, False: 779k]
  ------------------
10872|     10|#line 3194 "MachineIndependent/glslang.y"
10873|     10|                   {
10874|     10|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
10875|     10|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
10876|     10|        (yyval.interm.type).basicType = EbtSampler;
10877|     10|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D);
10878|     10|    }
10879|     10|#line 10880 "MachineIndependent/glslang_tab.cpp"
10880|     10|    break;
10881|       |
10882|     10|  case 471: /* type_specifier_nonarray: F16TEXTURE3D  */
  ------------------
  |  Branch (10882:3): [True: 10, False: 779k]
  ------------------
10883|     10|#line 3200 "MachineIndependent/glslang.y"
10884|     10|                   {
10885|     10|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
10886|     10|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
10887|     10|        (yyval.interm.type).basicType = EbtSampler;
10888|     10|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd3D);
10889|     10|    }
10890|     10|#line 10891 "MachineIndependent/glslang_tab.cpp"
10891|     10|    break;
10892|       |
10893|      2|  case 472: /* type_specifier_nonarray: F16TEXTURECUBE  */
  ------------------
  |  Branch (10893:3): [True: 2, False: 779k]
  ------------------
10894|      2|#line 3206 "MachineIndependent/glslang.y"
10895|      2|                     {
10896|      2|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
10897|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
10898|      2|        (yyval.interm.type).basicType = EbtSampler;
10899|      2|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdCube);
10900|      2|    }
10901|      2|#line 10902 "MachineIndependent/glslang_tab.cpp"
10902|      2|    break;
10903|       |
10904|      4|  case 473: /* type_specifier_nonarray: TEXTURE1DARRAY  */
  ------------------
  |  Branch (10904:3): [True: 4, False: 779k]
  ------------------
10905|      4|#line 3212 "MachineIndependent/glslang.y"
10906|      4|                     {
10907|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
10908|      4|        (yyval.interm.type).basicType = EbtSampler;
10909|      4|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd1D, true);
10910|      4|    }
10911|      4|#line 10912 "MachineIndependent/glslang_tab.cpp"
10912|      4|    break;
10913|       |
10914|      6|  case 474: /* type_specifier_nonarray: F16TEXTURE1DARRAY  */
  ------------------
  |  Branch (10914:3): [True: 6, False: 779k]
  ------------------
10915|      6|#line 3217 "MachineIndependent/glslang.y"
10916|      6|                        {
10917|      6|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10918|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10919|      6|        (yyval.interm.type).basicType = EbtSampler;
10920|      6|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd1D, true);
10921|      6|    }
10922|      6|#line 10923 "MachineIndependent/glslang_tab.cpp"
10923|      6|    break;
10924|       |
10925|     10|  case 475: /* type_specifier_nonarray: F16TEXTURE2DARRAY  */
  ------------------
  |  Branch (10925:3): [True: 10, False: 779k]
  ------------------
10926|     10|#line 3223 "MachineIndependent/glslang.y"
10927|     10|                        {
10928|     10|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
10929|     10|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
10930|     10|        (yyval.interm.type).basicType = EbtSampler;
10931|     10|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, true);
10932|     10|    }
10933|     10|#line 10934 "MachineIndependent/glslang_tab.cpp"
10934|     10|    break;
10935|       |
10936|      2|  case 476: /* type_specifier_nonarray: F16TEXTURECUBEARRAY  */
  ------------------
  |  Branch (10936:3): [True: 2, False: 779k]
  ------------------
10937|      2|#line 3229 "MachineIndependent/glslang.y"
10938|      2|                          {
10939|      2|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
10940|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
10941|      2|        (yyval.interm.type).basicType = EbtSampler;
10942|      2|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdCube, true);
10943|      2|    }
10944|      2|#line 10945 "MachineIndependent/glslang_tab.cpp"
10945|      2|    break;
10946|       |
10947|      4|  case 477: /* type_specifier_nonarray: ITEXTURE1D  */
  ------------------
  |  Branch (10947:3): [True: 4, False: 779k]
  ------------------
10948|      4|#line 3235 "MachineIndependent/glslang.y"
10949|      4|                 {
10950|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
10951|      4|        (yyval.interm.type).basicType = EbtSampler;
10952|      4|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd1D);
10953|      4|    }
10954|      4|#line 10955 "MachineIndependent/glslang_tab.cpp"
10955|      4|    break;
10956|       |
10957|      4|  case 478: /* type_specifier_nonarray: ITEXTURE1DARRAY  */
  ------------------
  |  Branch (10957:3): [True: 4, False: 779k]
  ------------------
10958|      4|#line 3240 "MachineIndependent/glslang.y"
10959|      4|                      {
10960|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
10961|      4|        (yyval.interm.type).basicType = EbtSampler;
10962|      4|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd1D, true);
10963|      4|    }
10964|      4|#line 10965 "MachineIndependent/glslang_tab.cpp"
10965|      4|    break;
10966|       |
10967|      4|  case 479: /* type_specifier_nonarray: UTEXTURE1D  */
  ------------------
  |  Branch (10967:3): [True: 4, False: 779k]
  ------------------
10968|      4|#line 3245 "MachineIndependent/glslang.y"
10969|      4|                 {
10970|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
10971|      4|        (yyval.interm.type).basicType = EbtSampler;
10972|      4|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd1D);
10973|      4|    }
10974|      4|#line 10975 "MachineIndependent/glslang_tab.cpp"
10975|      4|    break;
10976|       |
10977|      4|  case 480: /* type_specifier_nonarray: UTEXTURE1DARRAY  */
  ------------------
  |  Branch (10977:3): [True: 4, False: 779k]
  ------------------
10978|      4|#line 3250 "MachineIndependent/glslang.y"
10979|      4|                      {
10980|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
10981|      4|        (yyval.interm.type).basicType = EbtSampler;
10982|      4|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd1D, true);
10983|      4|    }
10984|      4|#line 10985 "MachineIndependent/glslang_tab.cpp"
10985|      4|    break;
10986|       |
10987|      5|  case 481: /* type_specifier_nonarray: TEXTURE2DRECT  */
  ------------------
  |  Branch (10987:3): [True: 5, False: 779k]
  ------------------
10988|      5|#line 3255 "MachineIndependent/glslang.y"
10989|      5|                    {
10990|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
10991|      5|        (yyval.interm.type).basicType = EbtSampler;
10992|      5|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdRect);
10993|      5|    }
10994|      5|#line 10995 "MachineIndependent/glslang_tab.cpp"
10995|      5|    break;
10996|       |
10997|      9|  case 482: /* type_specifier_nonarray: F16TEXTURE2DRECT  */
  ------------------
  |  Branch (10997:3): [True: 9, False: 779k]
  ------------------
10998|      9|#line 3260 "MachineIndependent/glslang.y"
10999|      9|                       {
11000|      9|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
11001|      9|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
11002|      9|        (yyval.interm.type).basicType = EbtSampler;
11003|      9|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdRect);
11004|      9|    }
11005|      9|#line 11006 "MachineIndependent/glslang_tab.cpp"
11006|      9|    break;
11007|       |
11008|      5|  case 483: /* type_specifier_nonarray: ITEXTURE2DRECT  */
  ------------------
  |  Branch (11008:3): [True: 5, False: 779k]
  ------------------
11009|      5|#line 3266 "MachineIndependent/glslang.y"
11010|      5|                     {
11011|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
11012|      5|        (yyval.interm.type).basicType = EbtSampler;
11013|      5|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdRect);
11014|      5|    }
11015|      5|#line 11016 "MachineIndependent/glslang_tab.cpp"
11016|      5|    break;
11017|       |
11018|      5|  case 484: /* type_specifier_nonarray: UTEXTURE2DRECT  */
  ------------------
  |  Branch (11018:3): [True: 5, False: 779k]
  ------------------
11019|      5|#line 3271 "MachineIndependent/glslang.y"
11020|      5|                     {
11021|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
11022|      5|        (yyval.interm.type).basicType = EbtSampler;
11023|      5|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdRect);
11024|      5|    }
11025|      5|#line 11026 "MachineIndependent/glslang_tab.cpp"
11026|      5|    break;
11027|       |
11028|      2|  case 485: /* type_specifier_nonarray: TEXTUREBUFFER  */
  ------------------
  |  Branch (11028:3): [True: 2, False: 779k]
  ------------------
11029|      2|#line 3276 "MachineIndependent/glslang.y"
11030|      2|                    {
11031|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
11032|      2|        (yyval.interm.type).basicType = EbtSampler;
11033|      2|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdBuffer);
11034|      2|    }
11035|      2|#line 11036 "MachineIndependent/glslang_tab.cpp"
11036|      2|    break;
11037|       |
11038|      3|  case 486: /* type_specifier_nonarray: F16TEXTUREBUFFER  */
  ------------------
  |  Branch (11038:3): [True: 3, False: 779k]
  ------------------
11039|      3|#line 3281 "MachineIndependent/glslang.y"
11040|      3|                       {
11041|      3|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
11042|      3|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
11043|      3|        (yyval.interm.type).basicType = EbtSampler;
11044|      3|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdBuffer);
11045|      3|    }
11046|      3|#line 11047 "MachineIndependent/glslang_tab.cpp"
11047|      3|    break;
11048|       |
11049|      2|  case 487: /* type_specifier_nonarray: ITEXTUREBUFFER  */
  ------------------
  |  Branch (11049:3): [True: 2, False: 779k]
  ------------------
11050|      2|#line 3287 "MachineIndependent/glslang.y"
11051|      2|                     {
11052|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
11053|      2|        (yyval.interm.type).basicType = EbtSampler;
11054|      2|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdBuffer);
11055|      2|    }
11056|      2|#line 11057 "MachineIndependent/glslang_tab.cpp"
11057|      2|    break;
11058|       |
11059|      2|  case 488: /* type_specifier_nonarray: UTEXTUREBUFFER  */
  ------------------
  |  Branch (11059:3): [True: 2, False: 779k]
  ------------------
11060|      2|#line 3292 "MachineIndependent/glslang.y"
11061|      2|                     {
11062|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
11063|      2|        (yyval.interm.type).basicType = EbtSampler;
11064|      2|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdBuffer);
11065|      2|    }
11066|      2|#line 11067 "MachineIndependent/glslang_tab.cpp"
11067|      2|    break;
11068|       |
11069|      4|  case 489: /* type_specifier_nonarray: TEXTURE2DMS  */
  ------------------
  |  Branch (11069:3): [True: 4, False: 779k]
  ------------------
11070|      4|#line 3297 "MachineIndependent/glslang.y"
11071|      4|                  {
11072|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
11073|      4|        (yyval.interm.type).basicType = EbtSampler;
11074|      4|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, false, false, true);
11075|      4|    }
11076|      4|#line 11077 "MachineIndependent/glslang_tab.cpp"
11077|      4|    break;
11078|       |
11079|      6|  case 490: /* type_specifier_nonarray: F16TEXTURE2DMS  */
  ------------------
  |  Branch (11079:3): [True: 6, False: 779k]
  ------------------
11080|      6|#line 3302 "MachineIndependent/glslang.y"
11081|      6|                     {
11082|      6|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
11083|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
11084|      6|        (yyval.interm.type).basicType = EbtSampler;
11085|      6|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, false, false, true);
11086|      6|    }
11087|      6|#line 11088 "MachineIndependent/glslang_tab.cpp"
11088|      6|    break;
11089|       |
11090|      4|  case 491: /* type_specifier_nonarray: ITEXTURE2DMS  */
  ------------------
  |  Branch (11090:3): [True: 4, False: 779k]
  ------------------
11091|      4|#line 3308 "MachineIndependent/glslang.y"
11092|      4|                   {
11093|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
11094|      4|        (yyval.interm.type).basicType = EbtSampler;
11095|      4|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, false, false, true);
11096|      4|    }
11097|      4|#line 11098 "MachineIndependent/glslang_tab.cpp"
11098|      4|    break;
11099|       |
11100|      4|  case 492: /* type_specifier_nonarray: UTEXTURE2DMS  */
  ------------------
  |  Branch (11100:3): [True: 4, False: 779k]
  ------------------
11101|      4|#line 3313 "MachineIndependent/glslang.y"
11102|      4|                   {
11103|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
11104|      4|        (yyval.interm.type).basicType = EbtSampler;
11105|      4|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, false, false, true);
11106|      4|    }
11107|      4|#line 11108 "MachineIndependent/glslang_tab.cpp"
11108|      4|    break;
11109|       |
11110|      4|  case 493: /* type_specifier_nonarray: TEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11110:3): [True: 4, False: 779k]
  ------------------
11111|      4|#line 3318 "MachineIndependent/glslang.y"
11112|      4|                       {
11113|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
11114|      4|        (yyval.interm.type).basicType = EbtSampler;
11115|      4|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, true, false, true);
11116|      4|    }
11117|      4|#line 11118 "MachineIndependent/glslang_tab.cpp"
11118|      4|    break;
11119|       |
11120|      6|  case 494: /* type_specifier_nonarray: F16TEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11120:3): [True: 6, False: 779k]
  ------------------
11121|      6|#line 3323 "MachineIndependent/glslang.y"
11122|      6|                          {
11123|      6|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
11124|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
11125|      6|        (yyval.interm.type).basicType = EbtSampler;
11126|      6|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, true, false, true);
11127|      6|    }
11128|      6|#line 11129 "MachineIndependent/glslang_tab.cpp"
11129|      6|    break;
11130|       |
11131|      4|  case 495: /* type_specifier_nonarray: ITEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11131:3): [True: 4, False: 779k]
  ------------------
11132|      4|#line 3329 "MachineIndependent/glslang.y"
11133|      4|                        {
11134|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
11135|      4|        (yyval.interm.type).basicType = EbtSampler;
11136|      4|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, true, false, true);
11137|      4|    }
11138|      4|#line 11139 "MachineIndependent/glslang_tab.cpp"
11139|      4|    break;
11140|       |
11141|      4|  case 496: /* type_specifier_nonarray: UTEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11141:3): [True: 4, False: 779k]
  ------------------
11142|      4|#line 3334 "MachineIndependent/glslang.y"
11143|      4|                        {
11144|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
11145|      4|        (yyval.interm.type).basicType = EbtSampler;
11146|      4|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, true, false, true);
11147|      4|    }
11148|      4|#line 11149 "MachineIndependent/glslang_tab.cpp"
11149|      4|    break;
11150|       |
11151|     23|  case 497: /* type_specifier_nonarray: IMAGE1D  */
  ------------------
  |  Branch (11151:3): [True: 23, False: 779k]
  ------------------
11152|     23|#line 3339 "MachineIndependent/glslang.y"
11153|     23|              {
11154|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11155|     23|        (yyval.interm.type).basicType = EbtSampler;
11156|     23|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd1D);
11157|     23|    }
11158|     23|#line 11159 "MachineIndependent/glslang_tab.cpp"
11159|     23|    break;
11160|       |
11161|     23|  case 498: /* type_specifier_nonarray: F16IMAGE1D  */
  ------------------
  |  Branch (11161:3): [True: 23, False: 779k]
  ------------------
11162|     23|#line 3344 "MachineIndependent/glslang.y"
11163|     23|                 {
11164|     23|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11165|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11166|     23|        (yyval.interm.type).basicType = EbtSampler;
11167|     23|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd1D);
11168|     23|    }
11169|     23|#line 11170 "MachineIndependent/glslang_tab.cpp"
11170|     23|    break;
11171|       |
11172|     23|  case 499: /* type_specifier_nonarray: IIMAGE1D  */
  ------------------
  |  Branch (11172:3): [True: 23, False: 779k]
  ------------------
11173|     23|#line 3350 "MachineIndependent/glslang.y"
11174|     23|               {
11175|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11176|     23|        (yyval.interm.type).basicType = EbtSampler;
11177|     23|        (yyval.interm.type).sampler.setImage(EbtInt, Esd1D);
11178|     23|    }
11179|     23|#line 11180 "MachineIndependent/glslang_tab.cpp"
11180|     23|    break;
11181|       |
11182|     23|  case 500: /* type_specifier_nonarray: UIMAGE1D  */
  ------------------
  |  Branch (11182:3): [True: 23, False: 779k]
  ------------------
11183|     23|#line 3355 "MachineIndependent/glslang.y"
11184|     23|               {
11185|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11186|     23|        (yyval.interm.type).basicType = EbtSampler;
11187|     23|        (yyval.interm.type).sampler.setImage(EbtUint, Esd1D);
11188|     23|    }
11189|     23|#line 11190 "MachineIndependent/glslang_tab.cpp"
11190|     23|    break;
11191|       |
11192|     25|  case 501: /* type_specifier_nonarray: IMAGE2D  */
  ------------------
  |  Branch (11192:3): [True: 25, False: 779k]
  ------------------
11193|     25|#line 3360 "MachineIndependent/glslang.y"
11194|     25|              {
11195|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11196|     25|        (yyval.interm.type).basicType = EbtSampler;
11197|     25|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D);
11198|     25|    }
11199|     25|#line 11200 "MachineIndependent/glslang_tab.cpp"
11200|     25|    break;
11201|       |
11202|     25|  case 502: /* type_specifier_nonarray: F16IMAGE2D  */
  ------------------
  |  Branch (11202:3): [True: 25, False: 779k]
  ------------------
11203|     25|#line 3365 "MachineIndependent/glslang.y"
11204|     25|                 {
11205|     25|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11206|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11207|     25|        (yyval.interm.type).basicType = EbtSampler;
11208|     25|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D);
11209|     25|    }
11210|     25|#line 11211 "MachineIndependent/glslang_tab.cpp"
11211|     25|    break;
11212|       |
11213|     25|  case 503: /* type_specifier_nonarray: IIMAGE2D  */
  ------------------
  |  Branch (11213:3): [True: 25, False: 779k]
  ------------------
11214|     25|#line 3371 "MachineIndependent/glslang.y"
11215|     25|               {
11216|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11217|     25|        (yyval.interm.type).basicType = EbtSampler;
11218|     25|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D);
11219|     25|    }
11220|     25|#line 11221 "MachineIndependent/glslang_tab.cpp"
11221|     25|    break;
11222|       |
11223|     25|  case 504: /* type_specifier_nonarray: UIMAGE2D  */
  ------------------
  |  Branch (11223:3): [True: 25, False: 779k]
  ------------------
11224|     25|#line 3376 "MachineIndependent/glslang.y"
11225|     25|               {
11226|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11227|     25|        (yyval.interm.type).basicType = EbtSampler;
11228|     25|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D);
11229|     25|    }
11230|     25|#line 11231 "MachineIndependent/glslang_tab.cpp"
11231|     25|    break;
11232|       |
11233|     25|  case 505: /* type_specifier_nonarray: IMAGE3D  */
  ------------------
  |  Branch (11233:3): [True: 25, False: 779k]
  ------------------
11234|     25|#line 3381 "MachineIndependent/glslang.y"
11235|     25|              {
11236|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11237|     25|        (yyval.interm.type).basicType = EbtSampler;
11238|     25|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd3D);
11239|     25|    }
11240|     25|#line 11241 "MachineIndependent/glslang_tab.cpp"
11241|     25|    break;
11242|       |
11243|     25|  case 506: /* type_specifier_nonarray: F16IMAGE3D  */
  ------------------
  |  Branch (11243:3): [True: 25, False: 779k]
  ------------------
11244|     25|#line 3386 "MachineIndependent/glslang.y"
11245|     25|                 {
11246|     25|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11247|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11248|     25|        (yyval.interm.type).basicType = EbtSampler;
11249|     25|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd3D);
11250|     25|    }
11251|     25|#line 11252 "MachineIndependent/glslang_tab.cpp"
11252|     25|    break;
11253|       |
11254|     25|  case 507: /* type_specifier_nonarray: IIMAGE3D  */
  ------------------
  |  Branch (11254:3): [True: 25, False: 779k]
  ------------------
11255|     25|#line 3392 "MachineIndependent/glslang.y"
11256|     25|               {
11257|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11258|     25|        (yyval.interm.type).basicType = EbtSampler;
11259|     25|        (yyval.interm.type).sampler.setImage(EbtInt, Esd3D);
11260|     25|    }
11261|     25|#line 11262 "MachineIndependent/glslang_tab.cpp"
11262|     25|    break;
11263|       |
11264|     25|  case 508: /* type_specifier_nonarray: UIMAGE3D  */
  ------------------
  |  Branch (11264:3): [True: 25, False: 779k]
  ------------------
11265|     25|#line 3397 "MachineIndependent/glslang.y"
11266|     25|               {
11267|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11268|     25|        (yyval.interm.type).basicType = EbtSampler;
11269|     25|        (yyval.interm.type).sampler.setImage(EbtUint, Esd3D);
11270|     25|    }
11271|     25|#line 11272 "MachineIndependent/glslang_tab.cpp"
11272|     25|    break;
11273|       |
11274|     22|  case 509: /* type_specifier_nonarray: IMAGE2DRECT  */
  ------------------
  |  Branch (11274:3): [True: 22, False: 779k]
  ------------------
11275|     22|#line 3402 "MachineIndependent/glslang.y"
11276|     22|                  {
11277|     22|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     22|#define parseContext (*pParseContext)
  ------------------
11278|     22|        (yyval.interm.type).basicType = EbtSampler;
11279|     22|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdRect);
11280|     22|    }
11281|     22|#line 11282 "MachineIndependent/glslang_tab.cpp"
11282|     22|    break;
11283|       |
11284|     22|  case 510: /* type_specifier_nonarray: F16IMAGE2DRECT  */
  ------------------
  |  Branch (11284:3): [True: 22, False: 779k]
  ------------------
11285|     22|#line 3407 "MachineIndependent/glslang.y"
11286|     22|                     {
11287|     22|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     22|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     22|#define parseContext (*pParseContext)
  ------------------
11288|     22|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     22|#define parseContext (*pParseContext)
  ------------------
11289|     22|        (yyval.interm.type).basicType = EbtSampler;
11290|     22|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdRect);
11291|     22|    }
11292|     22|#line 11293 "MachineIndependent/glslang_tab.cpp"
11293|     22|    break;
11294|       |
11295|     22|  case 511: /* type_specifier_nonarray: IIMAGE2DRECT  */
  ------------------
  |  Branch (11295:3): [True: 22, False: 779k]
  ------------------
11296|     22|#line 3413 "MachineIndependent/glslang.y"
11297|     22|                   {
11298|     22|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     22|#define parseContext (*pParseContext)
  ------------------
11299|     22|        (yyval.interm.type).basicType = EbtSampler;
11300|     22|        (yyval.interm.type).sampler.setImage(EbtInt, EsdRect);
11301|     22|    }
11302|     22|#line 11303 "MachineIndependent/glslang_tab.cpp"
11303|     22|    break;
11304|       |
11305|     22|  case 512: /* type_specifier_nonarray: UIMAGE2DRECT  */
  ------------------
  |  Branch (11305:3): [True: 22, False: 779k]
  ------------------
11306|     22|#line 3418 "MachineIndependent/glslang.y"
11307|     22|                   {
11308|     22|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     22|#define parseContext (*pParseContext)
  ------------------
11309|     22|        (yyval.interm.type).basicType = EbtSampler;
11310|     22|        (yyval.interm.type).sampler.setImage(EbtUint, EsdRect);
11311|     22|    }
11312|     22|#line 11313 "MachineIndependent/glslang_tab.cpp"
11313|     22|    break;
11314|       |
11315|     25|  case 513: /* type_specifier_nonarray: IMAGECUBE  */
  ------------------
  |  Branch (11315:3): [True: 25, False: 779k]
  ------------------
11316|     25|#line 3423 "MachineIndependent/glslang.y"
11317|     25|                {
11318|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11319|     25|        (yyval.interm.type).basicType = EbtSampler;
11320|     25|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdCube);
11321|     25|    }
11322|     25|#line 11323 "MachineIndependent/glslang_tab.cpp"
11323|     25|    break;
11324|       |
11325|     25|  case 514: /* type_specifier_nonarray: F16IMAGECUBE  */
  ------------------
  |  Branch (11325:3): [True: 25, False: 779k]
  ------------------
11326|     25|#line 3428 "MachineIndependent/glslang.y"
11327|     25|                   {
11328|     25|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11329|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11330|     25|        (yyval.interm.type).basicType = EbtSampler;
11331|     25|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdCube);
11332|     25|    }
11333|     25|#line 11334 "MachineIndependent/glslang_tab.cpp"
11334|     25|    break;
11335|       |
11336|     25|  case 515: /* type_specifier_nonarray: IIMAGECUBE  */
  ------------------
  |  Branch (11336:3): [True: 25, False: 779k]
  ------------------
11337|     25|#line 3434 "MachineIndependent/glslang.y"
11338|     25|                 {
11339|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11340|     25|        (yyval.interm.type).basicType = EbtSampler;
11341|     25|        (yyval.interm.type).sampler.setImage(EbtInt, EsdCube);
11342|     25|    }
11343|     25|#line 11344 "MachineIndependent/glslang_tab.cpp"
11344|     25|    break;
11345|       |
11346|     25|  case 516: /* type_specifier_nonarray: UIMAGECUBE  */
  ------------------
  |  Branch (11346:3): [True: 25, False: 779k]
  ------------------
11347|     25|#line 3439 "MachineIndependent/glslang.y"
11348|     25|                 {
11349|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11350|     25|        (yyval.interm.type).basicType = EbtSampler;
11351|     25|        (yyval.interm.type).sampler.setImage(EbtUint, EsdCube);
11352|     25|    }
11353|     25|#line 11354 "MachineIndependent/glslang_tab.cpp"
11354|     25|    break;
11355|       |
11356|     21|  case 517: /* type_specifier_nonarray: IMAGEBUFFER  */
  ------------------
  |  Branch (11356:3): [True: 21, False: 779k]
  ------------------
11357|     21|#line 3444 "MachineIndependent/glslang.y"
11358|     21|                  {
11359|     21|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
11360|     21|        (yyval.interm.type).basicType = EbtSampler;
11361|     21|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdBuffer);
11362|     21|    }
11363|     21|#line 11364 "MachineIndependent/glslang_tab.cpp"
11364|     21|    break;
11365|       |
11366|     21|  case 518: /* type_specifier_nonarray: F16IMAGEBUFFER  */
  ------------------
  |  Branch (11366:3): [True: 21, False: 779k]
  ------------------
11367|     21|#line 3449 "MachineIndependent/glslang.y"
11368|     21|                     {
11369|     21|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
11370|     21|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
11371|     21|        (yyval.interm.type).basicType = EbtSampler;
11372|     21|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdBuffer);
11373|     21|    }
11374|     21|#line 11375 "MachineIndependent/glslang_tab.cpp"
11375|     21|    break;
11376|       |
11377|     21|  case 519: /* type_specifier_nonarray: IIMAGEBUFFER  */
  ------------------
  |  Branch (11377:3): [True: 21, False: 779k]
  ------------------
11378|     21|#line 3455 "MachineIndependent/glslang.y"
11379|     21|                   {
11380|     21|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
11381|     21|        (yyval.interm.type).basicType = EbtSampler;
11382|     21|        (yyval.interm.type).sampler.setImage(EbtInt, EsdBuffer);
11383|     21|    }
11384|     21|#line 11385 "MachineIndependent/glslang_tab.cpp"
11385|     21|    break;
11386|       |
11387|     21|  case 520: /* type_specifier_nonarray: UIMAGEBUFFER  */
  ------------------
  |  Branch (11387:3): [True: 21, False: 779k]
  ------------------
11388|     21|#line 3460 "MachineIndependent/glslang.y"
11389|     21|                   {
11390|     21|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
11391|     21|        (yyval.interm.type).basicType = EbtSampler;
11392|     21|        (yyval.interm.type).sampler.setImage(EbtUint, EsdBuffer);
11393|     21|    }
11394|     21|#line 11395 "MachineIndependent/glslang_tab.cpp"
11395|     21|    break;
11396|       |
11397|     23|  case 521: /* type_specifier_nonarray: IMAGE1DARRAY  */
  ------------------
  |  Branch (11397:3): [True: 23, False: 779k]
  ------------------
11398|     23|#line 3465 "MachineIndependent/glslang.y"
11399|     23|                   {
11400|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11401|     23|        (yyval.interm.type).basicType = EbtSampler;
11402|     23|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd1D, true);
11403|     23|    }
11404|     23|#line 11405 "MachineIndependent/glslang_tab.cpp"
11405|     23|    break;
11406|       |
11407|     23|  case 522: /* type_specifier_nonarray: F16IMAGE1DARRAY  */
  ------------------
  |  Branch (11407:3): [True: 23, False: 779k]
  ------------------
11408|     23|#line 3470 "MachineIndependent/glslang.y"
11409|     23|                      {
11410|     23|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11411|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11412|     23|        (yyval.interm.type).basicType = EbtSampler;
11413|     23|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd1D, true);
11414|     23|    }
11415|     23|#line 11416 "MachineIndependent/glslang_tab.cpp"
11416|     23|    break;
11417|       |
11418|     23|  case 523: /* type_specifier_nonarray: IIMAGE1DARRAY  */
  ------------------
  |  Branch (11418:3): [True: 23, False: 779k]
  ------------------
11419|     23|#line 3476 "MachineIndependent/glslang.y"
11420|     23|                    {
11421|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11422|     23|        (yyval.interm.type).basicType = EbtSampler;
11423|     23|        (yyval.interm.type).sampler.setImage(EbtInt, Esd1D, true);
11424|     23|    }
11425|     23|#line 11426 "MachineIndependent/glslang_tab.cpp"
11426|     23|    break;
11427|       |
11428|     23|  case 524: /* type_specifier_nonarray: UIMAGE1DARRAY  */
  ------------------
  |  Branch (11428:3): [True: 23, False: 779k]
  ------------------
11429|     23|#line 3481 "MachineIndependent/glslang.y"
11430|     23|                    {
11431|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11432|     23|        (yyval.interm.type).basicType = EbtSampler;
11433|     23|        (yyval.interm.type).sampler.setImage(EbtUint, Esd1D, true);
11434|     23|    }
11435|     23|#line 11436 "MachineIndependent/glslang_tab.cpp"
11436|     23|    break;
11437|       |
11438|     25|  case 525: /* type_specifier_nonarray: IMAGE2DARRAY  */
  ------------------
  |  Branch (11438:3): [True: 25, False: 779k]
  ------------------
11439|     25|#line 3486 "MachineIndependent/glslang.y"
11440|     25|                   {
11441|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11442|     25|        (yyval.interm.type).basicType = EbtSampler;
11443|     25|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, true);
11444|     25|    }
11445|     25|#line 11446 "MachineIndependent/glslang_tab.cpp"
11446|     25|    break;
11447|       |
11448|     25|  case 526: /* type_specifier_nonarray: F16IMAGE2DARRAY  */
  ------------------
  |  Branch (11448:3): [True: 25, False: 779k]
  ------------------
11449|     25|#line 3491 "MachineIndependent/glslang.y"
11450|     25|                      {
11451|     25|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11452|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11453|     25|        (yyval.interm.type).basicType = EbtSampler;
11454|     25|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, true);
11455|     25|    }
11456|     25|#line 11457 "MachineIndependent/glslang_tab.cpp"
11457|     25|    break;
11458|       |
11459|     25|  case 527: /* type_specifier_nonarray: IIMAGE2DARRAY  */
  ------------------
  |  Branch (11459:3): [True: 25, False: 779k]
  ------------------
11460|     25|#line 3497 "MachineIndependent/glslang.y"
11461|     25|                    {
11462|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11463|     25|        (yyval.interm.type).basicType = EbtSampler;
11464|     25|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, true);
11465|     25|    }
11466|     25|#line 11467 "MachineIndependent/glslang_tab.cpp"
11467|     25|    break;
11468|       |
11469|     25|  case 528: /* type_specifier_nonarray: UIMAGE2DARRAY  */
  ------------------
  |  Branch (11469:3): [True: 25, False: 779k]
  ------------------
11470|     25|#line 3502 "MachineIndependent/glslang.y"
11471|     25|                    {
11472|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11473|     25|        (yyval.interm.type).basicType = EbtSampler;
11474|     25|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, true);
11475|     25|    }
11476|     25|#line 11477 "MachineIndependent/glslang_tab.cpp"
11477|     25|    break;
11478|       |
11479|     25|  case 529: /* type_specifier_nonarray: IMAGECUBEARRAY  */
  ------------------
  |  Branch (11479:3): [True: 25, False: 779k]
  ------------------
11480|     25|#line 3507 "MachineIndependent/glslang.y"
11481|     25|                     {
11482|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11483|     25|        (yyval.interm.type).basicType = EbtSampler;
11484|     25|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdCube, true);
11485|     25|    }
11486|     25|#line 11487 "MachineIndependent/glslang_tab.cpp"
11487|     25|    break;
11488|       |
11489|     25|  case 530: /* type_specifier_nonarray: F16IMAGECUBEARRAY  */
  ------------------
  |  Branch (11489:3): [True: 25, False: 779k]
  ------------------
11490|     25|#line 3512 "MachineIndependent/glslang.y"
11491|     25|                        {
11492|     25|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11493|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11494|     25|        (yyval.interm.type).basicType = EbtSampler;
11495|     25|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdCube, true);
11496|     25|    }
11497|     25|#line 11498 "MachineIndependent/glslang_tab.cpp"
11498|     25|    break;
11499|       |
11500|     25|  case 531: /* type_specifier_nonarray: IIMAGECUBEARRAY  */
  ------------------
  |  Branch (11500:3): [True: 25, False: 779k]
  ------------------
11501|     25|#line 3518 "MachineIndependent/glslang.y"
11502|     25|                      {
11503|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11504|     25|        (yyval.interm.type).basicType = EbtSampler;
11505|     25|        (yyval.interm.type).sampler.setImage(EbtInt, EsdCube, true);
11506|     25|    }
11507|     25|#line 11508 "MachineIndependent/glslang_tab.cpp"
11508|     25|    break;
11509|       |
11510|     25|  case 532: /* type_specifier_nonarray: UIMAGECUBEARRAY  */
  ------------------
  |  Branch (11510:3): [True: 25, False: 779k]
  ------------------
11511|     25|#line 3523 "MachineIndependent/glslang.y"
11512|     25|                      {
11513|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11514|     25|        (yyval.interm.type).basicType = EbtSampler;
11515|     25|        (yyval.interm.type).sampler.setImage(EbtUint, EsdCube, true);
11516|     25|    }
11517|     25|#line 11518 "MachineIndependent/glslang_tab.cpp"
11518|     25|    break;
11519|       |
11520|     23|  case 533: /* type_specifier_nonarray: IMAGE2DMS  */
  ------------------
  |  Branch (11520:3): [True: 23, False: 779k]
  ------------------
11521|     23|#line 3528 "MachineIndependent/glslang.y"
11522|     23|                {
11523|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11524|     23|        (yyval.interm.type).basicType = EbtSampler;
11525|     23|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, false, false, true);
11526|     23|    }
11527|     23|#line 11528 "MachineIndependent/glslang_tab.cpp"
11528|     23|    break;
11529|       |
11530|     23|  case 534: /* type_specifier_nonarray: F16IMAGE2DMS  */
  ------------------
  |  Branch (11530:3): [True: 23, False: 779k]
  ------------------
11531|     23|#line 3533 "MachineIndependent/glslang.y"
11532|     23|                   {
11533|     23|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11534|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11535|     23|        (yyval.interm.type).basicType = EbtSampler;
11536|     23|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, false, false, true);
11537|     23|    }
11538|     23|#line 11539 "MachineIndependent/glslang_tab.cpp"
11539|     23|    break;
11540|       |
11541|     23|  case 535: /* type_specifier_nonarray: IIMAGE2DMS  */
  ------------------
  |  Branch (11541:3): [True: 23, False: 779k]
  ------------------
11542|     23|#line 3539 "MachineIndependent/glslang.y"
11543|     23|                 {
11544|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11545|     23|        (yyval.interm.type).basicType = EbtSampler;
11546|     23|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, false, false, true);
11547|     23|    }
11548|     23|#line 11549 "MachineIndependent/glslang_tab.cpp"
11549|     23|    break;
11550|       |
11551|     23|  case 536: /* type_specifier_nonarray: UIMAGE2DMS  */
  ------------------
  |  Branch (11551:3): [True: 23, False: 779k]
  ------------------
11552|     23|#line 3544 "MachineIndependent/glslang.y"
11553|     23|                 {
11554|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11555|     23|        (yyval.interm.type).basicType = EbtSampler;
11556|     23|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, false, false, true);
11557|     23|    }
11558|     23|#line 11559 "MachineIndependent/glslang_tab.cpp"
11559|     23|    break;
11560|       |
11561|     23|  case 537: /* type_specifier_nonarray: IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11561:3): [True: 23, False: 779k]
  ------------------
11562|     23|#line 3549 "MachineIndependent/glslang.y"
11563|     23|                     {
11564|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11565|     23|        (yyval.interm.type).basicType = EbtSampler;
11566|     23|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, true, false, true);
11567|     23|    }
11568|     23|#line 11569 "MachineIndependent/glslang_tab.cpp"
11569|     23|    break;
11570|       |
11571|     23|  case 538: /* type_specifier_nonarray: F16IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11571:3): [True: 23, False: 779k]
  ------------------
11572|     23|#line 3554 "MachineIndependent/glslang.y"
11573|     23|                        {
11574|     23|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11575|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11576|     23|        (yyval.interm.type).basicType = EbtSampler;
11577|     23|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, true, false, true);
11578|     23|    }
11579|     23|#line 11580 "MachineIndependent/glslang_tab.cpp"
11580|     23|    break;
11581|       |
11582|     23|  case 539: /* type_specifier_nonarray: IIMAGE2DMSARRAY  */
  ------------------
  |  Branch (11582:3): [True: 23, False: 779k]
  ------------------
11583|     23|#line 3560 "MachineIndependent/glslang.y"
11584|     23|                      {
11585|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11586|     23|        (yyval.interm.type).basicType = EbtSampler;
11587|     23|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, true, false, true);
11588|     23|    }
11589|     23|#line 11590 "MachineIndependent/glslang_tab.cpp"
11590|     23|    break;
11591|       |
11592|     23|  case 540: /* type_specifier_nonarray: UIMAGE2DMSARRAY  */
  ------------------
  |  Branch (11592:3): [True: 23, False: 779k]
  ------------------
11593|     23|#line 3565 "MachineIndependent/glslang.y"
11594|     23|                      {
11595|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11596|     23|        (yyval.interm.type).basicType = EbtSampler;
11597|     23|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, true, false, true);
11598|     23|    }
11599|     23|#line 11600 "MachineIndependent/glslang_tab.cpp"
11600|     23|    break;
11601|       |
11602|     23|  case 541: /* type_specifier_nonarray: I64IMAGE1D  */
  ------------------
  |  Branch (11602:3): [True: 23, False: 779k]
  ------------------
11603|     23|#line 3570 "MachineIndependent/glslang.y"
11604|     23|                 {
11605|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11606|     23|        (yyval.interm.type).basicType = EbtSampler;
11607|     23|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd1D);
11608|     23|    }
11609|     23|#line 11610 "MachineIndependent/glslang_tab.cpp"
11610|     23|    break;
11611|       |
11612|     23|  case 542: /* type_specifier_nonarray: U64IMAGE1D  */
  ------------------
  |  Branch (11612:3): [True: 23, False: 779k]
  ------------------
11613|     23|#line 3575 "MachineIndependent/glslang.y"
11614|     23|                 {
11615|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11616|     23|        (yyval.interm.type).basicType = EbtSampler;
11617|     23|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd1D);
11618|     23|    }
11619|     23|#line 11620 "MachineIndependent/glslang_tab.cpp"
11620|     23|    break;
11621|       |
11622|     25|  case 543: /* type_specifier_nonarray: I64IMAGE2D  */
  ------------------
  |  Branch (11622:3): [True: 25, False: 779k]
  ------------------
11623|     25|#line 3580 "MachineIndependent/glslang.y"
11624|     25|                 {
11625|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11626|     25|        (yyval.interm.type).basicType = EbtSampler;
11627|     25|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D);
11628|     25|    }
11629|     25|#line 11630 "MachineIndependent/glslang_tab.cpp"
11630|     25|    break;
11631|       |
11632|     25|  case 544: /* type_specifier_nonarray: U64IMAGE2D  */
  ------------------
  |  Branch (11632:3): [True: 25, False: 779k]
  ------------------
11633|     25|#line 3585 "MachineIndependent/glslang.y"
11634|     25|                 {
11635|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11636|     25|        (yyval.interm.type).basicType = EbtSampler;
11637|     25|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D);
11638|     25|    }
11639|     25|#line 11640 "MachineIndependent/glslang_tab.cpp"
11640|     25|    break;
11641|       |
11642|     25|  case 545: /* type_specifier_nonarray: I64IMAGE3D  */
  ------------------
  |  Branch (11642:3): [True: 25, False: 779k]
  ------------------
11643|     25|#line 3590 "MachineIndependent/glslang.y"
11644|     25|                 {
11645|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11646|     25|        (yyval.interm.type).basicType = EbtSampler;
11647|     25|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd3D);
11648|     25|    }
11649|     25|#line 11650 "MachineIndependent/glslang_tab.cpp"
11650|     25|    break;
11651|       |
11652|     25|  case 546: /* type_specifier_nonarray: U64IMAGE3D  */
  ------------------
  |  Branch (11652:3): [True: 25, False: 779k]
  ------------------
11653|     25|#line 3595 "MachineIndependent/glslang.y"
11654|     25|                 {
11655|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11656|     25|        (yyval.interm.type).basicType = EbtSampler;
11657|     25|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd3D);
11658|     25|    }
11659|     25|#line 11660 "MachineIndependent/glslang_tab.cpp"
11660|     25|    break;
11661|       |
11662|     22|  case 547: /* type_specifier_nonarray: I64IMAGE2DRECT  */
  ------------------
  |  Branch (11662:3): [True: 22, False: 779k]
  ------------------
11663|     22|#line 3600 "MachineIndependent/glslang.y"
11664|     22|                     {
11665|     22|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     22|#define parseContext (*pParseContext)
  ------------------
11666|     22|        (yyval.interm.type).basicType = EbtSampler;
11667|     22|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdRect);
11668|     22|    }
11669|     22|#line 11670 "MachineIndependent/glslang_tab.cpp"
11670|     22|    break;
11671|       |
11672|     22|  case 548: /* type_specifier_nonarray: U64IMAGE2DRECT  */
  ------------------
  |  Branch (11672:3): [True: 22, False: 779k]
  ------------------
11673|     22|#line 3605 "MachineIndependent/glslang.y"
11674|     22|                     {
11675|     22|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     22|#define parseContext (*pParseContext)
  ------------------
11676|     22|        (yyval.interm.type).basicType = EbtSampler;
11677|     22|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdRect);
11678|     22|    }
11679|     22|#line 11680 "MachineIndependent/glslang_tab.cpp"
11680|     22|    break;
11681|       |
11682|     25|  case 549: /* type_specifier_nonarray: I64IMAGECUBE  */
  ------------------
  |  Branch (11682:3): [True: 25, False: 779k]
  ------------------
11683|     25|#line 3610 "MachineIndependent/glslang.y"
11684|     25|                   {
11685|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11686|     25|        (yyval.interm.type).basicType = EbtSampler;
11687|     25|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdCube);
11688|     25|    }
11689|     25|#line 11690 "MachineIndependent/glslang_tab.cpp"
11690|     25|    break;
11691|       |
11692|     25|  case 550: /* type_specifier_nonarray: U64IMAGECUBE  */
  ------------------
  |  Branch (11692:3): [True: 25, False: 779k]
  ------------------
11693|     25|#line 3615 "MachineIndependent/glslang.y"
11694|     25|                   {
11695|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11696|     25|        (yyval.interm.type).basicType = EbtSampler;
11697|     25|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdCube);
11698|     25|    }
11699|     25|#line 11700 "MachineIndependent/glslang_tab.cpp"
11700|     25|    break;
11701|       |
11702|     21|  case 551: /* type_specifier_nonarray: I64IMAGEBUFFER  */
  ------------------
  |  Branch (11702:3): [True: 21, False: 779k]
  ------------------
11703|     21|#line 3620 "MachineIndependent/glslang.y"
11704|     21|                     {
11705|     21|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
11706|     21|        (yyval.interm.type).basicType = EbtSampler;
11707|     21|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdBuffer);
11708|     21|    }
11709|     21|#line 11710 "MachineIndependent/glslang_tab.cpp"
11710|     21|    break;
11711|       |
11712|     21|  case 552: /* type_specifier_nonarray: U64IMAGEBUFFER  */
  ------------------
  |  Branch (11712:3): [True: 21, False: 779k]
  ------------------
11713|     21|#line 3625 "MachineIndependent/glslang.y"
11714|     21|                     {
11715|     21|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
11716|     21|        (yyval.interm.type).basicType = EbtSampler;
11717|     21|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdBuffer);
11718|     21|    }
11719|     21|#line 11720 "MachineIndependent/glslang_tab.cpp"
11720|     21|    break;
11721|       |
11722|     23|  case 553: /* type_specifier_nonarray: I64IMAGE1DARRAY  */
  ------------------
  |  Branch (11722:3): [True: 23, False: 779k]
  ------------------
11723|     23|#line 3630 "MachineIndependent/glslang.y"
11724|     23|                      {
11725|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11726|     23|        (yyval.interm.type).basicType = EbtSampler;
11727|     23|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd1D, true);
11728|     23|    }
11729|     23|#line 11730 "MachineIndependent/glslang_tab.cpp"
11730|     23|    break;
11731|       |
11732|     23|  case 554: /* type_specifier_nonarray: U64IMAGE1DARRAY  */
  ------------------
  |  Branch (11732:3): [True: 23, False: 779k]
  ------------------
11733|     23|#line 3635 "MachineIndependent/glslang.y"
11734|     23|                      {
11735|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11736|     23|        (yyval.interm.type).basicType = EbtSampler;
11737|     23|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd1D, true);
11738|     23|    }
11739|     23|#line 11740 "MachineIndependent/glslang_tab.cpp"
11740|     23|    break;
11741|       |
11742|     25|  case 555: /* type_specifier_nonarray: I64IMAGE2DARRAY  */
  ------------------
  |  Branch (11742:3): [True: 25, False: 779k]
  ------------------
11743|     25|#line 3640 "MachineIndependent/glslang.y"
11744|     25|                      {
11745|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11746|     25|        (yyval.interm.type).basicType = EbtSampler;
11747|     25|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, true);
11748|     25|    }
11749|     25|#line 11750 "MachineIndependent/glslang_tab.cpp"
11750|     25|    break;
11751|       |
11752|     25|  case 556: /* type_specifier_nonarray: U64IMAGE2DARRAY  */
  ------------------
  |  Branch (11752:3): [True: 25, False: 779k]
  ------------------
11753|     25|#line 3645 "MachineIndependent/glslang.y"
11754|     25|                      {
11755|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11756|     25|        (yyval.interm.type).basicType = EbtSampler;
11757|     25|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, true);
11758|     25|    }
11759|     25|#line 11760 "MachineIndependent/glslang_tab.cpp"
11760|     25|    break;
11761|       |
11762|     25|  case 557: /* type_specifier_nonarray: I64IMAGECUBEARRAY  */
  ------------------
  |  Branch (11762:3): [True: 25, False: 779k]
  ------------------
11763|     25|#line 3650 "MachineIndependent/glslang.y"
11764|     25|                        {
11765|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11766|     25|        (yyval.interm.type).basicType = EbtSampler;
11767|     25|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdCube, true);
11768|     25|    }
11769|     25|#line 11770 "MachineIndependent/glslang_tab.cpp"
11770|     25|    break;
11771|       |
11772|     25|  case 558: /* type_specifier_nonarray: U64IMAGECUBEARRAY  */
  ------------------
  |  Branch (11772:3): [True: 25, False: 779k]
  ------------------
11773|     25|#line 3655 "MachineIndependent/glslang.y"
11774|     25|                        {
11775|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
11776|     25|        (yyval.interm.type).basicType = EbtSampler;
11777|     25|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdCube, true);
11778|     25|    }
11779|     25|#line 11780 "MachineIndependent/glslang_tab.cpp"
11780|     25|    break;
11781|       |
11782|     23|  case 559: /* type_specifier_nonarray: I64IMAGE2DMS  */
  ------------------
  |  Branch (11782:3): [True: 23, False: 779k]
  ------------------
11783|     23|#line 3660 "MachineIndependent/glslang.y"
11784|     23|                   {
11785|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11786|     23|        (yyval.interm.type).basicType = EbtSampler;
11787|     23|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, false, false, true);
11788|     23|    }
11789|     23|#line 11790 "MachineIndependent/glslang_tab.cpp"
11790|     23|    break;
11791|       |
11792|     23|  case 560: /* type_specifier_nonarray: U64IMAGE2DMS  */
  ------------------
  |  Branch (11792:3): [True: 23, False: 779k]
  ------------------
11793|     23|#line 3665 "MachineIndependent/glslang.y"
11794|     23|                   {
11795|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11796|     23|        (yyval.interm.type).basicType = EbtSampler;
11797|     23|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, false, false, true);
11798|     23|    }
11799|     23|#line 11800 "MachineIndependent/glslang_tab.cpp"
11800|     23|    break;
11801|       |
11802|     23|  case 561: /* type_specifier_nonarray: I64IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11802:3): [True: 23, False: 779k]
  ------------------
11803|     23|#line 3670 "MachineIndependent/glslang.y"
11804|     23|                        {
11805|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11806|     23|        (yyval.interm.type).basicType = EbtSampler;
11807|     23|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, true, false, true);
11808|     23|    }
11809|     23|#line 11810 "MachineIndependent/glslang_tab.cpp"
11810|     23|    break;
11811|       |
11812|     23|  case 562: /* type_specifier_nonarray: U64IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11812:3): [True: 23, False: 779k]
  ------------------
11813|     23|#line 3675 "MachineIndependent/glslang.y"
11814|     23|                        {
11815|     23|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     23|#define parseContext (*pParseContext)
  ------------------
11816|     23|        (yyval.interm.type).basicType = EbtSampler;
11817|     23|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, true, false, true);
11818|     23|    }
11819|     23|#line 11820 "MachineIndependent/glslang_tab.cpp"
11820|     23|    break;
11821|       |
11822|    216|  case 563: /* type_specifier_nonarray: SAMPLEREXTERNALOES  */
  ------------------
  |  Branch (11822:3): [True: 216, False: 779k]
  ------------------
11823|    216|#line 3680 "MachineIndependent/glslang.y"
11824|    216|                         {  // GL_OES_EGL_image_external
11825|    216|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    216|#define parseContext (*pParseContext)
  ------------------
11826|    216|        (yyval.interm.type).basicType = EbtSampler;
11827|    216|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
11828|    216|        (yyval.interm.type).sampler.external = true;
11829|    216|    }
11830|    216|#line 11831 "MachineIndependent/glslang_tab.cpp"
11831|    216|    break;
11832|       |
11833|    576|  case 564: /* type_specifier_nonarray: SAMPLEREXTERNAL2DY2YEXT  */
  ------------------
  |  Branch (11833:3): [True: 576, False: 779k]
  ------------------
11834|    576|#line 3686 "MachineIndependent/glslang.y"
11835|    576|                              { // GL_EXT_YUV_target
11836|    576|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    576|#define parseContext (*pParseContext)
  ------------------
11837|    576|        (yyval.interm.type).basicType = EbtSampler;
11838|    576|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
11839|    576|        (yyval.interm.type).sampler.yuv = true;
11840|    576|    }
11841|    576|#line 11842 "MachineIndependent/glslang_tab.cpp"
11842|    576|    break;
11843|       |
11844|      0|  case 565: /* type_specifier_nonarray: ATTACHMENTEXT  */
  ------------------
  |  Branch (11844:3): [True: 0, False: 779k]
  ------------------
11845|      0|#line 3692 "MachineIndependent/glslang.y"
11846|      0|                    {
11847|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11848|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11849|      0|        (yyval.interm.type).basicType = EbtSampler;
11850|      0|        (yyval.interm.type).sampler.setAttachmentEXT(EbtFloat);
11851|      0|    }
11852|      0|#line 11853 "MachineIndependent/glslang_tab.cpp"
11853|      0|    break;
11854|       |
11855|      0|  case 566: /* type_specifier_nonarray: IATTACHMENTEXT  */
  ------------------
  |  Branch (11855:3): [True: 0, False: 779k]
  ------------------
11856|      0|#line 3698 "MachineIndependent/glslang.y"
11857|      0|                     {
11858|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11859|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11860|      0|        (yyval.interm.type).basicType = EbtSampler;
11861|      0|        (yyval.interm.type).sampler.setAttachmentEXT(EbtInt);
11862|      0|    }
11863|      0|#line 11864 "MachineIndependent/glslang_tab.cpp"
11864|      0|    break;
11865|       |
11866|      0|  case 567: /* type_specifier_nonarray: UATTACHMENTEXT  */
  ------------------
  |  Branch (11866:3): [True: 0, False: 779k]
  ------------------
11867|      0|#line 3704 "MachineIndependent/glslang.y"
11868|      0|                     {
11869|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11870|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11871|      0|        (yyval.interm.type).basicType = EbtSampler;
11872|      0|        (yyval.interm.type).sampler.setAttachmentEXT(EbtUint);
11873|      0|    }
11874|      0|#line 11875 "MachineIndependent/glslang_tab.cpp"
11875|      0|    break;
11876|       |
11877|      0|  case 568: /* type_specifier_nonarray: SUBPASSINPUT  */
  ------------------
  |  Branch (11877:3): [True: 0, False: 779k]
  ------------------
11878|      0|#line 3710 "MachineIndependent/glslang.y"
11879|      0|                   {
11880|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11881|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11882|      0|        (yyval.interm.type).basicType = EbtSampler;
11883|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat);
11884|      0|    }
11885|      0|#line 11886 "MachineIndependent/glslang_tab.cpp"
11886|      0|    break;
11887|       |
11888|      0|  case 569: /* type_specifier_nonarray: SUBPASSINPUTMS  */
  ------------------
  |  Branch (11888:3): [True: 0, False: 779k]
  ------------------
11889|      0|#line 3716 "MachineIndependent/glslang.y"
11890|      0|                     {
11891|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11892|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11893|      0|        (yyval.interm.type).basicType = EbtSampler;
11894|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat, true);
11895|      0|    }
11896|      0|#line 11897 "MachineIndependent/glslang_tab.cpp"
11897|      0|    break;
11898|       |
11899|      0|  case 570: /* type_specifier_nonarray: F16SUBPASSINPUT  */
  ------------------
  |  Branch (11899:3): [True: 0, False: 779k]
  ------------------
11900|      0|#line 3722 "MachineIndependent/glslang.y"
11901|      0|                      {
11902|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11903|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11904|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11905|      0|        (yyval.interm.type).basicType = EbtSampler;
11906|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat16);
11907|      0|    }
11908|      0|#line 11909 "MachineIndependent/glslang_tab.cpp"
11909|      0|    break;
11910|       |
11911|      0|  case 571: /* type_specifier_nonarray: F16SUBPASSINPUTMS  */
  ------------------
  |  Branch (11911:3): [True: 0, False: 779k]
  ------------------
11912|      0|#line 3729 "MachineIndependent/glslang.y"
11913|      0|                        {
11914|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11915|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11916|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11917|      0|        (yyval.interm.type).basicType = EbtSampler;
11918|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat16, true);
11919|      0|    }
11920|      0|#line 11921 "MachineIndependent/glslang_tab.cpp"
11921|      0|    break;
11922|       |
11923|      0|  case 572: /* type_specifier_nonarray: ISUBPASSINPUT  */
  ------------------
  |  Branch (11923:3): [True: 0, False: 779k]
  ------------------
11924|      0|#line 3736 "MachineIndependent/glslang.y"
11925|      0|                    {
11926|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11927|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11928|      0|        (yyval.interm.type).basicType = EbtSampler;
11929|      0|        (yyval.interm.type).sampler.setSubpass(EbtInt);
11930|      0|    }
11931|      0|#line 11932 "MachineIndependent/glslang_tab.cpp"
11932|      0|    break;
11933|       |
11934|      0|  case 573: /* type_specifier_nonarray: ISUBPASSINPUTMS  */
  ------------------
  |  Branch (11934:3): [True: 0, False: 779k]
  ------------------
11935|      0|#line 3742 "MachineIndependent/glslang.y"
11936|      0|                      {
11937|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11938|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11939|      0|        (yyval.interm.type).basicType = EbtSampler;
11940|      0|        (yyval.interm.type).sampler.setSubpass(EbtInt, true);
11941|      0|    }
11942|      0|#line 11943 "MachineIndependent/glslang_tab.cpp"
11943|      0|    break;
11944|       |
11945|      0|  case 574: /* type_specifier_nonarray: USUBPASSINPUT  */
  ------------------
  |  Branch (11945:3): [True: 0, False: 779k]
  ------------------
11946|      0|#line 3748 "MachineIndependent/glslang.y"
11947|      0|                    {
11948|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11949|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11950|      0|        (yyval.interm.type).basicType = EbtSampler;
11951|      0|        (yyval.interm.type).sampler.setSubpass(EbtUint);
11952|      0|    }
11953|      0|#line 11954 "MachineIndependent/glslang_tab.cpp"
11954|      0|    break;
11955|       |
11956|      0|  case 575: /* type_specifier_nonarray: USUBPASSINPUTMS  */
  ------------------
  |  Branch (11956:3): [True: 0, False: 779k]
  ------------------
11957|      0|#line 3754 "MachineIndependent/glslang.y"
11958|      0|                      {
11959|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11960|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11961|      0|        (yyval.interm.type).basicType = EbtSampler;
11962|      0|        (yyval.interm.type).sampler.setSubpass(EbtUint, true);
11963|      0|    }
11964|      0|#line 11965 "MachineIndependent/glslang_tab.cpp"
11965|      0|    break;
11966|       |
11967|     21|  case 576: /* type_specifier_nonarray: FCOOPMATNV  */
  ------------------
  |  Branch (11967:3): [True: 21, False: 779k]
  ------------------
11968|     21|#line 3760 "MachineIndependent/glslang.y"
11969|     21|                 {
11970|     21|        parseContext.fcoopmatCheckNV((yyvsp[0].lex).loc, "fcoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
                      parseContext.fcoopmatCheckNV((yyvsp[0].lex).loc, "fcoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
11971|     21|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
11972|     21|        (yyval.interm.type).basicType = EbtFloat;
11973|     21|        (yyval.interm.type).coopmatNV = true;
11974|     21|        (yyval.interm.type).coopmatKHR = false;
11975|     21|    }
11976|     21|#line 11977 "MachineIndependent/glslang_tab.cpp"
11977|     21|    break;
11978|       |
11979|     28|  case 577: /* type_specifier_nonarray: ICOOPMATNV  */
  ------------------
  |  Branch (11979:3): [True: 28, False: 779k]
  ------------------
11980|     28|#line 3767 "MachineIndependent/glslang.y"
11981|     28|                 {
11982|     28|        parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "icoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "icoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
11983|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
11984|     28|        (yyval.interm.type).basicType = EbtInt;
11985|     28|        (yyval.interm.type).coopmatNV = true;
11986|     28|        (yyval.interm.type).coopmatKHR = false;
11987|     28|    }
11988|     28|#line 11989 "MachineIndependent/glslang_tab.cpp"
11989|     28|    break;
11990|       |
11991|     28|  case 578: /* type_specifier_nonarray: UCOOPMATNV  */
  ------------------
  |  Branch (11991:3): [True: 28, False: 779k]
  ------------------
11992|     28|#line 3774 "MachineIndependent/glslang.y"
11993|     28|                 {
11994|     28|        parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "ucoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "ucoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
11995|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
11996|     28|        (yyval.interm.type).basicType = EbtUint;
11997|     28|        (yyval.interm.type).coopmatNV = true;
11998|     28|        (yyval.interm.type).coopmatKHR = false;
11999|     28|    }
12000|     28|#line 12001 "MachineIndependent/glslang_tab.cpp"
12001|     28|    break;
12002|       |
12003|    217|  case 579: /* type_specifier_nonarray: COOPMAT  */
  ------------------
  |  Branch (12003:3): [True: 217, False: 779k]
  ------------------
12004|    217|#line 3781 "MachineIndependent/glslang.y"
12005|    217|              {
12006|    217|        parseContext.coopmatCheck((yyvsp[0].lex).loc, "coopmat", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    217|#define parseContext (*pParseContext)
  ------------------
                      parseContext.coopmatCheck((yyvsp[0].lex).loc, "coopmat", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    217|#define parseContext (*pParseContext)
  ------------------
12007|    217|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    217|#define parseContext (*pParseContext)
  ------------------
12008|    217|        (yyval.interm.type).basicType = EbtCoopmat;
12009|    217|        (yyval.interm.type).coopmatNV = false;
12010|    217|        (yyval.interm.type).coopmatKHR = true;
12011|    217|    }
12012|    217|#line 12013 "MachineIndependent/glslang_tab.cpp"
12013|    217|    break;
12014|       |
12015|     60|  case 580: /* type_specifier_nonarray: TENSORLAYOUTNV  */
  ------------------
  |  Branch (12015:3): [True: 60, False: 779k]
  ------------------
12016|     60|#line 3788 "MachineIndependent/glslang.y"
12017|     60|                     {
12018|     60|        parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorLayoutNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorLayoutNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
12019|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
12020|     60|        (yyval.interm.type).basicType = EbtTensorLayoutNV;
12021|     60|    }
12022|     60|#line 12023 "MachineIndependent/glslang_tab.cpp"
12023|     60|    break;
12024|       |
12025|     37|  case 581: /* type_specifier_nonarray: TENSORVIEWNV  */
  ------------------
  |  Branch (12025:3): [True: 37, False: 779k]
  ------------------
12026|     37|#line 3793 "MachineIndependent/glslang.y"
12027|     37|                   {
12028|     37|        parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorViewNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     37|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorViewNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     37|#define parseContext (*pParseContext)
  ------------------
12029|     37|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     37|#define parseContext (*pParseContext)
  ------------------
12030|     37|        (yyval.interm.type).basicType = EbtTensorViewNV;
12031|     37|    }
12032|     37|#line 12033 "MachineIndependent/glslang_tab.cpp"
12033|     37|    break;
12034|       |
12035|     14|  case 582: /* type_specifier_nonarray: FUNCTION  */
  ------------------
  |  Branch (12035:3): [True: 14, False: 779k]
  ------------------
12036|     14|#line 3798 "MachineIndependent/glslang.y"
12037|     14|               {
12038|     14|        (yyval.interm.type).init((yyvsp[0].lex).loc);
12039|     14|        (yyval.interm.type).basicType = EbtFunction;
12040|     14|    }
12041|     14|#line 12042 "MachineIndependent/glslang_tab.cpp"
12042|     14|    break;
12043|       |
12044|    795|  case 583: /* type_specifier_nonarray: COOPVECNV  */
  ------------------
  |  Branch (12044:3): [True: 795, False: 779k]
  ------------------
12045|    795|#line 3802 "MachineIndependent/glslang.y"
12046|    795|                {
12047|    795|        parseContext.coopvecCheck((yyvsp[0].lex).loc, "coopvecNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    795|#define parseContext (*pParseContext)
  ------------------
                      parseContext.coopvecCheck((yyvsp[0].lex).loc, "coopvecNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    795|#define parseContext (*pParseContext)
  ------------------
12048|    795|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    795|#define parseContext (*pParseContext)
  ------------------
12049|    795|        (yyval.interm.type).basicType = EbtCoopvecNV;
12050|    795|        (yyval.interm.type).coopvecNV = true;
12051|    795|    }
12052|    795|#line 12053 "MachineIndependent/glslang_tab.cpp"
12053|    795|    break;
12054|       |
12055|     61|  case 584: /* type_specifier_nonarray: TENSORARM  */
  ------------------
  |  Branch (12055:3): [True: 61, False: 779k]
  ------------------
12056|     61|#line 3808 "MachineIndependent/glslang.y"
12057|     61|                {
12058|     61|        parseContext.tensorCheckARM((yyvsp[0].lex).loc, "tensorARM", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     61|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorCheckARM((yyvsp[0].lex).loc, "tensorARM", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     61|#define parseContext (*pParseContext)
  ------------------
12059|     61|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     61|#define parseContext (*pParseContext)
  ------------------
12060|     61|        (yyval.interm.type).tensorRankARM = 1; // placeholder value
12061|     61|        (yyval.interm.type).basicType = EbtTensorARM;
12062|     61|    }
12063|     61|#line 12064 "MachineIndependent/glslang_tab.cpp"
12064|     61|    break;
12065|       |
12066|    623|  case 585: /* type_specifier_nonarray: VECTOR  */
  ------------------
  |  Branch (12066:3): [True: 623, False: 779k]
  ------------------
12067|    623|#line 3814 "MachineIndependent/glslang.y"
12068|    623|             {
12069|    623|        parseContext.longVectorCheck((yyvsp[0].lex).loc, "vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    623|#define parseContext (*pParseContext)
  ------------------
                      parseContext.longVectorCheck((yyvsp[0].lex).loc, "vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    623|#define parseContext (*pParseContext)
  ------------------
12070|    623|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    623|#define parseContext (*pParseContext)
  ------------------
12071|    623|        (yyval.interm.type).basicType = EbtLongVector;
12072|    623|        (yyval.interm.type).longVector = true;
12073|    623|    }
12074|    623|#line 12075 "MachineIndependent/glslang_tab.cpp"
12075|    623|    break;
12076|       |
12077|      0|  case 586: /* type_specifier_nonarray: spirv_type_specifier  */
  ------------------
  |  Branch (12077:3): [True: 0, False: 779k]
  ------------------
12078|      0|#line 3820 "MachineIndependent/glslang.y"
12079|      0|                           {
12080|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V type specifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12081|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
12082|      0|    }
12083|      0|#line 12084 "MachineIndependent/glslang_tab.cpp"
12084|      0|    break;
12085|       |
12086|      0|  case 587: /* type_specifier_nonarray: HITOBJECTNV  */
  ------------------
  |  Branch (12086:3): [True: 0, False: 779k]
  ------------------
12087|      0|#line 3824 "MachineIndependent/glslang.y"
12088|      0|                  {
12089|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12090|      0|       (yyval.interm.type).basicType = EbtHitObjectNV;
12091|      0|    }
12092|      0|#line 12093 "MachineIndependent/glslang_tab.cpp"
12093|      0|    break;
12094|       |
12095|      0|  case 588: /* type_specifier_nonarray: HITOBJECTEXT  */
  ------------------
  |  Branch (12095:3): [True: 0, False: 779k]
  ------------------
12096|      0|#line 3828 "MachineIndependent/glslang.y"
12097|      0|                   {
12098|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12099|      0|       (yyval.interm.type).basicType = EbtHitObjectEXT;
12100|      0|    }
12101|      0|#line 12102 "MachineIndependent/glslang_tab.cpp"
12102|      0|    break;
12103|       |
12104|     75|  case 589: /* type_specifier_nonarray: struct_specifier  */
  ------------------
  |  Branch (12104:3): [True: 75, False: 779k]
  ------------------
12105|     75|#line 3832 "MachineIndependent/glslang.y"
12106|     75|                       {
12107|     75|        (yyval.interm.type) = (yyvsp[0].interm.type);
12108|     75|        (yyval.interm.type).qualifier.storage = parseContext.symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
  ------------------
  |  |  783|     75|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12108:49): [True: 75, False: 0]
  ------------------
12109|     75|        parseContext.structTypeCheck((yyval.interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  783|     75|#define parseContext (*pParseContext)
  ------------------
12110|     75|    }
12111|     75|#line 12112 "MachineIndependent/glslang_tab.cpp"
12112|     75|    break;
12113|       |
12114|     85|  case 590: /* type_specifier_nonarray: TYPE_NAME  */
  ------------------
  |  Branch (12114:3): [True: 85, False: 779k]
  ------------------
12115|     85|#line 3837 "MachineIndependent/glslang.y"
12116|     85|                {
12117|       |        //
12118|       |        // This is for user defined type names.  The lexical phase looked up the
12119|       |        // type.
12120|       |        //
12121|     85|        if (const TVariable* variable = ((yyvsp[0].lex).symbol)->getAsVariable()) {
  ------------------
  |  Branch (12121:30): [True: 85, False: 0]
  ------------------
12122|     85|            const TType& structure = variable->getType();
12123|     85|            (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     85|#define parseContext (*pParseContext)
  ------------------
12124|     85|            (yyval.interm.type).basicType = EbtStruct;
12125|     85|            (yyval.interm.type).userDef = &structure;
12126|     85|            if (structure.getQualifier().isBufferType())
  ------------------
  |  Branch (12126:17): [True: 0, False: 85]
  ------------------
12127|      0|                (yyval.interm.type).qualifier = structure.getQualifier();
12128|     85|        } else
12129|      0|            parseContext.error((yyvsp[0].lex).loc, "expected type name", (yyvsp[0].lex).string->c_str(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12130|     85|    }
12131|     85|#line 12132 "MachineIndependent/glslang_tab.cpp"
12132|     85|    break;
12133|       |
12134|  2.39k|  case 591: /* precision_qualifier: HIGH_PRECISION  */
  ------------------
  |  Branch (12134:3): [True: 2.39k, False: 777k]
  ------------------
12135|  2.39k|#line 3855 "MachineIndependent/glslang.y"
12136|  2.39k|                     {
12137|  2.39k|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "highp precision qualifier");
  ------------------
  |  |  783|  2.39k|#define parseContext (*pParseContext)
  ------------------
12138|  2.39k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.39k|#define parseContext (*pParseContext)
  ------------------
12139|  2.39k|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqHigh);
  ------------------
  |  |  783|  2.39k|#define parseContext (*pParseContext)
  ------------------
12140|  2.39k|    }
12141|  2.39k|#line 12142 "MachineIndependent/glslang_tab.cpp"
12142|  2.39k|    break;
12143|       |
12144|    494|  case 592: /* precision_qualifier: MEDIUM_PRECISION  */
  ------------------
  |  Branch (12144:3): [True: 494, False: 779k]
  ------------------
12145|    494|#line 3860 "MachineIndependent/glslang.y"
12146|    494|                       {
12147|    494|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "mediump precision qualifier");
  ------------------
  |  |  783|    494|#define parseContext (*pParseContext)
  ------------------
12148|    494|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    494|#define parseContext (*pParseContext)
  ------------------
12149|    494|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqMedium);
  ------------------
  |  |  783|    494|#define parseContext (*pParseContext)
  ------------------
12150|    494|    }
12151|    494|#line 12152 "MachineIndependent/glslang_tab.cpp"
12152|    494|    break;
12153|       |
12154|     10|  case 593: /* precision_qualifier: LOW_PRECISION  */
  ------------------
  |  Branch (12154:3): [True: 10, False: 779k]
  ------------------
12155|     10|#line 3865 "MachineIndependent/glslang.y"
12156|     10|                    {
12157|     10|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "lowp precision qualifier");
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
12158|     10|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
12159|     10|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqLow);
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
12160|     10|    }
12161|     10|#line 12162 "MachineIndependent/glslang_tab.cpp"
12162|     10|    break;
12163|       |
12164|     75|  case 594: /* $@3: %empty  */
  ------------------
  |  Branch (12164:3): [True: 75, False: 779k]
  ------------------
12165|     75|#line 3873 "MachineIndependent/glslang.y"
12166|     75|                                   { parseContext.nestedStructCheck((yyvsp[-2].lex).loc); }
  ------------------
  |  |  783|     75|#define parseContext (*pParseContext)
  ------------------
12167|     75|#line 12168 "MachineIndependent/glslang_tab.cpp"
12168|     75|    break;
12169|       |
12170|     75|  case 595: /* struct_specifier: STRUCT IDENTIFIER LEFT_BRACE $@3 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (12170:3): [True: 75, False: 779k]
  ------------------
12171|     75|#line 3873 "MachineIndependent/glslang.y"
12172|     75|                                                                                                                   {
12173|     75|        TType* structure = new TType((yyvsp[-1].interm.typeList), *(yyvsp[-4].lex).string);
12174|     75|        parseContext.structArrayCheck((yyvsp[-4].lex).loc, *structure);
  ------------------
  |  |  783|     75|#define parseContext (*pParseContext)
  ------------------
12175|       |
12176|     75|        TVariable* userTypeDef = new TVariable((yyvsp[-4].lex).string, *structure, true);
12177|     75|        if (! parseContext.symbolTable.insert(*userTypeDef))
  ------------------
  |  |  783|     75|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12177:13): [True: 0, False: 75]
  ------------------
12178|      0|            parseContext.error((yyvsp[-4].lex).loc, "redefinition", (yyvsp[-4].lex).string->c_str(), "struct");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12179|     75|        else if (parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  783|     75|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12179:18): [True: 0, False: 75]
  ------------------
12180|      0|                 && structure->containsOpaque())
  ------------------
  |  Branch (12180:21): [True: 0, False: 0]
  ------------------
12181|      0|            parseContext.relaxedSymbols.push_back(structure->getTypeName());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12182|       |
12183|     75|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
12184|     75|        (yyval.interm.type).basicType = EbtStruct;
12185|     75|        (yyval.interm.type).userDef = structure;
12186|     75|        --parseContext.structNestingLevel;
  ------------------
  |  |  783|     75|#define parseContext (*pParseContext)
  ------------------
12187|     75|    }
12188|     75|#line 12189 "MachineIndependent/glslang_tab.cpp"
12189|     75|    break;
12190|       |
12191|      0|  case 596: /* $@4: %empty  */
  ------------------
  |  Branch (12191:3): [True: 0, False: 779k]
  ------------------
12192|      0|#line 3889 "MachineIndependent/glslang.y"
12193|      0|                        { parseContext.nestedStructCheck((yyvsp[-1].lex).loc); }
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12194|      0|#line 12195 "MachineIndependent/glslang_tab.cpp"
12195|      0|    break;
12196|       |
12197|      0|  case 597: /* struct_specifier: STRUCT LEFT_BRACE $@4 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (12197:3): [True: 0, False: 779k]
  ------------------
12198|      0|#line 3889 "MachineIndependent/glslang.y"
12199|      0|                                                                                                        {
12200|      0|        TType* structure = new TType((yyvsp[-1].interm.typeList), TString(""));
12201|      0|        (yyval.interm.type).init((yyvsp[-4].lex).loc);
12202|      0|        (yyval.interm.type).basicType = EbtStruct;
12203|      0|        (yyval.interm.type).userDef = structure;
12204|      0|        --parseContext.structNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12205|      0|    }
12206|      0|#line 12207 "MachineIndependent/glslang_tab.cpp"
12207|      0|    break;
12208|       |
12209|     84|  case 598: /* struct_declaration_list: struct_declaration  */
  ------------------
  |  Branch (12209:3): [True: 84, False: 779k]
  ------------------
12210|     84|#line 3899 "MachineIndependent/glslang.y"
12211|     84|                         {
12212|     84|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
12213|     84|    }
12214|     84|#line 12215 "MachineIndependent/glslang_tab.cpp"
12215|     84|    break;
12216|       |
12217|    194|  case 599: /* struct_declaration_list: struct_declaration_list struct_declaration  */
  ------------------
  |  Branch (12217:3): [True: 194, False: 779k]
  ------------------
12218|    194|#line 3902 "MachineIndependent/glslang.y"
12219|    194|                                                 {
12220|    194|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12221|    388|        for (unsigned int i = 0; i < (yyvsp[0].interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12221:34): [True: 194, False: 194]
  ------------------
12222|    554|            for (unsigned int j = 0; j < (yyval.interm.typeList)->size(); ++j) {
  ------------------
  |  Branch (12222:38): [True: 360, False: 194]
  ------------------
12223|    360|                if ((*(yyval.interm.typeList))[j].type->getFieldName() == (*(yyvsp[0].interm.typeList))[i].type->getFieldName())
  ------------------
  |  Branch (12223:21): [True: 0, False: 360]
  ------------------
12224|      0|                    parseContext.error((*(yyvsp[0].interm.typeList))[i].loc, "duplicate member name:", "", "%s", (*(yyvsp[0].interm.typeList))[i].type->getFieldName().c_str());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12225|    360|            }
12226|    194|            (yyval.interm.typeList)->push_back((*(yyvsp[0].interm.typeList))[i]);
12227|    194|        }
12228|    194|    }
12229|    194|#line 12230 "MachineIndependent/glslang_tab.cpp"
12230|    194|    break;
12231|       |
12232|    278|  case 600: /* struct_declaration: struct_declaration_no_inline_block  */
  ------------------
  |  Branch (12232:3): [True: 278, False: 779k]
  ------------------
12233|    278|#line 3915 "MachineIndependent/glslang.y"
12234|    278|                                         {
12235|    278|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
12236|    278|    }
12237|    278|#line 12238 "MachineIndependent/glslang_tab.cpp"
12238|    278|    break;
12239|       |
12240|      0|  case 601: /* struct_declaration: block_heap_inner_structure struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (12240:3): [True: 0, False: 779k]
  ------------------
12241|      0|#line 3918 "MachineIndependent/glslang.y"
12242|      0|                                                                  {
12243|      0|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12244|      0|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12245|      0|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12246|       |
12247|      0|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12247:34): [True: 0, False: 0]
  ------------------
12248|      0|            TType type((yyvsp[-2].interm.type));
12249|      0|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
12250|      0|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
12251|      0|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
12252|      0|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12253|      0|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
12254|      0|        }
12255|      0|    }
12256|      0|#line 12257 "MachineIndependent/glslang_tab.cpp"
12257|      0|    break;
12258|       |
12259|      0|  case 602: /* $@5: %empty  */
  ------------------
  |  Branch (12259:3): [True: 0, False: 779k]
  ------------------
12260|      0|#line 3935 "MachineIndependent/glslang.y"
12261|      0|                                { parseContext.nestedBlockCheck((yyvsp[-1].interm.type).loc, true); }
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12262|      0|#line 12263 "MachineIndependent/glslang_tab.cpp"
12263|      0|    break;
12264|       |
12265|      0|  case 603: /* block_heap_inner_structure: type_qualifier LEFT_BRACE $@5 struct_declaration_no_inline_block_list RIGHT_BRACE  */
  ------------------
  |  Branch (12265:3): [True: 0, False: 779k]
  ------------------
12266|      0|#line 3935 "MachineIndependent/glslang.y"
12267|      0|                                                                                                                                     {
12268|      0|        --parseContext.blockNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12269|      0|        parseContext.globalQualifierFixCheck((yyvsp[-4].interm.type).loc, (yyvsp[-4].interm.type).qualifier);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12270|      0|        parseContext.checkNoShaderLayouts((yyvsp[-4].interm.type).loc, (yyvsp[-4].interm.type).shaderQualifiers);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12271|      0|        (yyval.interm.type).init((yyvsp[-4].interm.type).loc);
12272|      0|        TType* innerStructure = new TType((yyvsp[-1].interm.typeList), TString(""), (yyvsp[-4].interm.type).qualifier);
12273|      0|        if (! (yyvsp[-4].interm.type).qualifier.hasBufferReference())
  ------------------
  |  Branch (12273:13): [True: 0, False: 0]
  ------------------
12274|      0|            parseContext.error((yyvsp[-4].interm.type).loc, "only buffer_reference blocks can be declared inline inside a heap block", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12275|      0|        TType* referenceType = new TType(EbtReference, *innerStructure, TString(""));
12276|      0|        (yyval.interm.type).basicType = EbtReference;
12277|      0|        (yyval.interm.type).userDef = referenceType;
12278|      0|        (yyval.interm.type).qualifier.layoutDescriptorHeap = true;
12279|      0|    }
12280|      0|#line 12281 "MachineIndependent/glslang_tab.cpp"
12281|      0|    break;
12282|       |
12283|      0|  case 604: /* struct_declaration_no_inline_block_list: struct_declaration_no_inline_block  */
  ------------------
  |  Branch (12283:3): [True: 0, False: 779k]
  ------------------
12284|      0|#line 3951 "MachineIndependent/glslang.y"
12285|      0|                                         {
12286|      0|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
12287|      0|    }
12288|      0|#line 12289 "MachineIndependent/glslang_tab.cpp"
12289|      0|    break;
12290|       |
12291|      0|  case 605: /* struct_declaration_no_inline_block_list: struct_declaration_no_inline_block_list struct_declaration_no_inline_block  */
  ------------------
  |  Branch (12291:3): [True: 0, False: 779k]
  ------------------
12292|      0|#line 3954 "MachineIndependent/glslang.y"
12293|      0|                                                                                 {
12294|      0|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12295|      0|        for (unsigned int i = 0; i < (yyvsp[0].interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12295:34): [True: 0, False: 0]
  ------------------
12296|      0|            for (unsigned int j = 0; j < (yyval.interm.typeList)->size(); ++j) {
  ------------------
  |  Branch (12296:38): [True: 0, False: 0]
  ------------------
12297|      0|                if ((*(yyval.interm.typeList))[j].type->getFieldName() == (*(yyvsp[0].interm.typeList))[i].type->getFieldName())
  ------------------
  |  Branch (12297:21): [True: 0, False: 0]
  ------------------
12298|      0|                    parseContext.error((*(yyvsp[0].interm.typeList))[i].loc, "duplicate member name:", "", "%s", (*(yyvsp[0].interm.typeList))[i].type->getFieldName().c_str());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12299|      0|            }
12300|      0|            (yyval.interm.typeList)->push_back((*(yyvsp[0].interm.typeList))[i]);
12301|      0|        }
12302|      0|    }
12303|      0|#line 12304 "MachineIndependent/glslang_tab.cpp"
12304|      0|    break;
12305|       |
12306|     57|  case 606: /* struct_declaration_no_inline_block: type_specifier struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (12306:3): [True: 57, False: 779k]
  ------------------
12307|     57|#line 3967 "MachineIndependent/glslang.y"
12308|     57|                                                      {
12309|     57|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (12309:13): [True: 0, False: 57]
  ------------------
12310|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12311|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12312|      0|            if (parseContext.isEsProfile())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12312:17): [True: 0, False: 0]
  ------------------
12313|      0|                parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12314|      0|        }
12315|       |
12316|     57|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12317|       |
12318|     57|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  783|     57|#define parseContext (*pParseContext)
  ------------------
12319|     57|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  783|     57|#define parseContext (*pParseContext)
  ------------------
12320|       |
12321|    114|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12321:34): [True: 57, False: 57]
  ------------------
12322|     57|            TType type((yyvsp[-2].interm.type));
12323|     57|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
12324|     57|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
12325|     57|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
12326|     57|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  783|     57|#define parseContext (*pParseContext)
  ------------------
12327|     57|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
12328|     57|        }
12329|     57|    }
12330|     57|#line 12331 "MachineIndependent/glslang_tab.cpp"
12331|     57|    break;
12332|       |
12333|    221|  case 607: /* struct_declaration_no_inline_block: type_qualifier type_specifier struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (12333:3): [True: 221, False: 779k]
  ------------------
12334|    221|#line 3989 "MachineIndependent/glslang.y"
12335|    221|                                                                     {
12336|    221|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (12336:13): [True: 0, False: 221]
  ------------------
12337|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12338|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12339|      0|            if (parseContext.isEsProfile())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12339:17): [True: 0, False: 0]
  ------------------
12340|      0|                parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12341|      0|        }
12342|       |
12343|    221|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12344|       |
12345|    221|        parseContext.memberQualifierCheck((yyvsp[-3].interm.type));
  ------------------
  |  |  783|    221|#define parseContext (*pParseContext)
  ------------------
12346|    221|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  783|    221|#define parseContext (*pParseContext)
  ------------------
12347|    221|        parseContext.mergeQualifiers((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).qualifier, (yyvsp[-3].interm.type).qualifier, true);
  ------------------
  |  |  783|    221|#define parseContext (*pParseContext)
  ------------------
12348|    221|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  783|    221|#define parseContext (*pParseContext)
  ------------------
12349|       |
12350|    442|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12350:34): [True: 221, False: 221]
  ------------------
12351|    221|            TType type((yyvsp[-2].interm.type));
12352|    221|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
12353|    221|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
12354|    221|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
12355|    221|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  783|    221|#define parseContext (*pParseContext)
  ------------------
12356|    221|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
12357|    221|        }
12358|    221|    }
12359|    221|#line 12360 "MachineIndependent/glslang_tab.cpp"
12360|    221|    break;
12361|       |
12362|    278|  case 608: /* struct_declarator_list: struct_declarator  */
  ------------------
  |  Branch (12362:3): [True: 278, False: 779k]
  ------------------
12363|    278|#line 4016 "MachineIndependent/glslang.y"
12364|    278|                        {
12365|    278|        (yyval.interm.typeList) = new TTypeList;
12366|    278|        (yyval.interm.typeList)->push_back((yyvsp[0].interm.typeLine));
12367|    278|    }
12368|    278|#line 12369 "MachineIndependent/glslang_tab.cpp"
12369|    278|    break;
12370|       |
12371|      0|  case 609: /* struct_declarator_list: struct_declarator_list COMMA struct_declarator  */
  ------------------
  |  Branch (12371:3): [True: 0, False: 779k]
  ------------------
12372|      0|#line 4020 "MachineIndependent/glslang.y"
12373|      0|                                                     {
12374|      0|        (yyval.interm.typeList)->push_back((yyvsp[0].interm.typeLine));
12375|      0|    }
12376|      0|#line 12377 "MachineIndependent/glslang_tab.cpp"
12377|      0|    break;
12378|       |
12379|    253|  case 610: /* struct_declarator: IDENTIFIER  */
  ------------------
  |  Branch (12379:3): [True: 253, False: 779k]
  ------------------
12380|    253|#line 4026 "MachineIndependent/glslang.y"
12381|    253|                 {
12382|    253|        (yyval.interm.typeLine).type = new TType(EbtVoid);
12383|    253|        (yyval.interm.typeLine).loc = (yyvsp[0].lex).loc;
12384|    253|        (yyval.interm.typeLine).type->setFieldName(*(yyvsp[0].lex).string);
12385|    253|    }
12386|    253|#line 12387 "MachineIndependent/glslang_tab.cpp"
12387|    253|    break;
12388|       |
12389|     25|  case 611: /* struct_declarator: IDENTIFIER array_specifier  */
  ------------------
  |  Branch (12389:3): [True: 25, False: 779k]
  ------------------
12390|     25|#line 4031 "MachineIndependent/glslang.y"
12391|     25|                                 {
12392|     25|        parseContext.arrayOfArrayVersionCheck((yyvsp[-1].lex).loc, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
12393|       |
12394|     25|        (yyval.interm.typeLine).type = new TType(EbtVoid);
12395|     25|        (yyval.interm.typeLine).loc = (yyvsp[-1].lex).loc;
12396|     25|        (yyval.interm.typeLine).type->setFieldName(*(yyvsp[-1].lex).string);
12397|     25|        (yyval.interm.typeLine).type->transferArraySizes((yyvsp[0].interm).arraySizes);
12398|     25|    }
12399|     25|#line 12400 "MachineIndependent/glslang_tab.cpp"
12400|     25|    break;
12401|       |
12402|    497|  case 612: /* initializer: assignment_expression  */
  ------------------
  |  Branch (12402:3): [True: 497, False: 779k]
  ------------------
12403|    497|#line 4042 "MachineIndependent/glslang.y"
12404|    497|                            {
12405|    497|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
12406|    497|    }
12407|    497|#line 12408 "MachineIndependent/glslang_tab.cpp"
12408|    497|    break;
12409|       |
12410|      0|  case 613: /* initializer: LEFT_BRACE initializer_list RIGHT_BRACE  */
  ------------------
  |  Branch (12410:3): [True: 0, False: 779k]
  ------------------
12411|      0|#line 4045 "MachineIndependent/glslang.y"
12412|      0|                                              {
12413|      0|        const char* initFeature = "{ } style initializers";
12414|      0|        parseContext.requireProfile((yyvsp[-2].lex).loc, ~EEsProfile, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12415|      0|        parseContext.profileRequires((yyvsp[-2].lex).loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12416|      0|        (yyval.interm.intermTypedNode) = (yyvsp[-1].interm.intermTypedNode);
12417|      0|    }
12418|      0|#line 12419 "MachineIndependent/glslang_tab.cpp"
12419|      0|    break;
12420|       |
12421|      0|  case 614: /* initializer: LEFT_BRACE initializer_list COMMA RIGHT_BRACE  */
  ------------------
  |  Branch (12421:3): [True: 0, False: 779k]
  ------------------
12422|      0|#line 4051 "MachineIndependent/glslang.y"
12423|      0|                                                    {
12424|      0|        const char* initFeature = "{ } style initializers";
12425|      0|        parseContext.requireProfile((yyvsp[-3].lex).loc, ~EEsProfile, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12426|      0|        parseContext.profileRequires((yyvsp[-3].lex).loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12427|      0|        (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
12428|      0|    }
12429|      0|#line 12430 "MachineIndependent/glslang_tab.cpp"
12430|      0|    break;
12431|       |
12432|      0|  case 615: /* initializer: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (12432:3): [True: 0, False: 779k]
  ------------------
12433|      0|#line 4057 "MachineIndependent/glslang.y"
12434|      0|                             {
12435|      0|        const char* initFeature = "empty { } initializer";
12436|      0|        parseContext.profileRequires((yyvsp[-1].lex).loc, EEsProfile, 0, E_GL_EXT_null_initializer, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12437|      0|        parseContext.profileRequires((yyvsp[-1].lex).loc, ~EEsProfile, 0, E_GL_EXT_null_initializer, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12438|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.makeAggregate((yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12439|      0|    }
12440|      0|#line 12441 "MachineIndependent/glslang_tab.cpp"
12441|      0|    break;
12442|       |
12443|      0|  case 616: /* initializer_list: initializer  */
  ------------------
  |  Branch (12443:3): [True: 0, False: 779k]
  ------------------
12444|      0|#line 4066 "MachineIndependent/glslang.y"
12445|      0|                  {
12446|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.growAggregate(0, (yyvsp[0].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode)->getLoc());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12447|      0|    }
12448|      0|#line 12449 "MachineIndependent/glslang_tab.cpp"
12449|      0|    break;
12450|       |
12451|      0|  case 617: /* initializer_list: initializer_list COMMA initializer  */
  ------------------
  |  Branch (12451:3): [True: 0, False: 779k]
  ------------------
12452|      0|#line 4069 "MachineIndependent/glslang.y"
12453|      0|                                         {
12454|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12455|      0|    }
12456|      0|#line 12457 "MachineIndependent/glslang_tab.cpp"
12457|      0|    break;
12458|       |
12459|      0|  case 618: /* declaration_statement: declaration  */
  ------------------
  |  Branch (12459:3): [True: 0, False: 779k]
  ------------------
12460|      0|#line 4075 "MachineIndependent/glslang.y"
12461|      0|                  { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12462|      0|#line 12463 "MachineIndependent/glslang_tab.cpp"
12463|      0|    break;
12464|       |
12465|      0|  case 619: /* statement: compound_statement  */
  ------------------
  |  Branch (12465:3): [True: 0, False: 779k]
  ------------------
12466|      0|#line 4079 "MachineIndependent/glslang.y"
12467|      0|                          { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12468|      0|#line 12469 "MachineIndependent/glslang_tab.cpp"
12469|      0|    break;
12470|       |
12471|      0|  case 620: /* statement: simple_statement  */
  ------------------
  |  Branch (12471:3): [True: 0, False: 779k]
  ------------------
12472|      0|#line 4080 "MachineIndependent/glslang.y"
12473|      0|                          { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12474|      0|#line 12475 "MachineIndependent/glslang_tab.cpp"
12475|      0|    break;
12476|       |
12477|      0|  case 621: /* simple_statement: declaration_statement  */
  ------------------
  |  Branch (12477:3): [True: 0, False: 779k]
  ------------------
12478|      0|#line 4086 "MachineIndependent/glslang.y"
12479|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12480|      0|#line 12481 "MachineIndependent/glslang_tab.cpp"
12481|      0|    break;
12482|       |
12483|      0|  case 622: /* simple_statement: expression_statement  */
  ------------------
  |  Branch (12483:3): [True: 0, False: 779k]
  ------------------
12484|      0|#line 4087 "MachineIndependent/glslang.y"
12485|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12486|      0|#line 12487 "MachineIndependent/glslang_tab.cpp"
12487|      0|    break;
12488|       |
12489|      0|  case 623: /* simple_statement: selection_statement  */
  ------------------
  |  Branch (12489:3): [True: 0, False: 779k]
  ------------------
12490|      0|#line 4088 "MachineIndependent/glslang.y"
12491|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12492|      0|#line 12493 "MachineIndependent/glslang_tab.cpp"
12493|      0|    break;
12494|       |
12495|      0|  case 624: /* simple_statement: switch_statement  */
  ------------------
  |  Branch (12495:3): [True: 0, False: 779k]
  ------------------
12496|      0|#line 4089 "MachineIndependent/glslang.y"
12497|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12498|      0|#line 12499 "MachineIndependent/glslang_tab.cpp"
12499|      0|    break;
12500|       |
12501|      0|  case 625: /* simple_statement: case_label  */
  ------------------
  |  Branch (12501:3): [True: 0, False: 779k]
  ------------------
12502|      0|#line 4090 "MachineIndependent/glslang.y"
12503|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12504|      0|#line 12505 "MachineIndependent/glslang_tab.cpp"
12505|      0|    break;
12506|       |
12507|      0|  case 626: /* simple_statement: iteration_statement  */
  ------------------
  |  Branch (12507:3): [True: 0, False: 779k]
  ------------------
12508|      0|#line 4091 "MachineIndependent/glslang.y"
12509|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12510|      0|#line 12511 "MachineIndependent/glslang_tab.cpp"
12511|      0|    break;
12512|       |
12513|      0|  case 627: /* simple_statement: jump_statement  */
  ------------------
  |  Branch (12513:3): [True: 0, False: 779k]
  ------------------
12514|      0|#line 4092 "MachineIndependent/glslang.y"
12515|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12516|      0|#line 12517 "MachineIndependent/glslang_tab.cpp"
12517|      0|    break;
12518|       |
12519|      0|  case 628: /* simple_statement: demote_statement  */
  ------------------
  |  Branch (12519:3): [True: 0, False: 779k]
  ------------------
12520|      0|#line 4093 "MachineIndependent/glslang.y"
12521|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12522|      0|#line 12523 "MachineIndependent/glslang_tab.cpp"
12523|      0|    break;
12524|       |
12525|      0|  case 629: /* demote_statement: DEMOTE SEMICOLON  */
  ------------------
  |  Branch (12525:3): [True: 0, False: 779k]
  ------------------
12526|      0|#line 4097 "MachineIndependent/glslang.y"
12527|      0|                       {
12528|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "demote");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12529|      0|        parseContext.requireExtensions((yyvsp[-1].lex).loc, 1, &E_GL_EXT_demote_to_helper_invocation, "demote");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12530|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpDemote, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12531|      0|    }
12532|      0|#line 12533 "MachineIndependent/glslang_tab.cpp"
12533|      0|    break;
12534|       |
12535|      0|  case 630: /* compound_statement: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (12535:3): [True: 0, False: 779k]
  ------------------
12536|      0|#line 4105 "MachineIndependent/glslang.y"
12537|      0|                             { (yyval.interm.intermNode) = 0; }
12538|      0|#line 12539 "MachineIndependent/glslang_tab.cpp"
12539|      0|    break;
12540|       |
12541|      0|  case 631: /* $@6: %empty  */
  ------------------
  |  Branch (12541:3): [True: 0, False: 779k]
  ------------------
12542|      0|#line 4106 "MachineIndependent/glslang.y"
12543|      0|                 {
12544|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12545|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12546|      0|    }
12547|      0|#line 12548 "MachineIndependent/glslang_tab.cpp"
12548|      0|    break;
12549|       |
12550|      0|  case 632: /* $@7: %empty  */
  ------------------
  |  Branch (12550:3): [True: 0, False: 779k]
  ------------------
12551|      0|#line 4110 "MachineIndependent/glslang.y"
12552|      0|                     {
12553|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12554|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12555|      0|    }
12556|      0|#line 12557 "MachineIndependent/glslang_tab.cpp"
12557|      0|    break;
12558|       |
12559|      0|  case 633: /* compound_statement: LEFT_BRACE $@6 statement_list $@7 RIGHT_BRACE  */
  ------------------
  |  Branch (12559:3): [True: 0, False: 779k]
  ------------------
12560|      0|#line 4114 "MachineIndependent/glslang.y"
12561|      0|                  {
12562|      0|        if ((yyvsp[-2].interm.intermNode) && (yyvsp[-2].interm.intermNode)->getAsAggregate()) {
  ------------------
  |  Branch (12562:13): [True: 0, False: 0]
  |  Branch (12562:46): [True: 0, False: 0]
  ------------------
12563|      0|            (yyvsp[-2].interm.intermNode)->getAsAggregate()->setOperator(parseContext.intermediate.getDebugInfo() ? EOpScope : EOpSequence);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12563:74): [True: 0, False: 0]
  ------------------
12564|      0|            (yyvsp[-2].interm.intermNode)->getAsAggregate()->setEndLoc((yyvsp[0].lex).loc);
12565|      0|        }
12566|      0|        (yyval.interm.intermNode) = (yyvsp[-2].interm.intermNode);
12567|      0|    }
12568|      0|#line 12569 "MachineIndependent/glslang_tab.cpp"
12569|      0|    break;
12570|       |
12571|      0|  case 634: /* statement_no_new_scope: compound_statement_no_new_scope  */
  ------------------
  |  Branch (12571:3): [True: 0, False: 779k]
  ------------------
12572|      0|#line 4124 "MachineIndependent/glslang.y"
12573|      0|                                      { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12574|      0|#line 12575 "MachineIndependent/glslang_tab.cpp"
12575|      0|    break;
12576|       |
12577|      0|  case 635: /* statement_no_new_scope: simple_statement  */
  ------------------
  |  Branch (12577:3): [True: 0, False: 779k]
  ------------------
12578|      0|#line 4125 "MachineIndependent/glslang.y"
12579|      0|                                      { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12580|      0|#line 12581 "MachineIndependent/glslang_tab.cpp"
12581|      0|    break;
12582|       |
12583|      0|  case 636: /* $@8: %empty  */
  ------------------
  |  Branch (12583:3): [True: 0, False: 779k]
  ------------------
12584|      0|#line 4129 "MachineIndependent/glslang.y"
12585|      0|      {
12586|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12587|      0|    }
12588|      0|#line 12589 "MachineIndependent/glslang_tab.cpp"
12589|      0|    break;
12590|       |
12591|      0|  case 637: /* statement_scoped: $@8 compound_statement  */
  ------------------
  |  Branch (12591:3): [True: 0, False: 779k]
  ------------------
12592|      0|#line 4132 "MachineIndependent/glslang.y"
12593|      0|                          {
12594|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12595|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12596|      0|    }
12597|      0|#line 12598 "MachineIndependent/glslang_tab.cpp"
12598|      0|    break;
12599|       |
12600|      0|  case 638: /* $@9: %empty  */
  ------------------
  |  Branch (12600:3): [True: 0, False: 779k]
  ------------------
12601|      0|#line 4136 "MachineIndependent/glslang.y"
12602|      0|      {
12603|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12604|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12605|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12606|      0|    }
12607|      0|#line 12608 "MachineIndependent/glslang_tab.cpp"
12608|      0|    break;
12609|       |
12610|      0|  case 639: /* statement_scoped: $@9 simple_statement  */
  ------------------
  |  Branch (12610:3): [True: 0, False: 779k]
  ------------------
12611|      0|#line 4141 "MachineIndependent/glslang.y"
12612|      0|                       {
12613|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12614|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12615|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12616|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12617|      0|    }
12618|      0|#line 12619 "MachineIndependent/glslang_tab.cpp"
12619|      0|    break;
12620|       |
12621|      0|  case 640: /* compound_statement_no_new_scope: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (12621:3): [True: 0, False: 779k]
  ------------------
12622|      0|#line 4150 "MachineIndependent/glslang.y"
12623|      0|                             {
12624|      0|        (yyval.interm.intermNode) = 0;
12625|      0|    }
12626|      0|#line 12627 "MachineIndependent/glslang_tab.cpp"
12627|      0|    break;
12628|       |
12629|      0|  case 641: /* compound_statement_no_new_scope: LEFT_BRACE statement_list RIGHT_BRACE  */
  ------------------
  |  Branch (12629:3): [True: 0, False: 779k]
  ------------------
12630|      0|#line 4153 "MachineIndependent/glslang.y"
12631|      0|                                            {
12632|      0|        if ((yyvsp[-1].interm.intermNode) && (yyvsp[-1].interm.intermNode)->getAsAggregate()) {
  ------------------
  |  Branch (12632:13): [True: 0, False: 0]
  |  Branch (12632:46): [True: 0, False: 0]
  ------------------
12633|      0|            (yyvsp[-1].interm.intermNode)->getAsAggregate()->setOperator(EOpSequence);
12634|      0|            (yyvsp[-1].interm.intermNode)->getAsAggregate()->setEndLoc((yyvsp[0].lex).loc);
12635|      0|        }
12636|      0|        (yyval.interm.intermNode) = (yyvsp[-1].interm.intermNode);
12637|      0|    }
12638|      0|#line 12639 "MachineIndependent/glslang_tab.cpp"
12639|      0|    break;
12640|       |
12641|      0|  case 642: /* statement_list: statement  */
  ------------------
  |  Branch (12641:3): [True: 0, False: 779k]
  ------------------
12642|      0|#line 4163 "MachineIndependent/glslang.y"
12643|      0|                {
12644|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12645|      0|        if ((yyvsp[0].interm.intermNode) && (yyvsp[0].interm.intermNode)->getAsBranchNode() && ((yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpCase ||
  ------------------
  |  Branch (12645:13): [True: 0, False: 0]
  |  Branch (12645:45): [True: 0, False: 0]
  |  Branch (12645:97): [True: 0, False: 0]
  ------------------
12646|      0|                                            (yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpDefault)) {
  ------------------
  |  Branch (12646:45): [True: 0, False: 0]
  ------------------
12647|      0|            parseContext.wrapupSwitchSubsequence(0, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12648|      0|            (yyval.interm.intermNode) = 0;  // start a fresh subsequence for what's after this case
12649|      0|        }
12650|      0|    }
12651|      0|#line 12652 "MachineIndependent/glslang_tab.cpp"
12652|      0|    break;
12653|       |
12654|      0|  case 643: /* statement_list: statement_list statement  */
  ------------------
  |  Branch (12654:3): [True: 0, False: 779k]
  ------------------
12655|      0|#line 4171 "MachineIndependent/glslang.y"
12656|      0|                               {
12657|      0|        if ((yyvsp[0].interm.intermNode) && (yyvsp[0].interm.intermNode)->getAsBranchNode() && ((yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpCase ||
  ------------------
  |  Branch (12657:13): [True: 0, False: 0]
  |  Branch (12657:45): [True: 0, False: 0]
  |  Branch (12657:97): [True: 0, False: 0]
  ------------------
12658|      0|                                            (yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpDefault)) {
  ------------------
  |  Branch (12658:45): [True: 0, False: 0]
  ------------------
12659|      0|            parseContext.wrapupSwitchSubsequence((yyvsp[-1].interm.intermNode) ? (yyvsp[-1].interm.intermNode)->getAsAggregate() : 0, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12659:50): [True: 0, False: 0]
  ------------------
12660|      0|            (yyval.interm.intermNode) = 0;  // start a fresh subsequence for what's after this case
12661|      0|        } else
12662|      0|            (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-1].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12663|      0|    }
12664|      0|#line 12665 "MachineIndependent/glslang_tab.cpp"
12665|      0|    break;
12666|       |
12667|      0|  case 644: /* expression_statement: SEMICOLON  */
  ------------------
  |  Branch (12667:3): [True: 0, False: 779k]
  ------------------
12668|      0|#line 4182 "MachineIndependent/glslang.y"
12669|      0|                 { (yyval.interm.intermNode) = 0; }
12670|      0|#line 12671 "MachineIndependent/glslang_tab.cpp"
12671|      0|    break;
12672|       |
12673|      0|  case 645: /* expression_statement: expression SEMICOLON  */
  ------------------
  |  Branch (12673:3): [True: 0, False: 779k]
  ------------------
12674|      0|#line 4183 "MachineIndependent/glslang.y"
12675|      0|                            { (yyval.interm.intermNode) = static_cast<TIntermNode*>((yyvsp[-1].interm.intermTypedNode)); }
12676|      0|#line 12677 "MachineIndependent/glslang_tab.cpp"
12677|      0|    break;
12678|       |
12679|      0|  case 646: /* selection_statement: selection_statement_nonattributed  */
  ------------------
  |  Branch (12679:3): [True: 0, False: 779k]
  ------------------
12680|      0|#line 4187 "MachineIndependent/glslang.y"
12681|      0|                                        {
12682|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12683|      0|    }
12684|      0|#line 12685 "MachineIndependent/glslang_tab.cpp"
12685|      0|    break;
12686|       |
12687|      0|  case 647: /* selection_statement: attribute selection_statement_nonattributed  */
  ------------------
  |  Branch (12687:3): [True: 0, False: 779k]
  ------------------
12688|      0|#line 4190 "MachineIndependent/glslang.y"
12689|      0|                                                  {
12690|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 1, &E_GL_EXT_control_flow_attributes, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12691|      0|        parseContext.handleSelectionAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12692|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12693|      0|    }
12694|      0|#line 12695 "MachineIndependent/glslang_tab.cpp"
12695|      0|    break;
12696|       |
12697|      0|  case 648: /* selection_statement_nonattributed: IF LEFT_PAREN expression RIGHT_PAREN selection_rest_statement  */
  ------------------
  |  Branch (12697:3): [True: 0, False: 779k]
  ------------------
12698|      0|#line 4197 "MachineIndependent/glslang.y"
12699|      0|                                                                    {
12700|      0|        parseContext.boolCheck((yyvsp[-4].lex).loc, (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12701|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addSelection((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.nodePair), (yyvsp[-4].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12702|      0|    }
12703|      0|#line 12704 "MachineIndependent/glslang_tab.cpp"
12704|      0|    break;
12705|       |
12706|      0|  case 649: /* selection_rest_statement: statement_scoped ELSE statement_scoped  */
  ------------------
  |  Branch (12706:3): [True: 0, False: 779k]
  ------------------
12707|      0|#line 4204 "MachineIndependent/glslang.y"
12708|      0|                                             {
12709|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode);
12710|      0|        (yyval.interm.nodePair).node2 = (yyvsp[0].interm.intermNode);
12711|      0|    }
12712|      0|#line 12713 "MachineIndependent/glslang_tab.cpp"
12713|      0|    break;
12714|       |
12715|      0|  case 650: /* selection_rest_statement: statement_scoped  */
  ------------------
  |  Branch (12715:3): [True: 0, False: 779k]
  ------------------
12716|      0|#line 4208 "MachineIndependent/glslang.y"
12717|      0|                       {
12718|      0|        (yyval.interm.nodePair).node1 = (yyvsp[0].interm.intermNode);
12719|      0|        (yyval.interm.nodePair).node2 = 0;
12720|      0|    }
12721|      0|#line 12722 "MachineIndependent/glslang_tab.cpp"
12722|      0|    break;
12723|       |
12724|      0|  case 651: /* condition: expression  */
  ------------------
  |  Branch (12724:3): [True: 0, False: 779k]
  ------------------
12725|      0|#line 4216 "MachineIndependent/glslang.y"
12726|      0|                 {
12727|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermTypedNode);
12728|      0|        parseContext.boolCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12729|      0|    }
12730|      0|#line 12731 "MachineIndependent/glslang_tab.cpp"
12731|      0|    break;
12732|       |
12733|      0|  case 652: /* condition: fully_specified_type IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (12733:3): [True: 0, False: 779k]
  ------------------
12734|      0|#line 4220 "MachineIndependent/glslang.y"
12735|      0|                                                        {
12736|      0|        parseContext.boolCheck((yyvsp[-2].lex).loc, (yyvsp[-3].interm.type));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12737|       |
12738|      0|        TType type((yyvsp[-3].interm.type));
12739|      0|        (yyval.interm.intermNode) = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-3].interm.type), 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12740|      0|    }
12741|      0|#line 12742 "MachineIndependent/glslang_tab.cpp"
12742|      0|    break;
12743|       |
12744|      0|  case 653: /* switch_statement: switch_statement_nonattributed  */
  ------------------
  |  Branch (12744:3): [True: 0, False: 779k]
  ------------------
12745|      0|#line 4229 "MachineIndependent/glslang.y"
12746|      0|                                     {
12747|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12748|      0|    }
12749|      0|#line 12750 "MachineIndependent/glslang_tab.cpp"
12750|      0|    break;
12751|       |
12752|      0|  case 654: /* switch_statement: attribute switch_statement_nonattributed  */
  ------------------
  |  Branch (12752:3): [True: 0, False: 779k]
  ------------------
12753|      0|#line 4232 "MachineIndependent/glslang.y"
12754|      0|                                               {
12755|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 1, &E_GL_EXT_control_flow_attributes, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12756|      0|        parseContext.handleSwitchAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12757|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12758|      0|    }
12759|      0|#line 12760 "MachineIndependent/glslang_tab.cpp"
12760|      0|    break;
12761|       |
12762|      0|  case 655: /* $@10: %empty  */
  ------------------
  |  Branch (12762:3): [True: 0, False: 779k]
  ------------------
12763|      0|#line 4239 "MachineIndependent/glslang.y"
12764|      0|                                               {
12765|       |        // start new switch sequence on the switch stack
12766|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12767|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12768|      0|        parseContext.switchSequenceStack.push_back(new TIntermSequence);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12769|      0|        parseContext.switchLevel.push_back(parseContext.statementNestingLevel);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.switchLevel.push_back(parseContext.statementNestingLevel);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12770|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12771|      0|    }
12772|      0|#line 12773 "MachineIndependent/glslang_tab.cpp"
12773|      0|    break;
12774|       |
12775|      0|  case 656: /* switch_statement_nonattributed: SWITCH LEFT_PAREN expression RIGHT_PAREN $@10 LEFT_BRACE switch_statement_list RIGHT_BRACE  */
  ------------------
  |  Branch (12775:3): [True: 0, False: 779k]
  ------------------
12776|      0|#line 4247 "MachineIndependent/glslang.y"
12777|      0|                                                 {
12778|      0|        (yyval.interm.intermNode) = parseContext.addSwitch((yyvsp[-7].lex).loc, (yyvsp[-5].interm.intermTypedNode), (yyvsp[-1].interm.intermNode) ? (yyvsp[-1].interm.intermNode)->getAsAggregate() : 0);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12778:117): [True: 0, False: 0]
  ------------------
12779|      0|        delete parseContext.switchSequenceStack.back();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12780|      0|        parseContext.switchSequenceStack.pop_back();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12781|      0|        parseContext.switchLevel.pop_back();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12782|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12783|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12784|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12785|      0|    }
12786|      0|#line 12787 "MachineIndependent/glslang_tab.cpp"
12787|      0|    break;
12788|       |
12789|      0|  case 657: /* switch_statement_list: %empty  */
  ------------------
  |  Branch (12789:3): [True: 0, False: 779k]
  ------------------
12790|      0|#line 4259 "MachineIndependent/glslang.y"
12791|      0|                    {
12792|      0|        (yyval.interm.intermNode) = 0;
12793|      0|    }
12794|      0|#line 12795 "MachineIndependent/glslang_tab.cpp"
12795|      0|    break;
12796|       |
12797|      0|  case 658: /* switch_statement_list: statement_list  */
  ------------------
  |  Branch (12797:3): [True: 0, False: 779k]
  ------------------
12798|      0|#line 4262 "MachineIndependent/glslang.y"
12799|      0|                     {
12800|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12801|      0|    }
12802|      0|#line 12803 "MachineIndependent/glslang_tab.cpp"
12803|      0|    break;
12804|       |
12805|      0|  case 659: /* case_label: CASE expression COLON  */
  ------------------
  |  Branch (12805:3): [True: 0, False: 779k]
  ------------------
12806|      0|#line 4268 "MachineIndependent/glslang.y"
12807|      0|                            {
12808|      0|        (yyval.interm.intermNode) = 0;
12809|      0|        if (parseContext.switchLevel.size() == 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12809:13): [True: 0, False: 0]
  ------------------
12810|      0|            parseContext.error((yyvsp[-2].lex).loc, "cannot appear outside switch statement", "case", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12811|      0|        else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12811:18): [True: 0, False: 0]
  ------------------
12812|      0|            parseContext.error((yyvsp[-2].lex).loc, "cannot be nested inside control flow", "case", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12813|      0|        else {
12814|      0|            parseContext.constantValueCheck((yyvsp[-1].interm.intermTypedNode), "case");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12815|      0|            parseContext.integerCheck((yyvsp[-1].interm.intermTypedNode), "case");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12816|      0|            (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpCase, (yyvsp[-1].interm.intermTypedNode), (yyvsp[-2].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12817|      0|        }
12818|      0|    }
12819|      0|#line 12820 "MachineIndependent/glslang_tab.cpp"
12820|      0|    break;
12821|       |
12822|      0|  case 660: /* case_label: DEFAULT COLON  */
  ------------------
  |  Branch (12822:3): [True: 0, False: 779k]
  ------------------
12823|      0|#line 4280 "MachineIndependent/glslang.y"
12824|      0|                    {
12825|      0|        (yyval.interm.intermNode) = 0;
12826|      0|        if (parseContext.switchLevel.size() == 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12826:13): [True: 0, False: 0]
  ------------------
12827|      0|            parseContext.error((yyvsp[-1].lex).loc, "cannot appear outside switch statement", "default", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12828|      0|        else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12828:18): [True: 0, False: 0]
  ------------------
12829|      0|            parseContext.error((yyvsp[-1].lex).loc, "cannot be nested inside control flow", "default", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12830|      0|        else
12831|      0|            (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpDefault, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12832|      0|    }
12833|      0|#line 12834 "MachineIndependent/glslang_tab.cpp"
12834|      0|    break;
12835|       |
12836|      0|  case 661: /* iteration_statement: iteration_statement_nonattributed  */
  ------------------
  |  Branch (12836:3): [True: 0, False: 779k]
  ------------------
12837|      0|#line 4292 "MachineIndependent/glslang.y"
12838|      0|                                        {
12839|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12840|      0|    }
12841|      0|#line 12842 "MachineIndependent/glslang_tab.cpp"
12842|      0|    break;
12843|       |
12844|      0|  case 662: /* iteration_statement: attribute iteration_statement_nonattributed  */
  ------------------
  |  Branch (12844:3): [True: 0, False: 779k]
  ------------------
12845|      0|#line 4295 "MachineIndependent/glslang.y"
12846|      0|                                                  {
12847|      0|        const char * extensions[3] = { E_GL_EXT_control_flow_attributes, E_GL_EXT_control_flow_attributes2, E_GL_QCOM_multiple_wait_queues };
12848|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 3, extensions, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12849|      0|        parseContext.handleLoopAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12850|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12851|      0|    }
12852|      0|#line 12853 "MachineIndependent/glslang_tab.cpp"
12853|      0|    break;
12854|       |
12855|      0|  case 663: /* $@11: %empty  */
  ------------------
  |  Branch (12855:3): [True: 0, False: 779k]
  ------------------
12856|      0|#line 4303 "MachineIndependent/glslang.y"
12857|      0|                       {
12858|      0|        if (! parseContext.limits.whileLoops)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12858:13): [True: 0, False: 0]
  ------------------
12859|      0|            parseContext.error((yyvsp[-1].lex).loc, "while loops not available", "limitation", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12860|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12861|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12862|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12863|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12864|      0|    }
12865|      0|#line 12866 "MachineIndependent/glslang_tab.cpp"
12866|      0|    break;
12867|       |
12868|      0|  case 664: /* iteration_statement_nonattributed: WHILE LEFT_PAREN $@11 condition RIGHT_PAREN statement_no_new_scope  */
  ------------------
  |  Branch (12868:3): [True: 0, False: 779k]
  ------------------
12869|      0|#line 4311 "MachineIndependent/glslang.y"
12870|      0|                                                   {
12871|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12872|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addLoop((yyvsp[0].interm.intermNode), (yyvsp[-2].interm.intermNode), 0, true, (yyvsp[-5].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12873|      0|        if (parseContext.intermediate.getDebugInfo()) {
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12873:13): [True: 0, False: 0]
  ------------------
12874|      0|            (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyval.interm.intermNode), (yyvsp[-5].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12875|      0|            (yyval.interm.intermNode)->getAsAggregate()->setOperator(EOpScope);
12876|      0|        }
12877|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12878|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12879|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12880|      0|    }
12881|      0|#line 12882 "MachineIndependent/glslang_tab.cpp"
12882|      0|    break;
12883|       |
12884|      0|  case 665: /* $@12: %empty  */
  ------------------
  |  Branch (12884:3): [True: 0, False: 779k]
  ------------------
12885|      0|#line 4322 "MachineIndependent/glslang.y"
12886|      0|         {
12887|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12888|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12889|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12890|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12891|      0|    }
12892|      0|#line 12893 "MachineIndependent/glslang_tab.cpp"
12893|      0|    break;
12894|       |
12895|      0|  case 666: /* iteration_statement_nonattributed: DO $@12 statement WHILE LEFT_PAREN expression RIGHT_PAREN SEMICOLON  */
  ------------------
  |  Branch (12895:3): [True: 0, False: 779k]
  ------------------
12896|      0|#line 4328 "MachineIndependent/glslang.y"
12897|      0|                                                                  {
12898|      0|        if (! parseContext.limits.whileLoops)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12898:13): [True: 0, False: 0]
  ------------------
12899|      0|            parseContext.error((yyvsp[-7].lex).loc, "do-while loops not available", "limitation", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12900|       |
12901|      0|        parseContext.boolCheck((yyvsp[0].lex).loc, (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12902|       |
12903|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addLoop((yyvsp[-5].interm.intermNode), (yyvsp[-2].interm.intermTypedNode), 0, false, (yyvsp[-4].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12904|      0|        if (parseContext.intermediate.getDebugInfo()) {
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12904:13): [True: 0, False: 0]
  ------------------
12905|      0|            (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyval.interm.intermNode), (yyvsp[-4].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12906|      0|            (yyval.interm.intermNode)->getAsAggregate()->setOperator(EOpScope);
12907|      0|        }
12908|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12909|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12910|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12911|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12912|      0|    }
12913|      0|#line 12914 "MachineIndependent/glslang_tab.cpp"
12914|      0|    break;
12915|       |
12916|      0|  case 667: /* $@13: %empty  */
  ------------------
  |  Branch (12916:3): [True: 0, False: 779k]
  ------------------
12917|      0|#line 4344 "MachineIndependent/glslang.y"
12918|      0|                     {
12919|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12920|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12921|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12922|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12923|      0|    }
12924|      0|#line 12925 "MachineIndependent/glslang_tab.cpp"
12925|      0|    break;
12926|       |
12927|      0|  case 668: /* iteration_statement_nonattributed: FOR LEFT_PAREN $@13 for_init_statement for_rest_statement RIGHT_PAREN statement_no_new_scope  */
  ------------------
  |  Branch (12927:3): [True: 0, False: 779k]
  ------------------
12928|      0|#line 4350 "MachineIndependent/glslang.y"
12929|      0|                                                                               {
12930|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12931|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[-3].interm.intermNode), (yyvsp[-5].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12932|      0|        TIntermLoop* forLoop = parseContext.intermediate.addLoop((yyvsp[0].interm.intermNode), reinterpret_cast<TIntermTyped*>((yyvsp[-2].interm.nodePair).node1), reinterpret_cast<TIntermTyped*>((yyvsp[-2].interm.nodePair).node2), true, (yyvsp[-6].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12933|      0|        if (! parseContext.limits.nonInductiveForLoops)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12933:13): [True: 0, False: 0]
  ------------------
12934|      0|            parseContext.inductiveLoopCheck((yyvsp[-6].lex).loc, (yyvsp[-3].interm.intermNode), forLoop);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12935|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyval.interm.intermNode), forLoop, (yyvsp[-6].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12936|      0|        (yyval.interm.intermNode)->getAsAggregate()->setOperator(parseContext.intermediate.getDebugInfo() ? EOpScope : EOpSequence);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12936:66): [True: 0, False: 0]
  ------------------
12937|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12938|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12939|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12940|      0|    }
12941|      0|#line 12942 "MachineIndependent/glslang_tab.cpp"
12942|      0|    break;
12943|       |
12944|      0|  case 669: /* for_init_statement: expression_statement  */
  ------------------
  |  Branch (12944:3): [True: 0, False: 779k]
  ------------------
12945|      0|#line 4365 "MachineIndependent/glslang.y"
12946|      0|                           {
12947|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12948|      0|    }
12949|      0|#line 12950 "MachineIndependent/glslang_tab.cpp"
12950|      0|    break;
12951|       |
12952|      0|  case 670: /* for_init_statement: declaration_statement  */
  ------------------
  |  Branch (12952:3): [True: 0, False: 779k]
  ------------------
12953|      0|#line 4368 "MachineIndependent/glslang.y"
12954|      0|                            {
12955|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12956|      0|    }
12957|      0|#line 12958 "MachineIndependent/glslang_tab.cpp"
12958|      0|    break;
12959|       |
12960|      0|  case 671: /* conditionopt: condition  */
  ------------------
  |  Branch (12960:3): [True: 0, False: 779k]
  ------------------
12961|      0|#line 4374 "MachineIndependent/glslang.y"
12962|      0|                {
12963|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12964|      0|    }
12965|      0|#line 12966 "MachineIndependent/glslang_tab.cpp"
12966|      0|    break;
12967|       |
12968|      0|  case 672: /* conditionopt: %empty  */
  ------------------
  |  Branch (12968:3): [True: 0, False: 779k]
  ------------------
12969|      0|#line 4377 "MachineIndependent/glslang.y"
12970|      0|                        {
12971|      0|        (yyval.interm.intermNode) = 0;
12972|      0|    }
12973|      0|#line 12974 "MachineIndependent/glslang_tab.cpp"
12974|      0|    break;
12975|       |
12976|      0|  case 673: /* for_rest_statement: conditionopt SEMICOLON  */
  ------------------
  |  Branch (12976:3): [True: 0, False: 779k]
  ------------------
12977|      0|#line 4383 "MachineIndependent/glslang.y"
12978|      0|                             {
12979|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-1].interm.intermNode);
12980|      0|        (yyval.interm.nodePair).node2 = 0;
12981|      0|    }
12982|      0|#line 12983 "MachineIndependent/glslang_tab.cpp"
12983|      0|    break;
12984|       |
12985|      0|  case 674: /* for_rest_statement: conditionopt SEMICOLON expression  */
  ------------------
  |  Branch (12985:3): [True: 0, False: 779k]
  ------------------
12986|      0|#line 4387 "MachineIndependent/glslang.y"
12987|      0|                                         {
12988|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode);
12989|      0|        (yyval.interm.nodePair).node2 = (yyvsp[0].interm.intermTypedNode);
12990|      0|    }
12991|      0|#line 12992 "MachineIndependent/glslang_tab.cpp"
12992|      0|    break;
12993|       |
12994|      0|  case 675: /* jump_statement: CONTINUE SEMICOLON  */
  ------------------
  |  Branch (12994:3): [True: 0, False: 779k]
  ------------------
12995|      0|#line 4394 "MachineIndependent/glslang.y"
12996|      0|                         {
12997|      0|        if (parseContext.loopNestingLevel <= 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12997:13): [True: 0, False: 0]
  ------------------
12998|      0|            parseContext.error((yyvsp[-1].lex).loc, "continue statement only allowed in loops", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12999|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpContinue, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13000|      0|    }
13001|      0|#line 13002 "MachineIndependent/glslang_tab.cpp"
13002|      0|    break;
13003|       |
13004|      0|  case 676: /* jump_statement: BREAK SEMICOLON  */
  ------------------
  |  Branch (13004:3): [True: 0, False: 779k]
  ------------------
13005|      0|#line 4399 "MachineIndependent/glslang.y"
13006|      0|                      {
13007|      0|        if (parseContext.loopNestingLevel + parseContext.switchSequenceStack.size() <= 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.loopNestingLevel + parseContext.switchSequenceStack.size() <= 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13007:13): [True: 0, False: 0]
  ------------------
13008|      0|            parseContext.error((yyvsp[-1].lex).loc, "break statement only allowed in switch and loops", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13009|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpBreak, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13010|      0|    }
13011|      0|#line 13012 "MachineIndependent/glslang_tab.cpp"
13012|      0|    break;
13013|       |
13014|      0|  case 677: /* jump_statement: RETURN SEMICOLON  */
  ------------------
  |  Branch (13014:3): [True: 0, False: 779k]
  ------------------
13015|      0|#line 4404 "MachineIndependent/glslang.y"
13016|      0|                       {
13017|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpReturn, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13018|      0|        if (parseContext.currentFunctionType->getBasicType() != EbtVoid)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13018:13): [True: 0, False: 0]
  ------------------
13019|      0|            parseContext.error((yyvsp[-1].lex).loc, "non-void function must return a value", "return", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13020|      0|        if (parseContext.inMain)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13020:13): [True: 0, False: 0]
  ------------------
13021|      0|            parseContext.postEntryPointReturn = true;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13022|      0|    }
13023|      0|#line 13024 "MachineIndependent/glslang_tab.cpp"
13024|      0|    break;
13025|       |
13026|      0|  case 678: /* jump_statement: RETURN expression SEMICOLON  */
  ------------------
  |  Branch (13026:3): [True: 0, False: 779k]
  ------------------
13027|      0|#line 4411 "MachineIndependent/glslang.y"
13028|      0|                                  {
13029|      0|        (yyval.interm.intermNode) = parseContext.handleReturnValue((yyvsp[-2].lex).loc, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13030|      0|    }
13031|      0|#line 13032 "MachineIndependent/glslang_tab.cpp"
13032|      0|    break;
13033|       |
13034|      0|  case 679: /* jump_statement: DISCARD SEMICOLON  */
  ------------------
  |  Branch (13034:3): [True: 0, False: 779k]
  ------------------
13035|      0|#line 4414 "MachineIndependent/glslang.y"
13036|      0|                        {
13037|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "discard");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13038|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpKill, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13039|      0|    }
13040|      0|#line 13041 "MachineIndependent/glslang_tab.cpp"
13041|      0|    break;
13042|       |
13043|      0|  case 680: /* jump_statement: TERMINATE_INVOCATION SEMICOLON  */
  ------------------
  |  Branch (13043:3): [True: 0, False: 779k]
  ------------------
13044|      0|#line 4418 "MachineIndependent/glslang.y"
13045|      0|                                     {
13046|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "terminateInvocation");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13047|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpTerminateInvocation, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13048|      0|    }
13049|      0|#line 13050 "MachineIndependent/glslang_tab.cpp"
13050|      0|    break;
13051|       |
13052|      0|  case 681: /* jump_statement: TERMINATE_RAY SEMICOLON  */
  ------------------
  |  Branch (13052:3): [True: 0, False: 779k]
  ------------------
13053|      0|#line 4422 "MachineIndependent/glslang.y"
13054|      0|                              {
13055|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangAnyHit, "terminateRayEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13056|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpTerminateRayKHR, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13057|      0|    }
13058|      0|#line 13059 "MachineIndependent/glslang_tab.cpp"
13059|      0|    break;
13060|       |
13061|      0|  case 682: /* jump_statement: IGNORE_INTERSECTION SEMICOLON  */
  ------------------
  |  Branch (13061:3): [True: 0, False: 779k]
  ------------------
13062|      0|#line 4426 "MachineIndependent/glslang.y"
13063|      0|                                    {
13064|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangAnyHit, "ignoreIntersectionEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13065|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpIgnoreIntersectionKHR, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13066|      0|    }
13067|      0|#line 13068 "MachineIndependent/glslang_tab.cpp"
13068|      0|    break;
13069|       |
13070|    195|  case 683: /* translation_unit: external_declaration  */
  ------------------
  |  Branch (13070:3): [True: 195, False: 779k]
  ------------------
13071|    195|#line 4435 "MachineIndependent/glslang.y"
13072|    195|                           {
13073|    195|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
13074|    195|        parseContext.intermediate.setTreeRoot((yyval.interm.intermNode));
  ------------------
  |  |  783|    195|#define parseContext (*pParseContext)
  ------------------
13075|    195|    }
13076|    195|#line 13077 "MachineIndependent/glslang_tab.cpp"
13077|    195|    break;
13078|       |
13079|  31.5k|  case 684: /* translation_unit: translation_unit external_declaration  */
  ------------------
  |  Branch (13079:3): [True: 31.5k, False: 748k]
  ------------------
13080|  31.5k|#line 4439 "MachineIndependent/glslang.y"
13081|  31.5k|                                            {
13082|  31.5k|        if ((yyvsp[0].interm.intermNode) != nullptr) {
  ------------------
  |  Branch (13082:13): [True: 0, False: 31.5k]
  ------------------
13083|      0|            (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-1].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13084|      0|            parseContext.intermediate.setTreeRoot((yyval.interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13085|      0|        }
13086|  31.5k|    }
13087|  31.5k|#line 13088 "MachineIndependent/glslang_tab.cpp"
13088|  31.5k|    break;
13089|       |
13090|      0|  case 685: /* external_declaration: function_definition  */
  ------------------
  |  Branch (13090:3): [True: 0, False: 779k]
  ------------------
13091|      0|#line 4448 "MachineIndependent/glslang.y"
13092|      0|                          {
13093|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
13094|      0|    }
13095|      0|#line 13096 "MachineIndependent/glslang_tab.cpp"
13096|      0|    break;
13097|       |
13098|  31.7k|  case 686: /* external_declaration: declaration  */
  ------------------
  |  Branch (13098:3): [True: 31.7k, False: 748k]
  ------------------
13099|  31.7k|#line 4451 "MachineIndependent/glslang.y"
13100|  31.7k|                  {
13101|  31.7k|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
13102|  31.7k|    }
13103|  31.7k|#line 13104 "MachineIndependent/glslang_tab.cpp"
13104|  31.7k|    break;
13105|       |
13106|      0|  case 687: /* external_declaration: SEMICOLON  */
  ------------------
  |  Branch (13106:3): [True: 0, False: 779k]
  ------------------
13107|      0|#line 4454 "MachineIndependent/glslang.y"
13108|      0|                {
13109|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ~EEsProfile, "extraneous semicolon");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13110|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ~EEsProfile, 460, nullptr, "extraneous semicolon");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13111|      0|        (yyval.interm.intermNode) = nullptr;
13112|      0|    }
13113|      0|#line 13114 "MachineIndependent/glslang_tab.cpp"
13114|      0|    break;
13115|       |
13116|      0|  case 688: /* $@14: %empty  */
  ------------------
  |  Branch (13116:3): [True: 0, False: 779k]
  ------------------
13117|      0|#line 4462 "MachineIndependent/glslang.y"
13118|      0|                         {
13119|      0|        (yyvsp[0].interm).function = parseContext.handleFunctionDeclarator((yyvsp[0].interm).loc, *(yyvsp[0].interm).function, false /* not prototype */);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13120|      0|        (yyvsp[0].interm).intermNode = parseContext.handleFunctionDefinition((yyvsp[0].interm).loc, *(yyvsp[0].interm).function);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13121|       |
13122|       |        // For ES 100 only, according to ES shading language 100 spec: A function
13123|       |        // body has a scope nested inside the function's definition.
13124|      0|        if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13124:13): [True: 0, False: 0]
  |  Branch (13124:51): [True: 0, False: 0]
  ------------------
13125|      0|        {
13126|      0|            parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13127|      0|            ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13128|      0|        }
13129|      0|    }
13130|      0|#line 13131 "MachineIndependent/glslang_tab.cpp"
13131|      0|    break;
13132|       |
13133|      0|  case 689: /* function_definition: function_prototype $@14 compound_statement_no_new_scope  */
  ------------------
  |  Branch (13133:3): [True: 0, False: 779k]
  ------------------
13134|      0|#line 4474 "MachineIndependent/glslang.y"
13135|      0|                                    {
13136|       |        //   May be best done as post process phase on intermediate code
13137|      0|        if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsValue)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsValue)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13137:13): [True: 0, False: 0]
  |  Branch (13137:76): [True: 0, False: 0]
  ------------------
13138|      0|            parseContext.error((yyvsp[-2].interm).loc, "function does not return a value:", "", "%s", (yyvsp[-2].interm).function->getName().c_str());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13139|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13140|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13141|      0|        (yyval.interm.intermNode)->getAsAggregate()->setLinkType((yyvsp[-2].interm).function->getLinkType());
13142|      0|        (yyval.interm.intermNode)->getAsAggregate()->setFunctionControl((yyvsp[-2].interm).function->getFunctionControl());
13143|      0|        parseContext.intermediate.setAggregateOperator((yyval.interm.intermNode), EOpFunction, (yyvsp[-2].interm).function->getType(), (yyvsp[-2].interm).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13144|      0|        (yyval.interm.intermNode)->getAsAggregate()->setName((yyvsp[-2].interm).function->getMangledName().c_str());
13145|       |
13146|       |        // store the pragma information for debug and optimize and other vendor specific
13147|       |        // information. This information can be queried from the parse tree
13148|      0|        (yyval.interm.intermNode)->getAsAggregate()->setOptimize(parseContext.contextPragma.optimize);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13149|      0|        (yyval.interm.intermNode)->getAsAggregate()->setDebug(parseContext.contextPragma.debug);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13150|      0|        (yyval.interm.intermNode)->getAsAggregate()->setPragmaTable(parseContext.contextPragma.pragmaTable);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13151|       |
13152|       |        // Set currentFunctionType to empty pointer when goes outside of the function
13153|      0|        parseContext.currentFunctionType = nullptr;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13154|       |
13155|       |        // For ES 100 only, according to ES shading language 100 spec: A function
13156|       |        // body has a scope nested inside the function's definition.
13157|      0|        if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13157:13): [True: 0, False: 0]
  |  Branch (13157:51): [True: 0, False: 0]
  ------------------
13158|      0|        {
13159|      0|            parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13160|      0|            --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13161|      0|        }
13162|      0|    }
13163|      0|#line 13164 "MachineIndependent/glslang_tab.cpp"
13164|      0|    break;
13165|       |
13166|      0|  case 690: /* attribute: LEFT_BRACKET LEFT_BRACKET attribute_list RIGHT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (13166:3): [True: 0, False: 779k]
  ------------------
13167|      0|#line 4505 "MachineIndependent/glslang.y"
13168|      0|                                                                           {
13169|      0|        (yyval.interm.attributes) = (yyvsp[-2].interm.attributes);
13170|      0|    }
13171|      0|#line 13172 "MachineIndependent/glslang_tab.cpp"
13172|      0|    break;
13173|       |
13174|      0|  case 691: /* attribute_list: single_attribute  */
  ------------------
  |  Branch (13174:3): [True: 0, False: 779k]
  ------------------
13175|      0|#line 4510 "MachineIndependent/glslang.y"
13176|      0|                       {
13177|      0|        (yyval.interm.attributes) = (yyvsp[0].interm.attributes);
13178|      0|    }
13179|      0|#line 13180 "MachineIndependent/glslang_tab.cpp"
13180|      0|    break;
13181|       |
13182|      0|  case 692: /* attribute_list: attribute_list COMMA single_attribute  */
  ------------------
  |  Branch (13182:3): [True: 0, False: 779k]
  ------------------
13183|      0|#line 4513 "MachineIndependent/glslang.y"
13184|      0|                                            {
13185|      0|        (yyval.interm.attributes) = parseContext.mergeAttributes((yyvsp[-2].interm.attributes), (yyvsp[0].interm.attributes));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13186|      0|    }
13187|      0|#line 13188 "MachineIndependent/glslang_tab.cpp"
13188|      0|    break;
13189|       |
13190|      0|  case 693: /* single_attribute: IDENTIFIER  */
  ------------------
  |  Branch (13190:3): [True: 0, False: 779k]
  ------------------
13191|      0|#line 4518 "MachineIndependent/glslang.y"
13192|      0|                 {
13193|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(*(yyvsp[0].lex).string);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13194|      0|    }
13195|      0|#line 13196 "MachineIndependent/glslang_tab.cpp"
13196|      0|    break;
13197|       |
13198|      0|  case 694: /* single_attribute: IDENTIFIER LEFT_PAREN constant_expression RIGHT_PAREN  */
  ------------------
  |  Branch (13198:3): [True: 0, False: 779k]
  ------------------
13199|      0|#line 4521 "MachineIndependent/glslang.y"
13200|      0|                                                            {
13201|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(*(yyvsp[-3].lex).string, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13202|      0|    }
13203|      0|#line 13204 "MachineIndependent/glslang_tab.cpp"
13204|      0|    break;
13205|       |
13206|      0|  case 695: /* single_attribute: INLINE  */
  ------------------
  |  Branch (13206:3): [True: 0, False: 779k]
  ------------------
13207|      0|#line 4524 "MachineIndependent/glslang.y"
13208|      0|             {
13209|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(TString("inline"));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13210|      0|    }
13211|      0|#line 13212 "MachineIndependent/glslang_tab.cpp"
13212|      0|    break;
13213|       |
13214|      0|  case 696: /* single_attribute: NOINLINE  */
  ------------------
  |  Branch (13214:3): [True: 0, False: 779k]
  ------------------
13215|      0|#line 4527 "MachineIndependent/glslang.y"
13216|      0|               {
13217|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(TString("noinline"));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13218|      0|    }
13219|      0|#line 13220 "MachineIndependent/glslang_tab.cpp"
13220|      0|    break;
13221|       |
13222|      0|  case 697: /* spirv_requirements_list: spirv_requirements_parameter  */
  ------------------
  |  Branch (13222:3): [True: 0, False: 779k]
  ------------------
13223|      0|#line 4532 "MachineIndependent/glslang.y"
13224|      0|                                   {
13225|      0|        (yyval.interm.spirvReq) = (yyvsp[0].interm.spirvReq);
13226|      0|    }
13227|      0|#line 13228 "MachineIndependent/glslang_tab.cpp"
13228|      0|    break;
13229|       |
13230|      0|  case 698: /* spirv_requirements_list: spirv_requirements_list COMMA spirv_requirements_parameter  */
  ------------------
  |  Branch (13230:3): [True: 0, False: 779k]
  ------------------
13231|      0|#line 4535 "MachineIndependent/glslang.y"
13232|      0|                                                                 {
13233|      0|        (yyval.interm.spirvReq) = parseContext.mergeSpirvRequirements((yyvsp[-1].lex).loc, (yyvsp[-2].interm.spirvReq), (yyvsp[0].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13234|      0|    }
13235|      0|#line 13236 "MachineIndependent/glslang_tab.cpp"
13236|      0|    break;
13237|       |
13238|      0|  case 699: /* spirv_requirements_parameter: IDENTIFIER EQUAL LEFT_BRACKET spirv_extension_list RIGHT_BRACKET  */
  ------------------
  |  Branch (13238:3): [True: 0, False: 779k]
  ------------------
13239|      0|#line 4540 "MachineIndependent/glslang.y"
13240|      0|                                                                       {
13241|      0|        (yyval.interm.spirvReq) = parseContext.makeSpirvRequirement((yyvsp[-3].lex).loc, *(yyvsp[-4].lex).string, (yyvsp[-1].interm.intermNode)->getAsAggregate(), nullptr);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13242|      0|    }
13243|      0|#line 13244 "MachineIndependent/glslang_tab.cpp"
13244|      0|    break;
13245|       |
13246|      0|  case 700: /* spirv_requirements_parameter: IDENTIFIER EQUAL LEFT_BRACKET spirv_capability_list RIGHT_BRACKET  */
  ------------------
  |  Branch (13246:3): [True: 0, False: 779k]
  ------------------
13247|      0|#line 4543 "MachineIndependent/glslang.y"
13248|      0|                                                                        {
13249|      0|        (yyval.interm.spirvReq) = parseContext.makeSpirvRequirement((yyvsp[-3].lex).loc, *(yyvsp[-4].lex).string, nullptr, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13250|      0|    }
13251|      0|#line 13252 "MachineIndependent/glslang_tab.cpp"
13252|      0|    break;
13253|       |
13254|      0|  case 701: /* spirv_extension_list: STRING_LITERAL  */
  ------------------
  |  Branch (13254:3): [True: 0, False: 779k]
  ------------------
13255|      0|#line 4548 "MachineIndependent/glslang.y"
13256|      0|                     {
13257|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13258|      0|    }
13259|      0|#line 13260 "MachineIndependent/glslang_tab.cpp"
13260|      0|    break;
13261|       |
13262|      0|  case 702: /* spirv_extension_list: spirv_extension_list COMMA STRING_LITERAL  */
  ------------------
  |  Branch (13262:3): [True: 0, False: 779k]
  ------------------
13263|      0|#line 4551 "MachineIndependent/glslang.y"
13264|      0|                                                {
13265|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13266|      0|    }
13267|      0|#line 13268 "MachineIndependent/glslang_tab.cpp"
13268|      0|    break;
13269|       |
13270|      0|  case 703: /* spirv_capability_list: INTCONSTANT  */
  ------------------
  |  Branch (13270:3): [True: 0, False: 779k]
  ------------------
13271|      0|#line 4556 "MachineIndependent/glslang.y"
13272|      0|                  {
13273|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13274|      0|    }
13275|      0|#line 13276 "MachineIndependent/glslang_tab.cpp"
13276|      0|    break;
13277|       |
13278|      0|  case 704: /* spirv_capability_list: spirv_capability_list COMMA INTCONSTANT  */
  ------------------
  |  Branch (13278:3): [True: 0, False: 779k]
  ------------------
13279|      0|#line 4559 "MachineIndependent/glslang.y"
13280|      0|                                              {
13281|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13282|      0|    }
13283|      0|#line 13284 "MachineIndependent/glslang_tab.cpp"
13284|      0|    break;
13285|       |
13286|      0|  case 705: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13286:3): [True: 0, False: 779k]
  ------------------
13287|      0|#line 4564 "MachineIndependent/glslang.y"
13288|      0|                                                              {
13289|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-1].lex).i);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13290|      0|        (yyval.interm.intermNode) = 0;
13291|      0|    }
13292|      0|#line 13293 "MachineIndependent/glslang_tab.cpp"
13293|      0|    break;
13294|       |
13295|      0|  case 706: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13295:3): [True: 0, False: 779k]
  ------------------
13296|      0|#line 4568 "MachineIndependent/glslang.y"
13297|      0|                                                                                            {
13298|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13299|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-1].lex).i);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13300|      0|        (yyval.interm.intermNode) = 0;
13301|      0|    }
13302|      0|#line 13303 "MachineIndependent/glslang_tab.cpp"
13303|      0|    break;
13304|       |
13305|      0|  case 707: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN INTCONSTANT COMMA spirv_execution_mode_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13305:3): [True: 0, False: 779k]
  ------------------
13306|      0|#line 4573 "MachineIndependent/glslang.y"
13307|      0|                                                                                                        {
13308|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13309|      0|        (yyval.interm.intermNode) = 0;
13310|      0|    }
13311|      0|#line 13312 "MachineIndependent/glslang_tab.cpp"
13312|      0|    break;
13313|       |
13314|      0|  case 708: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_execution_mode_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13314:3): [True: 0, False: 779k]
  ------------------
13315|      0|#line 4577 "MachineIndependent/glslang.y"
13316|      0|                                                                                                                                      {
13317|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13318|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13319|      0|        (yyval.interm.intermNode) = 0;
13320|      0|    }
13321|      0|#line 13322 "MachineIndependent/glslang_tab.cpp"
13322|      0|    break;
13323|       |
13324|      0|  case 709: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE_ID LEFT_PAREN INTCONSTANT COMMA spirv_execution_mode_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13324:3): [True: 0, False: 779k]
  ------------------
13325|      0|#line 4582 "MachineIndependent/glslang.y"
13326|      0|                                                                                                              {
13327|      0|        parseContext.intermediate.insertSpirvExecutionModeId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13328|      0|        (yyval.interm.intermNode) = 0;
13329|      0|    }
13330|      0|#line 13331 "MachineIndependent/glslang_tab.cpp"
13331|      0|    break;
13332|       |
13333|      0|  case 710: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE_ID LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_execution_mode_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13333:3): [True: 0, False: 779k]
  ------------------
13334|      0|#line 4586 "MachineIndependent/glslang.y"
13335|      0|                                                                                                                                            {
13336|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13337|      0|        parseContext.intermediate.insertSpirvExecutionModeId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13338|      0|        (yyval.interm.intermNode) = 0;
13339|      0|    }
13340|      0|#line 13341 "MachineIndependent/glslang_tab.cpp"
13341|      0|    break;
13342|       |
13343|      0|  case 711: /* spirv_execution_mode_parameter_list: spirv_execution_mode_parameter  */
  ------------------
  |  Branch (13343:3): [True: 0, False: 779k]
  ------------------
13344|      0|#line 4593 "MachineIndependent/glslang.y"
13345|      0|                                     {
13346|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13347|      0|    }
13348|      0|#line 13349 "MachineIndependent/glslang_tab.cpp"
13349|      0|    break;
13350|       |
13351|      0|  case 712: /* spirv_execution_mode_parameter_list: spirv_execution_mode_parameter_list COMMA spirv_execution_mode_parameter  */
  ------------------
  |  Branch (13351:3): [True: 0, False: 779k]
  ------------------
13352|      0|#line 4596 "MachineIndependent/glslang.y"
13353|      0|                                                                               {
13354|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13355|      0|    }
13356|      0|#line 13357 "MachineIndependent/glslang_tab.cpp"
13357|      0|    break;
13358|       |
13359|      0|  case 713: /* spirv_execution_mode_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (13359:3): [True: 0, False: 779k]
  ------------------
13360|      0|#line 4601 "MachineIndependent/glslang.y"
13361|      0|                    {
13362|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13363|      0|    }
13364|      0|#line 13365 "MachineIndependent/glslang_tab.cpp"
13365|      0|    break;
13366|       |
13367|      0|  case 714: /* spirv_execution_mode_parameter: INTCONSTANT  */
  ------------------
  |  Branch (13367:3): [True: 0, False: 779k]
  ------------------
13368|      0|#line 4604 "MachineIndependent/glslang.y"
13369|      0|                  {
13370|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13371|      0|    }
13372|      0|#line 13373 "MachineIndependent/glslang_tab.cpp"
13373|      0|    break;
13374|       |
13375|      0|  case 715: /* spirv_execution_mode_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (13375:3): [True: 0, False: 779k]
  ------------------
13376|      0|#line 4607 "MachineIndependent/glslang.y"
13377|      0|                   {
13378|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13379|      0|    }
13380|      0|#line 13381 "MachineIndependent/glslang_tab.cpp"
13381|      0|    break;
13382|       |
13383|      0|  case 716: /* spirv_execution_mode_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (13383:3): [True: 0, False: 779k]
  ------------------
13384|      0|#line 4610 "MachineIndependent/glslang.y"
13385|      0|                   {
13386|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13387|      0|    }
13388|      0|#line 13389 "MachineIndependent/glslang_tab.cpp"
13389|      0|    break;
13390|       |
13391|      0|  case 717: /* spirv_execution_mode_parameter: STRING_LITERAL  */
  ------------------
  |  Branch (13391:3): [True: 0, False: 779k]
  ------------------
13392|      0|#line 4613 "MachineIndependent/glslang.y"
13393|      0|                     {
13394|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13395|      0|    }
13396|      0|#line 13397 "MachineIndependent/glslang_tab.cpp"
13397|      0|    break;
13398|       |
13399|      0|  case 718: /* spirv_execution_mode_id_parameter_list: constant_expression  */
  ------------------
  |  Branch (13399:3): [True: 0, False: 779k]
  ------------------
13400|      0|#line 4618 "MachineIndependent/glslang.y"
13401|      0|                          {
13402|      0|        if ((yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (13402:13): [True: 0, False: 0]
  ------------------
13403|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtInt &&
  ------------------
  |  Branch (13403:13): [True: 0, False: 0]
  ------------------
13404|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtUint &&
  ------------------
  |  Branch (13404:13): [True: 0, False: 0]
  ------------------
13405|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtBool &&
  ------------------
  |  Branch (13405:13): [True: 0, False: 0]
  ------------------
13406|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtString)
  ------------------
  |  Branch (13406:13): [True: 0, False: 0]
  ------------------
13407|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "this type not allowed", (yyvsp[0].interm.intermTypedNode)->getType().getBasicString(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13408|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13409|      0|    }
13410|      0|#line 13411 "MachineIndependent/glslang_tab.cpp"
13411|      0|    break;
13412|       |
13413|      0|  case 719: /* spirv_execution_mode_id_parameter_list: spirv_execution_mode_id_parameter_list COMMA constant_expression  */
  ------------------
  |  Branch (13413:3): [True: 0, False: 779k]
  ------------------
13414|      0|#line 4627 "MachineIndependent/glslang.y"
13415|      0|                                                                       {
13416|      0|        if ((yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (13416:13): [True: 0, False: 0]
  ------------------
13417|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtInt &&
  ------------------
  |  Branch (13417:13): [True: 0, False: 0]
  ------------------
13418|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtUint &&
  ------------------
  |  Branch (13418:13): [True: 0, False: 0]
  ------------------
13419|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtBool &&
  ------------------
  |  Branch (13419:13): [True: 0, False: 0]
  ------------------
13420|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtString)
  ------------------
  |  Branch (13420:13): [True: 0, False: 0]
  ------------------
13421|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "this type not allowed", (yyvsp[0].interm.intermTypedNode)->getType().getBasicString(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13422|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13423|      0|    }
13424|      0|#line 13425 "MachineIndependent/glslang_tab.cpp"
13425|      0|    break;
13426|       |
13427|      0|  case 720: /* spirv_storage_class_qualifier: SPIRV_STORAGE_CLASS LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13427:3): [True: 0, False: 779k]
  ------------------
13428|      0|#line 4638 "MachineIndependent/glslang.y"
13429|      0|                                                             {
13430|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
13431|      0|        (yyval.interm.type).qualifier.storage = EvqSpirvStorageClass;
13432|      0|        (yyval.interm.type).qualifier.spirvStorageClass = (yyvsp[-1].lex).i;
13433|      0|    }
13434|      0|#line 13435 "MachineIndependent/glslang_tab.cpp"
13435|      0|    break;
13436|       |
13437|      0|  case 721: /* spirv_storage_class_qualifier: SPIRV_STORAGE_CLASS LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13437:3): [True: 0, False: 779k]
  ------------------
13438|      0|#line 4643 "MachineIndependent/glslang.y"
13439|      0|                                                                                           {
13440|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13441|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13442|      0|        (yyval.interm.type).qualifier.storage = EvqSpirvStorageClass;
13443|      0|        (yyval.interm.type).qualifier.spirvStorageClass = (yyvsp[-1].lex).i;
13444|      0|    }
13445|      0|#line 13446 "MachineIndependent/glslang_tab.cpp"
13446|      0|    break;
13447|       |
13448|      0|  case 722: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13448:3): [True: 0, False: 779k]
  ------------------
13449|      0|#line 4651 "MachineIndependent/glslang.y"
13450|      0|                                                       {
13451|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
13452|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-1].lex).i);
13453|      0|    }
13454|      0|#line 13455 "MachineIndependent/glslang_tab.cpp"
13455|      0|    break;
13456|       |
13457|      0|  case 723: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13457:3): [True: 0, False: 779k]
  ------------------
13458|      0|#line 4655 "MachineIndependent/glslang.y"
13459|      0|                                                                                     {
13460|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13461|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13462|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-1].lex).i);
13463|      0|    }
13464|      0|#line 13465 "MachineIndependent/glslang_tab.cpp"
13465|      0|    break;
13466|       |
13467|      0|  case 724: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN INTCONSTANT COMMA spirv_decorate_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13467:3): [True: 0, False: 779k]
  ------------------
13468|      0|#line 4660 "MachineIndependent/glslang.y"
13469|      0|                                                                                            {
13470|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13471|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13472|      0|    }
13473|      0|#line 13474 "MachineIndependent/glslang_tab.cpp"
13474|      0|    break;
13475|       |
13476|      0|  case 725: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13476:3): [True: 0, False: 779k]
  ------------------
13477|      0|#line 4664 "MachineIndependent/glslang.y"
13478|      0|                                                                                                                          {
13479|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
13480|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13481|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13482|      0|    }
13483|      0|#line 13484 "MachineIndependent/glslang_tab.cpp"
13484|      0|    break;
13485|       |
13486|      0|  case 726: /* spirv_decorate_qualifier: SPIRV_DECORATE_ID LEFT_PAREN INTCONSTANT COMMA spirv_decorate_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13486:3): [True: 0, False: 779k]
  ------------------
13487|      0|#line 4669 "MachineIndependent/glslang.y"
13488|      0|                                                                                                  {
13489|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13490|      0|        (yyval.interm.type).qualifier.setSpirvDecorateId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13491|      0|    }
13492|      0|#line 13493 "MachineIndependent/glslang_tab.cpp"
13493|      0|    break;
13494|       |
13495|      0|  case 727: /* spirv_decorate_qualifier: SPIRV_DECORATE_ID LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13495:3): [True: 0, False: 779k]
  ------------------
13496|      0|#line 4673 "MachineIndependent/glslang.y"
13497|      0|                                                                                                                                {
13498|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
13499|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13500|      0|        (yyval.interm.type).qualifier.setSpirvDecorateId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13501|      0|    }
13502|      0|#line 13503 "MachineIndependent/glslang_tab.cpp"
13503|      0|    break;
13504|       |
13505|      0|  case 728: /* spirv_decorate_qualifier: SPIRV_DECORATE_STRING LEFT_PAREN INTCONSTANT COMMA spirv_decorate_string_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13505:3): [True: 0, False: 779k]
  ------------------
13506|      0|#line 4678 "MachineIndependent/glslang.y"
13507|      0|                                                                                                          {
13508|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13509|      0|        (yyval.interm.type).qualifier.setSpirvDecorateString((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13510|      0|    }
13511|      0|#line 13512 "MachineIndependent/glslang_tab.cpp"
13512|      0|    break;
13513|       |
13514|      0|  case 729: /* spirv_decorate_qualifier: SPIRV_DECORATE_STRING LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_string_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13514:3): [True: 0, False: 779k]
  ------------------
13515|      0|#line 4682 "MachineIndependent/glslang.y"
13516|      0|                                                                                                                                        {
13517|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
13518|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13519|      0|        (yyval.interm.type).qualifier.setSpirvDecorateString((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13520|      0|    }
13521|      0|#line 13522 "MachineIndependent/glslang_tab.cpp"
13522|      0|    break;
13523|       |
13524|      0|  case 730: /* spirv_decorate_parameter_list: spirv_decorate_parameter  */
  ------------------
  |  Branch (13524:3): [True: 0, False: 779k]
  ------------------
13525|      0|#line 4689 "MachineIndependent/glslang.y"
13526|      0|                               {
13527|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13528|      0|    }
13529|      0|#line 13530 "MachineIndependent/glslang_tab.cpp"
13530|      0|    break;
13531|       |
13532|      0|  case 731: /* spirv_decorate_parameter_list: spirv_decorate_parameter_list COMMA spirv_decorate_parameter  */
  ------------------
  |  Branch (13532:3): [True: 0, False: 779k]
  ------------------
13533|      0|#line 4692 "MachineIndependent/glslang.y"
13534|      0|                                                                   {
13535|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13536|      0|    }
13537|      0|#line 13538 "MachineIndependent/glslang_tab.cpp"
13538|      0|    break;
13539|       |
13540|      0|  case 732: /* spirv_decorate_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (13540:3): [True: 0, False: 779k]
  ------------------
13541|      0|#line 4697 "MachineIndependent/glslang.y"
13542|      0|                    {
13543|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13544|      0|    }
13545|      0|#line 13546 "MachineIndependent/glslang_tab.cpp"
13546|      0|    break;
13547|       |
13548|      0|  case 733: /* spirv_decorate_parameter: INTCONSTANT  */
  ------------------
  |  Branch (13548:3): [True: 0, False: 779k]
  ------------------
13549|      0|#line 4700 "MachineIndependent/glslang.y"
13550|      0|                  {
13551|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13552|      0|    }
13553|      0|#line 13554 "MachineIndependent/glslang_tab.cpp"
13554|      0|    break;
13555|       |
13556|      0|  case 734: /* spirv_decorate_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (13556:3): [True: 0, False: 779k]
  ------------------
13557|      0|#line 4703 "MachineIndependent/glslang.y"
13558|      0|                   {
13559|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13560|      0|    }
13561|      0|#line 13562 "MachineIndependent/glslang_tab.cpp"
13562|      0|    break;
13563|       |
13564|      0|  case 735: /* spirv_decorate_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (13564:3): [True: 0, False: 779k]
  ------------------
13565|      0|#line 4706 "MachineIndependent/glslang.y"
13566|      0|                   {
13567|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13568|      0|    }
13569|      0|#line 13570 "MachineIndependent/glslang_tab.cpp"
13570|      0|    break;
13571|       |
13572|      0|  case 736: /* spirv_decorate_id_parameter_list: spirv_decorate_id_parameter  */
  ------------------
  |  Branch (13572:3): [True: 0, False: 779k]
  ------------------
13573|      0|#line 4711 "MachineIndependent/glslang.y"
13574|      0|                                  {
13575|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13576|      0|    }
13577|      0|#line 13578 "MachineIndependent/glslang_tab.cpp"
13578|      0|    break;
13579|       |
13580|      0|  case 737: /* spirv_decorate_id_parameter_list: spirv_decorate_id_parameter_list COMMA spirv_decorate_id_parameter  */
  ------------------
  |  Branch (13580:3): [True: 0, False: 779k]
  ------------------
13581|      0|#line 4714 "MachineIndependent/glslang.y"
13582|      0|                                                                         {
13583|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13584|      0|    }
13585|      0|#line 13586 "MachineIndependent/glslang_tab.cpp"
13586|      0|    break;
13587|       |
13588|      0|  case 738: /* spirv_decorate_id_parameter: variable_identifier  */
  ------------------
  |  Branch (13588:3): [True: 0, False: 779k]
  ------------------
13589|      0|#line 4719 "MachineIndependent/glslang.y"
13590|      0|                          {
13591|      0|        if ((yyvsp[0].interm.intermTypedNode)->getAsConstantUnion() || (yyvsp[0].interm.intermTypedNode)->getAsSymbolNode())
  ------------------
  |  Branch (13591:13): [True: 0, False: 0]
  |  Branch (13591:72): [True: 0, False: 0]
  ------------------
13592|      0|            (yyval.interm.intermNode) = (yyvsp[0].interm.intermTypedNode);
13593|      0|        else
13594|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "only allow constants or variables which are not elements of a composite", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13595|      0|    }
13596|      0|#line 13597 "MachineIndependent/glslang_tab.cpp"
13597|      0|    break;
13598|       |
13599|      0|  case 739: /* spirv_decorate_id_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (13599:3): [True: 0, False: 779k]
  ------------------
13600|      0|#line 4725 "MachineIndependent/glslang.y"
13601|      0|                    {
13602|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13603|      0|    }
13604|      0|#line 13605 "MachineIndependent/glslang_tab.cpp"
13605|      0|    break;
13606|       |
13607|      0|  case 740: /* spirv_decorate_id_parameter: INTCONSTANT  */
  ------------------
  |  Branch (13607:3): [True: 0, False: 779k]
  ------------------
13608|      0|#line 4728 "MachineIndependent/glslang.y"
13609|      0|                  {
13610|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13611|      0|    }
13612|      0|#line 13613 "MachineIndependent/glslang_tab.cpp"
13613|      0|    break;
13614|       |
13615|      0|  case 741: /* spirv_decorate_id_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (13615:3): [True: 0, False: 779k]
  ------------------
13616|      0|#line 4731 "MachineIndependent/glslang.y"
13617|      0|                   {
13618|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13619|      0|    }
13620|      0|#line 13621 "MachineIndependent/glslang_tab.cpp"
13621|      0|    break;
13622|       |
13623|      0|  case 742: /* spirv_decorate_id_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (13623:3): [True: 0, False: 779k]
  ------------------
13624|      0|#line 4734 "MachineIndependent/glslang.y"
13625|      0|                   {
13626|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13627|      0|    }
13628|      0|#line 13629 "MachineIndependent/glslang_tab.cpp"
13629|      0|    break;
13630|       |
13631|      0|  case 743: /* spirv_decorate_string_parameter_list: STRING_LITERAL  */
  ------------------
  |  Branch (13631:3): [True: 0, False: 779k]
  ------------------
13632|      0|#line 4739 "MachineIndependent/glslang.y"
13633|      0|                     {
13634|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13635|      0|            parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13636|      0|    }
13637|      0|#line 13638 "MachineIndependent/glslang_tab.cpp"
13638|      0|    break;
13639|       |
13640|      0|  case 744: /* spirv_decorate_string_parameter_list: spirv_decorate_string_parameter_list COMMA STRING_LITERAL  */
  ------------------
  |  Branch (13640:3): [True: 0, False: 779k]
  ------------------
13641|      0|#line 4743 "MachineIndependent/glslang.y"
13642|      0|                                                                {
13643|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13644|      0|    }
13645|      0|#line 13646 "MachineIndependent/glslang_tab.cpp"
13646|      0|    break;
13647|       |
13648|      0|  case 745: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_instruction_qualifier_list COMMA spirv_type_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13648:3): [True: 0, False: 779k]
  ------------------
13649|      0|#line 4748 "MachineIndependent/glslang.y"
13650|      0|                                                                                                         {
13651|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13652|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-3].interm.spirvInst), (yyvsp[-1].interm.spirvTypeParams));
13653|      0|    }
13654|      0|#line 13655 "MachineIndependent/glslang_tab.cpp"
13655|      0|    break;
13656|       |
13657|      0|  case 746: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list COMMA spirv_type_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13657:3): [True: 0, False: 779k]
  ------------------
13658|      0|#line 4752 "MachineIndependent/glslang.y"
13659|      0|                                                                                                                                       {
13660|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13661|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13662|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-3].interm.spirvInst), (yyvsp[-1].interm.spirvTypeParams));
13663|      0|    }
13664|      0|#line 13665 "MachineIndependent/glslang_tab.cpp"
13665|      0|    break;
13666|       |
13667|      0|  case 747: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13667:3): [True: 0, False: 779k]
  ------------------
13668|      0|#line 4757 "MachineIndependent/glslang.y"
13669|      0|                                                                         {
13670|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13671|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-1].interm.spirvInst));
13672|      0|    }
13673|      0|#line 13674 "MachineIndependent/glslang_tab.cpp"
13674|      0|    break;
13675|       |
13676|      0|  case 748: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13676:3): [True: 0, False: 779k]
  ------------------
13677|      0|#line 4761 "MachineIndependent/glslang.y"
13678|      0|                                                                                                       {
13679|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13680|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13681|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-1].interm.spirvInst));
13682|      0|    }
13683|      0|#line 13684 "MachineIndependent/glslang_tab.cpp"
13684|      0|    break;
13685|       |
13686|      0|  case 749: /* spirv_type_parameter_list: spirv_type_parameter  */
  ------------------
  |  Branch (13686:3): [True: 0, False: 779k]
  ------------------
13687|      0|#line 4768 "MachineIndependent/glslang.y"
13688|      0|                           {
13689|      0|        (yyval.interm.spirvTypeParams) = (yyvsp[0].interm.spirvTypeParams);
13690|      0|    }
13691|      0|#line 13692 "MachineIndependent/glslang_tab.cpp"
13692|      0|    break;
13693|       |
13694|      0|  case 750: /* spirv_type_parameter_list: spirv_type_parameter_list COMMA spirv_type_parameter  */
  ------------------
  |  Branch (13694:3): [True: 0, False: 779k]
  ------------------
13695|      0|#line 4771 "MachineIndependent/glslang.y"
13696|      0|                                                           {
13697|      0|        (yyval.interm.spirvTypeParams) = parseContext.mergeSpirvTypeParameters((yyvsp[-2].interm.spirvTypeParams), (yyvsp[0].interm.spirvTypeParams));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13698|      0|    }
13699|      0|#line 13700 "MachineIndependent/glslang_tab.cpp"
13700|      0|    break;
13701|       |
13702|      0|  case 751: /* spirv_type_parameter: constant_expression  */
  ------------------
  |  Branch (13702:3): [True: 0, False: 779k]
  ------------------
13703|      0|#line 4776 "MachineIndependent/glslang.y"
13704|      0|                          {
13705|      0|        (yyval.interm.spirvTypeParams) = parseContext.makeSpirvTypeParameters((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode)->getAsConstantUnion());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13706|      0|    }
13707|      0|#line 13708 "MachineIndependent/glslang_tab.cpp"
13708|      0|    break;
13709|       |
13710|      0|  case 752: /* spirv_type_parameter: type_specifier_nonarray  */
  ------------------
  |  Branch (13710:3): [True: 0, False: 779k]
  ------------------
13711|      0|#line 4779 "MachineIndependent/glslang.y"
13712|      0|                              {
13713|      0|        (yyval.interm.spirvTypeParams) = parseContext.makeSpirvTypeParameters((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13714|      0|    }
13715|      0|#line 13716 "MachineIndependent/glslang_tab.cpp"
13716|      0|    break;
13717|       |
13718|      0|  case 753: /* spirv_instruction_qualifier: SPIRV_INSTRUCTION LEFT_PAREN spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13718:3): [True: 0, False: 779k]
  ------------------
13719|      0|#line 4784 "MachineIndependent/glslang.y"
13720|      0|                                                                                {
13721|      0|        (yyval.interm.spirvInst) = (yyvsp[-1].interm.spirvInst);
13722|      0|    }
13723|      0|#line 13724 "MachineIndependent/glslang_tab.cpp"
13724|      0|    break;
13725|       |
13726|      0|  case 754: /* spirv_instruction_qualifier: SPIRV_INSTRUCTION LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13726:3): [True: 0, False: 779k]
  ------------------
13727|      0|#line 4787 "MachineIndependent/glslang.y"
13728|      0|                                                                                                              {
13729|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13730|      0|        (yyval.interm.spirvInst) = (yyvsp[-1].interm.spirvInst);
13731|      0|    }
13732|      0|#line 13733 "MachineIndependent/glslang_tab.cpp"
13733|      0|    break;
13734|       |
13735|      0|  case 755: /* spirv_instruction_qualifier_list: spirv_instruction_qualifier_id  */
  ------------------
  |  Branch (13735:3): [True: 0, False: 779k]
  ------------------
13736|      0|#line 4793 "MachineIndependent/glslang.y"
13737|      0|                                     {
13738|      0|        (yyval.interm.spirvInst) = (yyvsp[0].interm.spirvInst);
13739|      0|    }
13740|      0|#line 13741 "MachineIndependent/glslang_tab.cpp"
13741|      0|    break;
13742|       |
13743|      0|  case 756: /* spirv_instruction_qualifier_list: spirv_instruction_qualifier_list COMMA spirv_instruction_qualifier_id  */
  ------------------
  |  Branch (13743:3): [True: 0, False: 779k]
  ------------------
13744|      0|#line 4796 "MachineIndependent/glslang.y"
13745|      0|                                                                            {
13746|      0|        (yyval.interm.spirvInst) = parseContext.mergeSpirvInstruction((yyvsp[-1].lex).loc, (yyvsp[-2].interm.spirvInst), (yyvsp[0].interm.spirvInst));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13747|      0|    }
13748|      0|#line 13749 "MachineIndependent/glslang_tab.cpp"
13749|      0|    break;
13750|       |
13751|      0|  case 757: /* spirv_instruction_qualifier_id: IDENTIFIER EQUAL STRING_LITERAL  */
  ------------------
  |  Branch (13751:3): [True: 0, False: 779k]
  ------------------
13752|      0|#line 4801 "MachineIndependent/glslang.y"
13753|      0|                                      {
13754|      0|        (yyval.interm.spirvInst) = parseContext.makeSpirvInstruction((yyvsp[-1].lex).loc, *(yyvsp[-2].lex).string, *(yyvsp[0].lex).string);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13755|      0|    }
13756|      0|#line 13757 "MachineIndependent/glslang_tab.cpp"
13757|      0|    break;
13758|       |
13759|      0|  case 758: /* spirv_instruction_qualifier_id: IDENTIFIER EQUAL INTCONSTANT  */
  ------------------
  |  Branch (13759:3): [True: 0, False: 779k]
  ------------------
13760|      0|#line 4804 "MachineIndependent/glslang.y"
13761|      0|                                   {
13762|      0|        (yyval.interm.spirvInst) = parseContext.makeSpirvInstruction((yyvsp[-1].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[0].lex).i);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13763|      0|    }
13764|      0|#line 13765 "MachineIndependent/glslang_tab.cpp"
13765|      0|    break;
13766|       |
13767|       |
13768|      0|#line 13769 "MachineIndependent/glslang_tab.cpp"
13769|       |
13770|      0|      default: break;
  ------------------
  |  Branch (13770:7): [True: 0, False: 779k]
  ------------------
13771|   779k|    }
13772|       |  /* User semantic actions sometimes alter yychar, and that requires
13773|       |     that yytoken be updated with the new translation.  We take the
13774|       |     approach of translating immediately before every use of yytoken.
13775|       |     One alternative is translating here after every semantic action,
13776|       |     but that translation would be missed if the semantic action invokes
13777|       |     YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
13778|       |     if it invokes YYBACKUP.  In the case of YYABORT or YYACCEPT, an
13779|       |     incorrect destructor might then be invoked immediately.  In the
13780|       |     case of YYERROR or YYBACKUP, subsequent parser actions might lead
13781|       |     to an incorrect destructor call or verbose syntax error message
13782|       |     before the lookahead is translated.  */
13783|   779k|  YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc);
  ------------------
  |  | 5208|   779k|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|   779k|do {                                                                      \
  |  | 5210|   779k|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 779k]
  |  |  ------------------
  |  | 5211|   779k|    {                                                                     \
  |  | 5212|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5213|      0|      yy_symbol_print (stderr,                                            \
  |  | 5214|      0|                  Kind, Value, pParseContext); \
  |  | 5215|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5216|      0|    }                                                                     \
  |  | 5217|   779k|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 779k]
  |  |  ------------------
  ------------------
13784|       |
13785|   779k|  YYPOPSTACK (yylen);
  ------------------
  |  | 5685|   779k|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13786|   779k|  yylen = 0;
13787|       |
13788|   779k|  *++yyvsp = yyval;
13789|       |
13790|       |  /* Now 'shift' the result of the reduction.  Determine what state
13791|       |     that goes to, based on the state we popped back to and the rule
13792|       |     number reduced by.  */
13793|   779k|  {
13794|   779k|    const int yylhs = yyr1[yyn] - YYNTOKENS;
  ------------------
  |  | 1116|   779k|#define YYNTOKENS  515
  ------------------
13795|   779k|    const int yyi = yypgoto[yylhs] + *yyssp;
13796|   779k|    yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp
  ------------------
  |  | 1113|  1.17M|#define YYLAST   15602
  ------------------
  |  Branch (13796:16): [True: 398k, False: 381k]
  |  Branch (13796:28): [True: 398k, False: 0]
  |  Branch (13796:45): [True: 255k, False: 143k]
  ------------------
13797|   779k|               ? yytable[yyi]
13798|   779k|               : yydefgoto[yylhs]);
13799|   779k|  }
13800|       |
13801|   779k|  goto yynewstate;
13802|       |
13803|       |
13804|       |/*--------------------------------------.
13805|       || yyerrlab -- here on detecting error.  |
13806|       |`--------------------------------------*/
13807|     37|yyerrlab:
13808|       |  /* Make sure we have latest lookahead translation.  See comments at
13809|       |     user semantic actions for why this is necessary.  */
13810|     37|  yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
  ------------------
  |  | 1131|     74|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1125|     37|#define YYMAXUTOK   769
  |  |  ------------------
  |  |  |  Branch (1131:4): [True: 37, False: 0]
  |  |  |  Branch (1131:18): [True: 37, False: 0]
  |  |  ------------------
  |  | 1132|     74|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|     37|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1133|     74|   : YYSYMBOL_YYUNDEF)
  ------------------
  |  Branch (13810:13): [True: 0, False: 37]
  ------------------
13811|       |  /* If not already recovering from an error, report this error.  */
13812|     37|  if (!yyerrstatus)
  ------------------
  |  Branch (13812:7): [True: 37, False: 0]
  ------------------
13813|     37|    {
13814|     37|      ++yynerrs;
13815|     37|      {
13816|     37|        yypcontext_t yyctx
13817|     37|          = {yyssp, yytoken};
13818|     37|        char const *yymsgp = YY_("syntax error");
  ------------------
  |  |  915|     37|#  define YY_(Msgid) Msgid
  ------------------
13819|     37|        int yysyntax_error_status;
13820|     37|        yysyntax_error_status = yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
13821|     37|        if (yysyntax_error_status == 0)
  ------------------
  |  Branch (13821:13): [True: 37, False: 0]
  ------------------
13822|     37|          yymsgp = yymsg;
13823|      0|        else if (yysyntax_error_status == -1)
  ------------------
  |  Branch (13823:18): [True: 0, False: 0]
  ------------------
13824|      0|          {
13825|      0|            if (yymsg != yymsgbuf)
  ------------------
  |  Branch (13825:17): [True: 0, False: 0]
  ------------------
13826|      0|              YYSTACK_FREE (yymsg);
  ------------------
  |  | 1023|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1042|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13827|      0|            yymsg = YY_CAST (char *,
  ------------------
  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
13828|      0|                             YYSTACK_ALLOC (YY_CAST (YYSIZE_T, yymsg_alloc)));
13829|      0|            if (yymsg)
  ------------------
  |  Branch (13829:17): [True: 0, False: 0]
  ------------------
13830|      0|              {
13831|      0|                yysyntax_error_status
13832|      0|                  = yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
13833|      0|                yymsgp = yymsg;
13834|      0|              }
13835|      0|            else
13836|      0|              {
13837|      0|                yymsg = yymsgbuf;
13838|      0|                yymsg_alloc = sizeof yymsgbuf;
13839|      0|                yysyntax_error_status = YYENOMEM;
13840|      0|              }
13841|      0|          }
13842|     37|        yyerror (pParseContext, yymsgp);
  ------------------
  |  |  784|     37|#define yyerror(context, msg) context->parserError(msg)
  ------------------
13843|     37|        if (yysyntax_error_status == YYENOMEM)
  ------------------
  |  Branch (13843:13): [True: 0, False: 37]
  ------------------
13844|      0|          YYNOMEM;
  ------------------
  |  | 5164|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
13845|     37|      }
13846|     37|    }
13847|       |
13848|     37|  if (yyerrstatus == 3)
  ------------------
  |  Branch (13848:7): [True: 0, False: 37]
  ------------------
13849|      0|    {
13850|       |      /* If just tried and failed to reuse lookahead token after an
13851|       |         error, discard it.  */
13852|       |
13853|      0|      if (yychar <= YYEOF)
  ------------------
  |  Branch (13853:11): [True: 0, False: 0]
  ------------------
13854|      0|        {
13855|       |          /* Return failure if at end of input.  */
13856|      0|          if (yychar == YYEOF)
  ------------------
  |  Branch (13856:15): [True: 0, False: 0]
  ------------------
13857|      0|            YYABORT;
  ------------------
  |  | 5162|      0|#define YYABORT         goto yyabortlab
  ------------------
13858|      0|        }
13859|      0|      else
13860|      0|        {
13861|      0|          yydestruct ("Error: discarding",
13862|      0|                      yytoken, &yylval, pParseContext);
13863|      0|          yychar = YYEMPTY;
13864|      0|        }
13865|      0|    }
13866|       |
13867|       |  /* Else will try to reuse lookahead token after shifting the error
13868|       |     token.  */
13869|     37|  goto yyerrlab1;
13870|       |
13871|       |
13872|       |/*---------------------------------------------------.
13873|       || yyerrorlab -- error raised explicitly by YYERROR.  |
13874|       |`---------------------------------------------------*/
13875|     37|yyerrorlab:
13876|       |  /* Pacify compilers when the user code never invokes YYERROR and the
13877|       |     label yyerrorlab therefore never appears in user code.  */
13878|      0|  if (0)
  ------------------
  |  Branch (13878:7): [Folded, False: 0]
  ------------------
13879|      0|    YYERROR;
  ------------------
  |  | 5163|      0|#define YYERROR         goto yyerrorlab
  ------------------
13880|      0|  ++yynerrs;
13881|       |
13882|       |  /* Do not reclaim the symbols of the rule whose action triggered
13883|       |     this YYERROR.  */
13884|      0|  YYPOPSTACK (yylen);
  ------------------
  |  | 5685|      0|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13885|      0|  yylen = 0;
13886|      0|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5271|      0|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5272|      0|do {                                                            \
  |  | 5273|      0|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5273:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 5274|      0|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5275|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (5275:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
13887|      0|  yystate = *yyssp;
13888|      0|  goto yyerrlab1;
13889|       |
13890|       |
13891|       |/*-------------------------------------------------------------.
13892|       || yyerrlab1 -- common code for both syntax error and YYERROR.  |
13893|       |`-------------------------------------------------------------*/
13894|     37|yyerrlab1:
13895|     37|  yyerrstatus = 3;      /* Each real token shifted decrements this.  */
13896|       |
13897|       |  /* Pop stack until we find a state that shifts the error token.  */
13898|     37|  for (;;)
13899|     40|    {
13900|     40|      yyn = yypact[yystate];
13901|     40|      if (!yypact_value_is_default (yyn))
  ------------------
  |  | 1490|     40|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1487|     40|#define YYPACT_NINF (-901)
  |  |  ------------------
  ------------------
  |  Branch (13901:11): [True: 40, False: 0]
  ------------------
13902|     40|        {
13903|     40|          yyn += YYSYMBOL_YYerror;
13904|     40|          if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror)
  ------------------
  |  | 1113|     78|#define YYLAST   15602
  ------------------
  |  Branch (13904:15): [True: 38, False: 2]
  |  Branch (13904:27): [True: 38, False: 0]
  |  Branch (13904:44): [True: 0, False: 38]
  ------------------
13905|      0|            {
13906|      0|              yyn = yytable[yyn];
13907|      0|              if (0 < yyn)
  ------------------
  |  Branch (13907:19): [True: 0, False: 0]
  ------------------
13908|      0|                break;
13909|      0|            }
13910|     40|        }
13911|       |
13912|       |      /* Pop the current state because it cannot handle the error token.  */
13913|     40|      if (yyssp == yyss)
  ------------------
  |  Branch (13913:11): [True: 37, False: 3]
  ------------------
13914|     37|        YYABORT;
  ------------------
  |  | 5162|     37|#define YYABORT         goto yyabortlab
  ------------------
13915|       |
13916|       |
13917|      3|      yydestruct ("Error: popping",
13918|      3|                  YY_ACCESSING_SYMBOL (yystate), yyvsp, pParseContext);
  ------------------
  |  | 1302|      3|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  100|      3|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
13919|      3|      YYPOPSTACK (1);
  ------------------
  |  | 5685|      3|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13920|      3|      yystate = *yyssp;
13921|      3|      YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5271|      3|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5272|      3|do {                                                            \
  |  | 5273|      3|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5273:7): [True: 0, False: 3]
  |  |  ------------------
  |  | 5274|      3|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5275|      3|} while (0)
  |  |  ------------------
  |  |  |  Branch (5275:10): [Folded, False: 3]
  |  |  ------------------
  ------------------
13922|      3|    }
13923|       |
13924|      0|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
13925|      0|  *++yyvsp = yylval;
13926|      0|  YY_IGNORE_MAYBE_UNINITIALIZED_END
13927|       |
13928|       |
13929|       |  /* Shift the error token.  */
13930|      0|  YY_SYMBOL_PRINT ("Shifting", YY_ACCESSING_SYMBOL (yyn), yyvsp, yylsp);
  ------------------
  |  | 5208|      0|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|      0|do {                                                                      \
  |  | 5210|      0|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 5211|      0|    {                                                                     \
  |  | 5212|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5213|      0|      yy_symbol_print (stderr,                                            \
  |  | 5214|      0|                  Kind, Value, pParseContext); \
  |  | 5215|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5216|      0|    }                                                                     \
  |  | 5217|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
13931|       |
13932|      0|  yystate = yyn;
13933|      0|  goto yynewstate;
13934|       |
13935|       |
13936|       |/*-------------------------------------.
13937|       || yyacceptlab -- YYACCEPT comes here.  |
13938|       |`-------------------------------------*/
13939|    194|yyacceptlab:
13940|    194|  yyresult = 0;
13941|    194|  goto yyreturnlab;
13942|       |
13943|       |
13944|       |/*-----------------------------------.
13945|       || yyabortlab -- YYABORT comes here.  |
13946|       |`-----------------------------------*/
13947|     37|yyabortlab:
13948|     37|  yyresult = 1;
13949|     37|  goto yyreturnlab;
13950|       |
13951|       |
13952|       |/*-----------------------------------------------------------.
13953|       || yyexhaustedlab -- YYNOMEM (memory exhaustion) comes here.  |
13954|       |`-----------------------------------------------------------*/
13955|      0|yyexhaustedlab:
13956|      0|  yyerror (pParseContext, YY_("memory exhausted"));
  ------------------
  |  |  784|      0|#define yyerror(context, msg) context->parserError(msg)
  ------------------
13957|      0|  yyresult = 2;
13958|      0|  goto yyreturnlab;
13959|       |
13960|       |
13961|       |/*----------------------------------------------------------.
13962|       || yyreturnlab -- parsing is finished, clean up and return.  |
13963|       |`----------------------------------------------------------*/
13964|    231|yyreturnlab:
13965|    231|  if (yychar != YYEMPTY)
  ------------------
  |  Branch (13965:7): [True: 37, False: 194]
  ------------------
13966|     37|    {
13967|       |      /* Make sure we have latest lookahead translation.  See comments at
13968|       |         user semantic actions for why this is necessary.  */
13969|     37|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  | 1131|     37|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1125|     37|#define YYMAXUTOK   769
  |  |  ------------------
  |  |  |  Branch (1131:4): [True: 37, False: 0]
  |  |  |  Branch (1131:18): [True: 37, False: 0]
  |  |  ------------------
  |  | 1132|     37|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|     37|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1133|     37|   : YYSYMBOL_YYUNDEF)
  ------------------
13970|     37|      yydestruct ("Cleanup: discarding lookahead",
13971|     37|                  yytoken, &yylval, pParseContext);
13972|     37|    }
13973|       |  /* Do not reclaim the symbols of the rule whose action triggered
13974|       |     this YYABORT or YYACCEPT.  */
13975|    231|  YYPOPSTACK (yylen);
  ------------------
  |  | 5685|    231|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13976|    231|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5271|    231|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5272|    231|do {                                                            \
  |  | 5273|    231|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5273:7): [True: 0, False: 231]
  |  |  ------------------
  |  | 5274|    231|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5275|    231|} while (0)
  |  |  ------------------
  |  |  |  Branch (5275:10): [Folded, False: 231]
  |  |  ------------------
  ------------------
13977|    619|  while (yyssp != yyss)
  ------------------
  |  Branch (13977:10): [True: 388, False: 231]
  ------------------
13978|    388|    {
13979|    388|      yydestruct ("Cleanup: popping",
13980|    388|                  YY_ACCESSING_SYMBOL (+*yyssp), yyvsp, pParseContext);
  ------------------
  |  | 1302|    388|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  100|    388|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
13981|    388|      YYPOPSTACK (1);
  ------------------
  |  | 5685|    388|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13982|    388|    }
13983|    231|#ifndef yyoverflow
13984|    231|  if (yyss != yyssa)
  ------------------
  |  Branch (13984:7): [True: 0, False: 231]
  ------------------
13985|      0|    YYSTACK_FREE (yyss);
  ------------------
  |  | 1023|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1042|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13986|    231|#endif
13987|    231|  if (yymsg != yymsgbuf)
  ------------------
  |  Branch (13987:7): [True: 0, False: 231]
  ------------------
13988|      0|    YYSTACK_FREE (yymsg);
  ------------------
  |  | 1023|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1042|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13989|    231|  return yyresult;
13990|     37|}
glslang_tab.cpp:_ZL14yysyntax_errorPlPPcPK12yypcontext_t:
 5529|     37|{
 5530|     37|  enum { YYARGS_MAX = 5 };
 5531|       |  /* Internationalized format string. */
 5532|     37|  const char *yyformat = YY_NULLPTR;
  ------------------
  |  |  110|     37|#    define YY_NULLPTR nullptr
  ------------------
 5533|       |  /* Arguments of yyformat: reported tokens (one for the "unexpected",
 5534|       |     one per "expected"). */
 5535|     37|  yysymbol_kind_t yyarg[YYARGS_MAX];
 5536|       |  /* Cumulated lengths of YYARG.  */
 5537|     37|  YYPTRDIFF_T yysize = 0;
  ------------------
  |  |  865|     37|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5538|       |
 5539|       |  /* Actual size of YYARG. */
 5540|     37|  int yycount = yy_syntax_error_arguments (yyctx, yyarg, YYARGS_MAX);
 5541|     37|  if (yycount == YYENOMEM)
  ------------------
  |  Branch (5541:7): [True: 0, False: 37]
  ------------------
 5542|      0|    return YYENOMEM;
 5543|       |
 5544|     37|  switch (yycount)
 5545|     37|    {
 5546|      0|#define YYCASE_(N, S)                       \
 5547|      0|      case N:                               \
 5548|      0|        yyformat = S;                       \
 5549|      0|        break
 5550|      0|    default: /* Avoid compiler warnings. */
  ------------------
  |  Branch (5550:5): [True: 0, False: 37]
  ------------------
 5551|      0|      YYCASE_(0, YY_("syntax error"));
  ------------------
  |  | 5547|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 0, False: 37]
  |  |  ------------------
  |  | 5548|      0|        yyformat = S;                       \
  |  | 5549|      0|        break
  ------------------
 5552|     35|      YYCASE_(1, YY_("syntax error, unexpected %s"));
  ------------------
  |  | 5547|     35|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 35, False: 2]
  |  |  ------------------
  |  | 5548|     35|        yyformat = S;                       \
  |  | 5549|     35|        break
  ------------------
 5553|      1|      YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
  ------------------
  |  | 5547|      1|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 1, False: 36]
  |  |  ------------------
  |  | 5548|      1|        yyformat = S;                       \
  |  | 5549|      1|        break
  ------------------
 5554|      1|      YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
  ------------------
  |  | 5547|      1|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 1, False: 36]
  |  |  ------------------
  |  | 5548|      1|        yyformat = S;                       \
  |  | 5549|      1|        break
  ------------------
 5555|      0|      YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
  ------------------
  |  | 5547|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 0, False: 37]
  |  |  ------------------
  |  | 5548|      0|        yyformat = S;                       \
  |  | 5549|      0|        break
  ------------------
 5556|     37|      YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
  ------------------
  |  | 5547|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 0, False: 37]
  |  |  ------------------
  |  | 5548|      0|        yyformat = S;                       \
  |  | 5549|      0|        break
  ------------------
 5557|     37|#undef YYCASE_
 5558|     37|    }
 5559|       |
 5560|       |  /* Compute error message size.  Don't count the "%s"s, but reserve
 5561|       |     room for the terminator.  */
 5562|     37|  yysize = yystrlen (yyformat) - 2 * yycount + 1;
  ------------------
  |  | 5388|     37|#  define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))
  |  |  ------------------
  |  |  |  |  100|     37|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
 5563|     37|  {
 5564|     37|    int yyi;
 5565|     77|    for (yyi = 0; yyi < yycount; ++yyi)
  ------------------
  |  Branch (5565:19): [True: 40, False: 37]
  ------------------
 5566|     40|      {
 5567|     40|        YYPTRDIFF_T yysize1
  ------------------
  |  |  865|     40|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5568|     40|          = yysize + yytnamerr (YY_NULLPTR, yytname[yyarg[yyi]]);
  ------------------
  |  |  110|     40|#    define YY_NULLPTR nullptr
  ------------------
 5569|     40|        if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)
  ------------------
  |  | 1025|     40|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  893|     40|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|     80|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (100:50): [True: 40, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5569:13): [True: 40, False: 0]
  |  Branch (5569:34): [True: 40, False: 0]
  ------------------
 5570|     40|          yysize = yysize1;
 5571|      0|        else
 5572|      0|          return YYENOMEM;
 5573|     40|      }
 5574|     37|  }
 5575|       |
 5576|     37|  if (*yymsg_alloc < yysize)
  ------------------
  |  Branch (5576:7): [True: 0, False: 37]
  ------------------
 5577|      0|    {
 5578|      0|      *yymsg_alloc = 2 * yysize;
 5579|      0|      if (! (yysize <= *yymsg_alloc
  ------------------
  |  Branch (5579:14): [True: 0, False: 0]
  ------------------
 5580|      0|             && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM))
  ------------------
  |  | 1025|      0|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  893|      0|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (100:50): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5580:17): [True: 0, False: 0]
  ------------------
 5581|      0|        *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM;
  ------------------
  |  | 1025|      0|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  893|      0|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (100:50): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5582|      0|      return -1;
 5583|      0|    }
 5584|       |
 5585|       |  /* Avoid sprintf, as that infringes on the user's name space.
 5586|       |     Don't have undefined behavior even if the translation
 5587|       |     produced a string with the wrong number of "%s"s.  */
 5588|     37|  {
 5589|     37|    char *yyp = *yymsg;
 5590|     37|    int yyi = 0;
 5591|  1.03k|    while ((*yyp = *yyformat) != '\0')
  ------------------
  |  Branch (5591:12): [True: 993, False: 37]
  ------------------
 5592|    993|      if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
  ------------------
  |  Branch (5592:11): [True: 40, False: 953]
  |  Branch (5592:26): [True: 40, False: 0]
  |  Branch (5592:48): [True: 40, False: 0]
  ------------------
 5593|     40|        {
 5594|     40|          yyp += yytnamerr (yyp, yytname[yyarg[yyi++]]);
 5595|     40|          yyformat += 2;
 5596|     40|        }
 5597|    953|      else
 5598|    953|        {
 5599|    953|          ++yyp;
 5600|    953|          ++yyformat;
 5601|    953|        }
 5602|     37|  }
 5603|     37|  return 0;
 5604|     37|}
glslang_tab.cpp:_ZL25yy_syntax_error_argumentsPK12yypcontext_tP15yysymbol_kind_ti:
 5476|     37|{
 5477|       |  /* Actual size of YYARG. */
 5478|     37|  int yycount = 0;
 5479|       |  /* There are many possibilities here to consider:
 5480|       |     - If this state is a consistent state with a default action, then
 5481|       |       the only way this function was invoked is if the default action
 5482|       |       is an error action.  In that case, don't check for expected
 5483|       |       tokens because there are none.
 5484|       |     - The only way there can be no lookahead present (in yychar) is if
 5485|       |       this state is a consistent state with a default action.  Thus,
 5486|       |       detecting the absence of a lookahead is sufficient to determine
 5487|       |       that there is no unexpected or expected token to report.  In that
 5488|       |       case, just report a simple "syntax error".
 5489|       |     - Don't assume there isn't a lookahead just because this state is a
 5490|       |       consistent state with a default action.  There might have been a
 5491|       |       previous inconsistent state, consistent state with a non-default
 5492|       |       action, or user semantic action that manipulated yychar.
 5493|       |     - Of course, the expected token list depends on states to have
 5494|       |       correct lookahead information, and it depends on the parser not
 5495|       |       to perform extra reductions after fetching a lookahead from the
 5496|       |       scanner and before detecting a syntax error.  Thus, state merging
 5497|       |       (from LALR or IELR) and default reductions corrupt the expected
 5498|       |       token list.  However, the list is correct for canonical LR with
 5499|       |       one exception: it will still contain any token that will not be
 5500|       |       accepted due to an error action in a later state.
 5501|       |  */
 5502|     37|  if (yyctx->yytoken != YYSYMBOL_YYEMPTY)
  ------------------
  |  Branch (5502:7): [True: 37, False: 0]
  ------------------
 5503|     37|    {
 5504|     37|      int yyn;
 5505|     37|      if (yyarg)
  ------------------
  |  Branch (5505:11): [True: 37, False: 0]
  ------------------
 5506|     37|        yyarg[yycount] = yyctx->yytoken;
 5507|     37|      ++yycount;
 5508|     37|      yyn = yypcontext_expected_tokens (yyctx,
 5509|     37|                                        yyarg ? yyarg + 1 : yyarg, yyargn - 1);
  ------------------
  |  Branch (5509:41): [True: 37, False: 0]
  ------------------
 5510|     37|      if (yyn == YYENOMEM)
  ------------------
  |  Branch (5510:11): [True: 0, False: 37]
  ------------------
 5511|      0|        return YYENOMEM;
 5512|     37|      else
 5513|     37|        yycount += yyn;
 5514|     37|    }
 5515|     37|  return yycount;
 5516|     37|}
glslang_tab.cpp:_ZL26yypcontext_expected_tokensPK12yypcontext_tP15yysymbol_kind_ti:
 5352|     37|{
 5353|       |  /* Actual size of YYARG. */
 5354|     37|  int yycount = 0;
 5355|     37|  int yyn = yypact[+*yyctx->yyssp];
 5356|     37|  if (!yypact_value_is_default (yyn))
  ------------------
  |  | 1490|     37|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1487|     37|#define YYPACT_NINF (-901)
  |  |  ------------------
  ------------------
  |  Branch (5356:7): [True: 37, False: 0]
  ------------------
 5357|     37|    {
 5358|       |      /* Start YYX at -YYN if negative to avoid negative indexes in
 5359|       |         YYCHECK.  In other words, skip the first -YYN actions for
 5360|       |         this state because they are default actions.  */
 5361|     37|      int yyxbegin = yyn < 0 ? -yyn : 0;
  ------------------
  |  Branch (5361:22): [True: 2, False: 35]
  ------------------
 5362|       |      /* Stay within bounds of both yycheck and yytname.  */
 5363|     37|      int yychecklim = YYLAST - yyn + 1;
  ------------------
  |  | 1113|     37|#define YYLAST   15602
  ------------------
 5364|     37|      int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
  ------------------
  |  | 1116|     37|#define YYNTOKENS  515
  ------------------
                    int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
  ------------------
  |  | 1116|     37|#define YYNTOKENS  515
  ------------------
  |  Branch (5364:20): [True: 0, False: 37]
  ------------------
 5365|     37|      int yyx;
 5366|    774|      for (yyx = yyxbegin; yyx < yyxend; ++yyx)
  ------------------
  |  Branch (5366:28): [True: 772, False: 2]
  ------------------
 5367|    772|        if (yycheck[yyx + yyn] == yyx && yyx != YYSYMBOL_YYerror
  ------------------
  |  Branch (5367:13): [True: 178, False: 594]
  |  Branch (5367:42): [True: 178, False: 0]
  ------------------
 5368|      0|            && !yytable_value_is_error (yytable[yyx + yyn]))
  ------------------
  |  | 1495|      0|  0
  ------------------
  |  Branch (5368:16): [True: 0, Folded]
  ------------------
 5369|    178|          {
 5370|    178|            if (!yyarg)
  ------------------
  |  Branch (5370:17): [True: 0, False: 178]
  ------------------
 5371|      0|              ++yycount;
 5372|    178|            else if (yycount == yyargn)
  ------------------
  |  Branch (5372:22): [True: 35, False: 143]
  ------------------
 5373|     35|              return 0;
 5374|    143|            else
 5375|    143|              yyarg[yycount++] = YY_CAST (yysymbol_kind_t, yyx);
  ------------------
  |  |  100|    143|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5376|    178|          }
 5377|     37|    }
 5378|      2|  if (yyarg && yycount == 0 && 0 < yyargn)
  ------------------
  |  Branch (5378:7): [True: 2, False: 0]
  |  Branch (5378:16): [True: 0, False: 2]
  |  Branch (5378:32): [True: 0, False: 0]
  ------------------
 5379|      0|    yyarg[0] = YYSYMBOL_YYEMPTY;
 5380|      2|  return yycount;
 5381|     37|}
glslang_tab.cpp:_ZL9yytnamerrPcPKc:
 5432|     80|{
 5433|     80|  if (*yystr == '"')
  ------------------
  |  Branch (5433:7): [True: 64, False: 16]
  ------------------
 5434|     64|    {
 5435|     64|      YYPTRDIFF_T yyn = 0;
  ------------------
  |  |  865|     64|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5436|     64|      char const *yyp = yystr;
 5437|     64|      for (;;)
 5438|    768|        switch (*++yyp)
 5439|    768|          {
 5440|      0|          case '\'':
  ------------------
  |  Branch (5440:11): [True: 0, False: 768]
  ------------------
 5441|      0|          case ',':
  ------------------
  |  Branch (5441:11): [True: 0, False: 768]
  ------------------
 5442|      0|            goto do_not_strip_quotes;
 5443|       |
 5444|      0|          case '\\':
  ------------------
  |  Branch (5444:11): [True: 0, False: 768]
  ------------------
 5445|      0|            if (*++yyp != '\\')
  ------------------
  |  Branch (5445:17): [True: 0, False: 0]
  ------------------
 5446|      0|              goto do_not_strip_quotes;
 5447|      0|            else
 5448|      0|              goto append;
 5449|       |
 5450|      0|          append:
 5451|    704|          default:
  ------------------
  |  Branch (5451:11): [True: 704, False: 64]
  ------------------
 5452|    704|            if (yyres)
  ------------------
  |  Branch (5452:17): [True: 352, False: 352]
  ------------------
 5453|    352|              yyres[yyn] = *yyp;
 5454|    704|            yyn++;
 5455|    704|            break;
 5456|       |
 5457|     64|          case '"':
  ------------------
  |  Branch (5457:11): [True: 64, False: 704]
  ------------------
 5458|     64|            if (yyres)
  ------------------
  |  Branch (5458:17): [True: 32, False: 32]
  ------------------
 5459|     32|              yyres[yyn] = '\0';
 5460|     64|            return yyn;
 5461|    768|          }
 5462|      0|    do_not_strip_quotes: ;
 5463|      0|    }
 5464|       |
 5465|     16|  if (yyres)
  ------------------
  |  Branch (5465:7): [True: 8, False: 8]
  ------------------
 5466|      8|    return yystpcpy (yyres, yystr) - yyres;
  ------------------
  |  | 5404|      8|#  define yystpcpy stpcpy
  ------------------
 5467|      8|  else
 5468|      8|    return yystrlen (yystr);
  ------------------
  |  | 5388|      8|#  define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))
  |  |  ------------------
  |  |  |  |  100|      8|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
 5469|     16|}
glslang_tab.cpp:_ZL10yydestructPKc15yysymbol_kind_tP7YYSTYPEPN7glslang13TParseContextE:
 5614|    428|{
 5615|    428|  YY_USE (yyvaluep);
  ------------------
  |  |  938|    428|# define YY_USE(E) ((void) (E))
  ------------------
 5616|    428|  YY_USE (pParseContext);
  ------------------
  |  |  938|    428|# define YY_USE(E) ((void) (E))
  ------------------
 5617|    428|  if (!yymsg)
  ------------------
  |  Branch (5617:7): [True: 0, False: 428]
  ------------------
 5618|      0|    yymsg = "Deleting";
 5619|    428|  YY_SYMBOL_PRINT (yymsg, yykind, yyvaluep, yylocationp);
  ------------------
  |  | 5208|    428|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|    428|do {                                                                      \
  |  | 5210|    428|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 428]
  |  |  ------------------
  |  | 5211|    428|    {                                                                     \
  |  | 5212|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5213|      0|      yy_symbol_print (stderr,                                            \
  |  | 5214|      0|                  Kind, Value, pParseContext); \
  |  | 5215|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5216|      0|    }                                                                     \
  |  | 5217|    428|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 428]
  |  |  ------------------
  ------------------
 5620|       |
 5621|    428|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 5622|    428|  YY_USE (yykind);
  ------------------
  |  |  938|    428|# define YY_USE(E) ((void) (E))
  ------------------
 5623|    428|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 5624|    428|}

_ZN7glslang15TConstTraverser14visitAggregateENS_6TVisitEPNS_16TIntermAggregateE:
   72|      3|{
   73|      3|    if (! node->isConstructor() && node->getOp() != EOpComma) {
  ------------------
  |  Branch (73:9): [True: 0, False: 3]
  |  Branch (73:36): [True: 0, False: 0]
  ------------------
   74|      0|        error = true;
   75|       |
   76|      0|        return false;
   77|      0|    }
   78|       |
   79|      3|    bool flag = node->getSequence().size() == 1 && node->getSequence()[0]->getAsTyped()->getAsConstantUnion();
  ------------------
  |  Branch (79:17): [True: 0, False: 3]
  |  Branch (79:52): [True: 0, False: 0]
  ------------------
   80|      3|    if (flag) {
  ------------------
  |  Branch (80:9): [True: 0, False: 3]
  ------------------
   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|      3|    for (TIntermSequence::iterator p = node->getSequence().begin();
   93|     12|                                   p != node->getSequence().end(); p++) {
  ------------------
  |  Branch (93:36): [True: 9, False: 3]
  ------------------
   94|       |
   95|      9|        if (node->getOp() == EOpComma)
  ------------------
  |  Branch (95:13): [True: 0, False: 9]
  ------------------
   96|      0|            index = 0;
   97|       |
   98|      9|        (*p)->traverse(this);
   99|      9|    }
  100|      3|    if (flag)
  ------------------
  |  Branch (100:9): [True: 0, False: 3]
  ------------------
  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|      3|    return false;
  111|      3|}
_ZN7glslang15TConstTraverser18visitConstantUnionEPNS_20TIntermConstantUnionE:
  114|      9|{
  115|      9|    TConstUnionArray leftUnionArray(unionArray);
  116|      9|    int instanceSize = type.computeNumComponents();
  117|       |
  118|      9|    if (index >= instanceSize)
  ------------------
  |  Branch (118:9): [True: 0, False: 9]
  ------------------
  119|      0|        return;
  120|       |
  121|      9|    if (! singleConstantParam) {
  ------------------
  |  Branch (121:9): [True: 9, False: 0]
  ------------------
  122|      9|        int rightUnionSize = node->getType().computeNumComponents();
  123|       |
  124|      9|        const TConstUnionArray& rightUnionArray = node->getConstArray();
  125|     18|        for (int i = 0; i < rightUnionSize; i++) {
  ------------------
  |  Branch (125:25): [True: 9, False: 9]
  ------------------
  126|      9|            if (index >= instanceSize)
  ------------------
  |  Branch (126:17): [True: 0, False: 9]
  ------------------
  127|      0|                return;
  128|      9|            leftUnionArray[index] = rightUnionArray[i];
  129|       |
  130|      9|            index++;
  131|      9|        }
  132|      9|    } 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|      9|}
_ZN7glslang13TIntermediate14parseConstTreeEP11TIntermNodeNS_16TConstUnionArrayENS_9TOperatorERKNS_5TTypeEb:
  200|      3|{
  201|      3|    if (root == nullptr)
  ------------------
  |  Branch (201:9): [True: 0, False: 3]
  ------------------
  202|      0|        return false;
  203|       |
  204|      3|    TConstTraverser it(unionArray, singleConstantParam, constructorType, t);
  205|       |
  206|      3|    root->traverse(&it);
  207|      3|    if (it.error)
  ------------------
  |  Branch (207:9): [True: 0, False: 3]
  ------------------
  208|      0|        return true;
  209|      3|    else
  210|      3|        return false;
  211|      3|}
_ZN7glslang15TConstTraverserC2ERKNS_16TConstUnionArrayEbNS_9TOperatorERKNS_5TTypeE:
   47|      3|      : unionArray(cUnion), type(t),
   48|      3|        constructorType(constructType), singleConstantParam(singleConstParam), error(false), isMatrix(false),
   49|      3|        matrixCols(0), matrixRows(0) {  index = 0; tOp = EOpNull; }

_ZN7glslang10TPpContext9CPPdefineEPNS_8TPpTokenE:
   96|  5.57k|{
   97|  5.57k|    MacroSymbol mac;
   98|       |
   99|       |    // get the macro name
  100|  5.57k|    int token = scanToken(ppToken);
  101|  5.57k|    if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (101:9): [True: 0, False: 5.57k]
  ------------------
  102|      0|        parseContext.ppError(ppToken->loc, "must be followed by macro name", "#define", "");
  103|      0|        return token;
  104|      0|    }
  105|  5.57k|    if (ppToken->loc.string >= 0) {
  ------------------
  |  Branch (105:9): [True: 0, False: 5.57k]
  ------------------
  106|       |        // We are in user code; check for reserved name use:
  107|      0|        parseContext.reservedPpErrorCheck(ppToken->loc, ppToken->name, "#define");
  108|      0|    }
  109|       |
  110|       |    // save the macro name
  111|  5.57k|    const int defAtom = atomStrings.getAddAtom(ppToken->name);
  112|  5.57k|    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|  5.57k|    token = scanToken(ppToken);
  116|  5.57k|    if (token == '(' && !ppToken->space) {
  ------------------
  |  Branch (116:9): [True: 0, False: 5.57k]
  |  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|  5.57k|    } else if (token != '\n' && token != EndOfInput && !ppToken->space) {
  ------------------
  |  Branch (149:16): [True: 5.57k, False: 0]
  |  Branch (149:33): [True: 5.57k, False: 0]
  |  Branch (149:56): [True: 0, False: 5.57k]
  ------------------
  150|      0|        parseContext.ppWarn(ppToken->loc, "missing space after macro name", "#define", "");
  151|       |
  152|      0|        return token;
  153|      0|    }
  154|       |
  155|  5.57k|    int pendingPoundSymbols = 0;
  156|  5.57k|    TPpToken savePound;
  157|       |    // record the definition of the macro
  158|  11.1k|    while (token != '\n' && token != EndOfInput) {
  ------------------
  |  Branch (158:12): [True: 5.57k, False: 5.57k]
  |  Branch (158:29): [True: 5.57k, False: 0]
  ------------------
  159|  5.57k|        if (token == '#') {
  ------------------
  |  Branch (159:13): [True: 0, False: 5.57k]
  ------------------
  160|      0|            pendingPoundSymbols++;
  161|      0|            if (pendingPoundSymbols == 0) {
  ------------------
  |  Branch (161:17): [True: 0, False: 0]
  ------------------
  162|      0|                savePound = *ppToken;
  163|      0|            }
  164|  5.57k|        } else if (pendingPoundSymbols == 0) {
  ------------------
  |  Branch (164:20): [True: 5.57k, False: 0]
  ------------------
  165|  5.57k|            mac.body.putToken(token, ppToken);
  166|  5.57k|        } 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|  5.57k|        token = scanToken(ppToken);
  203|  5.57k|    }
  204|  5.57k|    if (pendingPoundSymbols != 0) {
  ------------------
  |  Branch (204:9): [True: 0, False: 5.57k]
  ------------------
  205|      0|        parseContext.ppError(ppToken->loc, "Macro ended with incomplete '#' paste/stringify operators", "#", "");
  206|      0|    }
  207|       |
  208|       |    // check for duplicate definition
  209|  5.57k|    MacroSymbol* existing = lookupMacroDef(defAtom);
  210|  5.57k|    if (existing != nullptr) {
  ------------------
  |  Branch (210:9): [True: 0, False: 5.57k]
  ------------------
  211|      0|        if (! existing->undef) {
  ------------------
  |  Branch (211:13): [True: 0, False: 0]
  ------------------
  212|       |            // Already defined -- need to make sure they are identical:
  213|       |            // "Two replacement lists are identical if and only if the
  214|       |            // preprocessing tokens in both have the same number,
  215|       |            // ordering, spelling, and white-space separation, where all
  216|       |            // white-space separations are considered identical."
  217|      0|            if (existing->functionLike != mac.functionLike) {
  ------------------
  |  Branch (217:17): [True: 0, False: 0]
  ------------------
  218|      0|                parseContext.ppError(defineLoc, "Macro redefined; function-like versus object-like:", "#define",
  219|      0|                    "%s", atomStrings.getString(defAtom));
  220|      0|            } else if (existing->args.size() != mac.args.size()) {
  ------------------
  |  Branch (220:24): [True: 0, False: 0]
  ------------------
  221|      0|                parseContext.ppError(defineLoc, "Macro redefined; different number of arguments:", "#define",
  222|      0|                    "%s", atomStrings.getString(defAtom));
  223|      0|            } else {
  224|      0|                if (existing->args != mac.args) {
  ------------------
  |  Branch (224:21): [True: 0, False: 0]
  ------------------
  225|      0|                    parseContext.ppError(defineLoc, "Macro redefined; different argument names:", "#define",
  226|      0|                       "%s", atomStrings.getString(defAtom));
  227|      0|                }
  228|       |                // set up to compare the two
  229|      0|                existing->body.reset();
  230|      0|                mac.body.reset();
  231|      0|                int newToken;
  232|      0|                bool firstToken = true;
  233|      0|                do {
  234|      0|                    int oldToken;
  235|      0|                    TPpToken oldPpToken;
  236|      0|                    TPpToken newPpToken;
  237|      0|                    oldToken = existing->body.getToken(parseContext, &oldPpToken);
  238|      0|                    newToken = mac.body.getToken(parseContext, &newPpToken);
  239|       |                    // for the first token, preceding spaces don't matter
  240|      0|                    if (firstToken) {
  ------------------
  |  Branch (240:25): [True: 0, False: 0]
  ------------------
  241|      0|                        newPpToken.space = oldPpToken.space;
  242|      0|                        firstToken = false;
  243|      0|                    }
  244|      0|                    if (oldToken != newToken || oldPpToken != newPpToken) {
  ------------------
  |  Branch (244:25): [True: 0, False: 0]
  |  Branch (244:49): [True: 0, False: 0]
  ------------------
  245|      0|                        parseContext.ppError(defineLoc, "Macro redefined; different substitutions:", "#define",
  246|      0|                            "%s", atomStrings.getString(defAtom));
  247|      0|                        break;
  248|      0|                    }
  249|      0|                } while (newToken != EndOfInput);
  ------------------
  |  Branch (249:26): [True: 0, False: 0]
  ------------------
  250|      0|            }
  251|      0|        }
  252|      0|        *existing = mac;
  253|      0|    } else
  254|  5.57k|        addMacroDef(defAtom, mac);
  255|       |
  256|  5.57k|    return '\n';
  257|  5.57k|}
_ZN7glslang10TPpContext7CPPelseEiPNS_8TPpTokenE:
  287|     50|{
  288|     50|    inElseSkip = true;
  289|     50|    int depth = 0;
  290|     50|    int token = scanToken(ppToken);
  291|       |
  292|   247k|    while (token != EndOfInput) {
  ------------------
  |  Branch (292:12): [True: 247k, False: 5]
  ------------------
  293|   247k|        if (token != '#') {
  ------------------
  |  Branch (293:13): [True: 217k, False: 29.4k]
  ------------------
  294|   765k|            while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (294:20): [True: 548k, False: 217k]
  |  Branch (294:37): [True: 548k, False: 45]
  ------------------
  295|   548k|                token = scanToken(ppToken);
  296|       |
  297|   217k|            if (token == EndOfInput)
  ------------------
  |  Branch (297:17): [True: 45, False: 217k]
  ------------------
  298|     45|                return token;
  299|       |
  300|   217k|            token = scanToken(ppToken);
  301|   217k|            continue;
  302|   217k|        }
  303|       |
  304|  29.4k|        if ((token = scanToken(ppToken)) != PpAtomIdentifier)
  ------------------
  |  Branch (304:13): [True: 3.55k, False: 25.9k]
  ------------------
  305|  3.55k|            continue;
  306|       |
  307|  25.9k|        int nextAtom = atomStrings.getAtom(ppToken->name);
  308|  25.9k|        if (nextAtom == PpAtomIf || nextAtom == PpAtomIfdef || nextAtom == PpAtomIfndef) {
  ------------------
  |  Branch (308:13): [True: 49, False: 25.8k]
  |  Branch (308:37): [True: 0, False: 25.8k]
  |  Branch (308:64): [True: 0, False: 25.8k]
  ------------------
  309|     49|            depth++;
  310|     49|            if (ifdepth >= maxIfNesting || elsetracker >= maxIfNesting) {
  ------------------
  |  Branch (310:17): [True: 0, False: 49]
  |  Branch (310:44): [True: 0, False: 49]
  ------------------
  311|      0|                parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#if/#ifdef/#ifndef", "");
  312|      0|                return EndOfInput;
  313|     49|            } else {
  314|     49|                ifdepth++;
  315|     49|                elsetracker++;
  316|     49|            }
  317|  25.8k|        } else if (nextAtom == PpAtomEndif) {
  ------------------
  |  Branch (317:20): [True: 0, False: 25.8k]
  ------------------
  318|      0|            token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  319|      0|            if (elsetracker >= 0)
  ------------------
  |  Branch (319:17): [True: 0, False: 0]
  ------------------
  320|      0|                elseSeen[elsetracker] = false;
  321|      0|            --elsetracker;
  322|      0|            if (depth == 0) {
  ------------------
  |  Branch (322:17): [True: 0, False: 0]
  ------------------
  323|       |                // found the #endif we are looking for
  324|      0|                if (ifdepth > 0)
  ------------------
  |  Branch (324:21): [True: 0, False: 0]
  ------------------
  325|      0|                    --ifdepth;
  326|      0|                break;
  327|      0|            }
  328|      0|            --depth;
  329|      0|            if (ifdepth > 0)
  ------------------
  |  Branch (329:17): [True: 0, False: 0]
  ------------------
  330|      0|                --ifdepth;
  331|  25.8k|        } else if (matchelse && depth == 0) {
  ------------------
  |  Branch (331:20): [True: 25.8k, False: 0]
  |  Branch (331:33): [True: 13.9k, False: 11.8k]
  ------------------
  332|  13.9k|            if (nextAtom == PpAtomElse) {
  ------------------
  |  Branch (332:17): [True: 0, False: 13.9k]
  ------------------
  333|      0|                elseSeen[elsetracker] = true;
  334|      0|                token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  335|       |                // found the #else we are looking for
  336|      0|                break;
  337|  13.9k|            } else if (nextAtom == PpAtomElif) {
  ------------------
  |  Branch (337:24): [True: 0, False: 13.9k]
  ------------------
  338|      0|                if (elseSeen[elsetracker])
  ------------------
  |  Branch (338:21): [True: 0, False: 0]
  ------------------
  339|      0|                    parseContext.ppError(ppToken->loc, "#elif after #else", "#elif", "");
  340|       |                /* we decrement ifdepth here, because CPPif will increment
  341|       |                * it and we really want to leave it alone */
  342|      0|                if (ifdepth > 0) {
  ------------------
  |  Branch (342:21): [True: 0, False: 0]
  ------------------
  343|      0|                    --ifdepth;
  344|      0|                    elseSeen[elsetracker] = false;
  345|      0|                    --elsetracker;
  346|      0|                }
  347|      0|                inElseSkip = false;
  348|      0|                return CPPif(ppToken);
  349|      0|            }
  350|  13.9k|        } else if (nextAtom == PpAtomElse) {
  ------------------
  |  Branch (350:20): [True: 0, False: 11.8k]
  ------------------
  351|      0|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (351:17): [True: 0, False: 0]
  ------------------
  352|      0|                parseContext.ppError(ppToken->loc, "#else after #else", "#else", "");
  353|      0|            else
  354|      0|                elseSeen[elsetracker] = true;
  355|      0|            token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  356|  11.8k|        } else if (nextAtom == PpAtomElif) {
  ------------------
  |  Branch (356:20): [True: 0, False: 11.8k]
  ------------------
  357|      0|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (357:17): [True: 0, False: 0]
  ------------------
  358|      0|                parseContext.ppError(ppToken->loc, "#elif after #else", "#elif", "");
  359|      0|        }
  360|  25.9k|    }
  361|       |
  362|      5|    inElseSkip = false;
  363|      5|    return token;
  364|     50|}
_ZN7glslang10TPpContext15extraTokenCheckEiPNS_8TPpTokenEi:
  368|     51|{
  369|     51|    if (token != '\n' && token != EndOfInput) {
  ------------------
  |  Branch (369:9): [True: 1, False: 50]
  |  Branch (369:26): [True: 1, False: 0]
  ------------------
  370|      1|        static const char* message = "unexpected tokens following directive";
  371|       |
  372|      1|        const char* label;
  373|      1|        if (contextAtom == PpAtomElse)
  ------------------
  |  Branch (373:13): [True: 0, False: 1]
  ------------------
  374|      0|            label = "#else";
  375|      1|        else if (contextAtom == PpAtomElif)
  ------------------
  |  Branch (375:18): [True: 0, False: 1]
  ------------------
  376|      0|            label = "#elif";
  377|      1|        else if (contextAtom == PpAtomEndif)
  ------------------
  |  Branch (377:18): [True: 0, False: 1]
  ------------------
  378|      0|            label = "#endif";
  379|      1|        else if (contextAtom == PpAtomIf)
  ------------------
  |  Branch (379:18): [True: 1, False: 0]
  ------------------
  380|      1|            label = "#if";
  381|      0|        else if (contextAtom == PpAtomLine)
  ------------------
  |  Branch (381:18): [True: 0, False: 0]
  ------------------
  382|      0|            label = "#line";
  383|      0|        else
  384|      0|            label = "";
  385|       |
  386|      1|        if (parseContext.relaxedErrors())
  ------------------
  |  Branch (386:13): [True: 0, False: 1]
  ------------------
  387|      0|            parseContext.ppWarn(ppToken->loc, message, label, "");
  388|      1|        else
  389|      1|            parseContext.ppError(ppToken->loc, message, label, "");
  390|       |
  391|      2|        while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (391:16): [True: 2, False: 0]
  |  Branch (391:33): [True: 1, False: 1]
  ------------------
  392|      1|            token = scanToken(ppToken);
  393|      1|    }
  394|       |
  395|     51|    return token;
  396|     51|}
_ZN7glslang10TPpContext4evalEiibRiRbPNS_8TPpTokenE:
  470|  17.4k|{
  471|  17.4k|    TSourceLoc loc = ppToken->loc;  // because we sometimes read the newline before reporting the error
  472|  17.4k|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (472:9): [True: 0, False: 17.4k]
  ------------------
  473|      0|        if (strcmp("defined", ppToken->name) == 0) {
  ------------------
  |  Branch (473:13): [True: 0, False: 0]
  ------------------
  474|      0|            if (! parseContext.isReadingHLSL() && isMacroInput()) {
  ------------------
  |  Branch (474:17): [True: 0, False: 0]
  |  Branch (474:51): [True: 0, False: 0]
  ------------------
  475|      0|                if (parseContext.relaxedErrors())
  ------------------
  |  Branch (475:21): [True: 0, False: 0]
  ------------------
  476|      0|                    parseContext.ppWarn(ppToken->loc, "nonportable when expanded from macros for preprocessor expression",
  477|      0|                        "defined", "");
  478|      0|                else
  479|      0|                    parseContext.ppError(ppToken->loc, "cannot use in preprocessor expression when expanded from macros",
  480|      0|                        "defined", "");
  481|      0|            }
  482|      0|            bool needclose = 0;
  483|      0|            token = scanToken(ppToken);
  484|      0|            if (token == '(') {
  ------------------
  |  Branch (484:17): [True: 0, False: 0]
  ------------------
  485|      0|                needclose = true;
  486|      0|                token = scanToken(ppToken);
  487|      0|            }
  488|      0|            if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (488:17): [True: 0, False: 0]
  ------------------
  489|      0|                parseContext.ppError(loc, "incorrect directive, expected identifier", "preprocessor evaluation", "");
  490|      0|                err = true;
  491|      0|                res = 0;
  492|       |
  493|      0|                return token;
  494|      0|            }
  495|       |
  496|      0|            MacroSymbol* macro = lookupMacroDef(atomStrings.getAtom(ppToken->name));
  497|      0|            res = macro != nullptr ? !macro->undef : 0;
  ------------------
  |  Branch (497:19): [True: 0, False: 0]
  ------------------
  498|      0|            token = scanToken(ppToken);
  499|      0|            if (needclose) {
  ------------------
  |  Branch (499:17): [True: 0, False: 0]
  ------------------
  500|      0|                if (token != ')') {
  ------------------
  |  Branch (500:21): [True: 0, False: 0]
  ------------------
  501|      0|                    parseContext.ppError(loc, "expected ')'", "preprocessor evaluation", "");
  502|      0|                    err = true;
  503|      0|                    res = 0;
  504|       |
  505|      0|                    return token;
  506|      0|                }
  507|      0|                token = scanToken(ppToken);
  508|      0|            }
  509|      0|        } else {
  510|      0|            token = tokenPaste(token, *ppToken);
  511|      0|            token = evalToToken(token, shortCircuit, res, err, ppToken);
  512|      0|            return eval(token, precedence, shortCircuit, res, err, ppToken);
  513|      0|        }
  514|  17.4k|    } else if (token == PpAtomConstInt) {
  ------------------
  |  Branch (514:16): [True: 50, False: 17.3k]
  ------------------
  515|     50|        res = ppToken->ival;
  516|     50|        token = scanToken(ppToken);
  517|  17.3k|    } else if (token == '(') {
  ------------------
  |  Branch (517:16): [True: 17.3k, False: 51]
  ------------------
  518|  17.3k|        token = scanToken(ppToken);
  519|  17.3k|        token = eval(token, MIN_PRECEDENCE, shortCircuit, res, err, ppToken);
  520|  17.3k|        if (! err) {
  ------------------
  |  Branch (520:13): [True: 0, False: 17.3k]
  ------------------
  521|      0|            if (token != ')') {
  ------------------
  |  Branch (521:17): [True: 0, False: 0]
  ------------------
  522|      0|                parseContext.ppError(loc, "expected ')'", "preprocessor evaluation", "");
  523|      0|                err = true;
  524|      0|                res = 0;
  525|       |
  526|      0|                return token;
  527|      0|            }
  528|      0|            token = scanToken(ppToken);
  529|      0|        }
  530|  17.3k|    } else {
  531|     51|        int op = NUM_ELEMENTS(unop) - 1;
  ------------------
  |  |  467|     51|#define NUM_ELEMENTS(A) (sizeof(A) / sizeof(A[0]))
  ------------------
  532|    205|        for (; op >= 0; op--) {
  ------------------
  |  Branch (532:16): [True: 204, False: 1]
  ------------------
  533|    204|            if (unop[op].token == token)
  ------------------
  |  Branch (533:17): [True: 50, False: 154]
  ------------------
  534|     50|                break;
  535|    204|        }
  536|     51|        if (op >= 0) {
  ------------------
  |  Branch (536:13): [True: 50, False: 1]
  ------------------
  537|     50|            token = scanToken(ppToken);
  538|     50|            token = eval(token, UNARY, shortCircuit, res, err, ppToken);
  539|     50|            res = unop[op].op(res);
  540|     50|        } else {
  541|      1|            parseContext.ppError(loc, "bad expression", "preprocessor evaluation", "");
  542|      1|            err = true;
  543|      1|            res = 0;
  544|       |
  545|      1|            return token;
  546|      1|        }
  547|     51|    }
  548|       |
  549|  17.4k|    token = evalToToken(token, shortCircuit, res, err, ppToken);
  550|       |
  551|       |    // Perform evaluation of binary operation, if there is one, otherwise we are done.
  552|  17.4k|    while (! err) {
  ------------------
  |  Branch (552:12): [True: 100, False: 17.3k]
  ------------------
  553|    100|        if (token == ')' || token == '\n')
  ------------------
  |  Branch (553:13): [True: 0, False: 100]
  |  Branch (553:29): [True: 98, False: 2]
  ------------------
  554|     98|            break;
  555|      2|        int op;
  556|     38|        for (op = NUM_ELEMENTS(binop) - 1; op >= 0; op--) {
  ------------------
  |  |  467|      2|#define NUM_ELEMENTS(A) (sizeof(A) / sizeof(A[0]))
  ------------------
  |  Branch (556:44): [True: 36, False: 2]
  ------------------
  557|     36|            if (binop[op].token == token)
  ------------------
  |  Branch (557:17): [True: 0, False: 36]
  ------------------
  558|      0|                break;
  559|     36|        }
  560|      2|        if (op < 0 || binop[op].precedence <= precedence)
  ------------------
  |  Branch (560:13): [True: 2, False: 0]
  |  Branch (560:23): [True: 0, False: 0]
  ------------------
  561|      2|            break;
  562|      0|        int leftSide = res;
  563|       |
  564|       |        // Setup short-circuiting, needed for ES, unless already in a short circuit.
  565|       |        // (Once in a short-circuit, can't turn off again, until that whole subexpression is done.
  566|      0|        if (! shortCircuit) {
  ------------------
  |  Branch (566:13): [True: 0, False: 0]
  ------------------
  567|      0|            if ((token == PpAtomOr  && leftSide == 1) ||
  ------------------
  |  Branch (567:18): [True: 0, False: 0]
  |  Branch (567:40): [True: 0, False: 0]
  ------------------
  568|      0|                (token == PpAtomAnd && leftSide == 0))
  ------------------
  |  Branch (568:18): [True: 0, False: 0]
  |  Branch (568:40): [True: 0, False: 0]
  ------------------
  569|      0|                shortCircuit = true;
  570|      0|        }
  571|       |
  572|      0|        token = scanToken(ppToken);
  573|      0|        token = eval(token, binop[op].precedence, shortCircuit, res, err, ppToken);
  574|       |
  575|      0|        if (binop[op].op == op_div || binop[op].op == op_mod) {
  ------------------
  |  Branch (575:13): [True: 0, False: 0]
  |  Branch (575:39): [True: 0, False: 0]
  ------------------
  576|      0|            if (res == 0) {
  ------------------
  |  Branch (576:17): [True: 0, False: 0]
  ------------------
  577|      0|                parseContext.ppError(loc, "division by 0", "preprocessor evaluation", "");
  578|      0|                res = 1;
  579|      0|            }
  580|      0|        }
  581|      0|        res = binop[op].op(leftSide, res);
  582|      0|    }
  583|       |
  584|  17.4k|    return token;
  585|  17.4k|}
_ZN7glslang10TPpContext11evalToTokenEibRiRbPNS_8TPpTokenE:
  589|  17.4k|{
  590|  17.4k|    while (token == PpAtomIdentifier && strcmp("defined", ppToken->name) != 0) {
  ------------------
  |  Branch (590:12): [True: 0, False: 17.4k]
  |  Branch (590:41): [True: 0, False: 0]
  ------------------
  591|      0|        switch (MacroExpand(ppToken, true, false)) {
  ------------------
  |  Branch (591:17): [True: 0, False: 0]
  ------------------
  592|      0|        case MacroExpandNotStarted:
  ------------------
  |  Branch (592:9): [True: 0, False: 0]
  ------------------
  593|      0|        case MacroExpandError:
  ------------------
  |  Branch (593:9): [True: 0, False: 0]
  ------------------
  594|      0|            parseContext.ppError(ppToken->loc, "can't evaluate expression", "preprocessor evaluation", "");
  595|      0|            err = true;
  596|      0|            res = 0;
  597|      0|            break;
  598|      0|        case MacroExpandStarted:
  ------------------
  |  Branch (598:9): [True: 0, False: 0]
  ------------------
  599|      0|            break;
  600|      0|        case MacroExpandUndef:
  ------------------
  |  Branch (600:9): [True: 0, False: 0]
  ------------------
  601|      0|            if (! shortCircuit && parseContext.isEsProfile()) {
  ------------------
  |  Branch (601:17): [True: 0, False: 0]
  |  Branch (601:35): [True: 0, False: 0]
  ------------------
  602|      0|                const char* message = "undefined macro in expression not allowed in es profile";
  603|      0|                if (parseContext.relaxedErrors())
  ------------------
  |  Branch (603:21): [True: 0, False: 0]
  ------------------
  604|      0|                    parseContext.ppWarn(ppToken->loc, message, "preprocessor evaluation", "%s", ppToken->name);
  605|      0|                else
  606|      0|                    parseContext.ppError(ppToken->loc, message, "preprocessor evaluation", "%s", ppToken->name);
  607|      0|            }
  608|      0|            break;
  609|      0|        }
  610|      0|        token = scanToken(ppToken);
  611|      0|        if (err)
  ------------------
  |  Branch (611:13): [True: 0, False: 0]
  ------------------
  612|      0|            break;
  613|      0|    }
  614|       |
  615|  17.4k|    return token;
  616|  17.4k|}
_ZN7glslang10TPpContext5CPPifEPNS_8TPpTokenE:
  620|     51|{
  621|     51|    int token = scanToken(ppToken);
  622|     51|    if (ifdepth >= maxIfNesting || elsetracker >= maxIfNesting) {
  ------------------
  |  Branch (622:9): [True: 0, False: 51]
  |  Branch (622:36): [True: 0, False: 51]
  ------------------
  623|      0|        parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#if", "");
  624|      0|        return EndOfInput;
  625|     51|    } else {
  626|     51|        elsetracker++;
  627|     51|        ifdepth++;
  628|     51|    }
  629|     51|    int res = 0;
  630|     51|    bool err = false;
  631|     51|    token = eval(token, MIN_PRECEDENCE, false, res, err, ppToken);
  632|     51|    token = extraTokenCheck(PpAtomIf, ppToken, token);
  633|     51|    if (!res && !err)
  ------------------
  |  Branch (633:9): [True: 51, False: 0]
  |  Branch (633:17): [True: 50, False: 1]
  ------------------
  634|     50|        token = CPPelse(1, ppToken);
  635|       |
  636|     51|    return token;
  637|     51|}
_ZN7glslang10TPpContext11readCPPlineEPNS_8TPpTokenE:
  985|  5.62k|{
  986|  5.62k|    int token = scanToken(ppToken);
  987|       |
  988|  5.62k|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (988:9): [True: 5.62k, False: 0]
  ------------------
  989|  5.62k|        switch (atomStrings.getAtom(ppToken->name)) {
  990|  5.57k|        case PpAtomDefine:
  ------------------
  |  Branch (990:9): [True: 5.57k, False: 51]
  ------------------
  991|  5.57k|            token = CPPdefine(ppToken);
  992|  5.57k|            break;
  993|      0|        case PpAtomElse:
  ------------------
  |  Branch (993:9): [True: 0, False: 5.62k]
  ------------------
  994|      0|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (994:17): [True: 0, False: 0]
  ------------------
  995|      0|                parseContext.ppError(ppToken->loc, "#else after #else", "#else", "");
  996|      0|            elseSeen[elsetracker] = true;
  997|      0|            if (ifdepth == 0)
  ------------------
  |  Branch (997:17): [True: 0, False: 0]
  ------------------
  998|      0|                parseContext.ppError(ppToken->loc, "mismatched statements", "#else", "");
  999|      0|            token = extraTokenCheck(PpAtomElse, ppToken, scanToken(ppToken));
 1000|      0|            token = CPPelse(0, ppToken);
 1001|      0|            break;
 1002|      0|        case PpAtomElif:
  ------------------
  |  Branch (1002:9): [True: 0, False: 5.62k]
  ------------------
 1003|      0|            if (ifdepth == 0)
  ------------------
  |  Branch (1003:17): [True: 0, False: 0]
  ------------------
 1004|      0|                parseContext.ppError(ppToken->loc, "mismatched statements", "#elif", "");
 1005|      0|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (1005:17): [True: 0, False: 0]
  ------------------
 1006|      0|                parseContext.ppError(ppToken->loc, "#elif after #else", "#elif", "");
 1007|       |            // this token is really a dont care, but we still need to eat the tokens
 1008|      0|            token = scanToken(ppToken);
 1009|      0|            while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (1009:20): [True: 0, False: 0]
  |  Branch (1009:37): [True: 0, False: 0]
  ------------------
 1010|      0|                token = scanToken(ppToken);
 1011|      0|            token = CPPelse(0, ppToken);
 1012|      0|            break;
 1013|      0|        case PpAtomEndif:
  ------------------
  |  Branch (1013:9): [True: 0, False: 5.62k]
  ------------------
 1014|      0|            if (ifdepth == 0)
  ------------------
  |  Branch (1014:17): [True: 0, False: 0]
  ------------------
 1015|      0|                parseContext.ppError(ppToken->loc, "mismatched statements", "#endif", "");
 1016|      0|            else {
 1017|      0|                if (elsetracker >= 0)
  ------------------
  |  Branch (1017:21): [True: 0, False: 0]
  ------------------
 1018|      0|                    elseSeen[elsetracker] = false;
 1019|      0|                --elsetracker;
 1020|      0|                --ifdepth;
 1021|      0|            }
 1022|      0|            token = extraTokenCheck(PpAtomEndif, ppToken, scanToken(ppToken));
 1023|      0|            break;
 1024|     51|        case PpAtomIf:
  ------------------
  |  Branch (1024:9): [True: 51, False: 5.57k]
  ------------------
 1025|     51|            token = CPPif(ppToken);
 1026|     51|            break;
 1027|      0|        case PpAtomIfdef:
  ------------------
  |  Branch (1027:9): [True: 0, False: 5.62k]
  ------------------
 1028|      0|            token = CPPifdef(1, ppToken);
 1029|      0|            break;
 1030|      0|        case PpAtomIfndef:
  ------------------
  |  Branch (1030:9): [True: 0, False: 5.62k]
  ------------------
 1031|      0|            token = CPPifdef(0, ppToken);
 1032|      0|            break;
 1033|      0|        case PpAtomLine:
  ------------------
  |  Branch (1033:9): [True: 0, False: 5.62k]
  ------------------
 1034|      0|            token = CPPline(ppToken);
 1035|      0|            break;
 1036|      0|        case PpAtomInclude:
  ------------------
  |  Branch (1036:9): [True: 0, False: 5.62k]
  ------------------
 1037|      0|            if(!parseContext.isReadingHLSL()) {
  ------------------
  |  Branch (1037:16): [True: 0, False: 0]
  ------------------
 1038|      0|                const std::array exts = { E_GL_GOOGLE_include_directive, E_GL_ARB_shading_language_include };
 1039|      0|                parseContext.ppRequireExtensions(ppToken->loc, exts, "#include");
 1040|      0|            }
 1041|      0|            token = CPPinclude(ppToken);
 1042|      0|            break;
 1043|      0|        case PpAtomPragma:
  ------------------
  |  Branch (1043:9): [True: 0, False: 5.62k]
  ------------------
 1044|      0|            token = CPPpragma(ppToken);
 1045|      0|            break;
 1046|      0|        case PpAtomUndef:
  ------------------
  |  Branch (1046:9): [True: 0, False: 5.62k]
  ------------------
 1047|      0|            token = CPPundef(ppToken);
 1048|      0|            break;
 1049|      0|        case PpAtomError:
  ------------------
  |  Branch (1049:9): [True: 0, False: 5.62k]
  ------------------
 1050|      0|            token = CPPerror(ppToken);
 1051|      0|            break;
 1052|      0|        case PpAtomVersion:
  ------------------
  |  Branch (1052:9): [True: 0, False: 5.62k]
  ------------------
 1053|      0|            token = CPPversion(ppToken);
 1054|      0|            break;
 1055|      0|        case PpAtomExtension:
  ------------------
  |  Branch (1055:9): [True: 0, False: 5.62k]
  ------------------
 1056|      0|            token = CPPextension(ppToken);
 1057|      0|            break;
 1058|      0|        default:
  ------------------
  |  Branch (1058:9): [True: 0, False: 5.62k]
  ------------------
 1059|      0|            parseContext.ppError(ppToken->loc, "invalid directive:", "#", "%s", ppToken->name);
 1060|      0|            break;
 1061|  5.62k|        }
 1062|  5.62k|    } else if (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (1062:16): [True: 0, False: 0]
  |  Branch (1062:33): [True: 0, False: 0]
  ------------------
 1063|      0|        parseContext.ppError(ppToken->loc, "invalid directive", "#", "");
 1064|       |
 1065|  5.62k|    while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (1065:12): [True: 50, False: 5.57k]
  |  Branch (1065:29): [True: 0, False: 50]
  ------------------
 1066|      0|        token = scanToken(ppToken);
 1067|       |
 1068|  5.62k|    return token;
 1069|  5.62k|}
_ZN7glslang10TPpContext11MacroExpandEPNS_8TPpTokenEbb:
 1241|   546k|{
 1242|   546k|    ppToken->space = false;
 1243|   546k|    int macroAtom = atomStrings.getAtom(ppToken->name);
 1244|       |
 1245|       |    // Bound total MacroExpand nesting depth to prevent stack overflow
 1246|       |    // via unbounded MacroExpand <-> PrescanMacroArg mutual recursion.
 1247|   546k|    if (macroExpandDepth >= maxMacroExpandDepth) {
  ------------------
  |  Branch (1247:9): [True: 0, False: 546k]
  ------------------
 1248|      0|        parseContext.ppError(ppToken->loc, "macro expansion depth limit exceeded",
 1249|      0|                             "macro expansion", "%s", ppToken->name);
 1250|      0|        return MacroExpandNotStarted;
 1251|      0|    }
 1252|   546k|    struct DepthGuard {
 1253|   546k|        int& d;
 1254|   546k|        explicit DepthGuard(int& d_) : d(d_) { ++d; }
 1255|   546k|        ~DepthGuard() { --d; }
 1256|   546k|    } guard(macroExpandDepth);
 1257|       |
 1258|   546k|    if (ppToken->fullyExpanded)
  ------------------
  |  Branch (1258:9): [True: 0, False: 546k]
  ------------------
 1259|      0|        return MacroExpandNotStarted;
 1260|       |
 1261|   546k|    switch (macroAtom) {
 1262|      0|    case PpAtomLineMacro:
  ------------------
  |  Branch (1262:5): [True: 0, False: 546k]
  ------------------
 1263|       |        // Arguments which are macro have been replaced in the first stage.
 1264|      0|        if (ppToken->ival == 0)
  ------------------
  |  Branch (1264:13): [True: 0, False: 0]
  ------------------
 1265|      0|            ppToken->ival = parseContext.getCurrentLoc().line;
 1266|      0|        snprintf(ppToken->name, sizeof(ppToken->name), "%d", ppToken->ival);
 1267|      0|        UngetToken(PpAtomConstInt, ppToken);
 1268|      0|        return MacroExpandStarted;
 1269|       |
 1270|      0|    case PpAtomFileMacro: {
  ------------------
  |  Branch (1270:5): [True: 0, False: 546k]
  ------------------
 1271|      0|        if (parseContext.getCurrentLoc().name)
  ------------------
  |  Branch (1271:13): [True: 0, False: 0]
  ------------------
 1272|      0|            parseContext.ppRequireExtensions(ppToken->loc, 1, &E_GL_GOOGLE_cpp_style_line_directive, "filename-based __FILE__");
 1273|      0|        ppToken->ival = parseContext.getCurrentLoc().string;
 1274|      0|        snprintf(ppToken->name, sizeof(ppToken->name), "%s", ppToken->loc.getStringNameOrNum().c_str());
 1275|      0|        UngetToken(PpAtomConstInt, ppToken);
 1276|      0|        return MacroExpandStarted;
 1277|      0|    }
 1278|       |
 1279|      0|    case PpAtomVersionMacro:
  ------------------
  |  Branch (1279:5): [True: 0, False: 546k]
  ------------------
 1280|      0|        ppToken->ival = parseContext.version;
 1281|      0|        snprintf(ppToken->name, sizeof(ppToken->name), "%d", ppToken->ival);
 1282|      0|        UngetToken(PpAtomConstInt, ppToken);
 1283|      0|        return MacroExpandStarted;
 1284|       |
 1285|   546k|    default:
  ------------------
  |  Branch (1285:5): [True: 546k, False: 0]
  ------------------
 1286|   546k|        break;
 1287|   546k|    }
 1288|       |
 1289|   546k|    MacroSymbol* macro = macroAtom == 0 ? nullptr : lookupMacroDef(macroAtom);
  ------------------
  |  Branch (1289:26): [True: 546k, False: 0]
  ------------------
 1290|       |
 1291|       |    // no recursive expansions
 1292|   546k|    if (macro != nullptr && macro->busy) {
  ------------------
  |  Branch (1292:9): [True: 0, False: 546k]
  |  Branch (1292:29): [True: 0, False: 0]
  ------------------
 1293|      0|        ppToken->fullyExpanded = true;
 1294|      0|        return MacroExpandNotStarted;
 1295|      0|    }
 1296|       |
 1297|       |    // not expanding undefined macros
 1298|   546k|    if ((macro == nullptr || macro->undef) && ! expandUndef)
  ------------------
  |  Branch (1298:10): [True: 546k, False: 0]
  |  Branch (1298:30): [True: 0, False: 0]
  |  Branch (1298:47): [True: 546k, False: 0]
  ------------------
 1299|   546k|        return MacroExpandNotStarted;
 1300|       |
 1301|       |    // 0 is the value of an undefined macro
 1302|      0|    if ((macro == nullptr || macro->undef) && expandUndef) {
  ------------------
  |  Branch (1302:10): [True: 0, False: 0]
  |  Branch (1302:30): [True: 0, False: 0]
  |  Branch (1302:47): [True: 0, False: 0]
  ------------------
 1303|      0|        pushInput(new tZeroInput(this));
 1304|      0|        return MacroExpandUndef;
 1305|      0|    }
 1306|       |
 1307|      0|    tMacroInput *in = new tMacroInput(this);
 1308|       |
 1309|      0|    TSourceLoc loc = ppToken->loc;  // in case we go to the next line before discovering the error
 1310|      0|    in->mac = macro;
 1311|      0|    if (macro->functionLike) {
  ------------------
  |  Branch (1311:9): [True: 0, False: 0]
  ------------------
 1312|       |        // We don't know yet if this will be a successful call of a
 1313|       |        // function-like macro; need to look for a '(', but without trashing
 1314|       |        // the passed in ppToken, until we know we are no longer speculative.
 1315|      0|        TPpToken parenToken;
 1316|      0|        int token = scanToken(&parenToken);
 1317|      0|        if (newLineOkay) {
  ------------------
  |  Branch (1317:13): [True: 0, False: 0]
  ------------------
 1318|      0|            while (token == '\n')
  ------------------
  |  Branch (1318:20): [True: 0, False: 0]
  ------------------
 1319|      0|                token = scanToken(&parenToken);
 1320|      0|        }
 1321|      0|        if (token != '(') {
  ------------------
  |  Branch (1321:13): [True: 0, False: 0]
  ------------------
 1322|       |            // Function-like macro called with object-like syntax: okay, don't expand.
 1323|       |            // (We ate exactly one token that might not be white space; put it back.
 1324|      0|            UngetToken(token, &parenToken);
 1325|      0|            delete in;
 1326|      0|            return MacroExpandNotStarted;
 1327|      0|        }
 1328|      0|        in->args.resize(in->mac->args.size());
 1329|      0|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1329:28): [True: 0, False: 0]
  ------------------
 1330|      0|            in->args[i] = new TokenStream;
 1331|      0|        in->expandedArgs.resize(in->mac->args.size());
 1332|      0|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1332:28): [True: 0, False: 0]
  ------------------
 1333|      0|            in->expandedArgs[i] = nullptr;
 1334|      0|        size_t arg = 0;
 1335|      0|        bool tokenRecorded = false;
 1336|      0|        do {
 1337|      0|            TVector<char> nestStack;
 1338|      0|            while (true) {
  ------------------
  |  Branch (1338:20): [True: 0, Folded]
  ------------------
 1339|      0|                token = scanToken(ppToken);
 1340|      0|                if (token == EndOfInput || token == tMarkerInput::marker) {
  ------------------
  |  Branch (1340:21): [True: 0, False: 0]
  |  Branch (1340:44): [True: 0, False: 0]
  ------------------
 1341|      0|                    parseContext.ppError(loc, "End of input in macro", "macro expansion", "%s", atomStrings.getString(macroAtom));
 1342|      0|                    delete in;
 1343|      0|                    return MacroExpandError;
 1344|      0|                }
 1345|      0|                if (token == '\n') {
  ------------------
  |  Branch (1345:21): [True: 0, False: 0]
  ------------------
 1346|      0|                    if (! newLineOkay) {
  ------------------
  |  Branch (1346:25): [True: 0, False: 0]
  ------------------
 1347|      0|                        parseContext.ppError(loc, "End of line in macro substitution:", "macro expansion", "%s", atomStrings.getString(macroAtom));
 1348|      0|                        delete in;
 1349|      0|                        return MacroExpandError;
 1350|      0|                    }
 1351|      0|                    continue;
 1352|      0|                }
 1353|      0|                if (token == '#') {
  ------------------
  |  Branch (1353:21): [True: 0, False: 0]
  ------------------
 1354|      0|                    parseContext.ppError(ppToken->loc, "unexpected '#'", "macro expansion", "%s", atomStrings.getString(macroAtom));
 1355|      0|                    delete in;
 1356|      0|                    return MacroExpandError;
 1357|      0|                }
 1358|      0|                if (in->mac->args.size() == 0 && token != ')')
  ------------------
  |  Branch (1358:21): [True: 0, False: 0]
  |  Branch (1358:50): [True: 0, False: 0]
  ------------------
 1359|      0|                    break;
 1360|      0|                if (nestStack.size() == 0 && (token == ',' || token == ')'))
  ------------------
  |  Branch (1360:21): [True: 0, False: 0]
  |  Branch (1360:47): [True: 0, False: 0]
  |  Branch (1360:63): [True: 0, False: 0]
  ------------------
 1361|      0|                    break;
 1362|      0|                if (token == '(')
  ------------------
  |  Branch (1362:21): [True: 0, False: 0]
  ------------------
 1363|      0|                    nestStack.push_back(')');
 1364|      0|                else if (token == '{' && parseContext.isReadingHLSL())
  ------------------
  |  Branch (1364:26): [True: 0, False: 0]
  |  Branch (1364:42): [True: 0, False: 0]
  ------------------
 1365|      0|                    nestStack.push_back('}');
 1366|      0|                else if (nestStack.size() > 0 && token == nestStack.back())
  ------------------
  |  Branch (1366:26): [True: 0, False: 0]
  |  Branch (1366:50): [True: 0, False: 0]
  ------------------
 1367|      0|                    nestStack.pop_back();
 1368|       |
 1369|       |                //Macro replacement list is expanded in the last stage.
 1370|      0|                if (atomStrings.getAtom(ppToken->name) == PpAtomLineMacro)
  ------------------
  |  Branch (1370:21): [True: 0, False: 0]
  ------------------
 1371|      0|                    ppToken->ival = parseContext.getCurrentLoc().line;
 1372|       |
 1373|      0|                in->args[arg]->putToken(token, ppToken);
 1374|      0|                tokenRecorded = true;
 1375|      0|            }
 1376|       |            // end of single argument scan
 1377|       |
 1378|      0|            if (token == ')') {
  ------------------
  |  Branch (1378:17): [True: 0, False: 0]
  ------------------
 1379|       |                // closing paren of call
 1380|      0|                if (in->mac->args.size() == 1 && !tokenRecorded)
  ------------------
  |  Branch (1380:21): [True: 0, False: 0]
  |  Branch (1380:50): [True: 0, False: 0]
  ------------------
 1381|      0|                    break;
 1382|      0|                arg++;
 1383|      0|                break;
 1384|      0|            }
 1385|      0|            arg++;
 1386|      0|        } while (arg < in->mac->args.size());
  ------------------
  |  Branch (1386:18): [True: 0, False: 0]
  ------------------
 1387|       |        // end of all arguments scan
 1388|       |
 1389|      0|        if (arg < in->mac->args.size())
  ------------------
  |  Branch (1389:13): [True: 0, False: 0]
  ------------------
 1390|      0|            parseContext.ppError(loc, "Too few args in Macro", "macro expansion", "%s", atomStrings.getString(macroAtom));
 1391|      0|        else if (token != ')') {
  ------------------
  |  Branch (1391:18): [True: 0, False: 0]
  ------------------
 1392|       |            // Error recover code; find end of call, if possible
 1393|      0|            int depth = 0;
 1394|      0|            while (token != EndOfInput && (depth > 0 || token != ')')) {
  ------------------
  |  Branch (1394:20): [True: 0, False: 0]
  |  Branch (1394:44): [True: 0, False: 0]
  |  Branch (1394:57): [True: 0, False: 0]
  ------------------
 1395|      0|                if (token == ')' || token == '}')
  ------------------
  |  Branch (1395:21): [True: 0, False: 0]
  |  Branch (1395:37): [True: 0, False: 0]
  ------------------
 1396|      0|                    depth--;
 1397|      0|                token = scanToken(ppToken);
 1398|      0|                if (token == '(' || token == '{')
  ------------------
  |  Branch (1398:21): [True: 0, False: 0]
  |  Branch (1398:37): [True: 0, False: 0]
  ------------------
 1399|      0|                    depth++;
 1400|      0|            }
 1401|       |
 1402|      0|            if (token == EndOfInput) {
  ------------------
  |  Branch (1402:17): [True: 0, False: 0]
  ------------------
 1403|      0|                parseContext.ppError(loc, "End of input in macro", "macro expansion", "%s", atomStrings.getString(macroAtom));
 1404|      0|                delete in;
 1405|      0|                return MacroExpandError;
 1406|      0|            }
 1407|      0|            parseContext.ppError(loc, "Too many args in macro", "macro expansion", "%s", atomStrings.getString(macroAtom));
 1408|      0|        }
 1409|       |
 1410|       |        // We need both expanded and non-expanded forms of the argument, for whether or
 1411|       |        // not token pasting will be applied later when the argument is consumed next to ##.
 1412|      0|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1412:28): [True: 0, False: 0]
  ------------------
 1413|      0|            in->expandedArgs[i] = PrescanMacroArg(*in->args[i], ppToken, newLineOkay);
 1414|      0|    }
 1415|       |
 1416|      0|    pushInput(in);
 1417|      0|    macro->busy = 1;
 1418|      0|    macro->body.reset();
 1419|       |
 1420|      0|    return MacroExpandStarted;
 1421|      0|}
Pp.cpp:_ZN7glslang12_GLOBAL__N_16op_posEi:
  428|     50|    int op_pos(int a) { return a; }
Pp.cpp:_ZZN7glslang10TPpContext11MacroExpandEPNS_8TPpTokenEbbEN10DepthGuardC2ERi:
 1254|   546k|        explicit DepthGuard(int& d_) : d(d_) { ++d; }
Pp.cpp:_ZZN7glslang10TPpContext11MacroExpandEPNS_8TPpTokenEbbEN10DepthGuardD2Ev:
 1255|   546k|        ~DepthGuard() { --d; }

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

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

_ZN7glslang8TPpTokenC2Ev:
   93|  2.15M|    TPpToken() { clear(); }
_ZN7glslang8TPpToken5clearEv:
   95|  4.18M|    {
   96|  4.18M|        space = false;
   97|  4.18M|        i64val = 0;
   98|  4.18M|        loc.init();
   99|  4.18M|        name[0] = 0;
  100|  4.18M|        fullyExpanded = false;
  101|  4.18M|    }
_ZNK7glslang14TStringAtomMap7getAtomEPKc:
  141|   584k|    {
  142|   584k|        auto it = atomMap.find(s);
  143|   584k|        return it == atomMap.end() ? 0 : it->second;
  ------------------
  |  Branch (143:16): [True: 576k, False: 7.09k]
  ------------------
  144|   584k|    }
_ZN7glslang14TStringAtomMap10getAddAtomEPKc:
  148|  5.57k|    {
  149|  5.57k|        int atom = getAtom(s);
  150|  5.57k|        if (atom == 0) {
  ------------------
  |  Branch (150:13): [True: 5.57k, False: 0]
  ------------------
  151|  5.57k|            atom = nextAtom++;
  152|  5.57k|            addAtomFixed(s, atom);
  153|  5.57k|        }
  154|  5.57k|        return atom;
  155|  5.57k|    }
_ZNK7glslang14TStringAtomMap9getStringEi:
  158|   527k|    const char* getString(int atom) const { return stringMap[atom]->c_str(); }
_ZN7glslang14TStringAtomMap12addAtomFixedEPKci:
  176|  45.5k|    {
  177|  45.5k|        auto it = atomMap.insert(std::pair<TString, int>(s, atom)).first;
  178|  45.5k|        if (stringMap.size() < (size_t)atom + 1)
  ------------------
  |  Branch (178:13): [True: 666, False: 44.8k]
  ------------------
  179|    666|            stringMap.resize(atom + 100, &badToken);
  180|  45.5k|        stringMap[atom] = &it->first;
  181|  45.5k|    }
_ZN7glslang10TPpContext6tInputC2EPS0_:
  208|    273|        tInput(TPpContext* p) : done(false), pp(p) { }
_ZN7glslang10TPpContext6tInputD2Ev:
  209|    273|        virtual ~tInput() { }
_ZN7glslang10TPpContext6tInput11peekPastingEv:
  214|  1.19M|        virtual bool peekPasting() { return false; }             // true when about to see ##
_ZN7glslang10TPpContext6tInput15notifyActivatedEv:
  221|    273|        virtual void notifyActivated() {}
_ZN7glslang10TPpContext6tInput13notifyDeletedEv:
  223|    273|        virtual void notifyDeleted() {}
_ZN7glslang10TPpContext9pushInputEPNS0_6tInputE:
  232|    273|    {
  233|    273|        inputStack.push_back(in);
  234|    273|        in->notifyActivated();
  235|    273|    }
_ZN7glslang10TPpContext8popInputEv:
  237|    273|    {
  238|    273|        inputStack.back()->notifyDeleted();
  239|    273|        delete inputStack.back();
  240|    273|        inputStack.pop_back();
  241|    273|    }
_ZN7glslang10TPpContext11TokenStream5TokenC2EiRKNS_8TPpTokenE:
  255|  5.57k|                atom(atom),
  256|  5.57k|                space(ppToken.space),
  257|  5.57k|                i64val(ppToken.i64val),
  258|  5.57k|                name(ppToken.name) { }
_ZN7glslang10TPpContext11TokenStreamC2Ev:
  278|  11.1k|        TokenStream() : currentPos(0) { }
_ZN7glslang10TPpContext11MacroSymbolC2Ev:
  331|  11.1k|        MacroSymbol() : functionLike(0), busy(0), undef(0) { }
_ZN7glslang10TPpContext14lookupMacroDefEi:
  342|  5.57k|    {
  343|  5.57k|        auto existingMacroIt = macroDefs.find(atom);
  344|  5.57k|        return (existingMacroIt == macroDefs.end()) ? nullptr : &(existingMacroIt->second);
  ------------------
  |  Branch (344:16): [True: 5.57k, False: 0]
  ------------------
  345|  5.57k|    }
_ZN7glslang10TPpContext11addMacroDefEiRNS0_11MacroSymbolE:
  346|  5.57k|    void addMacroDef(int atom, MacroSymbol& macroDef) { macroDefs[atom] = macroDef; }
_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE:
  369|  2.02M|    {
  370|  2.02M|        int token = EndOfInput;
  371|       |
  372|  2.02M|        while (! inputStack.empty()) {
  ------------------
  |  Branch (372:16): [True: 2.02M, False: 269]
  ------------------
  373|  2.02M|            token = inputStack.back()->scan(ppToken);
  374|  2.02M|            if (token != EndOfInput || inputStack.empty())
  ------------------
  |  Branch (374:17): [True: 2.02M, False: 268]
  |  Branch (374:40): [True: 0, False: 268]
  ------------------
  375|  2.02M|                break;
  376|    268|            popInput();
  377|    268|        }
  378|  2.02M|        if (!inputStack.empty() && inputStack.back()->isStringInput() && !inElseSkip) {
  ------------------
  |  Branch (378:13): [True: 2.02M, False: 269]
  |  Branch (378:36): [True: 2.02M, False: 0]
  |  Branch (378:74): [True: 1.22M, False: 795k]
  ------------------
  379|  1.22M|            if (token == '\n') {
  ------------------
  |  Branch (379:17): [True: 115k, False: 1.11M]
  ------------------
  380|   115k|                lastLineTokens.clear();
  381|   115k|                lastLineTokenLocs.clear();
  382|  1.11M|            } else {
  383|  1.11M|                lastLineTokens.push_back(token);
  384|  1.11M|                lastLineTokenLocs.push_back(ppToken->loc);
  385|  1.11M|            }
  386|  1.22M|        }
  387|  2.02M|        return token;
  388|  2.02M|    }
_ZN7glslang10TPpContext7getCharEv:
  389|  9.22k|    int  getChar() { return inputStack.back()->getch(); }
_ZN7glslang10TPpContext9ungetCharEv:
  390|  3.39k|    void ungetChar() { inputStack.back()->ungetch(); }
_ZN7glslang10TPpContext11peekPastingEv:
  391|  1.19M|    bool peekPasting() { return !inputStack.empty() && inputStack.back()->peekPasting(); }
  ------------------
  |  Branch (391:33): [True: 1.19M, False: 218]
  |  Branch (391:56): [True: 0, False: 1.19M]
  ------------------
_ZN7glslang10TPpContext12tStringInputC2EPS0_RNS_13TInputScannerE:
  550|    273|        tStringInput(TPpContext* pp, TInputScanner& i) : tInput(pp), input(&i) { }
_ZN7glslang10TPpContext12tStringInput13isStringInputEv:
  552|  2.02M|        bool isStringInput() override { return true; }
_ZN7glslang10TPpContext12tStringInput5getchEv:
  557|  7.29M|        {
  558|  7.29M|            int ch = input->get();
  559|       |
  560|  7.29M|            if (ch == '\\') {
  ------------------
  |  Branch (560:17): [True: 8.68k, False: 7.28M]
  ------------------
  561|       |                // Move past escaped newlines, as many as sequentially exist
  562|  8.75k|                do {
  563|  8.75k|                    if (input->peek() == '\r' || input->peek() == '\n') {
  ------------------
  |  Branch (563:25): [True: 5.09k, False: 3.65k]
  |  Branch (563:50): [True: 16, False: 3.64k]
  ------------------
  564|  5.11k|                        bool allowed = pp->parseContext.lineContinuationCheck(input->getSourceLoc(), pp->inComment);
  565|  5.11k|                        if (! allowed && pp->inComment)
  ------------------
  |  Branch (565:29): [True: 1.39k, False: 3.71k]
  |  Branch (565:42): [True: 1.36k, False: 27]
  ------------------
  566|  1.36k|                            return '\\';
  567|       |
  568|       |                        // escape one newline now
  569|  3.74k|                        ch = input->get();
  570|  3.74k|                        int nextch = input->get();
  571|  3.74k|                        if (ch == '\r' && nextch == '\n')
  ------------------
  |  Branch (571:29): [True: 3.70k, False: 41]
  |  Branch (571:43): [True: 40, False: 3.66k]
  ------------------
  572|     40|                            ch = input->get();
  573|  3.70k|                        else
  574|  3.70k|                            ch = nextch;
  575|  3.74k|                    } else
  576|  3.64k|                        return '\\';
  577|  8.75k|                } while (ch == '\\');
  ------------------
  |  Branch (577:26): [True: 62, False: 3.68k]
  ------------------
  578|  8.68k|            }
  579|       |
  580|       |            // handle any non-escaped newline
  581|  7.29M|            if (ch == '\r' || ch == '\n') {
  ------------------
  |  Branch (581:17): [True: 316k, False: 6.97M]
  |  Branch (581:31): [True: 204k, False: 6.77M]
  ------------------
  582|   520k|                if (ch == '\r' && input->peek() == '\n')
  ------------------
  |  Branch (582:21): [True: 316k, False: 204k]
  |  Branch (582:35): [True: 1.53k, False: 314k]
  ------------------
  583|  1.53k|                    input->get();
  584|   520k|                return '\n';
  585|   520k|            }
  586|       |
  587|  6.77M|            return ch;
  588|  7.29M|        }
_ZN7glslang10TPpContext12tStringInput7ungetchEv:
  595|   866k|        {
  596|   866k|            input->unget();
  597|       |
  598|   866k|            do {
  599|   866k|                int ch = input->peek();
  600|   866k|                if (ch == '\r' || ch == '\n') {
  ------------------
  |  Branch (600:21): [True: 143k, False: 723k]
  |  Branch (600:35): [True: 36.8k, False: 686k]
  ------------------
  601|   179k|                    if (ch == '\n') {
  ------------------
  |  Branch (601:25): [True: 36.8k, False: 143k]
  ------------------
  602|       |                        // correct for two-character newline
  603|  36.8k|                        input->unget();
  604|  36.8k|                        if (input->peek() != '\r')
  ------------------
  |  Branch (604:29): [True: 36.8k, False: 28]
  ------------------
  605|  36.8k|                            input->get();
  606|  36.8k|                    }
  607|       |                    // now in front of a complete newline, move past an escape character
  608|   179k|                    input->unget();
  609|   179k|                    if (input->peek() == '\\')
  ------------------
  |  Branch (609:25): [True: 0, False: 179k]
  ------------------
  610|      0|                        input->unget();
  611|   179k|                    else {
  612|   179k|                        input->get();
  613|   179k|                        break;
  614|   179k|                    }
  615|   179k|                } else
  616|   686k|                    break;
  617|   866k|            } while (true);
  ------------------
  |  Branch (617:22): [True: 0, Folded]
  ------------------
  618|   866k|        }

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

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

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

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

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

